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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 105 additions and 31 deletions

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