cal/packages/app-store/routing-forms
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
..
api Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00
components Event Type: Title not displayed in the mobile view (#7451) 2023-04-19 13:17:54 -07:00
emails Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00
lib Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00
pages Routing-Forms/External Redirect URL improvement (#8487) 2023-04-24 19:42:50 +05:30
playwright/tests refactor: split up routers to separate lambdas (#8041) 2023-05-05 13:19:10 -03:00
static Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
test/lib Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00
types Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00
config.json chore/AppStore: Remove deprecated imageSrc and make the paths relative in logo (#8479) 2023-04-26 12:03:34 +01:00
DESCRIPTION.md chore/AppStore: Remove deprecated imageSrc and make the paths relative in logo (#8479) 2023-04-26 12:03:34 +01:00
env.d.ts Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00
index.ts Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00
jsonLogicToPrisma.ts Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00
package.json Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00
README.md Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00
trpc-router.ts add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
zod.ts Move routing forms outside of ee and use LicenseRequired component instead. (#7639) 2023-03-09 22:58:02 +00:00

Routing Forms App

How to run Tests

yarn e2e:app-store runs all Apps' tests. You can use describe.only() to run Routing Forms tests only.

Make sure that the app is running already with NEXT_PUBLIC_IS_E2E=1 so that the app is installable