refactor to adapters

This commit is contained in:
2025-12-15 18:34:20 +01:00
parent fc671482c8
commit c817d76092
145 changed files with 906 additions and 361 deletions

View File

@@ -9,6 +9,7 @@ export const DI_TOKENS = {
RaceRepository: Symbol.for('IRaceRepository'),
ResultRepository: Symbol.for('IResultRepository'),
StandingRepository: Symbol.for('IStandingRepository'),
LeagueStandingsRepository: Symbol.for('ILeagueStandingsRepository'),
PenaltyRepository: Symbol.for('IPenaltyRepository'),
ProtestRepository: Symbol.for('IProtestRepository'),
TeamRepository: Symbol.for('ITeamRepository'),
@@ -50,6 +51,18 @@ export const DI_TOKENS = {
Logger: Symbol.for('ILogger'),
AuthService: Symbol.for('AuthService'),
// Auth dependencies
IdentityProvider: Symbol.for('IdentityProvider'),
SessionPort: Symbol.for('SessionPort'),
// Use Cases - Auth
StartAuthUseCase: Symbol.for('StartAuthUseCase'),
GetCurrentUserSessionUseCase: Symbol.for('GetCurrentUserSessionUseCase'),
HandleAuthCallbackUseCase: Symbol.for('HandleAuthCallbackUseCase'),
LogoutUseCase: Symbol.for('LogoutUseCase'),
SignupWithEmailUseCase: Symbol.for('SignupWithEmailUseCase'),
LoginWithEmailUseCase: Symbol.for('LoginWithEmailUseCase'),
// Use Cases - Analytics
RecordPageViewUseCase: Symbol.for('RecordPageViewUseCase'),
RecordEngagementUseCase: Symbol.for('RecordEngagementUseCase'),
@@ -141,6 +154,7 @@ export const DI_TOKENS = {
DriverStats: Symbol.for('DriverStats'),
// Presenters - Racing
LeagueStandingsPresenter: Symbol.for('ILeagueStandingsPresenter'),
RaceWithSOFPresenter: Symbol.for('IRaceWithSOFPresenter'),
RaceProtestsPresenter: Symbol.for('IRaceProtestsPresenter'),
RacePenaltiesPresenter: Symbol.for('IRacePenaltiesPresenter'),