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

19 lines
444 B
TypeScript

import type { Presenter } from '@gridpilot/shared/presentation/Presenter';
export interface LeagueScheduleViewModel {
races: Array<{
id: string;
name: string;
date: string;
}>;
}
export interface GetLeagueScheduleResultDTO {
races: Array<{
id: string;
name: string;
scheduledAt: Date;
}>;
}
export interface IGetLeagueSchedulePresenter extends Presenter<GetLeagueScheduleResultDTO, LeagueScheduleViewModel> {}