Skip to content

Interface: PatchSortFeatureDescriptionAmendment

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PatchSortFeatureDescriptionAmendment

Interface: PatchSortFeatureDescriptionAmendment

Section titled “Interface: PatchSortFeatureDescriptionAmendment”

Defined in: src/types/sorts.ts:1910

Amend the description of one feature declaration, and optionally its index directive.

Merge-patch semantics, per key: an ABSENT key keeps the stored value, null clears it, a value replaces it. A blank description is refused with 400 — null is how to clear. See PatchSortFeatureAmendment.

optional cascadeTerms?: undefined

Defined in: src/types/sorts.ts:1914

Not allowed on an amendment, which moves no term value (400).


description: string | null

Defined in: src/types/sorts.ts:1916

The declaration’s description: null clears it, a non-blank string replaces it.


optional index?: IndexDirectiveDto | null

Defined in: src/types/sorts.ts:1921

The declaration’s index directive. Absent keeps it, null returns it to silence (which is NOT not_indexed), a value replaces it.


optional name?: undefined

Defined in: src/types/sorts.ts:1912

Not allowed on an amendment: a rename is a separate call.


optional reading?: ReadingDirectiveDto | null

Defined in: src/types/sorts.ts:1923

The reading directive. Absent keeps it, null returns it to silence, a value replaces it.