cal/packages/prisma
sean-brydon 5293db29d9
Feat Booking Limits (#4759)
* Add db relevant stuff

* Basic UI there still buggy

* This UI is hard - some progress

* Fix awful state mangament

* Fix re-ordering

* Working UI logic!

* Partical working minMax function

* Fix min max

* bookingLImits api + tests

* Moved checkBookingLimits to backend only code

* Fix httperror import

* Return busy times

* Remove avaliablity calc

* Working for everything but year

* Remove redundant + fix async forloop

* Add compatible type

* Future proof with evenTypeId filter

* Fix commonjson

* Sorting + validation + tests + passing

* Add empty test

* Move validation check  to backend

* Add bookinglimits in trpc

* Add test for undefined

* Apply suggestions from code review

Co-authored-by: Jeroen Reumkens <hello@jeroenreumkens.nl>

* Update apps/web/components/v2/eventtype/EventLimitsTab.tsx

Co-authored-by: Jeroen Reumkens <hello@jeroenreumkens.nl>

* Rename value for eligiability

* Rename keyof type

* status code

* Fix toggle not toggling off

* Update apps/web/pages/v2/event-types/[type]/index.tsx

Co-authored-by: Omar López <zomars@me.com>

* Update apps/web/pages/v2/event-types/[type]/index.tsx

Co-authored-by: Omar López <zomars@me.com>

* Change back to undefined as it is working for sean. See if it fails on testapp

* Fixing test builder

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Alex van Andel <me@alexvanandel.com>
Co-authored-by: Jeroen Reumkens <hello@jeroenreumkens.nl>
Co-authored-by: Hariom Balhara <hariombalhara@gmail.com>
Co-authored-by: Omar López <zomars@me.com>
Co-authored-by: Leo Giovanetti <hello@leog.me>
2022-10-12 05:29:04 +00:00
..
client Prisma fixes 2022-05-17 19:54:50 -06:00
middleware fix: add team model in prisma middleware (#3947) 2022-08-26 12:59:58 -06:00
migrations Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
selects Dynamic Links re-integrate with availability logic (#3687) 2022-08-12 19:29:29 +00:00
zod Webhook polishing (#2987) 2022-06-16 17:21:48 +01:00
.env Adds symlink to use DATABASE_URL from root 2022-08-12 11:23:30 -06:00
delete-app.ts One jest to rule them all (#3957) 2022-08-29 22:33:53 +00:00
docker-compose.yml Extract prisma to it's own package (#1823) 2022-02-15 13:30:52 -07:00
index.ts Event description now supports markdown formatting (#3688) 2022-08-05 18:44:30 +00:00
package.json Update all Yarn dependencies (2022-07-29) (#3599) 2022-08-17 11:38:21 -06:00
schema.prisma Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
seed-app-store.config.json fix: fixes multiple issues in routing form (#4676) 2022-10-06 06:49:03 +00:00
seed-app-store.ts Remove Exchange 2013 and 2016 from seed script (#4651) 2022-09-21 16:46:51 +00:00
seed.ts Fixing unconfirmed/recurring bookings (#4881) 2022-10-06 13:23:22 -06:00
zod-utils.ts Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00