cal.pub0.org/packages/trpc/server/routers/viewer/slots
Joe Au-Yeung 94917dbb1e
Disable reserve slot on seated events (#8761)
* Disable reserve slot on seated events

* Move seats and reserve logic to backend

* Pass booking attendees

* Type fix

* Create booking when two users choose a slot before booking is created

* Update packages/trpc/server/routers/viewer/slots/reserveSlot.handler.ts

---------

Co-authored-by: alannnc <alannnc@gmail.com>
2023-05-09 11:02:19 +01:00
..
_router.tsx perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getSchedule.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getSchedule.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
reserveSlot.handler.ts Disable reserve slot on seated events (#8761) 2023-05-09 11:02:19 +01:00
reserveSlot.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
types.ts Disable reserve slot on seated events (#8761) 2023-05-09 11:02:19 +01:00
util.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00