mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Allow adding category network ids
This commit is contained in:
@@ -3,6 +3,9 @@
|
||||
{
|
||||
"$ref": "#/definitions/SerializedAddCategoryAppsAction"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SerializedAddCategoryNetworkIdAction"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SerializedAddUserAction"
|
||||
},
|
||||
@@ -36,6 +39,9 @@
|
||||
{
|
||||
"$ref": "#/definitions/SerializedRenameChildAction"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SerializeResetCategoryNetworkIdsAction"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SerializedResetParentBlockedTimesAction"
|
||||
},
|
||||
@@ -152,6 +158,34 @@
|
||||
],
|
||||
"title": "SerializedAddCategoryAppsAction"
|
||||
},
|
||||
"SerializedAddCategoryNetworkIdAction": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"ADD_CATEGORY_NETWORK_ID"
|
||||
]
|
||||
},
|
||||
"categoryId": {
|
||||
"type": "string"
|
||||
},
|
||||
"itemId": {
|
||||
"type": "string"
|
||||
},
|
||||
"hashedNetworkId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"categoryId",
|
||||
"hashedNetworkId",
|
||||
"itemId",
|
||||
"type"
|
||||
],
|
||||
"title": "SerializedAddCategoryNetworkIdAction"
|
||||
},
|
||||
"SerializedAddUserAction": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -534,6 +568,26 @@
|
||||
],
|
||||
"title": "SerializedRenameChildAction"
|
||||
},
|
||||
"SerializeResetCategoryNetworkIdsAction": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"RESET_CATEGORY_NETWORK_IDS"
|
||||
]
|
||||
},
|
||||
"categoryId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"categoryId",
|
||||
"type"
|
||||
],
|
||||
"title": "SerializeResetCategoryNetworkIdsAction"
|
||||
},
|
||||
"SerializedResetParentBlockedTimesAction": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user