routing-controllers
Version:
Create structured, declarative and beautifully organized class-based controllers with heavy decorators usage for Express / Koa using TypeScript.
15 lines • 475 B
JavaScript
/**
* "Use middleware" metadata.
*/
export class UseMetadata {
// -------------------------------------------------------------------------
// Constructor
// -------------------------------------------------------------------------
constructor(args) {
this.target = args.target;
this.method = args.method;
this.middleware = args.middleware;
this.afterAction = args.afterAction;
}
}
//# sourceMappingURL=UseMetadata.js.map