15 lines
462 B
TypeScript
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> {} |