Type Alias: DeleteSortRulesDisposition
@kortexya/reasoninglayer / DeleteSortRulesDisposition
Type Alias: DeleteSortRulesDisposition
Section titled “Type Alias: DeleteSortRulesDisposition”DeleteSortRulesDisposition =
"refuse"|"orphan"
Defined in: src/types/sorts.ts:1360
What DELETE /api/v1/sorts/{id} does about the RULES that name the sort.
Remarks
Section titled “Remarks”A rule whose conclusion, antecedent pattern or sort constraint names the
sort is left holding an id that no longer resolves, and simply stops
firing. refuse (the default) refuses and names them; orphan deletes the
sort anyway and reports them.
orphan does NOT withdraw the rules. Withdrawal has its own refusals —
system-owned, plugin-owned, holds-derivations — which this route must not
bypass.
orphan does not cover a rule whose pattern points at a DATA term the
delete would remove (term_reference): that is refused under every
disposition.