services refactor
This commit is contained in:
11
apps/website/lib/view-models/DriverViewModel.ts
Normal file
11
apps/website/lib/view-models/DriverViewModel.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Driver view model
|
||||
* UI representation of a driver
|
||||
*/
|
||||
export interface DriverViewModel {
|
||||
id: string;
|
||||
name: string;
|
||||
avatarUrl?: string;
|
||||
iracingId?: string;
|
||||
rating?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user