cal.pub0.org/packages/trpc/server/routers/viewer/bookings
sean-brydon 57384eb921
perf: Replace un-needed context fetching (#10657)
* Replace ctx.user.credentials to fetch in their own usecases

* Remove rawavatar from return

* Remove avatar rawAvatar from handler

* Fix fallback avatars

* fix: profile.slug already includes /team

* perf: Deprecate useAvatarQuery hook

* Extract to reusable credential func

* Fix type errors for credentials

* credentialOwner was inferred incorrectly, string non-nullable

---------

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-08-10 18:07:09 +01:00
..
_router.tsx perf: tRPC procedures and middleware refactor (#8419) 2023-05-09 19:27:05 +00:00
confirm.handler.ts perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
confirm.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
editLocation.handler.ts perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
editLocation.schema.ts feat: Enable Conferencing Apps for Team Events [CAL-1925] (#10383) 2023-08-02 09:24:28 +05:30
get.handler.ts feat: Enable Conferencing Apps for Team Events [CAL-1925] (#10383) 2023-08-02 09:24:28 +05:30
get.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getBookingAttendees.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getBookingAttendees.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
requestReschedule.handler.ts perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
requestReschedule.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
types.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
util.ts perf: tRPC procedures and middleware refactor (#8419) 2023-05-09 19:27:05 +00:00