customfolders as separate doc

This commit is contained in:
zkldi
2021-05-03 19:23:10 +01:00
parent 0e3956a46d
commit 9ca2ca0f49
2 changed files with 4 additions and 8 deletions
+2 -4
View File
@@ -702,8 +702,6 @@ export interface SongDocument<G extends Game> extends AnySongDocument {
export interface FolderDocument extends MongoDBDocument {
title: string;
game: Game;
custom: boolean;
byUser: integer | null;
playtype: Playtypes[Game];
type: "query" | "static";
query: {
@@ -711,8 +709,8 @@ export interface FolderDocument extends MongoDBDocument {
body: Record<string, unknown>;
};
folderID: string;
table: string | null;
tableIndex: integer | null;
table: string;
tableIndex: integer;
}
export interface UserMilestoneDocument extends MongoDBDocument {
milestoneID: string;
+2 -4
View File
@@ -881,8 +881,6 @@ export interface SongDocument<G extends Game> extends AnySongDocument {
export interface FolderDocument extends MongoDBDocument {
title: string;
game: Game;
custom: boolean;
byUser: integer | null;
playtype: Playtypes[Game];
type: "query" | "static";
query: {
@@ -890,8 +888,8 @@ export interface FolderDocument extends MongoDBDocument {
body: Record<string, unknown>;
};
folderID: string;
table: string | null;
tableIndex: integer | null;
table: string;
tableIndex: integer;
}
export interface UserMilestoneDocument extends MongoDBDocument {