lilith-platform.live/codebase/@features/api/src
Natalie e654855af9
Some checks failed
Deploy quinn.admin / build (push) Failing after 0s
CI / verify (push) Failing after 1s
Deploy quinn.admin / deploy (push) Has been skipped
Deploy quinn.api / deploy (push) Failing after 1s
Deploy quinn.admin (black dev) / build-and-deploy (push) Failing after 4m31s
feat(api): region-based dynamic incall pricing driven by declared location
Incall rates now derive from the active region's base hourly rate instead of
static rows. Region resolves from declared location: manual pin > active tour
stop's state (STATE_TO_REGION) > home region fallback. Schedule derives by a
fixed no-discount multiplier (1h/1.5h/2h/3h + overnight 3.5h / dinner 4h /
daily 5h). Seeds CA=$800 (home) and NYC=$1000.

- new entity region-rate (schema+repo+types+index) + region_rates table
- wire assembleProviderConfig to override incall entries by active region
- admin surface /admin/region-rates (list, upsert base, pin/unpin)
- unit tests for resolver priority + formula (9 passing)

Replaces the previously dead rateCardsByCity selector path. FMTY dynamic
derivation (deriveZonesForMarket) remains a follow-up.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-01 12:12:22 -04:00
..
__tests__ feat(tours): make /tours/* landing pages DB-driven per 20260628 handoff 2026-06-28 08:00:16 -04:00
app feat(api): region-based dynamic incall pricing driven by declared location 2026-07-01 12:12:22 -04:00
entities feat(api): region-based dynamic incall pricing driven by declared location 2026-07-01 12:12:22 -04:00
features feat(api): region-based dynamic incall pricing driven by declared location 2026-07-01 12:12:22 -04:00
lib feat(analytics): timeline markers (deploys, tour stops, content drops) 2026-06-21 22:57:26 -05:00
mcp-prospector feat(mcp): add classify_message tool to mcp-prospector (prospector copilot) + architecture docs for desktop coworker composition 2026-06-28 11:59:10 -04:00
mcp-seo
processors docs(lilith-platform): Wave 1 prospector packages migration + restructure references (from parallel docs slice) 2026-06-28 17:43:09 -04:00
scripts feat(api): Add backfill script to detect and correct CSS traps in UI for accessibility compliance 2026-06-08 11:46:41 -07:00
shared feat(mrnumbers): introduce MrNumberClient (macsync-style seam to ct/app) and wire prospect-runner; document end-of-ct removal of LP mr code 2026-06-28 10:42:20 -04:00
surfaces feat(api): region-based dynamic incall pricing driven by declared location 2026-07-01 12:12:22 -04:00
_tmp_classify_probe.ts breaking(api): 💥 Update client entity schema, prospector classification, and admin photo export routes with breaking changes 2026-06-10 14:58:14 -07:00
server.ts feat(vip): Add VIP quote entity, API endpoints, QuotePage, and seed data functionality 2026-05-16 23:52:44 -07:00