Hand-madedomainui

slot picker

src/features/slot-picker

Brick

  • __tests__/

  • domain/

  • host/

  • ui/

Host adapter (not part of the brick)

domain/index.ts
1/**
2 * The pure entrypoint: types and logic with no React and no I/O. Importable
3 * from both server and client code.
4 */
5
6export type {
7 BookingPort,
8 SlotDay,
9 SlotPickerPorts,
10 SlotPickerViewProps,
11 SlotSourcePort,
12 SlotView,
13} from './types';
14
15export { dayKeyInZone, dropPastSlots, durationMinutes, groupSlotsByDay, isFree } from './grouping';
16

Requirements

This brick was written by hand, so it has no spec on file. Its own tests are its requirements — run the gates to check them.