Member Junction
    Preparing search index...

    This interface defines the utilities that are available to the component at runtime. These utilities are used to interact with the host MJ system to retrieve metadata, run views, and run queries. The utilities are passed into the ComponentInitFunction by the container.

    interface ComponentUtilities {
        ai?: SimpleAITools;
        geoDataEngine?: SimpleGeoDataEngine;
        md: SimpleMetadata;
        ml?: SimpleMLTools;
        rq: SimpleRunQuery;
        rv: SimpleRunView;
        search?: SimpleSearch;
    }
    Index

    Properties

    Access to AI tools. This will not always be available in all environments and security contexts, ensure component code has fallbacks when this property is undefined

    geoDataEngine?: SimpleGeoDataEngine

    Access to GeoDataEngine for coordinate-based geographic resolution. Used by map components to resolve lat/lng to country/state via point-in-polygon. This will not always be available — ensure component code has fallbacks when undefined.

    Access to the host's trained predictive models — list available models and score records with them so a component can fold predictions into its charts/tables. Scoring is marshalled to the server's Predictive Studio engine; no training machinery runs in the browser. This will not always be available — ensure component code has fallbacks when undefined.

    search?: SimpleSearch

    Access to unified search across vector, full-text, entity, and storage sources. This will not always be available in all environments — ensure component code has fallbacks when this property is undefined.