Skip to content

Type Alias: VocabularyRelationChangeDetail

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyRelationChangeDetail

Type Alias: VocabularyRelationChangeDetail

Section titled “Type Alias: VocabularyRelationChangeDetail”

VocabularyRelationChangeDetail = { change: "removed"; sort: string; } | { after: string[]; before: string[]; change: "ancestors"; sort: string; } | { after: string; before: string; change: "declaration"; sort: string; } | { after: string[]; before: string[]; change: "meet"; left: string; right: string; }

Defined in: src/types/vocabulary.ts:4156

relation_changed (RelationChangeDetail): one relation of an existing sort that the candidate changes, discriminated on change.

  • removed: the candidate no longer holds the sort.
  • ancestors: the sort’s ancestor set differs (sorted sort ids).
  • declaration: the sort’s formal declaration differs (declaration digests).
  • meet: the meet of two existing sorts differs (sorted sort ids; empty is bottom, two or more a non-principal meet).