diff --git a/common/js/types.d.ts b/common/js/types.d.ts index b54e374ae..e71ac2e00 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -704,6 +704,7 @@ export interface FolderDocument extends MongoDBDocument { game: Game; custom: boolean; byUser: integer | null; + playtype: Playtypes[Game]; type: "query" | "static"; query: { collection: "songs" | "charts"; diff --git a/common/src/types.ts b/common/src/types.ts index 9bded4e98..64ae82ee9 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -883,6 +883,7 @@ export interface FolderDocument extends MongoDBDocument { game: Game; custom: boolean; byUser: integer | null; + playtype: Playtypes[Game]; type: "query" | "static"; query: { collection: "songs" | "charts";