From 6bd28b05ea781e42b8a5c85e435d4530b2513c0d Mon Sep 17 00:00:00 2001 From: zkldi Date: Sun, 27 Jun 2021 15:07:22 +0100 Subject: [PATCH] add delete_score and customise_score props --- common/js/types.d.ts | 2 +- common/src/types.ts | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) 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.