Type alias ReplaceObject<T>

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

The available options to the data.replace method.

Type Parameters

  • T

Type declaration

  • id: string

    The ID of the object to be replaced

  • Optional properties?: NonReferenceInputs<T>

    The properties of the object to be replaced

  • Optional references?: ReferenceInputs<T>

    The references of the object to be replaced

  • Optional vectors?: number[] | Vectors