/** * 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; }