Skip to content

Type Alias: VocabularyViewSelector

@kortexya/reasoninglayer


@kortexya/reasoninglayer / VocabularyViewSelector

VocabularyViewSelector = { view: "active"; } | { releaseId: string; view: "release"; } | { revisionId: string; view: "candidate"; }

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

Which records a read sees.

{ view: "active"; }

view: "active"

The tenant’s active release.


{ releaseId: string; view: "release"; }

releaseId: string

The release (UUID).

view: "release"

An older immutable release.


{ revisionId: string; view: "candidate"; }

revisionId: string

The revision (UUID).

view: "candidate"

A candidate revision: its baseline with its change set.

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”.