GeoLeaf Core API - v3.19.0
    Preparing search index...

    Interface AppNamespace

    The GeoLeaf._app namespace as consumed by the boot initializers. Members are wired in app/app-namespace.ts, app/init.ts and app/boot.ts.

    interface AppNamespace {
        AppLog: AppLogger;
        showNotification: (message: string) => boolean;
        getProfilesBasePath: () => string;
        checkPlugins: (cfg: GeoLeafConfig) => void;
        startApp: (options?: BootOptions, run?: BootRun) => Promise<void>;
        _appStarted: boolean;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Lazily-assigned boot members and the long tail.

    Index
    AppLog: AppLogger

    Production logger (log/info/warn/error).

    showNotification: (message: string) => boolean

    Displays a UI notification; returns true when shown.

    getProfilesBasePath: () => string

    Resolves the relative base path to the profiles/ folder.

    checkPlugins: (cfg: GeoLeafConfig) => void

    Verifies that the plugins referenced by the config are loaded.

    startApp: (options?: BootOptions, run?: BootRun) => Promise<void>

    Boot entry point — loads config then runs ModuleRegistry.init() (wired in boot-install.ts). run lets the caller end the boot before it completes.

    _appStarted: boolean

    true while an application is mounted — set by the boot, cleared by the teardown of app/mount.ts. A boot refuses to start while it is set.