From a2e5b4f682d5528b670d24284a19811e2ff99a11 Mon Sep 17 00:00:00 2001 From: zkldi Date: Tue, 30 Mar 2021 20:27:07 +0100 Subject: [PATCH] Expose MRGFolderInformation --- common/js/types.d.ts | 6 +----- common/src/types.ts | 7 +------ 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/common/js/types.d.ts b/common/js/types.d.ts index e5a25a5a3..ce0bfe2a8 100644 --- a/common/js/types.d.ts +++ b/common/js/types.d.ts @@ -6,10 +6,6 @@ export interface MongoDBDocument { _id?: IObjectID; } export declare type Databases = "sessions" | "folders" | "scores" | "queries" | "rivals" | "notifications" | "imports" | "tierlistdata" | "tierlist" | "goals" | "user-goals" | "user-milestones" | "milestones" | "users"; -/** - * ValidNBQDatabases: Indicates the databases expected by FQ config overrides. - */ -export declare type ValidNBQDatabases = Databases | "songs" | "charts"; export declare type ValidDatabases = Databases | `songs-${Game}` | `charts-${Game}`; /** * Supported games by Kamaitachi. @@ -179,7 +175,7 @@ interface MRGFolderTarget { field: MRGFolderTargetFieldNames; target: number; } -interface MRGFolderInformation { +export interface MRGFolderInformation { folderID: string; difficulty: Difficulties[Game][] | null; datapoints: MRGFolderTarget[]; diff --git a/common/src/types.ts b/common/src/types.ts index b135e49d3..acc9ec4f5 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -23,11 +23,6 @@ export type Databases = | "milestones" | "users"; -/** - * ValidNBQDatabases: Indicates the databases expected by FQ config overrides. - */ -export type ValidNBQDatabases = Databases | "songs" | "charts"; - export type ValidDatabases = Databases | `songs-${Game}` | `charts-${Game}`; /** @@ -236,7 +231,7 @@ interface MRGFolderTarget { target: number; } -interface MRGFolderInformation { +export interface MRGFolderInformation { folderID: string; difficulty: Difficulties[Game][] | null; datapoints: MRGFolderTarget[];