fix: missing DRAW in judgement. fix #8
parent
e9e86d90d8
commit
db18f36d62
|
|
@ -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,
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue