2e454c9723
- Rename insightsRoutingDI.ts -> InsightsRoutingDIService.ts - Rename insightsRoutingBase.ts -> InsightsRoutingBaseService.ts - Update all import statements to use new file names - No functional changes, only file renames and import updates Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
12 lines
540 B
TypeScript
12 lines
540 B
TypeScript
import { createModule } from "@evyweb/ioctopus";
|
|
|
|
import type { IInsightsRoutingService } from "@calcom/lib/server/service/InsightsRoutingDIService";
|
|
import { InsightsRoutingService } from "@calcom/lib/server/service/InsightsRoutingDIService";
|
|
|
|
import { DI_TOKENS } from "../tokens";
|
|
|
|
export const insightsRoutingModule = createModule();
|
|
insightsRoutingModule.bind(DI_TOKENS.INSIGHTS_ROUTING_SERVICE).toClass(InsightsRoutingService, {
|
|
prisma: DI_TOKENS.READ_ONLY_PRISMA_CLIENT,
|
|
} satisfies Record<keyof IInsightsRoutingService, symbol>);
|