Files
calendar/packages/trpc/react/shared.ts
T
sean-brydonGitHubKeith WilliamsAnik Dhabal BabuDevin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>anik@cal.com <adhabal2002@gmail.com>
ae87fdcc9f perf: rename eventTypes.heavy to eventTypesHeavy (#24630)
* Rename eventTypes.heavy to eventTypesHeavy

* Update eventTypes lib types

* Remove trpc and trpc client heavy resolve endpoint

* Update shared file

* Fix comments

* Rename path

* Fix wait for URL path

* Fix API endpoint in event-types.e2e.ts test

* fix: Import WorkflowType from enums instead of client

The WorkflowType enum should be imported from @calcom/prisma/enums
rather than @calcom/prisma/client. This was causing integration tests
to fail with 'Cannot read properties of undefined (reading EVENT_TYPE)'
because the enum wasn't being properly exported from the client.

This fixes the remaining integration test failures after the Prisma 6.16
upgrade.

Co-Authored-By: anik@cal.com <adhabal2002@gmail.com>

---------

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: anik@cal.com <adhabal2002@gmail.com>
2025-10-23 07:32:06 -03:00

48 lines
727 B
TypeScript

export * from "@trpc/react-query/shared";
export const ENDPOINTS = [
"loggedInViewerRouter",
"admin",
"apiKeys",
"appRoutingForms",
"apps",
"auth",
"availability",
"appBasecamp3",
"bookings",
"calendars",
"calVideo",
"credentials",
"deploymentSetup",
"dsync",
"eventTypes",
"eventTypesHeavy",
"features",
"i18n",
"insights",
"me",
"ooo",
"payments",
"public",
"timezones",
"saml",
"slots",
"teams",
"organizations",
"travelSchedules",
"users",
"viewer",
"webhook",
"workflows",
"googleWorkspace",
"oAuth",
"attributes",
"delegationCredential",
"routingForms",
"credits",
"filterSegments",
"aiVoiceAgent",
"phoneNumber",
"pbac",
] as const;