website refactor
This commit is contained in:
@@ -178,8 +178,8 @@ export type ManageSeasonLifecycleApplicationError = ApplicationErrorCode<
|
||||
* configuration from a source Season or a league config form.
|
||||
*/
|
||||
export class CreateSeasonForLeagueUseCase {
|
||||
constructor(private readonly leagueRepository: ILeagueRepository,
|
||||
private readonly seasonRepository: ISeasonRepository) {}
|
||||
constructor(private readonly leagueRepository: LeagueRepository,
|
||||
private readonly seasonRepository: SeasonRepository) {}
|
||||
|
||||
async execute(
|
||||
command: CreateSeasonForLeagueCommand,
|
||||
@@ -401,8 +401,8 @@ export class CreateSeasonForLeagueUseCase {
|
||||
* ListSeasonsForLeagueUseCase
|
||||
*/
|
||||
export class ListSeasonsForLeagueUseCase {
|
||||
constructor(private readonly leagueRepository: ILeagueRepository,
|
||||
private readonly seasonRepository: ISeasonRepository) {}
|
||||
constructor(private readonly leagueRepository: LeagueRepository,
|
||||
private readonly seasonRepository: SeasonRepository) {}
|
||||
|
||||
async execute(
|
||||
query: ListSeasonsForLeagueQuery,
|
||||
@@ -436,8 +436,8 @@ export class ListSeasonsForLeagueUseCase {
|
||||
* GetSeasonDetailsUseCase
|
||||
*/
|
||||
export class GetSeasonDetailsUseCase {
|
||||
constructor(private readonly leagueRepository: ILeagueRepository,
|
||||
private readonly seasonRepository: ISeasonRepository) {}
|
||||
constructor(private readonly leagueRepository: LeagueRepository,
|
||||
private readonly seasonRepository: SeasonRepository) {}
|
||||
|
||||
async execute(
|
||||
query: GetSeasonDetailsQuery,
|
||||
@@ -479,8 +479,8 @@ export class GetSeasonDetailsUseCase {
|
||||
* ManageSeasonLifecycleUseCase
|
||||
*/
|
||||
export class ManageSeasonLifecycleUseCase {
|
||||
constructor(private readonly leagueRepository: ILeagueRepository,
|
||||
private readonly seasonRepository: ISeasonRepository) {}
|
||||
constructor(private readonly leagueRepository: LeagueRepository,
|
||||
private readonly seasonRepository: SeasonRepository) {}
|
||||
|
||||
async execute(
|
||||
command: ManageSeasonLifecycleCommand,
|
||||
|
||||
Reference in New Issue
Block a user