Skip to content

Interface: RetractRuleRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ProofEngine / RetractRuleRequest

Interface: RetractRuleRequest

Defined in: src/types/proof-engine.ts:107

Request to retract rules from the rule store.

Remarks

Either rule_id or pattern should be provided. If retract_all is true, all matching rules are retracted; otherwise only the first match.

Properties

pattern?

optional pattern: RuleClauseDto | null

Defined in: src/types/proof-engine.ts:109

If provided, retract rules matching this pattern.


retractAll?

optional retractAll: boolean

Defined in: src/types/proof-engine.ts:111

If true, retract all matching; if false, retract first match only.


ruleId?

optional ruleId: string | null

Defined in: src/types/proof-engine.ts:113

If provided, retract by ID.