BatchManualScore moved to tachi-common

This commit is contained in:
zkldi
2021-08-21 01:50:08 +01:00
parent 29a7d7205d
commit 8cf25e3286
@@ -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<string, unknown> | null;
hitMeta?: Record<string, unknown> | 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;
}