website refactor
This commit is contained in:
@@ -27,10 +27,10 @@ export type GetLeagueFullConfigErrorCode = 'LEAGUE_NOT_FOUND' | 'REPOSITORY_ERRO
|
||||
* Orchestrates domain logic and returns the configuration data.
|
||||
*/
|
||||
export class GetLeagueFullConfigUseCase {
|
||||
constructor(private readonly leagueRepository: ILeagueRepository,
|
||||
private readonly seasonRepository: ISeasonRepository,
|
||||
private readonly leagueScoringConfigRepository: ILeagueScoringConfigRepository,
|
||||
private readonly gameRepository: IGameRepository) {}
|
||||
constructor(private readonly leagueRepository: LeagueRepository,
|
||||
private readonly seasonRepository: SeasonRepository,
|
||||
private readonly leagueScoringConfigRepository: LeagueScoringConfigRepository,
|
||||
private readonly gameRepository: GameRepository) {}
|
||||
|
||||
async execute(
|
||||
input: GetLeagueFullConfigInput,
|
||||
|
||||
Reference in New Issue
Block a user