diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-04-03 13:02:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 13:02:49 -0400 |
commit | a9fe2d03b22a0dd5760019f1325a7a86ebb07b85 (patch) | |
tree | aa2fe04c741c82c0456f44a39139c52988b6c22d /ext/data/schemas/options-schema.json | |
parent | 0d2d342cd373798e3daf42799a9f35d974db92f5 (diff) |
Update dictionary settings structure (#1587)
* Update dictionary settings structure to use an array instead of an object
* Update ensureDictionarySettings implementation
* Remove some usage of ObjectPropertyAccessor
Diffstat (limited to 'ext/data/schemas/options-schema.json')
-rw-r--r-- | ext/data/schemas/options-schema.json | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/ext/data/schemas/options-schema.json b/ext/data/schemas/options-schema.json index d829b392..ad6fb869 100644 --- a/ext/data/schemas/options-schema.json +++ b/ext/data/schemas/options-schema.json @@ -726,16 +726,21 @@ } }, "dictionaries": { - "type": "object", - "additionalProperties": { + "type": "array", + "items": { "type": "object", "required": [ + "name", "priority", "enabled", "allowSecondarySearches", "definitionsCollapsible" ], "properties": { + "name": { + "type": "string", + "default": "" + }, "priority": { "type": "number", "default": 0 |