chore: remove @calcom/lib/server barrel file (#21190)
This commit is contained in:
@@ -4,14 +4,14 @@ import dayjs from "@calcom/dayjs";
|
||||
|
||||
import { buildCalEventFromBooking } from "../buildCalEventFromBooking";
|
||||
import { parseRecurringEvent } from "../isRecurringEvent";
|
||||
import { getTranslation } from "../server";
|
||||
import { getTranslation } from "../server/i18n";
|
||||
|
||||
// Mock dependencies
|
||||
vi.mock("../isRecurringEvent", () => ({
|
||||
parseRecurringEvent: vi.fn(),
|
||||
}));
|
||||
|
||||
vi.mock("../server", () => ({
|
||||
vi.mock("../server/i18n", () => ({
|
||||
getTranslation: vi.fn(),
|
||||
}));
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import type { Prisma } from "@prisma/client";
|
||||
import dayjs from "@calcom/dayjs";
|
||||
|
||||
import { parseRecurringEvent } from "./isRecurringEvent";
|
||||
import { getTranslation } from "./server";
|
||||
import { getTranslation } from "./server/i18n";
|
||||
|
||||
type DestinationCalendar = {
|
||||
id: number;
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
export { defaultHandler } from "./defaultHandler";
|
||||
export { defaultResponder } from "./defaultResponder";
|
||||
export { getLuckyUser } from "./getLuckyUser";
|
||||
export { getServerErrorFromUnknown } from "./getServerErrorFromUnknown";
|
||||
export { getTranslation } from "./i18n";
|
||||
export { getDefaultLocations } from "./getDefaultLocations";
|
||||
export { default as perfObserver } from "./perfObserver";
|
||||
export { getRoutedUrl } from "./getRoutedUrl";
|
||||
export { getTeamMemberEmailForResponseOrContactUsingUrlQuery } from "./getTeamMemberEmailFromCrm";
|
||||
Reference in New Issue
Block a user