Files
gridpilot.gg/core/racing/application/dtos/GetLeagueProtestsResultDTO.ts
2025-12-17 14:04:11 +01:00

26 lines
439 B
TypeScript

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[];
}