Type alias UpdateObject<T>

UpdateObject<T>: {
    id: string;
    properties?: Partial<NonReferenceInputs<T>>;
    references?: Partial<ReferenceInputs<T>>;
    vectors?: number[] | Vectors;
}

The available options to the data.update method.

Type Parameters

  • T

Type declaration

  • id: string

    The ID of the object to be updated

  • Optional properties?: Partial<NonReferenceInputs<T>>

    The properties of the object to be updated

  • Optional references?: Partial<ReferenceInputs<T>>

    The references of the object to be updated

  • Optional vectors?: number[] | Vectors