Type Alias: VocabularyRecordOperation
@kortexya/reasoninglayer / VocabularyRecordOperation
Type Alias: VocabularyRecordOperation
Section titled “Type Alias: VocabularyRecordOperation”VocabularyRecordOperation = {
op:"upsert";record:VocabularyRecordInput; } | {op:"remove";recordId:string; }
Defined in: src/types/vocabulary.ts:581
One operation of a change set, applied in order: insert or replace a record, or remove one.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ op: "upsert"; record: VocabularyRecordInput; }
op:
"upsert"
Discriminator: insert or replace.
record
Section titled “record”record:
VocabularyRecordInput
The record.
Type Literal
Section titled “Type Literal”{ op: "remove"; recordId: string; }
op:
"remove"
Discriminator: remove.
recordId
Section titled “recordId”recordId:
string
The record to remove (UUID).
Remarks
Section titled “Remarks”Wire format: internally tagged by op.