api client refactor
This commit is contained in:
13
apps/website/lib/dtos/ProtestDto.ts
Normal file
13
apps/website/lib/dtos/ProtestDto.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Protest data transfer object
|
||||
* Represents a protest filed in a race
|
||||
*/
|
||||
export interface ProtestDto {
|
||||
id: string;
|
||||
raceId: string;
|
||||
complainantId: string;
|
||||
defendantId: string;
|
||||
description: string;
|
||||
status: string;
|
||||
createdAt: string;
|
||||
}
|
||||
Reference in New Issue
Block a user