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
@@ -1,4 +1,8 @@
|
||||
import type { MatchDetailResponse, MatchTierView } from '@lolympus/contracts';
|
||||
import type {
|
||||
MatchDetailResponse,
|
||||
MatchEventType,
|
||||
MatchTierView,
|
||||
} from '@lolympus/contracts';
|
||||
import type {
|
||||
MatchGameMode,
|
||||
MatchStatus,
|
||||
@@ -13,6 +17,7 @@ interface PublicMatchSource {
|
||||
competitionId?: IdLike;
|
||||
shortCode?: string;
|
||||
title: string;
|
||||
eventType?: MatchEventType;
|
||||
description: string;
|
||||
mapId: number;
|
||||
status: MatchStatus;
|
||||
@@ -67,6 +72,7 @@ export function presentPublicMatch(
|
||||
: {}),
|
||||
...(source.shortCode ? { shortCode: source.shortCode } : {}),
|
||||
title: source.title,
|
||||
eventType: source.eventType ?? 'inhouse',
|
||||
description: source.description,
|
||||
mapId: source.mapId,
|
||||
status: source.status,
|
||||
|
||||
Reference in new issue
Block a user