Skip to content

Type Alias: ValueDto

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ValueDto

ValueDto = StringValue | IntegerValue | RealValue | BooleanValue | UninstantiatedValue | ReferenceValue | SortIdValue | ListValue | DomainValue | ChoiceValue | FuzzyScalarValue | FuzzyNumberValue | SetValue | PsiTermValue | BigIntegerValue | DateTimeValue | ExternalRefValue | GeometryValue | MeasurementValue

Defined in: src/types/values.ts:342

Tagged discriminated union for all value types in the Reasoning Layer.

Discriminated by the "type" field. Nineteen variants covering primitives, references, nested terms, collections, fuzzy values, time, precision integers, external references, geometry and dimensioned quantities — the whole of the engine’s ValueDto.

Serialization format: Tagged ({"type": "...", "value": ...}).

Used by term CRUD, query, and fuzzy endpoints. The untagged equivalent for homoiconic inference is FeatureValueDto.