refactor: v2 default booking fields (#18287)

* feat: allow title,notes,reschedule reason inputs

* refactor: v2 event type default booking fields as in web app

* wip: input validation

* input field validation

* fix: tests

* chore: bump libraries

* remove change in docs

* fix input type

* chore: ensure additional notes at the end

* fixup! Merge branch 'main' into lauris/cal-4932-platform-refactor-default-booking-fields

---------

Co-authored-by: Morgan Vernay <[email protected]>
Co-authored-by: Morgan <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-01-06 16:49:57 +02:00
1 parent 657f9dfd41
commit c8172ab790
19 files changed
+7050 -611

No files matched your search

+4 -1
View File
@@ -126,7 +126,7 @@ export { EventTypeMetaDataSchema, userMetadata, bookingMetadataSchema } from "@c
export {
// note(Lauris): Api to internal
transformBookingFieldsApiRequestToInternal,
transformBookingFieldsApiToInternal,
transformLocationsApiToInternal,
transformIntervalLimitsApiToInternal,
transformFutureBookingLimitsApiToInternal,
@@ -155,6 +155,9 @@ export {
systemBeforeFieldEmail,
systemBeforeFieldLocation,
systemAfterFieldRescheduleReason,
systemAfterFieldTitle,
systemAfterFieldNotes,
systemAfterFieldGuests,
} from "@calcom/lib/event-types/transformers";
export type {