This commit is contained in:
12
lib/services/app-services.ts
Normal file
12
lib/services/app-services.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { AnalyticsService } from './analytics/analytics-service';
|
||||
import type { CacheService } from './cache/cache-service';
|
||||
import type { ErrorReportingService } from './errors/error-reporting-service';
|
||||
|
||||
// Simple constructor-based DI container.
|
||||
export class AppServices {
|
||||
constructor(
|
||||
public readonly analytics: AnalyticsService,
|
||||
public readonly errors: ErrorReportingService,
|
||||
public readonly cache: CacheService
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user