typenexus
Version:
TypeNexus is a good tool for API encapsulation and management. It provides a clean and lightweight way to package TypeORM functionality, helping you build applications faster while reducing template code redundancy and type conversion work.
24 lines (23 loc) • 543 B
TypeScript
import { UseMetadataArgs } from './args/UseMetadataArgs.js';
/**
* "Use middleware" metadata.
*/
export declare class UseMetadata {
/**
* Object class of the middleware class.
*/
target: Function;
/**
* Method used by this "use".
*/
method: string;
/**
* Middleware to be executed by this "use".
*/
middleware: Function;
/**
* Indicates if middleware must be executed after routing action is executed.
*/
afterAction: boolean;
constructor(args: UseMetadataArgs);
}