fix: v2 event type locations (#17288)

* refactor: split internal locations in separate file

* refactor: rename TransformedLocationsSchema to InternalLocationsSchema

* feat: add missing locations in internal schema

* refactor: explicit input locations only for input

* refactor: explicit output locations only for output

* fix: v2

* fix: atoms

* test: internal to api locations transformation

* e2e tests

* upgrade platform libraries
This commit is contained in:
Lauris Skraucis authored and GitHub committed 2024-10-24 17:21:17 +00:00
1 parent 50a41109d0
commit c629d08a9c
20 files changed
+1087 -280

No files matched your search

+3 -1
View File
@@ -126,7 +126,8 @@ export {
transformEventTypeColorsInternalToApi,
transformSeatsInternalToApi,
// note(Lauris): schemas
TransformedLocationsSchema,
InternalLocationsSchema,
InternalLocationSchema,
BookingFieldsSchema,
// note(Lauris): constants
systemBeforeFieldName,
@@ -140,6 +141,7 @@ export type {
CustomField,
NameSystemField,
EmailSystemField,
InternalLocation,
} from "@calcom/lib/event-types/transformers";
export { parseBookingLimit, parseEventTypeColor } from "@calcom/lib";