Member Junction
    Preparing search index...

    Interface IJsonRemapSpec

    interface IJsonRemapSpec {
        CleanEmptyContainers?: boolean;
        Mode: "null" | "regenerate" | "remap" | "reuse" | "drop";
        OnMissing?: "reuse" | "drop";
        Path: string;
        TargetEntityName?: string;
    }
    Index

    Properties

    CleanEmptyContainers?: boolean

    Remove arrays and objects left empty by a drop. Default true.

    Mode: "null" | "regenerate" | "remap" | "reuse" | "drop"

    remap = rewrite via key map when the target is in the clone set, else per OnMissing; reuse = leave; regenerate = new UUID; null = set null; drop = remove element/key.

    OnMissing?: "reuse" | "drop"

    For remap when the referenced record was not cloned: reuse the original (default) or drop the element and count it.

    Path: string

    Path selector: dot segments and [] for arrays, e.g. 'layout.content[].componentState.config.viewId'.

    TargetEntityName?: string

    Entity the ID refers to, for remap.