cal.pub0.org/packages/lib/server
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
..
queries Remove 'avatar' from query (#4846) 2022-10-05 13:37:42 +00:00
checkBookingLimits.ts Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
checkRegularUsername.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
checkUsername.ts Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
defaultHandler.ts Availabilty consolitadion (#3010) 2022-06-10 12:38:46 -06:00
defaultResponder.ts AppStore CLI: Making video app creation a breeze with major cleanup of locations code throughout (#3825) 2022-08-25 18:48:50 -06:00
getLuckyUser.ts Fixes collective availability for teams with overlapping day timezones (#3898) 2022-08-22 23:53:51 +00:00
getServerErrorFromUnknown.ts fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow (#3829) 2022-08-31 13:44:47 -06:00
i18n.ts App Store (#1869) 2022-03-23 15:00:30 -07:00
index.ts Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
perfObserver.ts hotfix: bookings and availability pages 2022-07-26 18:45:10 -06:00