/** * ViewData for RaceStewarding * This is the JSON-serializable input for the Template. */ export interface RaceStewardingViewData { race: { id: string; track: string; scheduledAt: string; status: string; } | null; league: { id: string; name: string; } | null; protests: Array<{ id: string; protestingDriverId: string; accusedDriverId: string; incident: { lap: number; description: string; }; filedAt: string; status: string; decisionNotes?: string; proofVideoUrl?: string; }>; penalties: Array<{ id: string; driverId: string; type: string; value: number; reason: string; notes?: string; }>; driverMap: Record; }