🗃️ Adds sortBy option to schema and docs

This commit is contained in:
Alicia Sykes
2021-09-05 16:48:19 +01:00
parent af4b41df39
commit 2c4b4dc74a
2 changed files with 25 additions and 6 deletions

View File

@@ -361,6 +361,11 @@
"default": false,
"description": "Prevents Dashy from checking for updates"
},
"disableSmartSort": {
"type": "boolean",
"default": false,
"description": "Prevents the app storing local click count, required for the last-used and most-used sort orders"
},
"enableErrorReporting": {
"type": "boolean",
"default": false,
@@ -397,6 +402,18 @@
"additionalProperties": false,
"description": "Optional meta data for customizing a section",
"properties": {
"sortBy": {
"enum": [
"default",
"most-used",
"last-used",
"alphabetical",
"reverse-alphabetical",
"random"
],
"default": "default",
"description": "How to sort items within the section. By default items are displayed in the order in which they are listed in within the config"
},
"collapsed": {
"type": "boolean",
"default": false,
@@ -559,4 +576,4 @@
}
}
}
}
}