UNPKG

@amadeus-it-group/kassette

Version:

Development server, used mainly for testing, which proxies requests and is able to easily manage local mocks.

15 lines (14 loc) 966 B
import { IMergedConfiguration, IConfigurationProperty } from '../../configuration'; import { RunOptions, ApplicationData } from '../model'; /** * Logs a single configuration property by indicating the name, value and origin of the value * * @param name The name of the property * @param property The wrapper of the property * @param checkable Tells whether the property is considered as a boolean (checked or not) */ export declare function logProperty(name: string, property: IConfigurationProperty<any>, checkable?: boolean | 'boolValue'): void; /** Logs the full use configuration object as other application data */ export declare function logApplicationData({ configuration, root }: ApplicationData): void; /** Returns the final single full featured user configuration object */ export declare function build({ apiConfiguration, cliConfiguration, configurationPath, fileConfigurationContext, }: Partial<RunOptions>): Promise<IMergedConfiguration | null>;