Interface: PipelineActionState
Defined in: src/server/actions/pipeline.ts:76
Facility Pipeline rep-facing actions (ADR-0040). Each follows the repo's crm.ts shape:
authenticate → Zod-validate → company-scope (the service client bypasses RLS, so scoping is
explicit) → query → revalidate. The bulk INGEST path is deliberately NOT here — it ingests
external data and is server-only in src/server/services/pipeline.ts, called by the cron route.
Properties
error?
optionalerror?:string
Defined in: src/server/actions/pipeline.ts:78
leadId?
optionalleadId?:string
Defined in: src/server/actions/pipeline.ts:79
ok
ok:
boolean
Defined in: src/server/actions/pipeline.ts:77