mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Add category flags
This commit is contained in:
@@ -99,6 +99,9 @@
|
||||
{
|
||||
"$ref": "#/definitions/SerializedUpdatCategoryDisableLimitsAction"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SerializedUpdateCategoryFlagsAction"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SerializedUpdateCategorySortingAction"
|
||||
},
|
||||
@@ -1061,6 +1064,34 @@
|
||||
],
|
||||
"title": "SerializedUpdatCategoryDisableLimitsAction"
|
||||
},
|
||||
"SerializedUpdateCategoryFlagsAction": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"UPDATE_CATEGORY_FLAGS"
|
||||
]
|
||||
},
|
||||
"categoryId": {
|
||||
"type": "string"
|
||||
},
|
||||
"modified": {
|
||||
"type": "number"
|
||||
},
|
||||
"values": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"categoryId",
|
||||
"modified",
|
||||
"type",
|
||||
"values"
|
||||
],
|
||||
"title": "SerializedUpdateCategoryFlagsAction"
|
||||
},
|
||||
"SerializedUpdateCategorySortingAction": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user