File size: 376 Bytes
cd6720a
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
import { RequestMethod } from '../../enums';
import { Type } from '../type.interface';
import { VersionValue } from '../version-options.interface';
export interface RouteInfo {
    path: string;
    method: RequestMethod;
    version?: VersionValue;
}
export interface MiddlewareConfiguration<T = any> {
    middleware: T;
    forRoutes: (Type<any> | string | RouteInfo)[];
}