HF RL Explorer

Decouple core booking functions from the Next.js request object

Decouple core booking functions from the Next.js request object: a task in bird-critic-1.5-full-300 (Harbor dataset). The booking pipeline in packages/features/bookings/lib/ currently threads a NextApiRequest object all the way through handleNewBooking , handleNewRecurringBooking , and their…

The task

The booking pipeline in `packages/features/bookings/lib/` currently threads a `NextApiRequest` object all the way through `handleNewBooking`, `handleNewRecurringBooking`, and their helpers (`getBookingData`, `loadAndValidateUsers`, `loadUsers`). That tight coupling prevents these functions from being called outside…

Part of kochsnow/bird-critic-1.5-full-300.