Skip to content

Commit 2e454c9

Browse files
refactor: rename insights routing service files (calcom#22917)
- 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>
1 parent 7e6d94c commit 2e454c9

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/lib/di/containers/InsightsRouting.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import type {
55
InsightsRoutingServicePublicOptions,
66
InsightsRoutingServiceFilterOptions,
77
InsightsRoutingBaseService,
8-
} from "@calcom/lib/server/service/insightsRoutingBase";
9-
import type { InsightsRoutingService } from "@calcom/lib/server/service/insightsRoutingDI";
8+
} from "@calcom/lib/server/service/InsightsRoutingBaseService";
9+
import type { InsightsRoutingService } from "@calcom/lib/server/service/InsightsRoutingDIService";
1010
import { prismaModule } from "@calcom/prisma/prisma.module";
1111

1212
import { insightsRoutingModule } from "../modules/InsightsRouting";

packages/lib/di/modules/InsightsRouting.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createModule } from "@evyweb/ioctopus";
22

3-
import type { IInsightsRoutingService } from "@calcom/lib/server/service/insightsRoutingDI";
4-
import { InsightsRoutingService } from "@calcom/lib/server/service/insightsRoutingDI";
3+
import type { IInsightsRoutingService } from "@calcom/lib/server/service/InsightsRoutingDIService";
4+
import { InsightsRoutingService } from "@calcom/lib/server/service/InsightsRoutingDIService";
55

66
import { DI_TOKENS } from "../tokens";
77

packages/lib/server/service/insightsRoutingBase.ts renamed to packages/lib/server/service/InsightsRoutingBaseService.ts

File renamed without changes.

packages/lib/server/service/insightsRoutingDI.ts renamed to packages/lib/server/service/InsightsRoutingDIService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
InsightsRoutingBaseService,
55
type InsightsRoutingServicePublicOptions,
66
type InsightsRoutingServiceFilterOptions,
7-
} from "./insightsRoutingBase";
7+
} from "./InsightsRoutingBaseService";
88

99
export interface IInsightsRoutingService {
1010
prisma: typeof readonlyPrisma;

packages/lib/server/service/__tests__/InsightsRoutingService.integration-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { ColumnFilterType } from "@calcom/features/data-table/lib/types";
77
import prisma from "@calcom/prisma";
88
import { BookingStatus, MembershipRole } from "@calcom/prisma/enums";
99

10-
import { InsightsRoutingBaseService as InsightsRoutingService } from "../../service/insightsRoutingBase";
10+
import { InsightsRoutingBaseService as InsightsRoutingService } from "../../service/InsightsRoutingBaseService";
1111

1212
// SQL condition constants for testing
1313
const NOTHING_CONDITION = Prisma.sql`1=0`;

0 commit comments

Comments
 (0)