Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / ApprovalExpiredDecision

Interface: ApprovalExpiredDecision

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

The clock fact for grant expiry (RFC section 4.5, item 1): the fold never compares wall clocks, so an approval's expiresAt becomes effective only through this appended decision. Mirrors the shipped approval_revoked decision shape (targetRef addressing, no opId: idempotent by content, appendable by any observer with append rights, because it only materializes a crossing the approval's own recorded expiry already determines).

Properties

PropertyTypeDescriptionDefined in
decisionType"approval_expired"-packages/core/dist/index.d.ts
expiresAtstringThe recorded expiry instant this decision materializes.packages/core/dist/index.d.ts
observer?string-packages/core/dist/index.d.ts
targetRefnumber-packages/core/dist/index.d.ts