fix: bms schemas, duplicate folders, iidx nonsense

This commit is contained in:
zkldi
2022-07-17 18:33:27 +01:00
parent af27d41fbd
commit 8299075040
3 changed files with 6 additions and 866 deletions
+5 -2
View File
@@ -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,
}),
+1 -12
View File
@@ -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