wip
This commit is contained in:
35
apps/companion/main/di-tokens.ts
Normal file
35
apps/companion/main/di-tokens.ts
Normal 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;
|
||||
Reference in New Issue
Block a user