view data fixes
This commit is contained in:
17
apps/website/lib/view-data/RaceListItemViewData.ts
Normal file
17
apps/website/lib/view-data/RaceListItemViewData.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* ViewData for RaceListItem
|
||||
* This is the JSON-serializable input for the Template.
|
||||
*/
|
||||
export interface RaceListItemViewData {
|
||||
id: string;
|
||||
track: string;
|
||||
car: string;
|
||||
scheduledAt: string;
|
||||
status: string;
|
||||
leagueId: string;
|
||||
leagueName: string;
|
||||
strengthOfField: number | null;
|
||||
isUpcoming: boolean;
|
||||
isLive: boolean;
|
||||
isPast: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user