Skip to content

Interface: PatchSortFeatureIndexAmendment

@kortexya/reasoninglayer


@kortexya/reasoninglayer / PatchSortFeatureIndexAmendment

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

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

Merge-patch semantics, per key: an ABSENT key keeps the stored value, null clears it, a value replaces it. See PatchSortFeatureAmendment.

optional cascadeTerms?: undefined

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

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


optional description?: string | null

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

The declaration’s description. Absent keeps it, null clears it, a non-blank string replaces it. A blank string is refused with 400.


index: IndexDirectiveDto | null

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

The declaration’s index directive: null returns it to silence (which is NOT not_indexed, an explicit refusal to index), a value replaces it.


optional name?: undefined

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

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


optional reading?: ReadingDirectiveDto | null

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

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