module cleanup
This commit is contained in:
15
core/racing/application/presenters/ICreateLeaguePresenter.ts
Normal file
15
core/racing/application/presenters/ICreateLeaguePresenter.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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> {}
|
||||
Reference in New Issue
Block a user