Some minor fixes

This commit is contained in:
zkldi
2021-11-19 09:49:11 +00:00
parent 86796094b5
commit 82053543bf
6 changed files with 6 additions and 12 deletions
@@ -33,8 +33,6 @@ export interface ImportTypeDataMap {
"file/solid-state-squad": S3Score;
"file/mer-iidx": MerScore;
"file/pli-iidx-csv": IIDXEamusementCSVData;
// This is stubbed out so our code still compiles.
"file/eamusement-sdvx-csv": never; // @todo Add proper support for this!
"ir/direct-manual": BatchManualScore;
"ir/barbatos": BarbatosScore;
@@ -62,8 +60,6 @@ export interface ImportTypeContextMap {
"file/solid-state-squad": EmptyObject;
"file/mer-iidx": EmptyObject;
"file/pli-iidx-csv": IIDXEamusementCSVContext;
// This is stubbed out so our code still compiles.
"file/eamusement-sdvx-csv": never; // @todo Add proper support for this!
"ir/direct-manual": BatchManualContext;
"ir/barbatos": EmptyObject;
@@ -100,7 +100,7 @@ const ConvertEamSDVXCSV: ConverterFunction<SDVXEamusementCSVData, EmptyObject> =
service: "e-amusement",
game: "sdvx",
scoreMeta: {},
// i cri
// No timestamp data :(
timeAchieved: null,
comment: null,
importType,
@@ -114,7 +114,7 @@ const ConvertEamSDVXCSV: ConverterFunction<SDVXEamusementCSVData, EmptyObject> =
},
};
logger.info(`Returning dryscore with ${dryScore.scoreData.score} for ${humanisedChartTitle}`)
logger.info(`Returning dryscore with ${dryScore.scoreData.score} for ${humanisedChartTitle}`);
return { chart, song, dryScore };
};
@@ -41,7 +41,7 @@ export default function ParseEamusementSDVXCSV(
// It is 0 if the score was played without S-criticals.
exscore: cells[6],
// The other columns (grade, # of different clears) are essentially useless.
// There is no timestamp 😢
// There is no timestamp :(
}));
return {
@@ -1,8 +1,8 @@
export type SDVXEamusementCSVData = {
export interface SDVXEamusementCSVData {
title: string;
difficulty: string;
level: string;
lamp: string;
score: string;
exscore: string;
};
}
@@ -5,7 +5,6 @@ import { ParseEagSDVX } from "./api/eag-sdvx/parser";
import { ParseFloIIDX } from "./api/flo-iidx/parser";
import { ParseFloSDVX } from "./api/flo-sdvx/parser";
import { ParseMinSDVX } from "./api/min-sdvx/parser";
import { ParserFunctionReturns } from "./common/types";
import ParseBatchManual from "./file/batch-manual/parser";
import ParseEamusementIIDXCSV from "./file/eamusement-iidx-csv/parser";
import ParseEamusementSDVXCSV from "./file/eamusement-sdvx-csv/parser";
@@ -202,5 +202,4 @@ neu BSP style,EXHAUST,16,EXCESSIVE COMPLETE,S,9931212,0,7,7,0,0
FLOWER REDALiCE Remix,EXHAUST,16,COMPLETE,AA,9327691,0,2,2,0,0
Xepher Light and Darkness Dragon REMIX,EXHAUST,16,ULTIMATE CHAIN,AAA+,9887187,0,15,15,1,0
冥 Rockin' SWING REMIX,EXHAUST,16,COMPLETE,AA+,9645522,0,3,2,0,0
Evans VolteX Pf arrange,EXHAUST,15,COMPLETE,AAA+,9848345,0,2,2,0,0
Evans VolteX Pf arrange,EXHAUST,15,COMPLETE,AAA+,9848345,0,2,2,0,0
Can't render this file because it contains an unexpected character in line 170 and column 55.