view data fixes
This commit is contained in:
18
apps/website/lib/view-data/RaceResultViewData.ts
Normal file
18
apps/website/lib/view-data/RaceResultViewData.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* ViewData for RaceResult
|
||||
* This is the JSON-serializable input for the Template.
|
||||
*/
|
||||
export interface RaceResultViewData {
|
||||
driverId: string;
|
||||
driverName: string;
|
||||
avatarUrl: string;
|
||||
position: number;
|
||||
startPosition: number;
|
||||
incidents: number;
|
||||
fastestLap: number;
|
||||
positionChange: number;
|
||||
isPodium: boolean;
|
||||
isClean: boolean;
|
||||
id: string;
|
||||
raceId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user