Initial commit - Event Planner application
This commit is contained in:
29
node_modules/@nestjs/common/interfaces/nest-application-options.interface.d.ts
generated
vendored
Normal file
29
node_modules/@nestjs/common/interfaces/nest-application-options.interface.d.ts
generated
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
import { CorsOptions, CorsOptionsDelegate } from './external/cors-options.interface';
|
||||
import { HttpsOptions } from './external/https-options.interface';
|
||||
import { NestApplicationContextOptions } from './nest-application-context-options.interface';
|
||||
/**
|
||||
* @publicApi
|
||||
*/
|
||||
export interface NestApplicationOptions extends NestApplicationContextOptions {
|
||||
/**
|
||||
* CORS options from [CORS package](https://github.com/expressjs/cors#configuration-options)
|
||||
*/
|
||||
cors?: boolean | CorsOptions | CorsOptionsDelegate<any>;
|
||||
/**
|
||||
* Whether to use underlying platform body parser.
|
||||
*/
|
||||
bodyParser?: boolean;
|
||||
/**
|
||||
* Set of configurable HTTPS options
|
||||
*/
|
||||
httpsOptions?: HttpsOptions;
|
||||
/**
|
||||
* Whether to register the raw request body on the request. Use `req.rawBody`.
|
||||
*/
|
||||
rawBody?: boolean;
|
||||
/**
|
||||
* Force close open HTTP connections. Useful if restarting your application hangs due to
|
||||
* keep-alive connections in the HTTP adapter.
|
||||
*/
|
||||
forceCloseConnections?: boolean;
|
||||
}
|
||||
Reference in New Issue
Block a user