1 | declare var config: {
|
2 | port: number;
|
3 | logLevel: any;
|
4 | proxy: string;
|
5 | staticProxies: any[];
|
6 | staticAssets: {
|
7 | path: string;
|
8 | dir: string;
|
9 | }[];
|
10 | fallback: any;
|
11 | liveReload: {
|
12 | enabled: boolean;
|
13 | port: number;
|
14 | };
|
15 | };
|
16 | declare module HawtioBackend {
|
17 | var log: any;
|
18 | var app: any;
|
19 | var proxyRoutes: {};
|
20 | function getTargetURI(options: any): any;
|
21 | function addStartupTask(cb: () => void): void;
|
22 | function setConfig(newConfig: any): void;
|
23 | function reload(): any;
|
24 | function use(path: any, func: any): void;
|
25 | function listen(cb: (server: any) => void): any;
|
26 | function stop(cb: any): void;
|
27 | function getServer(): any;
|
28 | }
|
29 | declare module HawtioBackend {
|
30 | }
|
31 | declare module HawtioBackend {
|
32 | function mountAsset(mount: string, dir: string): void;
|
33 | }
|