feat: refresh the home page and separate match event types
Add an inhouse hero, Hall of Fame, rankings, and event-specific schedules. Carry the event type through the API and admin tools, and improve results and player history displays.
This commit is contained in:
1 parent
7e0cd7cb19
commit
664af15255
58 files changed
+2316
-593
No files matched your search
@@ -22,6 +22,7 @@ export type MatchGameMode =
|
||||
| "round-robin"
|
||||
| "double-elimination";
|
||||
|
||||
export type MatchEventType = "inhouse" | "tournament";
|
||||
export type GrandFinalGameCount = 1 | 3 | 5;
|
||||
|
||||
export type MatchPosition = "TOP" | "JGL" | "MID" | "ADC" | "SUP";
|
||||
@@ -83,6 +84,7 @@ export interface MatchDetailResponse {
|
||||
competitionId?: CompetitionId;
|
||||
shortCode?: string;
|
||||
title: string;
|
||||
eventType: MatchEventType;
|
||||
description: string;
|
||||
mapId: number;
|
||||
status: MatchLifecycleStatus;
|
||||
@@ -109,6 +111,8 @@ export type MatchHistoryResult =
|
||||
type: "score";
|
||||
teamAWins: number;
|
||||
teamBWins: number;
|
||||
teamAName?: string;
|
||||
teamBName?: string;
|
||||
winnerTeamName?: string;
|
||||
}
|
||||
| { type: "winners"; teamNames: string[] }
|
||||
|
||||
Reference in new issue
Block a user