api client refactor
This commit is contained in:
11
apps/website/lib/dtos/PenaltyDataDto.ts
Normal file
11
apps/website/lib/dtos/PenaltyDataDto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { PenaltyTypeDto } from './PenaltyTypeDto';
|
||||
|
||||
/**
|
||||
* Penalty data structure
|
||||
* Used when creating or updating penalties
|
||||
*/
|
||||
export interface PenaltyDataDto {
|
||||
driverId: string;
|
||||
type: PenaltyTypeDto;
|
||||
value?: number;
|
||||
}
|
||||
Reference in New Issue
Block a user