BSB Node.js Type Definitions
    Preparing search index...

    Interface BSBOptions

    Configuration options for ServiceBase constructor

    interface BSBOptions {
        debug?: boolean;
        live?: boolean;
        cwd?: string;
        appId?: string;
        region?: string;
        config?: typeof SBConfig;
        plugins?: typeof SBPlugins;
        observable?: typeof SBObservable;
        events?: typeof SBEvents;
        services?: typeof SBServices;
    }
    Index

    Properties

    debug?: boolean

    Enable debug logging

    true
    
    live?: boolean

    Disable development mode (affects plugin loading)

    false
    
    cwd?: string

    Current working directory

    process.cwd()
    
    appId?: string

    Custom application ID (overrides auto-generated ID)

    undefined (auto-generated from hostname + UUID)
    
    region?: string

    Deployment region for resource context

    undefined (resolved from BSB_REGION env var)
    
    config?: typeof SBConfig

    Override default configuration handler

    SBConfig
    
    plugins?: typeof SBPlugins

    Override default plugins handler

    SBPlugins
    
    observable?: typeof SBObservable

    Override default observable handler (unified logging, metrics, tracing)

    SBObservable
    
    events?: typeof SBEvents

    Override default events handler

    SBEvents
    
    services?: typeof SBServices

    Override default services handler

    SBServices