1 | import { CorsOptions, CorsOptionsDelegate } from './external/cors-options.interface';
|
2 | import { HttpsOptions } from './external/https-options.interface';
|
3 | import { NestApplicationContextOptions } from './nest-application-context-options.interface';
|
4 | /**
|
5 | * @publicApi
|
6 | */
|
7 | export interface NestApplicationOptions extends NestApplicationContextOptions {
|
8 | /**
|
9 | * CORS options from [CORS package](https://github.com/expressjs/cors#configuration-options)
|
10 | */
|
11 | cors?: boolean | CorsOptions | CorsOptionsDelegate<any>;
|
12 | /**
|
13 | * Whether to use underlying platform body parser.
|
14 | */
|
15 | bodyParser?: boolean;
|
16 | /**
|
17 | * Set of configurable HTTPS options
|
18 | */
|
19 | httpsOptions?: HttpsOptions;
|
20 | }
|