Member Junction
    Preparing search index...

    Internal tree node representation

    interface TreeNode {
        Badge?: string;
        Children: TreeNode[];
        Color?: string;
        Data: Record<string, unknown>;
        Description?: string;
        EntityName: string;
        Expanded: boolean;
        Icon: string;
        ID: string;
        Label: string;
        Level: number;
        Loading: boolean;
        MatchesSearch: boolean;
        ParentID: string | null;
        Selected: boolean;
        Type: TreeNodeType;
        Visible: boolean;
    }
    Index

    Properties

    Badge?: string

    Badge text (e.g., count)

    Children: TreeNode[]

    Child nodes (branches and/or leaves)

    Color?: string

    Icon color (CSS color value)

    Data: Record<string, unknown>

    Original entity data for custom access

    Description?: string

    Secondary description text

    EntityName: string

    Entity name this node came from

    Expanded: boolean

    UI state: is node expanded

    Icon: string

    Icon class (Font Awesome or similar)

    ID: string

    Unique identifier

    Label: string

    Display text (from DisplayField)

    Level: number

    Depth level (0 = root)

    Loading: boolean

    Is this node currently loading children

    MatchesSearch: boolean

    Does this node match the current search

    ParentID: string | null

    Parent node ID (null for root nodes)

    Selected: boolean

    UI state: is node selected

    Node type: branch (folder) or leaf (item)

    Visible: boolean

    Is this node visible (for filtering)