mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Add limit login category support
This commit is contained in:
@@ -119,6 +119,9 @@
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SerializedUpdateUserFlagsAction"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SerializedUpdateUserLimitLoginCategory"
|
||||
}
|
||||
],
|
||||
"definitions": {
|
||||
@@ -1242,6 +1245,29 @@
|
||||
"values"
|
||||
],
|
||||
"title": "SerializedUpdateUserFlagsAction"
|
||||
},
|
||||
"SerializedUpdateUserLimitLoginCategory": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"UPDATE_USER_LIMIT_LOGIN_CATEGORY"
|
||||
]
|
||||
},
|
||||
"userId": {
|
||||
"type": "string"
|
||||
},
|
||||
"categoryId": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"type",
|
||||
"userId"
|
||||
],
|
||||
"title": "SerializedUpdateUserLimitLoginCategory"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
|
||||
Reference in New Issue
Block a user