Documentation
    Preparing search index...

    ConfigManager is used to load, parse, validate and set configuration values. Can load config from directories or use explicitly provided config values.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    config: Config

    Reference to the config class. The value is defined after the "init" method call

    Methods

    • Define the config values to use when booting the config provider. Calling this method disables reading files from the config directory.

      Parameters

      • values: Record<any, any>

        The configuration values to use

      Returns this

      this - Returns the ConfigManager instance for method chaining

    • Process config values.

      Parameters

      • configDirectory: string

        The directory path containing config files

      Returns Promise<void>

      Promise that resolves when config processing is complete