15 lines
469 B
TypeScript
15 lines
469 B
TypeScript
import type { Presenter } from '@core/shared/presentation/Presenter';
|
|
|
|
export interface GetLeagueProtestsViewModel {
|
|
protests: unknown[];
|
|
racesById: Record<string, any>;
|
|
driversById: Record<string, any>;
|
|
}
|
|
|
|
export interface GetLeagueProtestsResultDTO {
|
|
protests: unknown[];
|
|
races: unknown[];
|
|
drivers: { id: string; name: string }[];
|
|
}
|
|
|
|
export interface IGetLeagueProtestsPresenter extends Presenter<GetLeagueProtestsResultDTO, GetLeagueProtestsViewModel> {} |