21 lines
542 B
TypeScript
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> {} |