diff --git a/server/src/lib/score-import/import-types/common/batch-manual/types.ts b/server/src/lib/score-import/import-types/common/batch-manual/types.ts index 265c5c712..13a571b40 100644 --- a/server/src/lib/score-import/import-types/common/batch-manual/types.ts +++ b/server/src/lib/score-import/import-types/common/batch-manual/types.ts @@ -1,31 +1,8 @@ -import { Game, Playtypes, Lamps, IDStrings } from "tachi-common"; - -export type BatchManualScore = { - score: number; - lamp: Lamps[IDStrings]; - timeAchieved?: number | null; - comment?: string | null; - judgements?: Record | null; - hitMeta?: Record | null; - identifier: string; - matchType: "songTitle" | "ddrSongHash" | "tachiSongID" | "bmsChartHash"; - - difficulty?: string | null; // lazy... -}; - -export interface BatchManual { - meta: { - service: string; - game: Game; - playtype: Playtypes[Game]; - version?: string | null; - }; - scores: BatchManualScore[]; -} +import { Game, Playtypes, IDStrings, GPTSupportedVersions } from "tachi-common"; export interface BatchManualContext { game: Game; playtype: Playtypes[Game]; service: string; - version: string | null; + version: GPTSupportedVersions[IDStrings] | null; }