Skip to content
This repository was archived by the owner on Dec 25, 2023. It is now read-only.

Commit 9a558a7

Browse files
committed
Update incorrectly documented allowFiles/Folders in preferences
1 parent 1389362 commit 9a558a7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

json.novaextension/nova-extension-schema.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -444,19 +444,17 @@
444444
"description": "A command name registered with the CommandsRegistry that will be invoked when the item is shown to resolve the array of pre-populated values (enum types only). See Enum Values for more information.",
445445
"type": "string"
446446
},
447-
"allowsFiles": {
447+
"allowFiles": {
448448
"description": "Whether the item allows choosing files from open panels (path types only, default is true)",
449449
"type": "boolean"
450450
},
451-
"allowsFolders": {
451+
"allowFolders": {
452452
"description": "Whether the item allows choosing folders from open panels (path types only, default is false)",
453-
"type": "boolean",
454-
"default": false
453+
"type": "boolean"
455454
},
456455
"relative": {
457456
"description": "Whether the item prefers relative paths when choosing paths from open panels (path types only, default is false)",
458-
"type": "boolean",
459-
"default": false
457+
"type": "boolean"
460458
},
461459
"filetype": {
462460
"description": "An array of strings that denotes the type of files (by extension or Uniform Type Identifier) that are valid for choosing in open panels (path types only)",

0 commit comments

Comments
 (0)