diff --git a/common/src/lib/schemas.ts b/common/src/lib/schemas.ts index 99b99d009..2b607ed7f 100644 --- a/common/src/lib/schemas.ts +++ b/common/src/lib/schemas.ts @@ -350,7 +350,7 @@ function GetChartDataForGPT(idString: IDStrings): PrudenceSchema { }; case "jubeat:Single": return { - inGameID: p.isPositiveInteger, + inGameID: p.or(p.isPositiveInteger, [p.isPositiveInteger]), isHardMode: "boolean", }; case "chunithm:Single": diff --git a/common/src/types.ts b/common/src/types.ts index c9731343e..eabee7e46 100644 --- a/common/src/types.ts +++ b/common/src/types.ts @@ -803,7 +803,7 @@ interface ChartDocumentData { inGameID: number; inGameStrID: string; }; - "jubeat:Single": { inGameID: integer; isHardMode: boolean }; + "jubeat:Single": { inGameID: Array | integer; isHardMode: boolean }; "museca:Single": { inGameID: integer }; "bms:7K": CDDataBMS; "bms:14K": CDDataBMS;