@dxos/echo
    Preparing search index...

    Type Alias CloneOptions

    type CloneOptions = {
        deep?: "parent" | "all";
        retainId?: boolean;
    }
    Index

    Properties

    Properties

    deep?: "parent" | "all"

    Recursively clone referenced objects.

    • 'parent': clone only refs whose target is transitively parented under the clone root (children that cascade-delete with it); shared refs (registry operations, context objects, …) are copied as-is.
    • 'all': clone every referenced object recursively. Omit for a shallow clone (refs copied as-is).
    retainId?: boolean

    Retain the original object's ID.

    false