This commit is contained in:
2025-12-09 23:22:37 +01:00
parent 8fd8999e9e
commit a4a732ddc5
10 changed files with 1939 additions and 1519 deletions

View File

@@ -0,0 +1,35 @@
/**
* Dependency Injection tokens for TSyringe container
*/
export const DI_TOKENS = {
// Core Services
Logger: Symbol.for('LoggerPort'),
// Repositories
SessionRepository: Symbol.for('SessionRepositoryPort'),
// Adapters
BrowserAutomation: Symbol.for('ScreenAutomationPort'),
AutomationEngine: Symbol.for('AutomationEnginePort'),
AuthenticationService: Symbol.for('AuthenticationServicePort'),
// Configuration
AutomationMode: Symbol.for('AutomationMode'),
BrowserModeConfigLoader: Symbol.for('BrowserModeConfigLoader'),
// Use Cases
StartAutomationUseCase: Symbol.for('StartAutomationSessionUseCase'),
CheckAuthenticationUseCase: Symbol.for('CheckAuthenticationUseCase'),
InitiateLoginUseCase: Symbol.for('InitiateLoginUseCase'),
ClearSessionUseCase: Symbol.for('ClearSessionUseCase'),
ConfirmCheckoutUseCase: Symbol.for('ConfirmCheckoutUseCase'),
// Services
OverlaySyncPort: Symbol.for('OverlaySyncPort'),
// Infrastructure
FixtureServer: Symbol.for('FixtureServer'),
} as const;
export type DITokens = typeof DI_TOKENS;