mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-05 05:18:12 +03:00
BatchManualScore moved to tachi-common
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user