@webda/core
Version:
Expose API with Lambda
23 lines (22 loc) • 669 B
TypeScript
import ConfigurationService, { ConfigurationServiceParameters } from "./configuration.js";
/**
* Allow for dynamic configuration from a file
* @WebdaModda Webda/FileConfiguration
*/
export declare class FileConfigurationService<T extends ConfigurationServiceParameters = ConfigurationServiceParameters> extends ConfigurationService<T> {
/** @ignore */
init(): Promise<this>;
/**
* Load the JSON from source defined file
* @override
*/
protected loadConfiguration(): Promise<{
[key: string]: any;
}>;
/**
* Read the file and store it
*/
initConfiguration(): Promise<{
[key: string]: any;
}>;
}