15 lines
374 B
TypeScript
15 lines
374 B
TypeScript
import { Presenter } from './Presenter';
|
|
|
|
export interface CreateLeagueResultDTO {
|
|
leagueId: string;
|
|
seasonId: string;
|
|
scoringPresetId?: string;
|
|
scoringPresetName?: string;
|
|
}
|
|
|
|
export interface CreateLeagueViewModel {
|
|
leagueId: string;
|
|
success: boolean;
|
|
}
|
|
|
|
export interface ICreateLeaguePresenter extends Presenter<CreateLeagueResultDTO, CreateLeagueViewModel> {} |