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

    Describes how a capability is enabled or disabled by the profile config.

    The registry evaluates config.get(configPath) at capability check time:

    • Key absent in config → enableWhenAbsent ?? false
    • Value strictly false → disabled
    • Any other truthy value → enabled
    interface ICapabilityConfigGate {
        configPath: string;
        enableWhenAbsent?: boolean;
    }
    Index

    Properties

    configPath: string

    Dot-notation path read via config.get().

    `'modules.labels.enabled'`
    
    `'modules.route.enabled'`
    
    enableWhenAbsent?: boolean

    Return value when configPath is absent from config. Defaults to false (opt-in semantics — matching the existing modules pattern). Set to true for capabilities that should be on unless explicitly disabled.