cal.pub0.org/packages/lib/server
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
..
queries fix: all booking and duration limits (#10480) 2023-08-09 15:51:38 -07:00
checkBookingLimits.ts fix: all booking and duration limits (#10480) 2023-08-09 15:51:38 -07:00
checkDurationLimits.ts fix: all booking and duration limits (#10480) 2023-08-09 15:51:38 -07:00
checkRegularUsername.ts
checkUsername.ts
defaultHandler.ts
defaultResponder.ts
getBookerUrl.ts fix: More instances of Avatar and booker links fixed (#10083) 2023-07-13 19:22:21 +05:30
getBrand.ts fix: More instances of Avatar and booker links fixed (#10083) 2023-07-13 19:22:21 +05:30
getLuckyUser.ts feat: Modify sort with if/elseif/else randomize when the dates are equal (#10448) 2023-08-03 09:03:23 +00:00
getServerErrorFromUnknown.ts fix: Redact prisma errors (#10536) 2023-08-03 16:22:38 +01:00
getUsersCredentials.ts perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
i18n.ts
index.ts
maybeGetBookingUidFromSeat.ts
perfObserver.ts
resizeBase64Image.ts