core: setServerOperators, getUsageConditions api wip (#5145)

This commit is contained in:
spaced4ndy
2024-11-05 14:15:20 +04:00
committed by GitHub
parent bdaec30fa0
commit 3b0205b25f
6 changed files with 105 additions and 31 deletions
+1 -1
View File
@@ -354,7 +354,7 @@ data ChatCommand
| APITestProtoServer UserId AProtoServerWithAuth
| TestProtoServer AProtoServerWithAuth
| APIGetServerOperators
| APISetServerOperators (NonEmpty (OperatorId, Bool))
| APISetServerOperators (NonEmpty OperatorEnabled)
| APIGetUserServers UserId
| APISetUserServers UserId (NonEmpty UserServers)
| APIValidateServers (NonEmpty UserServers) -- response is CRUserServersValidation