view data fixes
This commit is contained in:
19
apps/website/lib/view-data/RaceViewData.ts
Normal file
19
apps/website/lib/view-data/RaceViewData.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Race View Data
|
||||
*
|
||||
* ViewData for the race template.
|
||||
* JSON-serializable, template-ready data structure.
|
||||
*/
|
||||
|
||||
import { ViewData } from "../contracts/view-data/ViewData";
|
||||
|
||||
export interface RaceViewData extends ViewData {
|
||||
id: string;
|
||||
name: string;
|
||||
date: string;
|
||||
track: string;
|
||||
car: string;
|
||||
status?: string;
|
||||
registeredCount?: number;
|
||||
strengthOfField?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user