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",
DEEMED_LOSE: "lose",
EXEMPTED_LOSE: "exempted_lose",
DRAW: "draw",
},
DRAGON: {
NORMAL: undefined,

View File

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