Interface: SortReparentResponse
@kortexya/reasoninglayer / SortReparentResponse
Interface: SortReparentResponse
Section titled “Interface: SortReparentResponse”Defined in: src/types/sorts.ts:1683
The answer to a sort move: the moved sort as it now stands, and the report.
Extends
Section titled “Extends”Properties
Section titled “Properties”changed
Section titled “changed”changed:
boolean
Defined in: src/types/sorts.ts:1655
false when the requested parents already were the parents of the sort,
and nothing was written.
Inherited from
Section titled “Inherited from”inheritanceChanges
Section titled “inheritanceChanges”inheritanceChanges:
InheritedFeatureChangeDto[]
Defined in: src/types/sorts.ts:1665
The sorts whose inherited declarations changed, with what each gained, lost and had replaced.
Inherited from
Section titled “Inherited from”SortReparentReport.inheritanceChanges
parents
Section titled “parents”parents:
string[]
Defined in: src/types/sorts.ts:1650
Its parents now (UUIDs) — exactly what SortsClient.getParents answers.
Inherited from
Section titled “Inherited from”previousParents
Section titled “previousParents”previousParents:
string[]
Defined in: src/types/sorts.ts:1645
Its parents before the move (UUIDs).
Inherited from
Section titled “Inherited from”SortReparentReport.previousParents
rulesNamingMovedSorts
Section titled “rulesNamingMovedSorts”rulesNamingMovedSorts:
SortReferencingRuleDto[]
Defined in: src/types/sorts.ts:1679
The rules that name the sort or a subsort that moved. Which terms they apply to follows the new ancestors.
Inherited from
Section titled “Inherited from”SortReparentReport.rulesNamingMovedSorts
sort:
SortDto
Defined in: src/types/sorts.ts:1685
The moved sort as it now stands. Its id and whole record are kept.
sortId
Section titled “sortId”sortId:
string
Defined in: src/types/sorts.ts:1643
The moved sort (UUID).
Inherited from
Section titled “Inherited from”subsortsMoved
Section titled “subsortsMoved”subsortsMoved:
string[]
Defined in: src/types/sorts.ts:1660
The subsorts that moved with the sort (UUIDs): every descendant, whose ancestor set changed too.
Inherited from
Section titled “Inherited from”SortReparentReport.subsortsMoved
termsOfMovedSorts
Section titled “termsOfMovedSorts”termsOfMovedSorts:
number
Defined in: src/types/sorts.ts:1674
How many data terms are typed with the sort or a subsort that moved — the terms whose sort now has different ancestors.
Remarks
Section titled “Remarks”Counted the way SortDeletePreviewResponse.termsHeld is counted: a floor, exact when no rule has a pattern of these sorts.