Skip to content

Interface: AddConstraintsResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Constraints / AddConstraintsResponse

Interface: AddConstraintsResponse

Defined in: src/types/constraints.ts:252

Response from adding constraints to a session.

Properties

addedCount

addedCount: number

Defined in: src/types/constraints.ts:254

Number of constraints added.


currentBindings

currentBindings: Record<string, number>

Defined in: src/types/constraints.ts:256

Current variable bindings.


message?

optional message: string | null

Defined in: src/types/constraints.ts:258

Human-readable message.


satisfiedCount

satisfiedCount: number

Defined in: src/types/constraints.ts:260

Number of satisfied constraints.


success

success: boolean

Defined in: src/types/constraints.ts:262

Whether the operation succeeded.


suspendedCount

suspendedCount: number

Defined in: src/types/constraints.ts:264

Number of suspended constraints.