view data fixes
This commit is contained in:
17
apps/website/lib/view-data/StandingEntryViewData.ts
Normal file
17
apps/website/lib/view-data/StandingEntryViewData.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
/**
|
||||
* ViewData for StandingEntry
|
||||
* This is the JSON-serializable input for the Template.
|
||||
*/
|
||||
export interface StandingEntryViewData {
|
||||
driverId: string;
|
||||
position: number;
|
||||
points: number;
|
||||
wins: number;
|
||||
podiums: number;
|
||||
races: number;
|
||||
leaderPoints: number;
|
||||
nextPoints: number;
|
||||
currentUserId: string;
|
||||
previousPosition?: number;
|
||||
driver?: any;
|
||||
}
|
||||
Reference in New Issue
Block a user