export interface LeagueScheduleViewData { leagueId: string; races: Array<{ id: string; name: string; scheduledAt: string; // ISO string track?: string; car?: string; sessionType?: string; isPast: boolean; isUpcoming: boolean; status: 'scheduled' | 'completed'; strengthOfField?: number; // Registration info isUserRegistered?: boolean; canRegister?: boolean; // Admin info canEdit?: boolean; canReschedule?: boolean; }>; // User permissions currentDriverId?: string; isAdmin: boolean; }