Skip to main content

Variable: LEAD_STAGES

const LEAD_STAGES: readonly ["new", "contacted", "qualified", "proposal"]

Defined in: src/lib/crm/pipeline.ts:10

CRM pipeline domain (pure, no I/O).

The open funnel is an ordered list of stages rendered as Kanban columns. A lead also carries a terminal status (open/won/lost): won/lost leads leave the board but stay reportable. Winning a lead converts it into a facilities row (the client) — the field mapping lives here so it can be unit-tested independently of the database.