From c447480a4b7eaf983a96da7d9dcb706aa5e9dc8d Mon Sep 17 00:00:00 2001 From: zkldi Date: Fri, 3 Sep 2021 06:04:45 +0100 Subject: [PATCH] Add OAuth2ApplicationDocument --- common/src/types.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/common/src/types.ts b/common/src/types.ts index d38b55e59..cef59ef87 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -1375,3 +1375,11 @@ export interface UserSettings { developerMode: boolean; }; } + +export interface OAuth2ApplicationDocument { + clientID: string; + clientSecret: string; + name: string; + author: integer; + requestedPermissions: APIPermissions[]; +}