Member Junction
    Preparing search index...
    interface EdgePolicyResolutionContext {
        AllowUserOverrides?: boolean;
        ChildEntityConfig?: {
            AllowCreateAPI?: boolean;
            CloneableFromTemplate?: boolean;
            NotCloneable?: boolean;
            NotCloneableReason?: string;
        };
        ChildEntityName: string;
        CollectionName?: string;
        CurrentDepth: number;
        FromKey: string;
        IsHierarchyField?: boolean;
        IsSoftLink?: boolean;
        IsUniqueFK?: boolean;
        IsWriteOnce?: boolean;
        JoinField: string;
        Kind: CloneEdgeKind;
        MaxDepth: number;
        ParentEntityConfig?: {
            Relationships?: Record<
                string,
                { Locked?: boolean; Policy?: CloneEdgePolicy },
            >;
        };
        ParentEntityName: string;
        PresetConfig?: {
            EdgeOverrides?: {
                ChildEntityName?: string;
                JoinField?: string;
                Policy: CloneEdgePolicy;
                RelationshipID?: string;
            }[];
        };
        RelationshipConfig?: { Locked?: boolean; Policy?: CloneEdgePolicy };
        RelationshipID?: string;
        RequestOverrides?: {
            FromKey?: string;
            Policy: CloneEdgePolicy;
            RelationshipID?: string;
            ToKey?: string;
        }[];
        RootEntityConfig?: {
            Descendants?: Record<
                string,
                { Locked?: boolean; Policy?: CloneEdgePolicy },
            >;
            Relationships?: Record<
                string,
                { Locked?: boolean; Policy?: CloneEdgePolicy },
            >;
        };
        RootEntityName?: string;
        TemplateMode?: boolean;
        ToKey: string;
    }
    Index

    Properties

    AllowUserOverrides?: boolean
    ChildEntityConfig?: {
        AllowCreateAPI?: boolean;
        CloneableFromTemplate?: boolean;
        NotCloneable?: boolean;
        NotCloneableReason?: string;
    }

    Type Declaration

    • OptionalAllowCreateAPI?: boolean
    • OptionalCloneableFromTemplate?: boolean

      NotCloneable is lifted for this entity in TemplateMode.

    • OptionalNotCloneable?: boolean
    • OptionalNotCloneableReason?: string
    ChildEntityName: string
    CollectionName?: string
    CurrentDepth: number
    FromKey: string
    IsHierarchyField?: boolean

    The child's join column is flagged IsHierarchy (a parent/child tree within one entity).

    IsSoftLink?: boolean
    IsUniqueFK?: boolean
    IsWriteOnce?: boolean
    JoinField: string
    MaxDepth: number
    ParentEntityConfig?: {
        Relationships?: Record<
            string,
            { Locked?: boolean; Policy?: CloneEdgePolicy },
        >;
    }

    The Relationships of the entity the edge starts from, for edges below the root: a prompt's template follows MJ: Templates' own configuration. The root's configuration still wins.

    ParentEntityName: string
    PresetConfig?: {
        EdgeOverrides?: {
            ChildEntityName?: string;
            JoinField?: string;
            Policy: CloneEdgePolicy;
            RelationshipID?: string;
        }[];
    }
    RelationshipConfig?: { Locked?: boolean; Policy?: CloneEdgePolicy }
    RelationshipID?: string
    RequestOverrides?: {
        FromKey?: string;
        Policy: CloneEdgePolicy;
        RelationshipID?: string;
        ToKey?: string;
    }[]
    RootEntityConfig?: {
        Descendants?: Record<
            string,
            { Locked?: boolean; Policy?: CloneEdgePolicy },
        >;
        Relationships?: Record<
            string,
            { Locked?: boolean; Policy?: CloneEdgePolicy },
        >;
    }
    RootEntityName?: string

    The clone root's entity. A bare child-entity key in the root's Relationships applies only to edges from this entity; below it, only relationship-ID and Child.JoinField keys match. Left out, the edge is taken to start at the root.

    TemplateMode?: boolean

    The clone runs under a template preset (one with TemplateSourceField) and the source record is flagged as a template. The preset's policies then apply to Locked edges too, and a child entity that is NotCloneable but CloneableFromTemplate may be copied. Request overrides still respect Locked.

    ToKey: string