cal.pub0.org/apps/web/pages/api
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
..
auth Impersonation fix (#4521) 2022-09-17 21:09:06 +00:00
availability Fix connected calendar list (#4743) 2022-09-29 12:58:53 +00:00
book Feat Booking Limits (#4759) 2022-10-12 05:29:04 +00:00
cron Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
import fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow (#3829) 2022-08-31 13:44:47 -06:00
integrations Feat: v2 App Store / Installed Apps (#4220) 2022-09-15 19:53:09 +00:00
intent-username fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow (#3829) 2022-08-31 13:44:47 -06:00
schedule Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
sync/helpscout chore: Sync Services to update external tools (#3814) 2022-08-26 15:10:12 -06:00
teams/[team] chore: Sync Services to update external tools (#3814) 2022-08-26 15:10:12 -06:00
trpc Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
user fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow (#3829) 2022-08-31 13:44:47 -06:00
cancel.ts Improves Zapier response and payload (#3892) 2022-09-08 13:18:00 -06:00
collect-events.ts Backported 973e0a3..6ad0e23 (#3943) 2022-08-26 12:07:44 -06:00
email.ts Broken Integration Alarm System (#3135) 2022-06-24 23:16:20 -06:00
integrations.ts Refactors EE code (#3490) 2022-07-28 13:58:26 -06:00
me.ts fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow (#3829) 2022-08-31 13:44:47 -06:00
nope.ts Middleware rewrite shenanigans 2022-08-16 13:59:38 -06:00
teams.ts chore: Sync Services to update external tools (#3814) 2022-08-26 15:10:12 -06:00
upgrade.ts fix: update rejectOnNotFound -> find(Fist|Unique)OrThrow (#3829) 2022-08-31 13:44:47 -06:00
username.ts Migrates all tRPC code to a monorepo package (#3484) 2022-07-22 11:27:06 -06:00
v2-opt-in.ts Takes you back to referer page on v2 opt-in 2022-09-06 19:18:47 -06:00
version.ts feat: adds new version endpoint in internal api (#3155) 2022-06-25 05:37:29 +00:00