feat: prevent room scheduling conflicts #3

Merged
kdaniel2410 merged 2 commits from codex/booking-availability-guards into main 2026-06-25 11:14:03 +00:00
Owner

Adds server-side room availability guards for bookings and active contracts. Booking create/edit now rejects overlapping non-cancelled, non-archived bookings for the same room. Active contract edits and draft-to-active transitions now reject overlapping active assignments for private offices and coworking desks, scoped to the active organization and non-archived records. Also refreshes Wrangler-generated worker types so pnpm check passes.

Adds server-side room availability guards for bookings and active contracts. Booking create/edit now rejects overlapping non-cancelled, non-archived bookings for the same room. Active contract edits and draft-to-active transitions now reject overlapping active assignments for private offices and coworking desks, scoped to the active organization and non-archived records. Also refreshes Wrangler-generated worker types so pnpm check passes.
kdaniel2410 added 2 commits 2026-06-25 10:41:36 +00:00
kdaniel2410 force-pushed codex/booking-availability-guards from 24a9d53ccf to 17f36e6378 2026-06-25 11:13:40 +00:00 Compare
kdaniel2410 merged commit b71bb98389 into main 2026-06-25 11:14:03 +00:00
kdaniel2410 deleted branch codex/booking-availability-guards 2026-06-25 11:14:03 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kdaniel2410/clearity#3