api client refactor
This commit is contained in:
11
apps/website/lib/dtos/DriverDto.ts
Normal file
11
apps/website/lib/dtos/DriverDto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Driver transport object
|
||||
* Represents a driver as received from the API
|
||||
*/
|
||||
export interface DriverDto {
|
||||
id: string;
|
||||
name: string;
|
||||
avatarUrl?: string;
|
||||
iracingId?: string;
|
||||
rating?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user