feat(config): add monitor index prefs to static

This commit adds an "monitor_index_preferences" key to the static config
schema, which was missed during the initial rollout of the static
configuration files. To help with testing, these indexes have also been
exposed on the State struct.

resolve #522
This commit is contained in:
LGUG2Z
2023-08-31 14:24:51 -07:00
parent fec56b1971
commit d8892f3ff2
5 changed files with 35 additions and 7 deletions

View File

@@ -154,6 +154,16 @@
"$ref": "#/definitions/IdWithIdentifier"
}
},
"monitor_index_preferences": {
"description": "Set monitor index preferences",
"type": [
"object",
"null"
],
"additionalProperties": {
"$ref": "#/definitions/Rect"
}
},
"monitors": {
"description": "Monitor and workspace configurations",
"type": [