diff --git a/common/js/types.d.ts b/common/js/types.d.ts index 61504e9c0..97f6c31b4 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -1117,7 +1117,7 @@ export declare type APIPermissions = "create:goal" | "manage:goal"; /** * Information about the API Token used to make this request. */ -export interface TachiAPIAuthData { +export interface APITokenDocument extends MongoDBDocument { userID: integer | null; token: string | null; identifier: string; diff --git a/common/src/types.ts b/common/src/types.ts index edf3c62e5..11ee00dce 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -1370,7 +1370,7 @@ export type APIPermissions = "create:goal" | "manage:goal"; /** * Information about the API Token used to make this request. */ -export interface TachiAPIAuthData { +export interface APITokenDocument extends MongoDBDocument { userID: integer | null; token: string | null; identifier: string;