Skip to main content

Function: isPackageFullyCountersigned()

isPackageFullyCountersigned(documents, countersigners, countersignatures): boolean

Defined in: src/server/services/agreements/countersign.ts:33

The company-side seal gate (multi-signer): true only when every required document carries a counter-signature from EVERY designated signer. Returns false for an empty signer list — a package with nobody designated falls back to the legacy single-counter-signer gate in the caller, so this helper governs only the explicit multi-signer case.

Parameters

documents

object[]

countersigners

object[]

countersignatures

object[]

Returns

boolean