19 lines
382 B
TypeScript
19 lines
382 B
TypeScript
/**
|
|
* 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;
|
|
}
|