1 | import { MiddlewareMetadataArgs } from './args/MiddlewareMetadataArgs';
|
2 | import { ExpressMiddlewareInterface } from '../driver/express/ExpressMiddlewareInterface';
|
3 | import { ExpressErrorMiddlewareInterface } from '../driver/express/ExpressErrorMiddlewareInterface';
|
4 | import { KoaMiddlewareInterface } from '../driver/koa/KoaMiddlewareInterface';
|
5 |
|
6 |
|
7 |
|
8 | export declare class MiddlewareMetadata {
|
9 | |
10 |
|
11 |
|
12 | global: boolean;
|
13 | |
14 |
|
15 |
|
16 | target: Function;
|
17 | |
18 |
|
19 |
|
20 | priority: number;
|
21 | |
22 |
|
23 |
|
24 | type: 'before' | 'after';
|
25 | constructor(args: MiddlewareMetadataArgs);
|
26 | /**
|
27 | * Gets middleware instance from the container.
|
28 | */
|
29 | get instance(): ExpressMiddlewareInterface | KoaMiddlewareInterface | ExpressErrorMiddlewareInterface;
|
30 | }
|