module cleanup

This commit is contained in:
2025-12-19 01:22:45 +01:00
parent d617654928
commit d0fac9e6c1
135 changed files with 5104 additions and 1315 deletions

View 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> {}

View 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> {}

View File

@@ -1,11 +1,11 @@
import type { Presenter } from '@core/shared/presentation/Presenter';
export interface RemoveLeagueMemberViewModel {
success: boolean;
}
import { Presenter } from './Presenter';
export interface RemoveLeagueMemberResultDTO {
success: boolean;
}
export interface RemoveLeagueMemberViewModel {
success: boolean;
}
export interface IRemoveLeagueMemberPresenter extends Presenter<RemoveLeagueMemberResultDTO, RemoveLeagueMemberViewModel> {}

View File

@@ -0,0 +1,12 @@
import { Presenter } from './Presenter';
export interface TransferLeagueOwnershipResultDTO {
success: boolean;
}
export interface TransferLeagueOwnershipViewModel {
success: boolean;
error?: string;
}
export interface ITransferLeagueOwnershipPresenter extends Presenter<TransferLeagueOwnershipResultDTO, TransferLeagueOwnershipViewModel> {}

View File

@@ -1,11 +1,11 @@
import type { Presenter } from '@core/shared/presentation/Presenter';
export interface UpdateLeagueMemberRoleViewModel {
success: boolean;
}
import { Presenter } from './Presenter';
export interface UpdateLeagueMemberRoleResultDTO {
success: boolean;
}
export interface UpdateLeagueMemberRoleViewModel {
success: boolean;
}
export interface IUpdateLeagueMemberRolePresenter extends Presenter<UpdateLeagueMemberRoleResultDTO, UpdateLeagueMemberRoleViewModel> {}