Skip to content

Commit

Permalink
Split enum
Browse files Browse the repository at this point in the history
  • Loading branch information
G.Reijn authored and G.Reijn committed Dec 13, 2024
1 parent 1df1789 commit 0bdf762
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions schemas/JSON/settings/settings.schema.0.2.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@
"progressBar": {
"description": "Progress bar display style",
"type": "string",
"enum": ["accent", "rainbow", "retro", "sixel", "disabled"]
"enum": [
"accent",
"rainbow",
"retro",
"sixel",
"disabled"
]
},
"anonymizeDisplayedPaths": {
"description": "Replaces some known folder paths with their respective environment variable",
Expand All @@ -44,7 +50,13 @@
"level": {
"description": "Preferred logging level",
"type": "string",
"enum": ["verbose", "info", "warning", "error", "critical"]
"enum": [
"verbose",
"info",
"warning",
"error",
"critical"
]
},
"channels": {
"description": "The logging channels to enable",
Expand Down Expand Up @@ -78,7 +90,10 @@
"scope": {
"description": "The scope of a package install",
"type": "string",
"enum": ["user", "machine"],
"enum": [
"user",
"machine"
],
"default": "user"
},
"locale": {
Expand All @@ -98,7 +113,13 @@
"items": {
"uniqueItems": true,
"type": "string",
"enum": ["neutral", "x64", "x86", "arm64", "arm"],
"enum": [
"neutral",
"x64",
"x86",
"arm64",
"arm"
],
"minItems": 1,
"maxItems": 4
}
Expand Down Expand Up @@ -218,7 +239,11 @@
"downloader": {
"description": "Control which download code is used for packages",
"type": "string",
"enum": ["default", "wininet", "do"],
"enum": [
"default",
"wininet",
"do"
],
"default": "default"
},
"doProgressTimeoutInSeconds": {
Expand Down

0 comments on commit 0bdf762

Please sign in to comment.