Skip to content

rulvar API reference


rulvar API reference / @rulvar/rulvar / applyClaimOps

Function: applyClaimOps()

ts
function applyClaimOps(claims, ops): ModelClaim[];

Defined in: packages/core/dist/index.d.ts

Applies one op batch to a claims array, mechanically (M10-T01). The editorial validators (attestation, caps, statement bounds) layer on top in M10-T02; referential integrity is enforced here because a dangling supersede or archive would corrupt the append-only chain.

Parameters

ParameterType
claimsreadonly ModelClaim[]
opsreadonly ClaimOp[]

Returns

ModelClaim[]