fix: missing DRAW in judgement. fix #8

main
spacemeowx2 2022-10-26 17:05:16 +08:00
parent e9e86d90d8
commit db18f36d62
2 changed files with 3 additions and 2 deletions

View File

@ -38,6 +38,7 @@ export const SPLATNET3_STATINK_MAP: {
LOSE: "lose", LOSE: "lose",
DEEMED_LOSE: "lose", DEEMED_LOSE: "lose",
EXEMPTED_LOSE: "exempted_lose", EXEMPTED_LOSE: "exempted_lose",
DRAW: "draw",
}, },
DRAGON: { DRAGON: {
NORMAL: undefined, NORMAL: undefined,

View File

@ -44,7 +44,7 @@ export type BattleListNode = {
_bid: string; _bid: string;
id: string; id: string;
udemae: string; udemae: string;
judgement: "LOSE" | "WIN" | "DEEMED_LOSE" | "EXEMPTED_LOSE"; judgement: "LOSE" | "WIN" | "DEEMED_LOSE" | "EXEMPTED_LOSE" | "DRAW";
}; };
export type CoopListNode = { export type CoopListNode = {
id: string; id: string;
@ -144,7 +144,7 @@ export type VsHistoryDetail = {
myTeam: VsTeam; myTeam: VsTeam;
otherTeams: VsTeam[]; otherTeams: VsTeam[];
judgement: "LOSE" | "WIN" | "DEEMED_LOSE" | "EXEMPTED_LOSE"; judgement: "LOSE" | "WIN" | "DEEMED_LOSE" | "EXEMPTED_LOSE" | "DRAW";
knockout: null | undefined | "NEITHER" | "WIN" | "LOSE"; knockout: null | undefined | "NEITHER" | "WIN" | "LOSE";
awards: { name: string; rank: string }[]; awards: { name: string; rank: string }[];
duration: number; duration: number;