Interface: SortReparentReport
@kortexya/reasoninglayer / SortReparentReport
Interface: SortReparentReport
Section titled “Interface: SortReparentReport”Defined in: src/types/sorts.ts:1641
What a sort move changed.
Remarks
Section titled “Remarks”The body of PUT /api/v1/sorts/{id}/parents without the moved sort, and
the sortReparent of an OSFQL ALTER SORT … PARENTS (…) response.
Extended by
Section titled “Extended by”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.
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.
parents
Section titled “parents”parents:
string[]
Defined in: src/types/sorts.ts:1650
Its parents now (UUIDs) — exactly what SortsClient.getParents answers.
previousParents
Section titled “previousParents”previousParents:
string[]
Defined in: src/types/sorts.ts:1645
Its parents before the move (UUIDs).
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.
sortId
Section titled “sortId”sortId:
string
Defined in: src/types/sorts.ts:1643
The moved sort (UUID).
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.
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.