Files
calendar/packages/lib
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
..
2022-08-24 14:18:42 -06:00
2022-08-24 14:18:42 -06:00
2022-10-12 05:29:04 +00:00
2022-09-07 18:38:37 -06:00
2022-10-12 05:29:04 +00:00
2022-08-30 13:58:35 -06:00
2022-08-22 22:56:55 +02:00
2022-03-23 15:00:30 -07:00
2022-07-22 18:39:50 -06:00
2022-06-05 13:54:13 -06:00
2022-10-12 05:29:04 +00:00
2022-07-27 19:12:42 +00:00
2022-08-24 10:57:23 -06:00
2022-03-09 15:56:05 -07:00
2022-10-12 05:29:04 +00:00
2022-10-12 05:29:04 +00:00
2022-05-26 11:07:14 -06:00
2022-03-23 15:00:30 -07:00
2022-07-21 10:44:23 -06:00
2022-08-24 14:18:42 -06:00
2022-03-23 15:00:30 -07:00
2022-07-14 12:40:53 +00:00
2022-09-05 10:23:39 +00:00
2022-03-23 15:00:30 -07:00
2022-08-30 13:58:35 -06:00
2022-07-28 13:58:26 -06:00
2022-02-21 18:45:35 +00:00
2022-08-24 14:18:42 -06:00