FolderDoc updates

This commit is contained in:
zkldi
2021-05-03 18:45:15 +01:00
parent 0e73611d9f
commit a485f89cf9
2 changed files with 8 additions and 10 deletions
+4 -5
View File
@@ -703,12 +703,11 @@ export interface FolderDocument extends MongoDBDocument {
title: string;
game: Game;
custom: boolean;
byUser: integer;
views: integer;
type: "query";
byUser: integer | null;
type: "query" | "static";
query: {
collection: string;
query: Record<string, unknown>;
collection: "songs" | "charts";
body: Record<string, unknown>;
};
folderID: string;
table: string;
+4 -5
View File
@@ -882,12 +882,11 @@ export interface FolderDocument extends MongoDBDocument {
title: string;
game: Game;
custom: boolean;
byUser: integer;
views: integer;
type: "query";
byUser: integer | null;
type: "query" | "static";
query: {
collection: string;
query: Record<string, unknown>;
collection: "songs" | "charts";
body: Record<string, unknown>;
};
folderID: string;
table: string;