Add preblocking

This commit is contained in:
Jonas Lochmann
2020-12-21 01:00:00 +01:00
parent 13ede06a91
commit 2bb3777484
23 changed files with 615 additions and 71 deletions
@@ -134,6 +134,9 @@
},
{
"$ref": "#/definitions/SerializedUpdateUserLimitLoginCategory"
},
{
"$ref": "#/definitions/SerializedUpdateUserLimitLoginPreBlockDuration"
}
],
"definitions": {
@@ -1398,6 +1401,30 @@
"userId"
],
"title": "SerializedUpdateUserLimitLoginCategory"
},
"SerializedUpdateUserLimitLoginPreBlockDuration": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"UPDATE_USER_LIMIT_LOGIN_PRE_BLOCK_DURATION"
]
},
"userId": {
"type": "string"
},
"preBlockDuration": {
"type": "number"
}
},
"additionalProperties": false,
"required": [
"preBlockDuration",
"type",
"userId"
],
"title": "SerializedUpdateUserLimitLoginPreBlockDuration"
}
},
"$schema": "http://json-schema.org/draft-07/schema#",