api client refactor
This commit is contained in:
15
apps/website/lib/dtos/StandingEntryDto.ts
Normal file
15
apps/website/lib/dtos/StandingEntryDto.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import type { DriverDto } from './DriverDto';
|
||||
|
||||
/**
|
||||
* Standing entry data transfer object
|
||||
* Represents a driver's standing in league standings
|
||||
*/
|
||||
export interface StandingEntryDto {
|
||||
driverId: string;
|
||||
driver?: DriverDto;
|
||||
position: number;
|
||||
points: number;
|
||||
wins: number;
|
||||
podiums: number;
|
||||
races: number;
|
||||
}
|
||||
Reference in New Issue
Block a user