Skip to main content

Function: listActiveTargetSignals()

listActiveTargetSignals(svc, companyId): Promise<ScoringSignalRow[]>

Defined in: src/db/queries/pipeline.ts:410

All active, target-role signals attached to a facility (status new/matched). Used to pick the highest-value open posting per facility for scoring. Excludes 'other' (non-buying) roles.

Parameters

svc

SupabaseClient

companyId

string

Returns

Promise<ScoringSignalRow[]>