Type alias UpdateObject<T>

UpdateObject<T>: {
    id: string;
    properties?: NonReferenceInputs<T>;
    references?: 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?: NonReferenceInputs<T>

    The properties of the object to be updated

  • Optional references?: ReferenceInputs<T>

    The references of the object to be updated

  • Optional vectors?: number[] | Vectors