cal.pub0.org/packages/trpc/server/routers/viewer/slots
Keith Williams 84408025ed
perf: pre-load booking data for all users (#11243)
* perf: pre-load booking data for all users

* Fixing property issues

* Fixes

* Removed unwanted console.log

* Made comment for intention of refactor more clear

* fix: types

* _count is optional

* Assign to const bookings

* Added mock for prisma booking

* Fixed unit tests

* Added lint ignore for prisma field

* Update bookingScenario.ts

* Fix linting

---------

Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-09-12 14:12:25 +01:00
..
_router.tsx fix: #10973 back button not working as expected in embed (#11073) 2023-09-05 15:40:09 +05:30
getSchedule.handler.ts fix: include orgs slug in getUserByUsername just like [user]/[type] page (#10723) 2023-08-24 16:41:06 -07:00
getSchedule.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
removeSelectedSlot.schema.ts fix: #10973 back button not working as expected in embed (#11073) 2023-09-05 15:40:09 +05:30
reserveSlot.handler.ts fix: #10973 back button not working as expected in embed (#11073) 2023-09-05 15:40:09 +05:30
reserveSlot.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
types.ts fix: #10973 back button not working as expected in embed (#11073) 2023-09-05 15:40:09 +05:30
util.ts perf: pre-load booking data for all users (#11243) 2023-09-12 14:12:25 +01:00