Interface: EnsuredRule
@kortexya/reasoninglayer / EnsuredRule
Interface: EnsuredRule
Section titled “Interface: EnsuredRule”Defined in: src/types/inference.ts:2591
The result of ensuring a rule.
Extends
Section titled “Extends”Properties
Section titled “Properties”created
Section titled “created”created:
boolean
Defined in: src/types/inference.ts:2593
true when the rule was installed (201), false when the identical rule already was (200).
optionaletag?:string
Defined in: src/types/inference.ts:1437
The rule’s content tag (sha256-<hex>), from the ETag response header:
pass it as ifMatch to InferenceClient.deleteRule or
InferenceClient.replaceRule.
Remarks
Section titled “Remarks”Not part of the response body. Absent when the engine sends no header: the rule is written, but the read that tags the response failed after the write committed. Read the tag from RuleEntryDto.etag then.
Inherited from
Section titled “Inherited from”term:
PsiTermDto
Defined in: src/types/inference.ts:1426
The created rule as a PsiTerm.