Files
gridpilot.gg/core/racing/application/presenters/IGetLeagueProtestsPresenter.ts
2025-12-16 00:57:31 +01:00

15 lines
462 B
TypeScript

import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
export interface GetLeagueProtestsViewModel {
protests: any[];
racesById: Record<string, any>;
driversById: Record<string, any>;
}
export interface GetLeagueProtestsResultDTO {
protests: any[];
races: any[];
drivers: { id: string; name: string }[];
}
export interface IGetLeagueProtestsPresenter extends Presenter<GetLeagueProtestsResultDTO, GetLeagueProtestsViewModel> {}