api client refactor
This commit is contained in:
14
apps/website/lib/dtos/RacePenaltyDto.ts
Normal file
14
apps/website/lib/dtos/RacePenaltyDto.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Race penalty data transfer object
|
||||
* Represents a penalty issued in a race
|
||||
*/
|
||||
export interface RacePenaltyDto {
|
||||
id: string;
|
||||
driverId: string;
|
||||
type: string;
|
||||
value: number;
|
||||
reason: string;
|
||||
issuedBy: string;
|
||||
issuedAt: string;
|
||||
notes?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user