diff --git a/src/constant.ts b/src/constant.ts index 85ce464..86c291d 100644 --- a/src/constant.ts +++ b/src/constant.ts @@ -38,6 +38,7 @@ export const SPLATNET3_STATINK_MAP: { LOSE: "lose", DEEMED_LOSE: "lose", EXEMPTED_LOSE: "exempted_lose", + DRAW: "draw", }, DRAGON: { NORMAL: undefined, diff --git a/src/types.ts b/src/types.ts index 57d5073..505929a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -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;