Member Junction
    Preparing search index...

    Interface TreeJunctionConfig

    Configuration for M2M junction table relationships. Used when leaves relate to branches through an intermediate junction table.

    interface TreeJunctionConfig {
        BranchForeignKey: string;
        CacheLocal?: boolean;
        EntityName: string;
        ExtraFilter?: string;
        IndirectLeafMapping?: {
            CacheLocal?: boolean;
            ExtraFilter?: string;
            IntermediateEntity: string;
            IntermediateIDField: string;
            LeafIDField: string;
        };
        LeafForeignKey: string;
    }
    Index

    Properties

    BranchForeignKey: string

    Field in junction that references the branch entity (e.g., 'CollectionID')

    CacheLocal?: boolean

    Whether to cache junction results locally (default: true)

    EntityName: string

    Junction entity name (e.g., 'MJ: Collection Artifacts')

    ExtraFilter?: string

    Optional extra filter for the junction query

    IndirectLeafMapping?: {
        CacheLocal?: boolean;
        ExtraFilter?: string;
        IntermediateEntity: string;
        IntermediateIDField: string;
        LeafIDField: string;
    }

    Optional indirect mapping when junction references an intermediate entity. Example: CollectionArtifact.ArtifactVersionID -> ArtifactVersion.ArtifactID -> Artifact.ID

    Type Declaration

    • OptionalCacheLocal?: boolean

      Whether to cache intermediate results locally (default: true)

    • OptionalExtraFilter?: string

      Optional extra filter for the intermediate entity query

    • IntermediateEntity: string

      Intermediate entity name (e.g., 'MJ: Artifact Versions')

    • IntermediateIDField: string

      ID field in intermediate entity that junction references (e.g., 'ID')

    • LeafIDField: string

      Field in intermediate entity that points to the actual leaf (e.g., 'ArtifactID')

    LeafForeignKey: string

    Field in junction that references the leaf entity (e.g., 'ArtifactVersionID')