diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 17c2de74c..501f48e8b 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -1028,7 +1028,7 @@ export declare type RedisIPCData = { /** * All the permissions a token may have. */ -export declare type APIPermissions = "submit_score" | "customise_profile" | "customise_session"; +export declare type APIPermissions = "submit_score" | "customise_profile" | "customise_session" | "customise_score" | "delete_score"; /** * Information about the API Token used to make this request. */ diff --git a/common/src/types.ts b/common/src/types.ts index 95f6fb440..f1160466f 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -1271,7 +1271,12 @@ export type RedisIPCData = { /** * All the permissions a token may have. */ -export type APIPermissions = "submit_score" | "customise_profile" | "customise_session"; +export type APIPermissions = + | "submit_score" + | "customise_profile" + | "customise_session" + | "customise_score" + | "delete_score"; /** * Information about the API Token used to make this request.