Initial commit - Event Planner application
This commit is contained in:
24
node_modules/@nestjs/common/interfaces/middleware/middleware-config-proxy.interface.d.ts
generated
vendored
Normal file
24
node_modules/@nestjs/common/interfaces/middleware/middleware-config-proxy.interface.d.ts
generated
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
import { Type } from '../type.interface';
|
||||
import { RouteInfo } from './middleware-configuration.interface';
|
||||
import { MiddlewareConsumer } from './middleware-consumer.interface';
|
||||
/**
|
||||
* @publicApi
|
||||
*/
|
||||
export interface MiddlewareConfigProxy {
|
||||
/**
|
||||
* Routes to exclude from the current middleware.
|
||||
*
|
||||
* @param {(string | RouteInfo)[]} routes
|
||||
* @returns {MiddlewareConfigProxy}
|
||||
*/
|
||||
exclude(...routes: (string | RouteInfo)[]): MiddlewareConfigProxy;
|
||||
/**
|
||||
* Attaches either routes or controllers to the current middleware.
|
||||
* If you pass a controller class, Nest will attach the current middleware to every path
|
||||
* defined within it.
|
||||
*
|
||||
* @param {(string | Type | RouteInfo)[]} routes
|
||||
* @returns {MiddlewareConsumer}
|
||||
*/
|
||||
forRoutes(...routes: (string | Type<any> | RouteInfo)[]): MiddlewareConsumer;
|
||||
}
|
||||
Reference in New Issue
Block a user