UNPKG

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.

25 lines (21 loc) 480 B
/** * Metadata used to store registered middlewares. */ export interface MiddlewareMetadataArgs { /** * Object class of the middleware class. */ target: Function; /** * Indicates if this middleware is global, thous applied to all routes. */ global: boolean; /** * Execution priority of the middleware. */ priority: number; /** * Indicates if middleware must be executed after routing action is executed. */ type: 'before' | 'after'; }