Interface: ApprovalChain
@kortexya/reasoninglayer / ApprovalChain
Interface: ApprovalChain
Section titled “Interface: ApprovalChain”Defined in: src/types/action-reviews.ts:126
The approval chain a review waits on, when its decision is gated by one.
Properties
Section titled “Properties”approvedBy
Section titled “approvedBy”approvedBy:
string[]
Defined in: src/types/action-reviews.ts:135
Roles that approved so far, in order.
decisionType
Section titled “decisionType”decisionType:
string
Defined in: src/types/action-reviews.ts:128
Decision type the chain governs.
escalations
Section titled “escalations”escalations:
string[]
Defined in: src/types/action-reviews.ts:139
Escalations the chain went through, each as from → to (reason).
expectedRole?
Section titled “expectedRole?”
optionalexpectedRole?:string|null
Defined in: src/types/action-reviews.ts:137
The role expected next; absent when the chain is complete.
roles:
string[]
Defined in: src/types/action-reviews.ts:133
Roles that must approve, in order (after any escalation, the current expectation at each position).