|
1 |
| -export declare class AureliaConfiguration { |
2 |
| - private environment; |
3 |
| - private environments; |
4 |
| - private directory; |
5 |
| - private config_file; |
6 |
| - private cascade_mode; |
7 |
| - private _config_object; |
8 |
| - private _config_merge_object; |
9 |
| - setDirectory(path: string): void; |
10 |
| - setConfig(name: string): void; |
11 |
| - setEnvironment(environment: string): void; |
12 |
| - setEnvironments(environments?: any): void; |
13 |
| - setCascadeMode(bool?: boolean): void; |
14 |
| - readonly obj: any; |
15 |
| - readonly config: string; |
16 |
| - is(environment: string): boolean; |
17 |
| - check(): void; |
18 |
| - environmentEnabled(): boolean; |
19 |
| - environmentExists(): boolean; |
20 |
| - get(key: string, defaultValue?: any): any; |
21 |
| - set(key: string, val: string): void; |
22 |
| - merge(obj: {} | any): void; |
23 |
| - lazyMerge(obj: {} | any): void; |
24 |
| - setAll(obj: {} | any): void; |
25 |
| - getAll(): any; |
26 |
| - loadConfig(): Promise<void>; |
27 |
| - loadConfigFile(path: string, action: Function): Promise<{}>; |
28 |
| - mergeConfigFile(path: string, optional: boolean): Promise<{}>; |
29 |
| -} |
| 1 | +export declare class AureliaConfiguration { |
| 2 | + private environment; |
| 3 | + private environments; |
| 4 | + private directory; |
| 5 | + private config_file; |
| 6 | + private cascade_mode; |
| 7 | + private _config_object; |
| 8 | + private _config_merge_object; |
| 9 | + setDirectory(path: string): void; |
| 10 | + setConfig(name: string): void; |
| 11 | + setEnvironment(environment: string): void; |
| 12 | + setEnvironments(environments?: any): void; |
| 13 | + setCascadeMode(bool?: boolean): void; |
| 14 | + readonly obj: any; |
| 15 | + readonly config: string; |
| 16 | + is(environment: string): boolean; |
| 17 | + check(): void; |
| 18 | + environmentEnabled(): boolean; |
| 19 | + environmentExists(): boolean; |
| 20 | + getDictValue(baseObject: {} | any, key: string): any; |
| 21 | + get(key: string, defaultValue?: any): any; |
| 22 | + set(key: string, val: string): void; |
| 23 | + merge(obj: {} | any): void; |
| 24 | + lazyMerge(obj: {} | any): void; |
| 25 | + setAll(obj: {} | any): void; |
| 26 | + getAll(): any; |
| 27 | + loadConfig(): Promise<void>; |
| 28 | + loadConfigFile(path: string, action: Function): Promise<{}>; |
| 29 | + mergeConfigFile(path: string, optional: boolean): Promise<{}>; |
| 30 | +} |
0 commit comments