mirror of
https://github.com/hanzoai/calendar.git
synced 2026-09-24 22:42:24 +00:00
* 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 <[email protected]> * Fix duration was allowed to be any number * Refactor code * Show slotFormat property as optional in swagger doc --------- Co-authored-by: Praash <[email protected]>
5 lines
63 B
TypeScript
5 lines
63 B
TypeScript
export enum SlotFormat {
|
|
Range = "range",
|
|
Time = "time",
|
|
}
|