routing-controllers
Version:
Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage for Express / Koa using TypeScript.
28 lines (27 loc) • 668 B
TypeScript
import { UseInterceptorMetadataArgs } from './args/UseInterceptorMetadataArgs';
/**
* "Use interceptor" metadata.
*/
export declare class InterceptorMetadata {
/**
* Object class of the interceptor class.
*/
target: Function;
/**
* Method used by this "use".
*/
method: string;
/**
* Interceptor class or function to be executed by this "use".
*/
interceptor: Function;
/**
* Indicates if this interceptor is global or not.
*/
global: boolean;
/**
* Interceptor priority. Used for global interceptors.
*/
priority: number;
constructor(args: UseInterceptorMetadataArgs);
}