basalt / audit/src / AuditVerifyAllOptions
Interface: AuditVerifyAllOptions
Defined in: audit/src/index.ts:670
Properties
expectedHeads?
> optional expectedHeads?: Record<string, AuditChainHead>
Defined in: audit/src/index.ts:677
Heads recorded earlier outside the database, keyed by auditChainKey(tenantId) ('@system', 't:<id>'). Each named chain is verified against its anchor — even one the store no longer lists, so a chain deleted wholesale is reported as 'truncated' instead of silently disappearing.
legacyUntil?
> optional legacyUntil?: number
Defined in: audit/src/index.ts:684
Applied to every chain — see AuditVerifyOptions.legacyUntil. A tenant that has rows but no chain at all defaults to the moment integrity began for the whole store (the earliest first entry of any chain): once Audit chains, it never writes an unchained row for any tenant again.