Add server support for disabling limitations temporarily per category

This commit is contained in:
Jonas Lochmann
2020-11-02 01:00:00 +01:00
parent 35924c176c
commit 8b596ccc69
23 changed files with 574 additions and 38 deletions
@@ -93,6 +93,9 @@
{
"$ref": "#/definitions/SerializedUpdateCategoryBlockedTimesAction"
},
{
"$ref": "#/definitions/SerializedUpdatCategoryDisableLimitsAction"
},
{
"$ref": "#/definitions/SerializedUpdateCategorySortingAction"
},
@@ -997,6 +1000,30 @@
],
"title": "SerializedUpdateCategoryBlockedTimesAction"
},
"SerializedUpdatCategoryDisableLimitsAction": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"UPDATE_CATEGORY_DISABLE_LIMITS"
]
},
"categoryId": {
"type": "string"
},
"endTime": {
"type": "number"
}
},
"additionalProperties": false,
"required": [
"categoryId",
"endTime",
"type"
],
"title": "SerializedUpdatCategoryDisableLimitsAction"
},
"SerializedUpdateCategorySortingAction": {
"type": "object",
"properties": {