1 | import { CustomParameterDecorator } from './CustomParameterDecorator';
|
2 | import { BaseDriver } from './driver/BaseDriver';
|
3 | import { MetadataArgsStorage } from './metadata-builder/MetadataArgsStorage';
|
4 | import { RoutingControllersOptions } from './RoutingControllersOptions';
|
5 | export * from './container';
|
6 | export * from './decorator/All';
|
7 | export * from './decorator/Authorized';
|
8 | export * from './decorator/Body';
|
9 | export * from './decorator/BodyParam';
|
10 | export * from './decorator/ContentType';
|
11 | export * from './decorator/Controller';
|
12 | export * from './decorator/CookieParam';
|
13 | export * from './decorator/CookieParams';
|
14 | export * from './decorator/Ctx';
|
15 | export * from './decorator/CurrentUser';
|
16 | export * from './decorator/Delete';
|
17 | export * from './decorator/Get';
|
18 | export * from './decorator/Head';
|
19 | export * from './decorator/Header';
|
20 | export * from './decorator/HeaderParam';
|
21 | export * from './decorator/HeaderParams';
|
22 | export * from './decorator/HttpCode';
|
23 | export * from './decorator/Interceptor';
|
24 | export * from './decorator/JsonController';
|
25 | export * from './decorator/Location';
|
26 | export * from './decorator/Method';
|
27 | export * from './decorator/Middleware';
|
28 | export * from './decorator/OnNull';
|
29 | export * from './decorator/OnUndefined';
|
30 | export * from './decorator/Param';
|
31 | export * from './decorator/Params';
|
32 | export * from './decorator/Patch';
|
33 | export * from './decorator/Post';
|
34 | export * from './decorator/Put';
|
35 | export * from './decorator/QueryParam';
|
36 | export * from './decorator/QueryParams';
|
37 | export * from './decorator/Redirect';
|
38 | export * from './decorator/Render';
|
39 | export * from './decorator/Req';
|
40 | export * from './decorator/Res';
|
41 | export * from './decorator/ResponseClassTransformOptions';
|
42 | export * from './decorator/Session';
|
43 | export * from './decorator/SessionParam';
|
44 | export * from './decorator/State';
|
45 | export * from './decorator/UploadedFile';
|
46 | export * from './decorator/UploadedFiles';
|
47 | export * from './decorator/UseAfter';
|
48 | export * from './decorator/UseBefore';
|
49 | export * from './decorator/UseInterceptor';
|
50 | export * from './decorator-options/BodyOptions';
|
51 | export * from './decorator-options/ParamOptions';
|
52 | export * from './decorator-options/UploadOptions';
|
53 | export * from './http-error/HttpError';
|
54 | export * from './http-error/InternalServerError';
|
55 | export * from './http-error/BadRequestError';
|
56 | export * from './http-error/ForbiddenError';
|
57 | export * from './http-error/NotAcceptableError';
|
58 | export * from './http-error/MethodNotAllowedError';
|
59 | export * from './http-error/NotFoundError';
|
60 | export * from './http-error/UnauthorizedError';
|
61 | export * from './http-error/UnprocessableEntityError';
|
62 | export * from './driver/express/ExpressMiddlewareInterface';
|
63 | export * from './driver/express/ExpressErrorMiddlewareInterface';
|
64 | export * from './driver/koa/KoaMiddlewareInterface';
|
65 | export * from './metadata-builder/MetadataArgsStorage';
|
66 | export * from './metadata/ActionMetadata';
|
67 | export * from './metadata/ControllerMetadata';
|
68 | export * from './metadata/InterceptorMetadata';
|
69 | export * from './metadata/MiddlewareMetadata';
|
70 | export * from './metadata/ParamMetadata';
|
71 | export * from './metadata/ResponseHandleMetadata';
|
72 | export * from './metadata/UseMetadata';
|
73 | export * from './RoutingControllersOptions';
|
74 | export * from './CustomParameterDecorator';
|
75 | export * from './RoleChecker';
|
76 | export * from './Action';
|
77 | export * from './InterceptorInterface';
|
78 | export * from './CurrentUserChecker';
|
79 | export * from './AuthorizationChecker';
|
80 | export * from './driver/BaseDriver';
|
81 | export * from './driver/express/ExpressDriver';
|
82 | export * from './driver/koa/KoaDriver';
|
83 |
|
84 |
|
85 |
|
86 |
|
87 | export declare function getMetadataArgsStorage(): MetadataArgsStorage;
|
88 |
|
89 |
|
90 |
|
91 | export declare function useExpressServer<T>(expressServer: T, options?: RoutingControllersOptions): T;
|
92 |
|
93 |
|
94 |
|
95 | export declare function createExpressServer(options?: RoutingControllersOptions): any;
|
96 |
|
97 |
|
98 |
|
99 | export declare function useKoaServer<T>(koaApp: T, options?: RoutingControllersOptions): T;
|
100 |
|
101 |
|
102 |
|
103 | export declare function createKoaServer(options?: RoutingControllersOptions): any;
|
104 |
|
105 |
|
106 |
|
107 | export declare function createServer<T extends BaseDriver>(driver: T, options?: RoutingControllersOptions): any;
|
108 |
|
109 |
|
110 |
|
111 | export declare function createExecutor<T extends BaseDriver>(driver: T, options?: RoutingControllersOptions): void;
|
112 |
|
113 |
|
114 |
|
115 | export declare function createParamDecorator(options: CustomParameterDecorator): (object: Object, method: string, index: number) => void;
|