mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: allow configuring display apps from template (#9100)
This commit is contained in:
Generated
+23
@@ -8068,6 +8068,23 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"codersdk.DisplayApp": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"vscode",
|
||||
"vscode_insiders",
|
||||
"web_terminal",
|
||||
"port_forwarding_helper",
|
||||
"ssh_helper"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"DisplayAppVSCodeDesktop",
|
||||
"DisplayAppVSCodeInsiders",
|
||||
"DisplayAppWebTerminal",
|
||||
"DisplayAppPortForward",
|
||||
"DisplayAppSSH"
|
||||
]
|
||||
},
|
||||
"codersdk.Entitlement": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
@@ -10611,6 +10628,12 @@ const docTemplate = `{
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"display_apps": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/codersdk.DisplayApp"
|
||||
}
|
||||
},
|
||||
"environment_variables": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
|
||||
Generated
+23
@@ -7223,6 +7223,23 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"codersdk.DisplayApp": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"vscode",
|
||||
"vscode_insiders",
|
||||
"web_terminal",
|
||||
"port_forwarding_helper",
|
||||
"ssh_helper"
|
||||
],
|
||||
"x-enum-varnames": [
|
||||
"DisplayAppVSCodeDesktop",
|
||||
"DisplayAppVSCodeInsiders",
|
||||
"DisplayAppWebTerminal",
|
||||
"DisplayAppPortForward",
|
||||
"DisplayAppSSH"
|
||||
]
|
||||
},
|
||||
"codersdk.Entitlement": {
|
||||
"type": "string",
|
||||
"enum": ["entitled", "grace_period", "not_entitled"],
|
||||
@@ -9613,6 +9630,12 @@
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
},
|
||||
"display_apps": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/codersdk.DisplayApp"
|
||||
}
|
||||
},
|
||||
"environment_variables": {
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
|
||||
Reference in New Issue
Block a user