UNPKG

775 BTypeScriptView Raw
1/**
2 * Describe the type of configuration value
3 */
4export declare enum ConfigurationValueType {
5 Number = 0,
6 String = 1,
7 Boolean = 2
8}
9/**
10 * Options that are used during configuration of an SDM but don't get passed on to the
11 * running SDM instance
12 */
13export interface ConfigurationValues {
14 /**
15 * Optional array of required configuration value paths resolved against the root configuration
16 */
17 requiredConfigurationValues?: Array<string | {
18 path: string;
19 type: ConfigurationValueType;
20 }>;
21}
22/**
23 * Validate the provided configuration
24 * @param config
25 * @param options
26 */
27export declare function validateConfigurationValues(config: any, options: ConfigurationValues): void;
28//# sourceMappingURL=ConfigurationValues.d.ts.map
\No newline at end of file