fix: backport all features from v2 that came in after merge

This commit is contained in:
zk
2026-05-17 12:53:26 +00:00
parent 426bb250d9
commit fe76dad32d
34 changed files with 602 additions and 5219 deletions
@@ -23,7 +23,8 @@ export const GAME_GROUP_ONGEKI_CONF = {
"LUNATIC",
"ボーナストラック",
]),
duration: z.number(),
duration: z.number().nullable(),
flavorGenre: z.string().optional(),
}),
} as const satisfies INTERNAL_GAME_GROUP_CONFIG;
@@ -39,7 +40,8 @@ export const OngekiColours = [
ClassValue("PLATINUM", "鉑", "Platinum: 18.000~18.999 Rating"),
ClassValue("RAINBOW", "虹", "Rainbow: 19.000~19.999 Rating"),
ClassValue("RAINBOW_SHINY", "虹(光)", "Rainbow Shiny: 20.000~20.999 Rating"),
ClassValue("RAINBOW_EX", "虹(極)", "Rainbow Extreme: 21.000~ Rating"),
ClassValue("RAINBOW_EX", "虹(極)", "Rainbow Extreme: 21.000~21.999 Rating"),
ClassValue("RAINBOW_EX_TRUE", "虹(極)・真", "Rainbow Extreme (True): 22.000~ Rating"),
];
export const GAME_ONGEKI_CONF = {
@@ -228,11 +230,11 @@ export const GAME_ONGEKI_CONF = {
"オンゲキ bright MEMORY Act.3",
"オンゲキ Re:Fresh",
]),
isBonusTrack: z.boolean(),
isReMaster: z.boolean().optional(),
maxPlatScore: z.number().int(),
inGameID: z.number().int(),
maxPlatScore: z.number().int().nonnegative(),
inGameID: z.number().int().nonnegative().nullable(),
chartViewURL: z.string().optional(),
isBonusTrack: z.boolean().optional(),
}),
preferences: z.strictObject({}),
+1
View File
@@ -612,6 +612,7 @@ export enum ONGEKI_COLOURS {
PURPLE = 4,
RAINBOW = 9,
RAINBOW_EX = 11,
RAINBOW_EX_TRUE = 12,
RAINBOW_SHINY = 10,
RED = 3,
SILVER = 6,