remove nonsense

This commit is contained in:
zkldi
2021-05-10 06:20:25 +01:00
parent fffe0a59fb
commit fc683dc7c8
2 changed files with 0 additions and 42 deletions
-10
View File
@@ -492,16 +492,6 @@ export interface MilestoneGroupDocument extends MongoDBDocument {
name: string;
desc: string;
}
export interface QueryDocument extends MongoDBDocument {
query: Record<string, string>;
queryID: string;
name: string;
desc: string;
byUser: integer;
timeAdded: integer;
timesUsed: integer;
forDatabase: "scores";
}
export declare type NotificationType = "clandisband" | "claninvite" | "goals" | "import" | "milestone" | "mrginvite" | "mrgkicked" | "mrgdisband" | "mrginviterejected";
export interface NotificationDocument extends MongoDBDocument {
notifID: string;
-32
View File
@@ -671,17 +671,6 @@ export interface MilestoneGroupDocument extends MongoDBDocument {
desc: string;
}
export interface QueryDocument extends MongoDBDocument {
query: Record<string, string>;
queryID: string;
name: string;
desc: string;
byUser: integer;
timeAdded: integer;
timesUsed: integer;
forDatabase: "scores";
}
export type NotificationType =
| "clandisband"
| "claninvite"
@@ -758,27 +747,6 @@ export interface UserGameStats<I extends IDStrings = IDStrings> extends MongoDBD
classes: Record<string, string>; // bad
}
// the bottom set of types are horrifically confusing.
// to ease this a bit, an example of what they're representing is below.
/*
"classes" : {
"iidx" : {
"SP" : {
"dan" : "kaiden"
}
}
}
*/
// type UserClasses = Partial<Record<Game, PlaytypeClasses>>;
// type PlaytypeClasses = Partial<Record<Playtypes[Game], ClassInfo>>;
// this one is just flat out wrong btw, there are very strict requirements
// on what strings can go in here.
// type ClassInfo = Partial<Record<string, string>>;
/**
* PrivateUserDocument is the document indicating that we've returned everything about the user
* from the DB - including their private information.