mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-04 12:58:11 +03:00
rename to ApiTokenDocument and extend mongodbdoc
This commit is contained in:
Vendored
+1
-1
@@ -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
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user