Files
calendar/packages/platform/enums/index.ts
T
ae4474cd42 feat: Add slotFormat query parameter to slots API V2 endpoint to return start and end time of a slot (#17873)
* feat: Add formatAsStartAndEndTime query parameter to slots API V2 endpoint to return start and end time of a slot

* Update apps/api/v2/src/modules/slots/controllers/slots.controller.ts

Co-authored-by: Praash <99237795+Praashh@users.noreply.github.com>

* Fix duration was allowed to be any number

* Refactor code

* Show slotFormat property as optional in swagger doc

---------

Co-authored-by: Praash <99237795+Praashh@users.noreply.github.com>
2024-12-05 19:12:17 +05:30

11 lines
459 B
TypeScript

export * from "./event-types/booking-window.enum";
export * from "./event-types/editable";
export * from "./event-types/field-type";
export * from "./event-types/interval-limits.enum";
export * from "./event-types/period-type";
export * from "./event-types/scheduling-type";
export * from "./event-types/frequency";
export * from "./event-types/booker-layouts.enum";
export * from "./event-types/confirmation-policy.enum";
export * from "./slot-format.enum";