mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Add user flags field
This commit is contained in:
@@ -116,6 +116,9 @@
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SerializedUpdateTimelimitRuleAction"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/SerializedUpdateUserFlagsAction"
|
||||
}
|
||||
],
|
||||
"definitions": {
|
||||
@@ -1211,6 +1214,34 @@
|
||||
"type"
|
||||
],
|
||||
"title": "SerializedUpdateTimelimitRuleAction"
|
||||
},
|
||||
"SerializedUpdateUserFlagsAction": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"UPDATE_USER_FLAGS"
|
||||
]
|
||||
},
|
||||
"userId": {
|
||||
"type": "string"
|
||||
},
|
||||
"modified": {
|
||||
"type": "number"
|
||||
},
|
||||
"values": {
|
||||
"type": "number"
|
||||
}
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [
|
||||
"modified",
|
||||
"type",
|
||||
"userId",
|
||||
"values"
|
||||
],
|
||||
"title": "SerializedUpdateUserFlagsAction"
|
||||
}
|
||||
},
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
|
||||
Reference in New Issue
Block a user