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

    What an installer knows about its capability and a declaration cannot know.

    Travels through ICapabilityRegistry.noteInstaller() rather than as a field on the declaration: ICapabilityDeclaration describes a capability, CapabilityInstaller describes how a bundle embarks one, and those are two subjects. Merging them would put a build-time fact on an object that the runtime channel (GeoLeaf.plugins.registerCapability) also produces, where it has no meaning.

    interface ICapabilityInstallFacts {
        hasModule: boolean;
    }
    Index

    Properties

    Properties

    hasModule: boolean

    true when the installer declares a createModule() factory.

    ⚠️ A structural fact, never a runtime one: it says the capability contributes an ICoreModule to the registry, not that this module is running — and the module's id is not necessarily the capability's (permalink contributes share). For "is it running?", the answer is IIntrospectionAPI.getActiveModules().