change type of gpt.judgements

This commit is contained in:
zkldi
2021-08-02 19:21:37 +01:00
parent 134965af52
commit 45cebc97bb
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { ClassInfo, GameClassSets } from "../game-classes";
import { ESDJudgementFormat } from "../lib/esd";
import { Playtypes, Game, Difficulties, IDStrings, ScoreCalculatedDataLookup, SessionCalculatedDataLookup, UGSRatingsLookup, Grades, Lamps } from "../types";
import { Playtypes, Game, Difficulties, IDStrings, ScoreCalculatedDataLookup, SessionCalculatedDataLookup, UGSRatingsLookup, Grades, Lamps, JudgementLookup } from "../types";
export interface GameConfig<G extends Game = Game> {
internalName: string;
name: string;
@@ -29,7 +29,7 @@ interface BaseGamePTConfig<I extends IDStrings> {
clearLamp: Lamps[I];
supportedClasses: GameClassSets[I][];
classHumanisedFormat: Record<GameClassSets[I], ClassInfo[]>;
judgements: string[];
judgements: JudgementLookup[I][];
defaultTable: string;
scoreBucket: "grade" | "lamp";
}
File diff suppressed because one or more lines are too long
+2 -1
View File
@@ -20,6 +20,7 @@ import {
UGSRatingsLookup,
Grades,
Lamps,
JudgementLookup,
} from "../types";
export interface GameConfig<G extends Game = Game> {
@@ -59,7 +60,7 @@ interface BaseGamePTConfig<I extends IDStrings> {
supportedClasses: GameClassSets[I][];
classHumanisedFormat: Record<GameClassSets[I], ClassInfo[]>;
judgements: string[];
judgements: JudgementLookup[I][];
defaultTable: string;