Skip to content

Commit 0f75540

Browse files
authored
Merge pull request #9 from redstonekasi/main
public: update manifest for latest develop
2 parents f840d1a + 5f78de8 commit 0f75540

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

public/manifest.schema.json

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@
181181
"description": {
182182
"type": "string",
183183
"description": "A short description of the setting's purpose"
184+
},
185+
"advice": {
186+
"description": "Action that needs to be taken by the user after changing this setting, defaults to suggesting a reload",
187+
"enum": ["none", "reload", "restart"]
184188
}
185189
},
186190
"allOf": [
@@ -299,26 +303,24 @@
299303
"required": ["type", "options"],
300304
"properties": {
301305
"options": {
302-
"oneOf": [
303-
{
304-
"type": "array",
305-
"items": {
306-
"type": "string"
307-
}
308-
},
309-
{
310-
"type": "object",
311-
"properties": {
312-
"label": {
313-
"type": "string"
306+
"type": "array",
307+
"items": {
308+
"oneOf": [
309+
{ "type": "string" },
310+
{
311+
"type": "object",
312+
"properties": {
313+
"label": {
314+
"type": "string"
315+
},
316+
"value": {
317+
"type": "string"
318+
}
314319
},
315-
"value": {
316-
"type": "string"
317-
}
318-
},
319-
"required": ["label", "value"]
320-
}
321-
]
320+
"required": ["label", "value"]
321+
}
322+
]
323+
}
322324
},
323325
"default": { "type": "string" }
324326
}

0 commit comments

Comments
 (0)