dino-core
Version:
A dependency injection framework for NodeJS applications
30 lines (29 loc) • 943 B
TypeScript
import { EnvironmentConfiguration } from '../model/environment.configuration';
/**
* Load the configuration and add all variables to the application context
* @typedef {EnvironmentConfigurationBuilder}
* @public
* @since 0.2.2
*/
export declare class EnvironmentConfigurationBuilder {
/**
* Load the configuration defined for the service. Configuration can be provide as:
* - command line arguments
* - environment variables
* - JSON file, path for the JSON file should be provided
* @param {String} path the patch for the configuration file relative to the root of the project
*
* @public
* @static
*/
static load(appConfigPath?: string): EnvironmentConfiguration;
/**
* Load additional configuration if required
*
* @param {Any} conf the provided configuration
*
* @static
* @private
*/
private static loadAdditionalConfigurationLoaders;
}