// A busy Slot created by a booking caller comes back as that caller's hold: a server record that blocks nothing, // expires unused, and becomes the busy Slot only when an Appointment write names it. Same pattern as the server's. const HOLD_ID = /^hold-[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/; export const isBookingHoldId = (id: string | undefined): id is string => typeof id === 'string' && HOLD_ID.test(id);