refactor
This commit is contained in:
26
core/racing/application/dtos/GetLeagueProtestsResultDTO.ts
Normal file
26
core/racing/application/dtos/GetLeagueProtestsResultDTO.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
export interface ProtestDTO {
|
||||
id: string;
|
||||
raceId: string;
|
||||
protestingDriverId: string;
|
||||
accusedDriverId: string;
|
||||
submittedAt: Date;
|
||||
description: string;
|
||||
status: string;
|
||||
}
|
||||
|
||||
export interface RaceDTO {
|
||||
id: string;
|
||||
name: string;
|
||||
date: string;
|
||||
}
|
||||
|
||||
export interface DriverDTO {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface GetLeagueProtestsResultDTO {
|
||||
protests: ProtestDTO[];
|
||||
races: RaceDTO[];
|
||||
drivers: DriverDTO[];
|
||||
}
|
||||
Reference in New Issue
Block a user