website refactor
This commit is contained in:
14
apps/website/lib/view-data/leagues/LeagueScheduleViewData.ts
Normal file
14
apps/website/lib/view-data/leagues/LeagueScheduleViewData.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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';
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user