mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-09 15:19:50 +03:00
fix: bms schemas, duplicate folders, iidx nonsense
This commit is contained in:
@@ -412,6 +412,9 @@ function GetChartDataForGPT(idString: IDStrings): PrudenceSchema {
|
||||
length: p.isPositive,
|
||||
charter: "string",
|
||||
displayBPM: p.isPositive,
|
||||
|
||||
// todo, maybe constrain this a bit?
|
||||
difficultyTag: "string",
|
||||
};
|
||||
case "gitadora:Dora":
|
||||
case "gitadora:Gita":
|
||||
@@ -448,7 +451,7 @@ const PR_CHART_DOCUMENT = (game: Game) => (self: unknown) => {
|
||||
level: "string",
|
||||
levelNum: "number",
|
||||
isPrimary: "boolean",
|
||||
difficulty: p.isIn(gptConfig.difficulties),
|
||||
difficulty: game === "itg" ? "string" : p.isIn(gptConfig.difficulties),
|
||||
playtype: p.is(playtype),
|
||||
data,
|
||||
tierlistInfo: Object.fromEntries(
|
||||
@@ -517,7 +520,7 @@ const PRE_SCHEMAS = {
|
||||
|
||||
return true;
|
||||
},
|
||||
set: p.isIn("genocideDan", "stslDan"),
|
||||
set: p.isIn("genocideDan", "stslDan", "lnDan", "scratchDan"),
|
||||
playtype: p.isIn("7K", "14K"),
|
||||
value: p.isInteger,
|
||||
}),
|
||||
|
||||
@@ -528373,18 +528373,7 @@
|
||||
"playtype": "DP",
|
||||
"rgcID": null,
|
||||
"songID": 801,
|
||||
"tierlistInfo": {
|
||||
"kt-HC": {
|
||||
"individualDifference": true,
|
||||
"text": "12B",
|
||||
"value": 12.6
|
||||
},
|
||||
"kt-NC": {
|
||||
"individualDifference": true,
|
||||
"text": "12B",
|
||||
"value": 12.6
|
||||
}
|
||||
},
|
||||
"tierlistInfo": {},
|
||||
"versions": [
|
||||
"27-omni",
|
||||
"26-omni",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user