Files
gridpilot.gg/apps/website/lib/view-data/races/RacesAllViewData.ts
2026-01-14 10:51:05 +01:00

22 lines
458 B
TypeScript

/**
* Races All View Data
*
* ViewData for the all races page template.
* JSON-serializable, template-ready data structure.
*/
export interface RacesAllRace {
id: string;
track: string;
car: string;
scheduledAt: string;
status: 'scheduled' | 'running' | 'completed' | 'cancelled';
sessionType: string;
leagueId?: string;
leagueName?: string;
strengthOfField?: number;
}
export interface RacesAllViewData {
races: RacesAllRace[];
}