Files
gridpilot.gg/core/racing/application/presenters/IGetLeagueSeasonsPresenter.ts
2025-12-16 13:53:23 +01:00

21 lines
542 B
TypeScript

import type { Presenter } from '@core/shared/presentation/Presenter';
export interface LeagueSeasonSummaryViewModel {
seasonId: string;
name: string;
status: string;
startDate: Date;
endDate: Date;
isPrimary: boolean;
isParallelActive: boolean;
}
export interface GetLeagueSeasonsViewModel {
seasons: LeagueSeasonSummaryViewModel[];
}
export interface GetLeagueSeasonsResultDTO {
seasons: unknown[];
}
export interface IGetLeagueSeasonsPresenter extends Presenter<GetLeagueSeasonsResultDTO, GetLeagueSeasonsViewModel> {}