Lucas Smith
1eeb91a793
perf: lazy load tRPC routes ( #8167 )
...
* experiment: cold start perf
* fix: update failing test
* chore: add database indexes
* chore: use json protocol and add query batching back
* Update [status].tsx
* Update [trpc].ts
* Delete getSlimSession.ts
* Update createContext.ts
* remove trpc caller
* correctly import Prisma
* lazy ethRouter
* replace crypto with md5
* import fixes
* public event endpoint refactor
* Update yarn.lock
* Update yarn.lock
* Using yarn.lock from main
---------
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Efraín Rochín <roae.85@gmail.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
2023-04-25 19:39:47 -03:00
Alex van Andel
98cf29f655
Wrap useSuspense with NoSSR ( #8079 )
2023-04-11 21:49:27 +05:30
Omar López
69491d5700
Adds basic global feature flags ( #7459 )
...
* Adds basic feature flag model
* Create router.ts
* WIP
* WIP
* WIP
* WIP
* Emails kill switch
* Adds missing migrations
* Type fix
* Cleanup
* Revert
* Cleanup
* Fixes migration
* Update packages/features/flags/server/utils.ts
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
2023-03-24 17:59:04 -07:00
Lucas Smith
2317473545
feat(web): improve session retrieval performance ( #7584 )
...
* feat(web): improve session retrieval performance
Switch to using `getServerSession` which avoids a HTTP round trip to retrieve session details.
Additionally, migrate deprecated `app/lib/auth` calls to to `@calcom/lib` package.
* fix: update failing test and lint
* Consolidates auth code in features
* Update yarn.lock
* Update packages/trpc/server/createContext.ts
* Oopsie
---------
Co-authored-by: zomars <zomars@me.com>
2023-03-10 23:45:24 +00:00
Omar López
86c94a3cd5
Upgrades tRPC to 10.10.0 ( #6995 )
...
* Upgrades tRPC to 10.10.0
* Type fixes
2023-02-10 13:05:02 -07:00
Julius Marminge
db7c3fb52f
feat: trpc v10 migration ( #5332 )
...
* migrate router
* createTRPCReact
* frontend 1
* random format change
* frontend 2
* withQuery
* form router
* TS-ERROR: proxy on utils-client
* inferance
* ssg
* reuse
* trpc rc4
* Apply suggestions from code review
* skip test
* move skip one level up
* whops
* rc 6 with new setData func
Co-authored-by: zomars <zomars@me.com>
2022-11-10 23:40:01 +00:00
Alex / KATT
2f8bd3c07a
add trpc v10 ( #4683 )
...
* revert me later
* let's see if this builds
* fix dupe proc
* fix: v10 works
* fix type error
* fix type error
* fix type errors
* fix more
* add example procedure
* spreading not needed
* Update yarn.lock
* Revert "revert me later"
This reverts commit 0c8c15d057
.
Co-authored-by: Chris Bautista <chrisbautista@netflix.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2022-09-29 16:58:29 +00:00
Omar López
464343f5ab
Refactors EE code ( #3490 )
...
* WIP
* WIP
* Type and migration fixes
* Adds missing default import
* Fixes import
* Fixes tRPC imports in App Store
* Migrate stripe helpers
* WIP
* Type fixes
* Type fix?
* WIP
* WIP
* Update index.ts
* Fixes
* Update workflow.tsx
* Moved queries to lib
* Moves QueryCell
* Migrates MultiSelectCheckboxes
* WIP
* CryptoSection type fixes
* WIP
* Import fixes
* Build fixes
* Update app-providers.tsx
* Build fixes
* Upgrades hookform zod resolvers
* Build fixes
* Cleanup
* Build fixes
* Relocates QueryCell to ui
* Moved List and SkeletonLoader
* Revert QueryCell migration
* Can't use QueryCell here
* oops
* CryptoSection cleanup
* Update app-providers.tsx
* Moved ee to features
* ee to features/ee
* Removes @calcom/ee
* Adds possible feature locations
* Build fixes
* Migrates stripe to app-store lib
* Colocates stripe imports
* Update subscription.ts
* Submodule sync
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-28 13:58:26 -06:00
Omar López
9447f16b82
Migrates all tRPC code to a monorepo package ( #3484 )
...
* WIP
* WIP
* Type and migration fixes
* Adds missing default import
* Fixes import
* Fixes tRPC imports in App Store
* Migrate stripe helpers
* WIP
* Type fixes
* Type fix?
* Test fixes
* Adds missing stripe packages
* Moved queries to lib instead
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2022-07-22 11:27:06 -06:00