degranularise permissions

This commit is contained in:
zkldi
2021-06-10 19:17:32 +01:00
parent b374c2fe43
commit 453b76be04
2 changed files with 2 additions and 11 deletions
+1 -1
View File
@@ -1115,7 +1115,7 @@ export declare type RedisIPCData = {
/**
* All the permissions a token may have.
*/
export declare type APIPermissions = "create:goal" | "manage:goal" | "submit:ir-beatoraja" | "retrieve:ir-beatoraja" | "submit:ir-usc" | "retrieve:ir-usc" | "submit:ir-fervidex" | "submit:ir-barbatos" | "submit:ir-chunitachi";
export declare type APIPermissions = "create:goal" | "manage:goal" | "submit:score";
/**
* Information about the API Token used to make this request.
*/
+1 -10
View File
@@ -1367,16 +1367,7 @@ export type RedisIPCData = {
/**
* All the permissions a token may have.
*/
export type APIPermissions =
| "create:goal"
| "manage:goal"
| "submit:ir-beatoraja"
| "retrieve:ir-beatoraja"
| "submit:ir-usc"
| "retrieve:ir-usc"
| "submit:ir-fervidex"
| "submit:ir-barbatos"
| "submit:ir-chunitachi";
export type APIPermissions = "create:goal" | "manage:goal" | "submit:score";
/**
* Information about the API Token used to make this request.