api client refactor
This commit is contained in:
15
apps/website/lib/dtos/RaceProtestDto.ts
Normal file
15
apps/website/lib/dtos/RaceProtestDto.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Race protest data transfer object
|
||||
* Represents a protest filed for a race
|
||||
*/
|
||||
export interface RaceProtestDto {
|
||||
id: string;
|
||||
protestingDriverId: string;
|
||||
accusedDriverId: string;
|
||||
incident: {
|
||||
lap: number;
|
||||
description: string;
|
||||
};
|
||||
status: string;
|
||||
filedAt: string;
|
||||
}
|
||||
Reference in New Issue
Block a user