1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/code-server_ynh.git synced 2024-09-03 18:16:28 +02:00
code-server_ynh/config_panel.toml

43 lines
1.3 KiB
TOML
Raw Normal View History

2022-01-13 20:21:56 +01:00
version = "1.0"
## (optional) i18n property let you internationalize questions, however this feature
## is only available in core configuration panel (like yunohost domain config).
## So in app config panel this key is ignored for now, but you can internationalize
## by using a lang dictionary (see property name bellow)
# i18n = "prefix_translation_key"
[main]
name = "Main configuration"
services = ["__APP__"]
2022-01-16 14:01:08 +01:00
[main.auth]
name = "Authentication"
[main.auth.type]
ask = "Auth type"
type = "select"
choices = ["none", "password"]
default = "none"
bind: ":/opt/yunohost/__APP__/config.yaml"
[main.auth.password]
ask = "Password"
type = "password"
visible = "main.auth.type == 'password'"
2022-01-13 20:21:56 +01:00
[main.extensions]
name = "Extensions"
optional = false
[main.extensions.extensions_gallery]
ask = "Extensions Gallery"
type = "string"
example = "{\"serviceUrl\": \"https://open-vsx.org/vscode/gallery\",\"itemUrl\": \"https://open-vsx.org/vscode/item\"}"
bind = ":/opt/yunohost/__APP__/code-server.env"
[main.extensions.enable_proposed_api]
ask = "Enable Proposed API"
type = "tags"
optional = true
bind = "enable-proposed-api:/opt/yunohost/__APP__/config.yaml"