Skip to main content

Interface: MergeContractor

Defined in: src/lib/agreements/mergeData.ts:14

Assemble the agreement merge data (tokens + loops + flags) from already-fetched, decoupled inputs.

Pure (no I/O) so it is unit-testable and produces deterministic output for hashing. The server-side buildMergeData(contractorId) fetches the rows and calls this. Token names follow the blanks in the real ICA package (cover + ICA + Exhibits A–D). One package is generated per facility-state, so the state language is resolved from the (single) state of the facilities passed in.

Properties

email

email: string

Defined in: src/lib/agreements/mergeData.ts:17


legalName

legalName: string

Defined in: src/lib/agreements/mergeData.ts:15


phAddress

phAddress: string | null

Defined in: src/lib/agreements/mergeData.ts:16


phone

phone: string | null

Defined in: src/lib/agreements/mergeData.ts:18


prcLicense

prcLicense: string | null

Defined in: src/lib/agreements/mergeData.ts:19