Classes
Members
(inner, constant) appConfiguration :ProviderCreator.<AppConfigurationProviderOptions>
- Source:
- Tutorials:
The service provider to register an instance of AppConfiguration
on the
container.
Type:
Type Definitions
AppConfigurationOptions
- Source:
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
defaultConfigurationName |
string |
<optional> |
'default'
|
The name of the default configuration. |
environmentVariable |
string |
<optional> |
'APP_CONFIG'
|
The name of the variable it will read in order to determine which configuration to load. |
path |
string |
<optional> |
'./config/[app-name]'
|
The path to the configurations directory, relative to the project root path. |
filenameFormat |
string |
<optional> |
'[app-name].[name].config.js'
|
The name format of the configuration files. You need to use the |
Type:
AppConfigurationProviderOptions
- Source:
Properties:
Name | Type | Description |
---|---|---|
serviceName |
string | The name that will be used to register an instance of |
appName |
string | The name of the application. |
defaultConfiguration |
Object | The service default configuration. |
options |
Partial.<AppConfigurationOptions> | Overwrites for the service customization options. |
services |
AppConfigurationServiceMap | A dictionary with the services that need to be injected on the class. |
Type:
AppConfigurationServiceMap
- Source:
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
environmentUtils |
string | EnvironmentUtils |
<optional> |
The name of the service for |
rootRequire |
string | RootRequireFn |
<optional> |
The name of the service for |