Type Alias: VocabularyViewSelector
@kortexya/reasoninglayer / VocabularyViewSelector
Type Alias: VocabularyViewSelector
Section titled “Type Alias: VocabularyViewSelector”VocabularyViewSelector = {
view:"active"; } | {releaseId:string;view:"release"; } | {revisionId:string;view:"candidate"; }
Defined in: src/types/vocabulary.ts:757
Which records a read sees.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ view: "active"; }
view:
"active"
The tenant’s active release.
Type Literal
Section titled “Type Literal”{ releaseId: string; view: "release"; }
releaseId
Section titled “releaseId”releaseId:
string
The release (UUID).
view:
"release"
An older immutable release.
Type Literal
Section titled “Type Literal”{ revisionId: string; view: "candidate"; }
revisionId
Section titled “revisionId”revisionId:
string
The revision (UUID).
view:
"candidate"
A candidate revision: its baseline with its change set.
Remarks
Section titled “Remarks”Wire format: the view, release_id and revision_id query parameters.
Omitting the selector reads the active release. A candidate view is a
draft: show it as “Draft — not active”.