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:
dahyeon committed 2026-11-10 22:13:55 +09:00
1 parent 7e0cd7cb19
commit 664af15255
58 files changed
+2316 -593

No files matched your search

+5
View File
@@ -6,6 +6,7 @@ import type {
CompetitionDetailResponse,
CreateSeriesAdjudicationRequest,
MatchDetailResponse,
MatchEventType,
MatchLifecycleStatus,
MatchListResponse,
ReverseSeriesResultRequest,
@@ -64,6 +65,7 @@ const DDRAGON_MANIFEST_STALE_MS = 24 * 60 * 60 * 1000;
interface MatchesQueryOptions {
status?: MatchLifecycleStatus;
eventType?: MatchEventType;
limit?: number;
page?: number;
offset?: number;
@@ -97,6 +99,7 @@ function createMatchesPath(
) {
const searchParams = new URLSearchParams();
if (options.status) searchParams.set('status', options.status);
if (options.eventType) searchParams.set('eventType', options.eventType);
if (options.limit) searchParams.set('limit', String(options.limit));
if (options.page) searchParams.set('page', String(options.page));
if (options.offset) searchParams.set('offset', String(options.offset));
@@ -176,6 +179,7 @@ export function useMatches(
options.scheduledFrom ?? null,
options.scheduledTo ?? null,
options.sort ?? null,
options.eventType ?? null,
],
queryFn: async () => {
const response = await authScope.fetch<MatchListResponse>(
@@ -206,6 +210,7 @@ export function useMatchesPage(
options.scheduledTo ?? null,
options.sort ?? null,
options.includeResults ?? false,
options.eventType ?? null,
],
queryFn: () =>
authScope.fetch<MatchListResponse>(
+4
View File
@@ -1,5 +1,6 @@
import type {
GrandFinalGameCount,
MatchEventType,
MatchGameMode,
MatchPosition,
MatchPositionPreferenceView,
@@ -275,6 +276,7 @@ export interface MeResponse {
export interface MatchMutationRequest {
title: string;
eventType?: MatchEventType;
description?: string;
mapId?: number;
scheduledAt: string;
@@ -586,6 +588,8 @@ export interface ApiRecentMatchView {
summonerSpells: [number, number];
perks: ApiRunePerks;
teams: ApiRecentMatchTeam[];
/** 최대 연속 처치 수. API가 아직 내려주지 않아 화면은 없을 때를 견딘다. */
largestMultiKill?: number;
}
export interface ApiRecentMatchesResponse {