cal.pub0.org/packages/types
Lucas Smith e5eb7c3906
perf: use getSlimServerSession for session retrieval (#8308)
* perf: use getSlimServerSession for session retrieval

Creates a new `getSlimServerSession` method and replaces all calls to `getServerSession`.

The new method is much faster than `getServerSession` with it not requiring the NextAuth options object which includes a number of additional packages.

Additionally introduces a primitive in-memory cache for slim sessions.

* fix: account for seconds in token.exp

* Reverts diffs

* Replaces getServerSession with slimmer version

* Update disable.ts

---------

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
Co-authored-by: zomars <zomars@me.com>
2023-04-17 23:48:00 +00:00
..
@wojtekmaj__react-daterange-picker.d.ts Feat/v2 daterangepicker (#4002) 2022-09-01 10:09:08 +00:00
App.d.ts Refactor app store & fix admin apps list bugs (#7812) 2023-04-11 18:56:43 -07:00
AppGetServerSideProps.d.ts Send Email to Owner on Form Submission (#5261) 2022-11-03 20:10:03 +05:30
AppHandler.d.ts Add support to open a redirect URL in new tab (#5480) 2022-11-13 15:51:31 +00:00
BufferedBusyTime.d.ts Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
Calendar.d.ts Stripe add the ability to place hold on cards (#8022) 2023-04-11 23:44:14 +02:00
Credential.d.ts Enforces explicit type imports (#7158) 2023-02-16 15:39:57 -07:00
Event.d.ts As Google Meet is always installed, this fixes the doubling (#3093) 2022-06-17 18:34:41 +00:00
EventManager.d.ts Set GCal & Outlook `iCalUID` in .ics file (#8010) 2023-04-03 17:13:57 +00:00
SVGComponent.d.ts Extracts EmptyScreen 2022-04-20 12:00:49 -06:00
VideoApiAdapter.d.ts feat: create trpc route to fetch download link (#7495) 2023-03-05 12:59:07 +00:00
environment.d.ts Admin Wizard Choose License (#6574) 2023-02-07 17:23:42 -07:00
ical.d.ts fix(calendar): recurring event fix (#6959) 2023-03-10 10:58:26 -07:00
inferSSRProps.d.ts Reusable inferSSRProps 2022-05-17 16:01:58 -06:00
next-auth.d.ts perf: use getSlimServerSession for session retrieval (#8308) 2023-04-17 23:48:00 +00:00
next.d.ts Type fixes for API 2022-11-25 07:24:44 -07:00
package.json Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
schedule.d.ts Fix/Round Robin (#6121) 2022-12-21 19:32:42 +00:00
tsconfig.json App Store (#1869) 2022-03-23 15:00:30 -07:00
utils.d.ts Same-day schedules created invalid workingHours (#3742) 2022-08-08 14:17:33 -06:00