routing-controllers
Version:
Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage for Express / Koa using TypeScript.
18 lines (17 loc) • 385 B
TypeScript
/**
* Metadata used to store registered interceptor.
*/
export interface InterceptorMetadataArgs {
/**
* Object class of the interceptor class.
*/
target: Function;
/**
* Indicates if this interceptor is global, thous applied to all routes.
*/
global: boolean;
/**
* Execution priority of the interceptor.
*/
priority: number;
}