Member Junction
    Preparing search index...

    Result of loading a component hierarchy

    interface HierarchyResult {
        components?: Record<string, ComponentObject>;
        errors: {
            componentName?: string;
            message: string;
            phase: "fetch" | "compile" | "register" | "dependency";
        }[];
        loadedComponents: string[];
        resolvedSpec?: ComponentSpec;
        rootComponent?: ComponentObject;
        stats?: {
            compiled: number;
            fetched: number;
            fromCache: number;
            totalTime: number;
        };
        success: boolean;
    }
    Index

    Properties

    components?: Record<string, ComponentObject>

    Map of all loaded components by name

    errors: {
        componentName?: string;
        message: string;
        phase: "fetch" | "compile" | "register" | "dependency";
    }[]

    Any errors that occurred during loading

    loadedComponents: string[]

    List of all component names that were loaded

    resolvedSpec?: ComponentSpec

    The fully resolved root specification

    rootComponent?: ComponentObject

    The root component object

    stats?: {
        compiled: number;
        fetched: number;
        fromCache: number;
        totalTime: number;
    }

    Number of components loaded from cache vs fetched

    success: boolean

    Whether the entire hierarchy loaded successfully