Skip to content

Interface: CreateTermInCollectionRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Collections / CreateTermInCollectionRequest

Interface: CreateTermInCollectionRequest

Defined in: src/types/collections.ts:14

Request to create a term scoped to a collection.

Remarks

Features use the tagged ValueDto format ({"type": "String", "value": "hello"}). Use Value.* builders to construct feature values. The term is created through the standard term path (sort validation + reactive constraints apply) and then assigned to the collection.

Properties

collectionId

collectionId: string

Defined in: src/types/collections.ts:16

Collection UUID to add the term to.


features

features: Record<string, ValueDto>

Defined in: src/types/collections.ts:24

Named features with tagged values.


namespaceId

namespaceId: string

Defined in: src/types/collections.ts:18

Namespace UUID.


sortId

sortId: string

Defined in: src/types/collections.ts:20

Sort (type) UUID for the term.


tenantId

tenantId: string

Defined in: src/types/collections.ts:22

Tenant UUID.