Add KTBlackImport Type

This commit is contained in:
zkldi
2021-04-09 22:17:08 +01:00
parent 62d81d2fe3
commit 4e411d31a8
2 changed files with 19 additions and 0 deletions
+8
View File
@@ -308,6 +308,14 @@ export interface ImportDocument extends MongoDBDocument {
timeTaken: number;
msPerScore: number;
}
export interface KTBlackImportDocument extends MongoDBDocument {
userID: integer;
timeStarted: number;
timeFinished: number;
idStrings: IDStrings[];
importID: string;
importInfo: ImportProcessingInfo[];
}
export interface UserGoalDocument extends MongoDBDocument {
goalID: string;
userID: integer;
+11
View File
@@ -445,6 +445,17 @@ export interface ImportDocument extends MongoDBDocument {
msPerScore: number;
}
export interface KTBlackImportDocument extends MongoDBDocument {
userID: integer;
timeStarted: number;
timeFinished: number;
// Contains an array of IDStrings, which dictates what (game:playtype)s were involved in this import.
idStrings: IDStrings[];
importID: string;
importInfo: ImportProcessingInfo[];
importType: ImportTypes;
}
export interface UserGoalDocument extends MongoDBDocument {
goalID: string;
userID: integer;