From 323ea249faccbac0861ec7fdea2e1c2fa7ddfaf5 Mon Sep 17 00:00:00 2001 From: zkldi Date: Mon, 3 May 2021 19:00:33 +0100 Subject: [PATCH] add pt to fdoc --- common/js/types.d.ts | 1 + common/src/types.ts | 1 + 2 files changed, 2 insertions(+) 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";