view data fixes
Some checks failed
Contract Testing / contract-tests (pull_request) Failing after 5m51s
Contract Testing / contract-snapshot (pull_request) Has been skipped

This commit is contained in:
2026-01-24 12:14:08 +01:00
parent dde77e717a
commit 046852703f
94 changed files with 1333 additions and 4885 deletions

View File

@@ -13,7 +13,7 @@ export interface RaceStewardingViewData {
id: string;
name: string;
} | null;
protests: Array<{
pendingProtests: Array<{
id: string;
protestingDriverId: string;
accusedDriverId: string;
@@ -23,8 +23,21 @@ export interface RaceStewardingViewData {
};
filedAt: string;
status: string;
decisionNotes?: string;
proofVideoUrl?: string;
decisionNotes?: string | null;
proofVideoUrl?: string | null;
}>;
resolvedProtests: Array<{
id: string;
protestingDriverId: string;
accusedDriverId: string;
incident: {
lap: number;
description: string;
};
filedAt: string;
status: string;
decisionNotes?: string | null;
proofVideoUrl?: string | null;
}>;
penalties: Array<{
id: string;
@@ -32,7 +45,10 @@ export interface RaceStewardingViewData {
type: string;
value: number;
reason: string;
notes?: string;
notes?: string | null;
}>;
pendingCount: number;
resolvedCount: number;
penaltiesCount: number;
driverMap: Record<string, { id: string; name: string }>;
}