cal.pub0.org/apps/web
Julius Marminge cdba1920fc
refactor: split up routers to separate lambdas (#8041)
* split up routers to separate lambdas

* fix responsemeta

* move

* add typeguards to make sure all endpoints are covered in the approuter

* prettier

* move slotsrouter

* split ssg/ssr

* make sure correct headers are sent on viewer.public

* make sure correct headers are sent + use ctx.prisma

* Fixed new prefetch broken by merge

* Fixes after merge

* Created separate API route for all tRPC routers

* More fixes from refactor

* Fixed tRPC query for slots

* Put back extra line

* Fixed type checks

* Removed Endpoint type check since it loads from client

* Reverted change in getSchedule test

* Fix trpc routes in expectations

* Fix one more route test

---------

Co-authored-by: Efraín Rochín <roae.85@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
Co-authored-by: zomars <zomars@me.com>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
2023-05-05 13:19:10 -03:00
..
components Fix switch label hover (#8696) 2023-05-05 12:47:00 +01:00
docs
fonts feat: use `@next/font` for font loading (#6346) 2023-02-17 18:53:17 +01:00
lib perf: prevent refetching i18n on route change (#8535) 2023-04-27 10:55:26 +00:00
pages refactor: split up routers to separate lambdas (#8041) 2023-05-05 13:19:10 -03:00
playwright refactor: split up routers to separate lambdas (#8041) 2023-05-05 13:19:10 -03:00
public New Crowdin translations by Github Action 2023-05-03 18:37:57 +00:00
scripts
server/lib Removes the getUser logic from createContext, instead use isAuthed (#7902) 2023-03-23 19:46:33 +01:00
styles only show vibrancy on MacOS (#8462) 2023-04-22 20:52:50 +01:00
test add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
.eslintignore Upgrades yarn v1 to v3. Improves CI times by 2x (#7738) 2023-03-15 15:01:04 -07:00
.gitignore perf: remove sentry (#8334) 2023-04-17 22:22:44 +00:00
.nvmrc chore: bump node version to v18 (#7310) 2023-03-15 20:15:16 +00:00
.prettierignore Upgrades yarn v1 to v3. Improves CI times by 2x (#7738) 2023-03-15 15:01:04 -07:00
calendso.yaml Removing unneeded endpoint (#8280) 2023-04-14 20:27:37 +00:00
middleware.ts Add log messages on cold/hot requests (#8420) 2023-04-21 12:08:59 -03:00
next-i18next.config.js
next.config.js Revert "perf: fix multiple versions of `emotion/react` loaded warning (#8549)" 2023-05-04 13:01:16 +01:00
package.json Revert "perf: fix multiple versions of `emotion/react` loaded warning (#8549)" 2023-05-04 13:01:16 +01:00
postcss.config.js
project.toml
tailwind.config.js /insights (#6511) 2023-03-23 22:10:01 +00:00
tsconfig.json