cal.pub0.org/packages/trpc/server/routers/loggedInViewer
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 feat: Enable Apps for Teams & Orgs [CAL-1782] (#9337) 2023-07-06 16:48:39 +00:00
appById.handler.ts perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
appById.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
appCredentialsByType.handler.ts feat: Enable Apps for Teams & Orgs [CAL-1782] (#9337) 2023-07-06 16:48:39 +00:00
appCredentialsByType.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
avatar.handler.ts perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
avatar.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
away.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
away.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
bookingUnconfirmedCount.handler.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
bookingUnconfirmedCount.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
connectedCalendars.handler.ts fix: /getting-started/connected-calendar Toggle the first calendar on (#9028) 2023-06-05 09:21:50 +00:00
connectedCalendars.schema.ts fix: /getting-started/connected-calendar Toggle the first calendar on (#9028) 2023-06-05 09:21:50 +00:00
deleteCredential.handler.ts fix: Cleanup after removing connected calendar (#10012) 2023-08-09 10:22:51 -04:00
deleteCredential.schema.ts feat: Enable Apps for Teams & Orgs [CAL-1782] (#9337) 2023-07-06 16:48:39 +00:00
deleteMe.handler.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
deleteMe.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
deleteMeWithoutPassword.handler.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
deleteMeWithoutPassword.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
eventTypeOrder.handler.ts chore: fix all Typescript warnings (#8618) 2023-06-06 11:59:57 +00:00
eventTypeOrder.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getCalVideoRecordings.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getCalVideoRecordings.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getDownloadLinkOfCalVideoRecordings.handler.ts perf: tRPC procedures and middleware refactor (#8419) 2023-05-09 19:27:05 +00:00
getDownloadLinkOfCalVideoRecordings.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getUsersDefaultConferencingApp.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
getUsersDefaultConferencingApp.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
integrations.handler.ts perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
integrations.schema.ts feat: Added order by most popular in Onboarding screen (#9891) 2023-07-13 19:17:46 +05:30
locationOptions.handler.ts feat: Enable Conferencing Apps for Team Events [CAL-1925] (#10383) 2023-08-02 09:24:28 +05:30
locationOptions.schema.ts feat: Enable Apps for Teams & Orgs [CAL-1782] (#9337) 2023-07-06 16:48:39 +00:00
me.handler.ts perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
me.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
setDestinationCalendar.handler.ts perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
setDestinationCalendar.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
shouldVerifyEmail.handler.ts feat: email verification (#9081) 2023-06-07 07:27:48 +00:00
shouldVerifyEmail.schema.ts feat: email verification (#9081) 2023-06-07 07:27:48 +00:00
stripeCustomer.handler.ts fix/premium-username-callback (#9938) 2023-07-05 18:19:42 +00:00
stripeCustomer.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
submitFeedback.handler.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
submitFeedback.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
teamsAndUserProfilesQuery.handler.ts fix: More instances of Avatar and booker links fixed (#10083) 2023-07-13 19:22:21 +05:30
updateProfile.handler.ts feat: show dialog when changing email after using Google Login (#9611) 2023-08-03 17:26:40 -07:00
updateProfile.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00
updateUserDefaultConferencingApp.handler.ts perf: Replace un-needed context fetching (#10657) 2023-08-10 18:07:09 +01:00
updateUserDefaultConferencingApp.schema.ts perf: lazy load tRPC routes (#8167) 2023-04-25 19:39:47 -03:00