import type { Presenter } from '@core/shared/presentation'; export type AllRacesStatus = 'scheduled' | 'running' | 'completed' | 'cancelled' | 'all'; export interface AllRacesListItemViewModel { id: string; track: string; car: string; scheduledAt: string; status: 'scheduled' | 'running' | 'completed' | 'cancelled'; leagueId: string; leagueName: string; strengthOfField: number | null; } export interface AllRacesFilterOptionsViewModel { statuses: { value: AllRacesStatus; label: string }[]; leagues: { id: string; name: string }[]; } export interface AllRacesPageViewModel { races: AllRacesListItemViewModel[]; filters: AllRacesFilterOptionsViewModel; } export type AllRacesPageResultDTO = AllRacesPageViewModel; export interface IAllRacesPagePresenter extends Presenter {}