@grandlinex/kernel
    Preparing search index...

    Class EnvStore

    Configuration options for initializing an EnvStoreC instance.

    The configuration object accepts the following properties:

    • log – A CoreLogChannel instance used for logging.
    • pathOverride – Optional custom path that overrides the default store location.
    • envFilePath – Optional path to a .env file from which environment variables can be loaded.
    • loadFromLocalEnv – Optional boolean indicating whether to load variables from the local environment.
    • appName – Optional name of the application associated with the store.

    All properties except log are optional. The object is passed to the constructor of EnvStoreC to configure its behavior.

    Implements

    Index
    log: CoreLogChannel | undefined
    store: Map<string, string>
    • Returns void

    • Parameters

      • key: string

      Returns boolean

    • Parameters

      • key: string
      • OptionaldefaultValue: string

      Returns string

    • Parameters

      • ...list: [string, string?][]

      Returns string[]

    • Retrieves the value of a global folder constant.

      Parameters

      • folder: string

        The name of the folder to retrieve.

      Returns string

      The value of the global folder constant.

    • Parameters

      • key: string

      Returns boolean

    • Parameters

      Returns void

    • Returns void

    • Parameters

      • key: string
      • value: string

      Returns void

    • Parameters

      • ...list: [string, string][]

      Returns void