Simplify match history with filters and persistent pagination

This commit is contained in:
2026-10-06 19:23:19 -04:00
parent 1370873cba
commit 711191c388
13 changed files with 419 additions and 103 deletions
+10
View File
@@ -3,6 +3,8 @@ export const MIN_RECORDED_ROUND = 2;
export interface ServerMatch {
id: number;
game: string;
observedRound: number | null;
server: string;
server_deleted_at?: string | null;
map: string;
@@ -42,3 +44,11 @@ export interface MatchDetail extends ServerMatch {
startObserved: boolean;
players: MatchPlayer[];
}
export interface MatchHistoryResponse {
matches: ServerMatch[];
total: number;
page: number;
limit: number;
maps: Array<{ key: string; name: string; game: string }>;
}