Add user flags field

This commit is contained in:
Jonas Lochmann
2020-06-01 02:00:00 +02:00
parent 7b6527752e
commit 12dc22f8a2
26 changed files with 661 additions and 54 deletions
@@ -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#",