Documentation
    Preparing search index...

    Class AbstractConfigSourceAbstract

    Abstract base contract for all configuration source providers. Concrete providers load configuration from environment variables, structured JSON/JS files, or memory dictionaries.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: string

    Human-readable identifier for this configuration source.

    priority: number

    Numeric priority level used for resolution ordering. Higher priority sources override lower priority ones.

    Methods

    • Retrieves the value associated with a given key from this source.

      Parameters

      • key: string

        The property key or dot-notation path.

      Returns unknown

      The raw value if present, or undefined.

    • Returns a flat or nested snapshot of all configuration stored in this source.

      Returns Record<string, unknown>

      Key-value mapping of all configuration entries.

    • Checks if a given key exists in this configuration source.

      Parameters

      • key: string

        The property key or dot-notation path.

      Returns boolean

      True if the key is defined in this source.