diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 5bb4465e1..d2c1572a8 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -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. */ diff --git a/common/src/types.ts b/common/src/types.ts index e174776b9..ba8c3a24d 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -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.