rename to ApiTokenDocument and extend mongodbdoc

This commit is contained in:
zkldi
2021-06-10 16:31:09 +01:00
parent c4150f203e
commit 8a10d7ebf2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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;