Fix keyed telemetry match attribution (Refs #144)
CI / checks (push) Successful in 5m26s

This commit is contained in:
2026-10-12 00:58:05 -04:00
parent 4ea291d305
commit 785cc4616b
24 changed files with 1115 additions and 112 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ export interface MatchHistoryQuery {
map: string;
q: string;
days: number;
status: '' | 'active' | 'completed' | 'interrupted';
status: '' | 'active' | 'completed' | 'interrupted' | 'end-report-missing';
sort: MatchSort;
direction: 'asc' | 'desc';
page: number;
@@ -35,7 +35,7 @@ export function readMatchQuery(params: URLSearchParams): MatchHistoryQuery {
map.length > 1024 ||
q.length > 100 ||
![0, 7, 30, 90].includes(days) ||
!['', 'active', 'completed', 'interrupted'].includes(status) ||
!['', 'active', 'completed', 'interrupted', 'end-report-missing'].includes(status) ||
!matchSorts.includes(sort as MatchSort) ||
!['asc', 'desc'].includes(direction) ||
!Number.isSafeInteger(page) ||