1 | export declare class ParkaConfig {
|
2 | appName: string;
|
3 | env: string;
|
4 | host: string;
|
5 | port: number;
|
6 | db: IDbConnection;
|
7 | routing: IRoutingConfig;
|
8 | logger: ILoggerConfig;
|
9 | includeStacktraceInResponse: boolean;
|
10 | constructor(json: any);
|
11 | configureApplication(): void;
|
12 | }
|
13 | export interface IDbConnection {
|
14 | client: string;
|
15 | connection: any;
|
16 | useNullAsDefault?: boolean;
|
17 | }
|
18 | export interface IRoutingConfig {
|
19 | prefix: string;
|
20 | }
|
21 | export interface ITransportsConfig {
|
22 | Console: any;
|
23 | File: any;
|
24 | }
|
25 | export interface ILoggerConfig {
|
26 | transports: ITransportsConfig;
|
27 | }
|