Joe Au-Yeung
94917dbb1e
Disable reserve slot on seated events ( #8761 )
...
* Disable reserve slot on seated events
* Move seats and reserve logic to backend
* Pass booking attendees
* Type fix
* Create booking when two users choose a slot before booking is created
* Update packages/trpc/server/routers/viewer/slots/reserveSlot.handler.ts
---------
Co-authored-by: alannnc <alannnc@gmail.com>
2023-05-09 11:02:19 +01:00
Julius Marminge
53748eb380
add an enum generator, stop importing from @prisma/client ( #8548 )
...
* add an enum generator and start importing from it
* keep moving imports
* fix remaining
* Header simplified
* Removed generated file from repo
* Updated .gitignore to exclude enums directory
* Add eslint rule to check for @prisma/client Prisma enum import
* Added another enum import + exclude PrismaClient
---------
Co-authored-by: Alex van Andel <me@alexvanandel.com>
2023-05-02 13:44:05 +02:00
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