Skip to main content

Function: getFacilityQuickView()

getFacilityQuickView(facilityId): Promise<FacilityQuickViewResult>

Defined in: src/server/actions/facilities.ts:342

Lightweight facility "shelf" snapshot (quick-view drawer). Read-only; company-scoped via the service client after the admin check. Pulls the facility row, its primary contact + contact count, active job-signal count, and the latest contract summary in one pass.

Parameters

facilityId

string

Returns

Promise<FacilityQuickViewResult>