Zum Inhalt springen
Deutsch

LoadOptions

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

LoadOptions = object

Defined in: src/config/Config.ts:673

readonly optional appConfPath?: string | false

Defined in: src/config/Config.ts:678

The application file, ahead of ACTOR_TS_CONFIG and ./application.conf. false reads no application file at all.


readonly optional environmentFilePath?: string | false

Defined in: src/config/Config.ts:698

The .env file whose variables answer substitutions behind the real environment, ahead of ACTOR_TS_ENV_FILE and ./.env (#1785). Optional; false reads none.


readonly optional overrides?: Config | unknown

Defined in: src/config/Config.ts:706


readonly optional profile?: string

Defined in: src/config/Config.ts:705

The active profile, ahead of ACTOR_TS_PROFILE. A name neither file defines under profiles is refused. An empty string selects no profile whatever the environment says, which is how code opts out of one the environment selected.


readonly optional referenceConfPath?: string | false

Defined in: src/config/Config.ts:685

The project’s own reference.conf — its defaults, over the bundled ones and under the application file — ahead of ACTOR_TS_REFERENCE_CONFIG and ./reference.conf (#1785). Optional: a path with no file behind it is an empty layer. false reads none.


readonly optional secretsConfPath?: string | false

Defined in: src/config/Config.ts:692

The secrets file, ahead of ACTOR_TS_SECRETS_CONF and ./secrets.conf. Optional as the application file is: a path with no file behind it is an empty layer, so a deployment that keeps no secrets in a file needs nothing (#1546). false reads none.