Skip to content

Type Alias: CreateTermInputWithPlainFeatures

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CreateTermInputWithPlainFeatures

Type Alias: CreateTermInputWithPlainFeatures

Section titled “Type Alias: CreateTermInputWithPlainFeatures”

CreateTermInputWithPlainFeatures = Omit<CreateTermRequest, "features"> & object | Omit<CreateTermByNameRequest, "features"> & object

Defined in: src/types/terms.ts:373

A term write in either spelling, with features as plain JavaScript values.

The ergonomic form of CreateTermInput: the resource methods take this and tag the features before they reach the wire. Naming the sort by CreateTermByNameRequest.sortName or by CreateTermRequest.sortId is the caller’s choice per entry, and a single batch may mix them.