domaino/app-public
agent d7765fe605 Shop: places per slot, and bookings block overlapping slots
Slots get a capacity (items.capacity is the service default). Booking
state is no longer stored on the slot: slotStates() in the shop hooks
counts places from paid order lines and live basket holds (heldUntil
moves to the basket line), and a slot with any place taken blocks every
overlapping slot of any service, including get-ready time.

GET /api/shop/slots lists bookable slots (public) or full detail for a
signed-in admin. add_slot takes seats and adds to an existing line;
group lines can change quantity. Checks and writes share one
transaction. Migration moves existing holds, drops the unique index and
slot status/heldUntil/order, and makes slots signed-in only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VaXE9U7AmW3dfD2w6cbLfk
2026-10-24 08:26:37 +00:00
..
src Shop: places per slot, and bookings block overlapping slots 2026-10-24 08:26:37 +00:00
static moved page rendering to a different service and access is now behind 2026-08-19 17:58:19 +02:00
.npmrc moved page rendering to a different service and access is now behind 2026-08-19 17:58:19 +02:00
Dockerfile moved page rendering to a different service and access is now behind 2026-08-19 17:58:19 +02:00
package-lock.json Shop: move commerce logic into PocketBase hooks; public app unprivileged 2026-10-06 12:34:58 +00:00
package.json Shop: move commerce logic into PocketBase hooks; public app unprivileged 2026-10-06 12:34:58 +00:00
svelte.config.js moved page rendering to a different service and access is now behind 2026-08-19 17:58:19 +02:00
tsconfig.json moved page rendering to a different service and access is now behind 2026-08-19 17:58:19 +02:00
vite.config.ts moved page rendering to a different service and access is now behind 2026-08-19 17:58:19 +02:00