api client refactor
This commit is contained in:
10
apps/website/lib/dtos/RacePenaltiesDto.ts
Normal file
10
apps/website/lib/dtos/RacePenaltiesDto.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import type { RacePenaltyDto } from './RacePenaltyDto';
|
||||
|
||||
/**
|
||||
* Race penalties data transfer object
|
||||
* List of penalties for a race
|
||||
*/
|
||||
export interface RacePenaltiesDto {
|
||||
penalties: RacePenaltyDto[];
|
||||
driverMap: Record<string, string>;
|
||||
}
|
||||
Reference in New Issue
Block a user