module cleanup
This commit is contained in:
13
core/racing/application/presenters/IJoinLeaguePresenter.ts
Normal file
13
core/racing/application/presenters/IJoinLeaguePresenter.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { Presenter } from './Presenter';
|
||||
|
||||
export interface JoinLeagueResultDTO {
|
||||
id: string;
|
||||
}
|
||||
|
||||
export interface JoinLeagueViewModel {
|
||||
success: boolean;
|
||||
membershipId?: string;
|
||||
error?: string;
|
||||
}
|
||||
|
||||
export interface IJoinLeaguePresenter extends Presenter<JoinLeagueResultDTO, JoinLeagueViewModel> {}
|
||||
Reference in New Issue
Block a user