wip
This commit is contained in:
@@ -113,6 +113,7 @@ import {
|
||||
AcceptSponsorshipRequestUseCase,
|
||||
RejectSponsorshipRequestUseCase,
|
||||
} from '@gridpilot/racing/application';
|
||||
import { ListSeasonsForLeagueUseCase } from '@gridpilot/racing/application/use-cases/SeasonUseCases';
|
||||
import { GetDashboardOverviewUseCase } from '@gridpilot/racing/application/use-cases/GetDashboardOverviewUseCase';
|
||||
import { GetProfileOverviewUseCase } from '@gridpilot/racing/application/use-cases/GetProfileOverviewUseCase';
|
||||
import { UpdateDriverProfileUseCase } from '@gridpilot/racing/application/use-cases/UpdateDriverProfileUseCase';
|
||||
@@ -1007,6 +1008,14 @@ export function configureDIContainer(): void {
|
||||
)
|
||||
);
|
||||
|
||||
container.registerInstance(
|
||||
DI_TOKENS.ListSeasonsForLeagueUseCase,
|
||||
new ListSeasonsForLeagueUseCase(
|
||||
leagueRepository,
|
||||
seasonRepository,
|
||||
)
|
||||
);
|
||||
|
||||
const leagueScoringPresetsPresenter = new LeagueScoringPresetsPresenter();
|
||||
container.registerInstance(
|
||||
DI_TOKENS.ListLeagueScoringPresetsUseCase,
|
||||
@@ -1349,7 +1358,11 @@ export function configureDIContainer(): void {
|
||||
|
||||
container.registerInstance(
|
||||
DI_TOKENS.AcceptSponsorshipRequestUseCase,
|
||||
new AcceptSponsorshipRequestUseCase(sponsorshipRequestRepository, seasonSponsorshipRepository)
|
||||
new AcceptSponsorshipRequestUseCase(
|
||||
sponsorshipRequestRepository,
|
||||
seasonSponsorshipRepository,
|
||||
seasonRepository,
|
||||
)
|
||||
);
|
||||
|
||||
container.registerInstance(
|
||||
|
||||
Reference in New Issue
Block a user