├── .github ├── dependabot.yml ├── semantic.yml └── workflows │ ├── auto-approve-dependabot-workflow.yml │ ├── continuous-deployment-workflow.yml │ ├── continuous-integration-workflow.yml │ └── lock-closed-issues-workflow.yml ├── .gitignore ├── .prettierrc.yml ├── .vscode └── launch.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── codecov.yml ├── docs └── lang │ └── chinese │ └── README.md ├── eslint.config.mjs ├── jest.config.js ├── jest.setup.js ├── lang └── chinese │ └── README.md ├── package.json ├── sample ├── sample1-simple-controller │ ├── UserController.ts │ └── app.ts ├── sample11-complete-sample-express │ ├── app.ts │ └── modules │ │ ├── blog │ │ ├── controllers │ │ │ └── BlogController.ts │ │ └── middlewares │ │ │ ├── BlogErrorHandler.ts │ │ │ └── BlogMiddleware.ts │ │ ├── post │ │ ├── controllers │ │ │ └── PostController.ts │ │ └── middlewares │ │ │ ├── PostErrorHandler.ts │ │ │ └── PostMiddleware.ts │ │ └── question │ │ ├── controllers │ │ └── QuestionController.ts │ │ └── middlewares │ │ ├── QuestionErrorHandler.ts │ │ └── QuestionMiddleware.ts ├── sample12-session-support │ ├── UserController.ts │ └── app.ts ├── sample13-koa-views-render │ ├── BlogController.ts │ ├── app.ts │ └── blog.html ├── sample14-custom-decorator │ ├── QuestionController.ts │ ├── User.ts │ ├── UserFromSession.ts │ └── app.ts ├── sample15-authorized │ ├── QuestionController.ts │ └── app.ts ├── sample16-current-user │ ├── QuestionController.ts │ ├── User.ts │ └── app.ts ├── sample17-controllers-inheritance │ ├── app.ts │ ├── controllers │ │ ├── AbstractContollerTemplate.ts │ │ ├── ArticleController.ts │ │ ├── CategoryController.ts │ │ └── ProductController.ts │ ├── interface │ │ ├── IInstance.ts │ │ └── IPayload.ts │ └── repository │ │ └── MockedRepository.ts ├── sample2-controllers-from-directory │ ├── app.ts │ └── controllers │ │ ├── BlogController.ts │ │ └── PostController.ts ├── sample3-promise-support │ ├── BlogController.ts │ └── app.ts ├── sample4-extra-parameters │ ├── BlogController.ts │ └── app.ts ├── sample5-http-errors │ ├── BlogController.ts │ └── app.ts ├── sample6-global-middlewares │ ├── AllErrorsHandler.ts │ ├── BlogController.ts │ ├── CompressionMiddleware.ts │ ├── EndTimerMiddleware.ts │ ├── LoggerMiddleware.ts │ ├── StartTimerMiddleware.ts │ └── app.ts ├── sample7-parsed-models │ ├── Photo.ts │ ├── User.ts │ ├── UserController.ts │ ├── UserFilter.ts │ └── app.ts └── sample9-use-and-middlewares │ ├── AllControllerActionsMiddleware.ts │ ├── BlogController.ts │ ├── CompressionMiddleware.ts │ └── app.ts ├── src ├── Action.ts ├── ActionParameterHandler.ts ├── AuthorizationChecker.ts ├── CurrentUserChecker.ts ├── CustomParameterDecorator.ts ├── InterceptorInterface.ts ├── RoleChecker.ts ├── RoutingControllers.ts ├── RoutingControllersOptions.ts ├── container.ts ├── decorator-options │ ├── BodyOptions.ts │ ├── ControllerOptions.ts │ ├── HandlerOptions.ts │ ├── ParamOptions.ts │ └── UploadOptions.ts ├── decorator │ ├── All.ts │ ├── Authorized.ts │ ├── Body.ts │ ├── BodyParam.ts │ ├── ContentType.ts │ ├── Controller.ts │ ├── CookieParam.ts │ ├── CookieParams.ts │ ├── Ctx.ts │ ├── CurrentUser.ts │ ├── Delete.ts │ ├── Get.ts │ ├── Head.ts │ ├── Header.ts │ ├── HeaderParam.ts │ ├── HeaderParams.ts │ ├── HttpCode.ts │ ├── Interceptor.ts │ ├── JsonController.ts │ ├── Location.ts │ ├── Method.ts │ ├── Middleware.ts │ ├── OnNull.ts │ ├── OnUndefined.ts │ ├── Param.ts │ ├── Params.ts │ ├── Patch.ts │ ├── Post.ts │ ├── Put.ts │ ├── QueryParam.ts │ ├── QueryParams.ts │ ├── Redirect.ts │ ├── Render.ts │ ├── Req.ts │ ├── Res.ts │ ├── ResponseClassTransformOptions.ts │ ├── Session.ts │ ├── SessionParam.ts │ ├── State.ts │ ├── UploadedFile.ts │ ├── UploadedFiles.ts │ ├── UseAfter.ts │ ├── UseBefore.ts │ └── UseInterceptor.ts ├── driver │ ├── BaseDriver.ts │ ├── express │ │ ├── ExpressDriver.ts │ │ ├── ExpressErrorMiddlewareInterface.ts │ │ └── ExpressMiddlewareInterface.ts │ └── koa │ │ ├── KoaDriver.ts │ │ └── KoaMiddlewareInterface.ts ├── error │ ├── AccessDeniedError.ts │ ├── AuthorizationCheckerNotDefinedError.ts │ ├── AuthorizationRequiredError.ts │ ├── CurrentUserCheckerNotDefinedError.ts │ ├── ParamNormalizationError.ts │ ├── ParamRequiredError.ts │ └── ParameterParseJsonError.ts ├── http-error │ ├── BadRequestError.ts │ ├── ForbiddenError.ts │ ├── HttpError.ts │ ├── InternalServerError.ts │ ├── MethodNotAllowedError.ts │ ├── NotAcceptableError.ts │ ├── NotFoundError.ts │ ├── UnauthorizedError.ts │ └── UnprocessableEntityError.ts ├── index.ts ├── metadata-builder │ ├── MetadataArgsStorage.ts │ └── MetadataBuilder.ts ├── metadata │ ├── ActionMetadata.ts │ ├── ControllerMetadata.ts │ ├── InterceptorMetadata.ts │ ├── MiddlewareMetadata.ts │ ├── ParamMetadata.ts │ ├── ResponseHandleMetadata.ts │ ├── UseMetadata.ts │ ├── args │ │ ├── ActionMetadataArgs.ts │ │ ├── ControllerMetadataArgs.ts │ │ ├── ErrorHandlerMetadataArgs.ts │ │ ├── InterceptorMetadataArgs.ts │ │ ├── MiddlewareMetadataArgs.ts │ │ ├── ParamMetadataArgs.ts │ │ ├── ResponseHandleMetadataArgs.ts │ │ ├── UseInterceptorMetadataArgs.ts │ │ └── UseMetadataArgs.ts │ └── types │ │ ├── ActionType.ts │ │ ├── ParamType.ts │ │ └── ResponseHandlerType.ts └── util │ ├── container.ts │ ├── importClassesFromDirectories.ts │ ├── isPromiseLike.ts │ └── runInSequence.ts ├── test ├── ActionParameterHandler.spec.ts ├── fakes │ └── global-options │ │ ├── FakeService.ts │ │ ├── SessionMiddleware.ts │ │ ├── User.ts │ │ ├── express-middlewares │ │ ├── post │ │ │ └── PostMiddleware.ts │ │ └── question │ │ │ ├── QuestionErrorHandler.ts │ │ │ └── QuestionMiddleware.ts │ │ ├── first-controllers │ │ ├── post │ │ │ └── PostController.ts │ │ └── question │ │ │ ├── AnswerController.ts │ │ │ └── QuestionController.ts │ │ ├── koa-middlewares │ │ ├── FileMiddleware.ts │ │ ├── SetStateMiddleware.ts │ │ └── VideoMiddleware.ts │ │ └── second-controllers │ │ ├── PhotoController.ts │ │ └── VideoController.ts ├── functional │ ├── action-options.spec.ts │ ├── action-params.spec.ts │ ├── auth-decorator.spec.ts │ ├── class-transformer-options.spec.ts │ ├── class-validator-options.spec.ts │ ├── container.spec.ts │ ├── controller-base-routes.spec.ts │ ├── controller-methods.spec.ts │ ├── controller-options.spec.ts │ ├── defaults.spec.ts │ ├── error-subclasses.spec.ts │ ├── express-custom-error-handling.spec.ts │ ├── express-error-handling.spec.ts │ ├── express-global-before-error-handling.spec.ts │ ├── express-middlewares.spec.ts │ ├── express-render-decorator.spec.ts │ ├── global-options.spec.ts │ ├── interceptors.spec.ts │ ├── json-controller-methods.spec.ts │ ├── koa-render-decorator.spec.ts │ ├── koa-trailing-slash.spec.ts │ ├── load-from-directory.spec.ts │ ├── middlewares-order.spec.ts │ ├── other-controller-decorators.spec.ts │ ├── redirect-decorator.spec.ts │ └── special-result-send.spec.ts ├── resources │ ├── ejs-render-test-locals-spec.html │ ├── ejs-render-test-spec.html │ ├── render-test-locals-spec.html │ ├── render-test-spec.html │ └── sample-text-file.txt ├── unit │ └── controller-inheritance.spec.ts └── utilities │ └── axios.ts ├── tsconfig.json ├── tsconfig.prod.cjs.json ├── tsconfig.prod.esm2015.json ├── tsconfig.prod.json ├── tsconfig.prod.types.json └── tsconfig.spec.json /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/semantic.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/.github/semantic.yml -------------------------------------------------------------------------------- /.github/workflows/auto-approve-dependabot-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/.github/workflows/auto-approve-dependabot-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-deployment-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/.github/workflows/continuous-deployment-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/continuous-integration-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/.github/workflows/continuous-integration-workflow.yml -------------------------------------------------------------------------------- /.github/workflows/lock-closed-issues-workflow.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/.github/workflows/lock-closed-issues-workflow.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/.prettierrc.yml -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/codecov.yml -------------------------------------------------------------------------------- /docs/lang/chinese/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/docs/lang/chinese/README.md -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/jest.config.js -------------------------------------------------------------------------------- /jest.setup.js: -------------------------------------------------------------------------------- 1 | jest.setTimeout(30000); 2 | 3 | require("reflect-metadata"); -------------------------------------------------------------------------------- /lang/chinese/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/lang/chinese/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/package.json -------------------------------------------------------------------------------- /sample/sample1-simple-controller/UserController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample1-simple-controller/UserController.ts -------------------------------------------------------------------------------- /sample/sample1-simple-controller/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample1-simple-controller/app.ts -------------------------------------------------------------------------------- /sample/sample11-complete-sample-express/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample11-complete-sample-express/app.ts -------------------------------------------------------------------------------- /sample/sample11-complete-sample-express/modules/blog/controllers/BlogController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample11-complete-sample-express/modules/blog/controllers/BlogController.ts -------------------------------------------------------------------------------- /sample/sample11-complete-sample-express/modules/blog/middlewares/BlogErrorHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample11-complete-sample-express/modules/blog/middlewares/BlogErrorHandler.ts -------------------------------------------------------------------------------- /sample/sample11-complete-sample-express/modules/blog/middlewares/BlogMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample11-complete-sample-express/modules/blog/middlewares/BlogMiddleware.ts -------------------------------------------------------------------------------- /sample/sample11-complete-sample-express/modules/post/controllers/PostController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample11-complete-sample-express/modules/post/controllers/PostController.ts -------------------------------------------------------------------------------- /sample/sample11-complete-sample-express/modules/post/middlewares/PostErrorHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample11-complete-sample-express/modules/post/middlewares/PostErrorHandler.ts -------------------------------------------------------------------------------- /sample/sample11-complete-sample-express/modules/post/middlewares/PostMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample11-complete-sample-express/modules/post/middlewares/PostMiddleware.ts -------------------------------------------------------------------------------- /sample/sample11-complete-sample-express/modules/question/controllers/QuestionController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample11-complete-sample-express/modules/question/controllers/QuestionController.ts -------------------------------------------------------------------------------- /sample/sample11-complete-sample-express/modules/question/middlewares/QuestionErrorHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample11-complete-sample-express/modules/question/middlewares/QuestionErrorHandler.ts -------------------------------------------------------------------------------- /sample/sample11-complete-sample-express/modules/question/middlewares/QuestionMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample11-complete-sample-express/modules/question/middlewares/QuestionMiddleware.ts -------------------------------------------------------------------------------- /sample/sample12-session-support/UserController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample12-session-support/UserController.ts -------------------------------------------------------------------------------- /sample/sample12-session-support/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample12-session-support/app.ts -------------------------------------------------------------------------------- /sample/sample13-koa-views-render/BlogController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample13-koa-views-render/BlogController.ts -------------------------------------------------------------------------------- /sample/sample13-koa-views-render/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample13-koa-views-render/app.ts -------------------------------------------------------------------------------- /sample/sample13-koa-views-render/blog.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample13-koa-views-render/blog.html -------------------------------------------------------------------------------- /sample/sample14-custom-decorator/QuestionController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample14-custom-decorator/QuestionController.ts -------------------------------------------------------------------------------- /sample/sample14-custom-decorator/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample14-custom-decorator/User.ts -------------------------------------------------------------------------------- /sample/sample14-custom-decorator/UserFromSession.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample14-custom-decorator/UserFromSession.ts -------------------------------------------------------------------------------- /sample/sample14-custom-decorator/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample14-custom-decorator/app.ts -------------------------------------------------------------------------------- /sample/sample15-authorized/QuestionController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample15-authorized/QuestionController.ts -------------------------------------------------------------------------------- /sample/sample15-authorized/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample15-authorized/app.ts -------------------------------------------------------------------------------- /sample/sample16-current-user/QuestionController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample16-current-user/QuestionController.ts -------------------------------------------------------------------------------- /sample/sample16-current-user/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample16-current-user/User.ts -------------------------------------------------------------------------------- /sample/sample16-current-user/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample16-current-user/app.ts -------------------------------------------------------------------------------- /sample/sample17-controllers-inheritance/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample17-controllers-inheritance/app.ts -------------------------------------------------------------------------------- /sample/sample17-controllers-inheritance/controllers/AbstractContollerTemplate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample17-controllers-inheritance/controllers/AbstractContollerTemplate.ts -------------------------------------------------------------------------------- /sample/sample17-controllers-inheritance/controllers/ArticleController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample17-controllers-inheritance/controllers/ArticleController.ts -------------------------------------------------------------------------------- /sample/sample17-controllers-inheritance/controllers/CategoryController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample17-controllers-inheritance/controllers/CategoryController.ts -------------------------------------------------------------------------------- /sample/sample17-controllers-inheritance/controllers/ProductController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample17-controllers-inheritance/controllers/ProductController.ts -------------------------------------------------------------------------------- /sample/sample17-controllers-inheritance/interface/IInstance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample17-controllers-inheritance/interface/IInstance.ts -------------------------------------------------------------------------------- /sample/sample17-controllers-inheritance/interface/IPayload.ts: -------------------------------------------------------------------------------- 1 | export interface IPayload { 2 | id: number; 3 | } 4 | -------------------------------------------------------------------------------- /sample/sample17-controllers-inheritance/repository/MockedRepository.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample17-controllers-inheritance/repository/MockedRepository.ts -------------------------------------------------------------------------------- /sample/sample2-controllers-from-directory/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample2-controllers-from-directory/app.ts -------------------------------------------------------------------------------- /sample/sample2-controllers-from-directory/controllers/BlogController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample2-controllers-from-directory/controllers/BlogController.ts -------------------------------------------------------------------------------- /sample/sample2-controllers-from-directory/controllers/PostController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample2-controllers-from-directory/controllers/PostController.ts -------------------------------------------------------------------------------- /sample/sample3-promise-support/BlogController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample3-promise-support/BlogController.ts -------------------------------------------------------------------------------- /sample/sample3-promise-support/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample3-promise-support/app.ts -------------------------------------------------------------------------------- /sample/sample4-extra-parameters/BlogController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample4-extra-parameters/BlogController.ts -------------------------------------------------------------------------------- /sample/sample4-extra-parameters/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample4-extra-parameters/app.ts -------------------------------------------------------------------------------- /sample/sample5-http-errors/BlogController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample5-http-errors/BlogController.ts -------------------------------------------------------------------------------- /sample/sample5-http-errors/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample5-http-errors/app.ts -------------------------------------------------------------------------------- /sample/sample6-global-middlewares/AllErrorsHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample6-global-middlewares/AllErrorsHandler.ts -------------------------------------------------------------------------------- /sample/sample6-global-middlewares/BlogController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample6-global-middlewares/BlogController.ts -------------------------------------------------------------------------------- /sample/sample6-global-middlewares/CompressionMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample6-global-middlewares/CompressionMiddleware.ts -------------------------------------------------------------------------------- /sample/sample6-global-middlewares/EndTimerMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample6-global-middlewares/EndTimerMiddleware.ts -------------------------------------------------------------------------------- /sample/sample6-global-middlewares/LoggerMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample6-global-middlewares/LoggerMiddleware.ts -------------------------------------------------------------------------------- /sample/sample6-global-middlewares/StartTimerMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample6-global-middlewares/StartTimerMiddleware.ts -------------------------------------------------------------------------------- /sample/sample6-global-middlewares/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample6-global-middlewares/app.ts -------------------------------------------------------------------------------- /sample/sample7-parsed-models/Photo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample7-parsed-models/Photo.ts -------------------------------------------------------------------------------- /sample/sample7-parsed-models/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample7-parsed-models/User.ts -------------------------------------------------------------------------------- /sample/sample7-parsed-models/UserController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample7-parsed-models/UserController.ts -------------------------------------------------------------------------------- /sample/sample7-parsed-models/UserFilter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample7-parsed-models/UserFilter.ts -------------------------------------------------------------------------------- /sample/sample7-parsed-models/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample7-parsed-models/app.ts -------------------------------------------------------------------------------- /sample/sample9-use-and-middlewares/AllControllerActionsMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample9-use-and-middlewares/AllControllerActionsMiddleware.ts -------------------------------------------------------------------------------- /sample/sample9-use-and-middlewares/BlogController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample9-use-and-middlewares/BlogController.ts -------------------------------------------------------------------------------- /sample/sample9-use-and-middlewares/CompressionMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample9-use-and-middlewares/CompressionMiddleware.ts -------------------------------------------------------------------------------- /sample/sample9-use-and-middlewares/app.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/sample/sample9-use-and-middlewares/app.ts -------------------------------------------------------------------------------- /src/Action.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/Action.ts -------------------------------------------------------------------------------- /src/ActionParameterHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/ActionParameterHandler.ts -------------------------------------------------------------------------------- /src/AuthorizationChecker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/AuthorizationChecker.ts -------------------------------------------------------------------------------- /src/CurrentUserChecker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/CurrentUserChecker.ts -------------------------------------------------------------------------------- /src/CustomParameterDecorator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/CustomParameterDecorator.ts -------------------------------------------------------------------------------- /src/InterceptorInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/InterceptorInterface.ts -------------------------------------------------------------------------------- /src/RoleChecker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/RoleChecker.ts -------------------------------------------------------------------------------- /src/RoutingControllers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/RoutingControllers.ts -------------------------------------------------------------------------------- /src/RoutingControllersOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/RoutingControllersOptions.ts -------------------------------------------------------------------------------- /src/container.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/container.ts -------------------------------------------------------------------------------- /src/decorator-options/BodyOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator-options/BodyOptions.ts -------------------------------------------------------------------------------- /src/decorator-options/ControllerOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator-options/ControllerOptions.ts -------------------------------------------------------------------------------- /src/decorator-options/HandlerOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator-options/HandlerOptions.ts -------------------------------------------------------------------------------- /src/decorator-options/ParamOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator-options/ParamOptions.ts -------------------------------------------------------------------------------- /src/decorator-options/UploadOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator-options/UploadOptions.ts -------------------------------------------------------------------------------- /src/decorator/All.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/All.ts -------------------------------------------------------------------------------- /src/decorator/Authorized.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Authorized.ts -------------------------------------------------------------------------------- /src/decorator/Body.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Body.ts -------------------------------------------------------------------------------- /src/decorator/BodyParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/BodyParam.ts -------------------------------------------------------------------------------- /src/decorator/ContentType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/ContentType.ts -------------------------------------------------------------------------------- /src/decorator/Controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Controller.ts -------------------------------------------------------------------------------- /src/decorator/CookieParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/CookieParam.ts -------------------------------------------------------------------------------- /src/decorator/CookieParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/CookieParams.ts -------------------------------------------------------------------------------- /src/decorator/Ctx.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Ctx.ts -------------------------------------------------------------------------------- /src/decorator/CurrentUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/CurrentUser.ts -------------------------------------------------------------------------------- /src/decorator/Delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Delete.ts -------------------------------------------------------------------------------- /src/decorator/Get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Get.ts -------------------------------------------------------------------------------- /src/decorator/Head.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Head.ts -------------------------------------------------------------------------------- /src/decorator/Header.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Header.ts -------------------------------------------------------------------------------- /src/decorator/HeaderParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/HeaderParam.ts -------------------------------------------------------------------------------- /src/decorator/HeaderParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/HeaderParams.ts -------------------------------------------------------------------------------- /src/decorator/HttpCode.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/HttpCode.ts -------------------------------------------------------------------------------- /src/decorator/Interceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Interceptor.ts -------------------------------------------------------------------------------- /src/decorator/JsonController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/JsonController.ts -------------------------------------------------------------------------------- /src/decorator/Location.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Location.ts -------------------------------------------------------------------------------- /src/decorator/Method.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Method.ts -------------------------------------------------------------------------------- /src/decorator/Middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Middleware.ts -------------------------------------------------------------------------------- /src/decorator/OnNull.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/OnNull.ts -------------------------------------------------------------------------------- /src/decorator/OnUndefined.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/OnUndefined.ts -------------------------------------------------------------------------------- /src/decorator/Param.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Param.ts -------------------------------------------------------------------------------- /src/decorator/Params.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Params.ts -------------------------------------------------------------------------------- /src/decorator/Patch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Patch.ts -------------------------------------------------------------------------------- /src/decorator/Post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Post.ts -------------------------------------------------------------------------------- /src/decorator/Put.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Put.ts -------------------------------------------------------------------------------- /src/decorator/QueryParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/QueryParam.ts -------------------------------------------------------------------------------- /src/decorator/QueryParams.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/QueryParams.ts -------------------------------------------------------------------------------- /src/decorator/Redirect.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Redirect.ts -------------------------------------------------------------------------------- /src/decorator/Render.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Render.ts -------------------------------------------------------------------------------- /src/decorator/Req.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Req.ts -------------------------------------------------------------------------------- /src/decorator/Res.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Res.ts -------------------------------------------------------------------------------- /src/decorator/ResponseClassTransformOptions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/ResponseClassTransformOptions.ts -------------------------------------------------------------------------------- /src/decorator/Session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/Session.ts -------------------------------------------------------------------------------- /src/decorator/SessionParam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/SessionParam.ts -------------------------------------------------------------------------------- /src/decorator/State.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/State.ts -------------------------------------------------------------------------------- /src/decorator/UploadedFile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/UploadedFile.ts -------------------------------------------------------------------------------- /src/decorator/UploadedFiles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/UploadedFiles.ts -------------------------------------------------------------------------------- /src/decorator/UseAfter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/UseAfter.ts -------------------------------------------------------------------------------- /src/decorator/UseBefore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/UseBefore.ts -------------------------------------------------------------------------------- /src/decorator/UseInterceptor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/decorator/UseInterceptor.ts -------------------------------------------------------------------------------- /src/driver/BaseDriver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/driver/BaseDriver.ts -------------------------------------------------------------------------------- /src/driver/express/ExpressDriver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/driver/express/ExpressDriver.ts -------------------------------------------------------------------------------- /src/driver/express/ExpressErrorMiddlewareInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/driver/express/ExpressErrorMiddlewareInterface.ts -------------------------------------------------------------------------------- /src/driver/express/ExpressMiddlewareInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/driver/express/ExpressMiddlewareInterface.ts -------------------------------------------------------------------------------- /src/driver/koa/KoaDriver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/driver/koa/KoaDriver.ts -------------------------------------------------------------------------------- /src/driver/koa/KoaMiddlewareInterface.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/driver/koa/KoaMiddlewareInterface.ts -------------------------------------------------------------------------------- /src/error/AccessDeniedError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/error/AccessDeniedError.ts -------------------------------------------------------------------------------- /src/error/AuthorizationCheckerNotDefinedError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/error/AuthorizationCheckerNotDefinedError.ts -------------------------------------------------------------------------------- /src/error/AuthorizationRequiredError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/error/AuthorizationRequiredError.ts -------------------------------------------------------------------------------- /src/error/CurrentUserCheckerNotDefinedError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/error/CurrentUserCheckerNotDefinedError.ts -------------------------------------------------------------------------------- /src/error/ParamNormalizationError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/error/ParamNormalizationError.ts -------------------------------------------------------------------------------- /src/error/ParamRequiredError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/error/ParamRequiredError.ts -------------------------------------------------------------------------------- /src/error/ParameterParseJsonError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/error/ParameterParseJsonError.ts -------------------------------------------------------------------------------- /src/http-error/BadRequestError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/http-error/BadRequestError.ts -------------------------------------------------------------------------------- /src/http-error/ForbiddenError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/http-error/ForbiddenError.ts -------------------------------------------------------------------------------- /src/http-error/HttpError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/http-error/HttpError.ts -------------------------------------------------------------------------------- /src/http-error/InternalServerError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/http-error/InternalServerError.ts -------------------------------------------------------------------------------- /src/http-error/MethodNotAllowedError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/http-error/MethodNotAllowedError.ts -------------------------------------------------------------------------------- /src/http-error/NotAcceptableError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/http-error/NotAcceptableError.ts -------------------------------------------------------------------------------- /src/http-error/NotFoundError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/http-error/NotFoundError.ts -------------------------------------------------------------------------------- /src/http-error/UnauthorizedError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/http-error/UnauthorizedError.ts -------------------------------------------------------------------------------- /src/http-error/UnprocessableEntityError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/http-error/UnprocessableEntityError.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/metadata-builder/MetadataArgsStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata-builder/MetadataArgsStorage.ts -------------------------------------------------------------------------------- /src/metadata-builder/MetadataBuilder.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata-builder/MetadataBuilder.ts -------------------------------------------------------------------------------- /src/metadata/ActionMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/ActionMetadata.ts -------------------------------------------------------------------------------- /src/metadata/ControllerMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/ControllerMetadata.ts -------------------------------------------------------------------------------- /src/metadata/InterceptorMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/InterceptorMetadata.ts -------------------------------------------------------------------------------- /src/metadata/MiddlewareMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/MiddlewareMetadata.ts -------------------------------------------------------------------------------- /src/metadata/ParamMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/ParamMetadata.ts -------------------------------------------------------------------------------- /src/metadata/ResponseHandleMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/ResponseHandleMetadata.ts -------------------------------------------------------------------------------- /src/metadata/UseMetadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/UseMetadata.ts -------------------------------------------------------------------------------- /src/metadata/args/ActionMetadataArgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/args/ActionMetadataArgs.ts -------------------------------------------------------------------------------- /src/metadata/args/ControllerMetadataArgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/args/ControllerMetadataArgs.ts -------------------------------------------------------------------------------- /src/metadata/args/ErrorHandlerMetadataArgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/args/ErrorHandlerMetadataArgs.ts -------------------------------------------------------------------------------- /src/metadata/args/InterceptorMetadataArgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/args/InterceptorMetadataArgs.ts -------------------------------------------------------------------------------- /src/metadata/args/MiddlewareMetadataArgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/args/MiddlewareMetadataArgs.ts -------------------------------------------------------------------------------- /src/metadata/args/ParamMetadataArgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/args/ParamMetadataArgs.ts -------------------------------------------------------------------------------- /src/metadata/args/ResponseHandleMetadataArgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/args/ResponseHandleMetadataArgs.ts -------------------------------------------------------------------------------- /src/metadata/args/UseInterceptorMetadataArgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/args/UseInterceptorMetadataArgs.ts -------------------------------------------------------------------------------- /src/metadata/args/UseMetadataArgs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/args/UseMetadataArgs.ts -------------------------------------------------------------------------------- /src/metadata/types/ActionType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/types/ActionType.ts -------------------------------------------------------------------------------- /src/metadata/types/ParamType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/types/ParamType.ts -------------------------------------------------------------------------------- /src/metadata/types/ResponseHandlerType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/metadata/types/ResponseHandlerType.ts -------------------------------------------------------------------------------- /src/util/container.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/util/container.ts -------------------------------------------------------------------------------- /src/util/importClassesFromDirectories.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/util/importClassesFromDirectories.ts -------------------------------------------------------------------------------- /src/util/isPromiseLike.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/util/isPromiseLike.ts -------------------------------------------------------------------------------- /src/util/runInSequence.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/src/util/runInSequence.ts -------------------------------------------------------------------------------- /test/ActionParameterHandler.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/ActionParameterHandler.spec.ts -------------------------------------------------------------------------------- /test/fakes/global-options/FakeService.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/FakeService.ts -------------------------------------------------------------------------------- /test/fakes/global-options/SessionMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/SessionMiddleware.ts -------------------------------------------------------------------------------- /test/fakes/global-options/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/User.ts -------------------------------------------------------------------------------- /test/fakes/global-options/express-middlewares/post/PostMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/express-middlewares/post/PostMiddleware.ts -------------------------------------------------------------------------------- /test/fakes/global-options/express-middlewares/question/QuestionErrorHandler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/express-middlewares/question/QuestionErrorHandler.ts -------------------------------------------------------------------------------- /test/fakes/global-options/express-middlewares/question/QuestionMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/express-middlewares/question/QuestionMiddleware.ts -------------------------------------------------------------------------------- /test/fakes/global-options/first-controllers/post/PostController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/first-controllers/post/PostController.ts -------------------------------------------------------------------------------- /test/fakes/global-options/first-controllers/question/AnswerController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/first-controllers/question/AnswerController.ts -------------------------------------------------------------------------------- /test/fakes/global-options/first-controllers/question/QuestionController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/first-controllers/question/QuestionController.ts -------------------------------------------------------------------------------- /test/fakes/global-options/koa-middlewares/FileMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/koa-middlewares/FileMiddleware.ts -------------------------------------------------------------------------------- /test/fakes/global-options/koa-middlewares/SetStateMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/koa-middlewares/SetStateMiddleware.ts -------------------------------------------------------------------------------- /test/fakes/global-options/koa-middlewares/VideoMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/koa-middlewares/VideoMiddleware.ts -------------------------------------------------------------------------------- /test/fakes/global-options/second-controllers/PhotoController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/second-controllers/PhotoController.ts -------------------------------------------------------------------------------- /test/fakes/global-options/second-controllers/VideoController.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/fakes/global-options/second-controllers/VideoController.ts -------------------------------------------------------------------------------- /test/functional/action-options.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/action-options.spec.ts -------------------------------------------------------------------------------- /test/functional/action-params.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/action-params.spec.ts -------------------------------------------------------------------------------- /test/functional/auth-decorator.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/auth-decorator.spec.ts -------------------------------------------------------------------------------- /test/functional/class-transformer-options.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/class-transformer-options.spec.ts -------------------------------------------------------------------------------- /test/functional/class-validator-options.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/class-validator-options.spec.ts -------------------------------------------------------------------------------- /test/functional/container.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/container.spec.ts -------------------------------------------------------------------------------- /test/functional/controller-base-routes.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/controller-base-routes.spec.ts -------------------------------------------------------------------------------- /test/functional/controller-methods.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/controller-methods.spec.ts -------------------------------------------------------------------------------- /test/functional/controller-options.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/controller-options.spec.ts -------------------------------------------------------------------------------- /test/functional/defaults.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/defaults.spec.ts -------------------------------------------------------------------------------- /test/functional/error-subclasses.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/error-subclasses.spec.ts -------------------------------------------------------------------------------- /test/functional/express-custom-error-handling.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/express-custom-error-handling.spec.ts -------------------------------------------------------------------------------- /test/functional/express-error-handling.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/express-error-handling.spec.ts -------------------------------------------------------------------------------- /test/functional/express-global-before-error-handling.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/express-global-before-error-handling.spec.ts -------------------------------------------------------------------------------- /test/functional/express-middlewares.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/express-middlewares.spec.ts -------------------------------------------------------------------------------- /test/functional/express-render-decorator.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/express-render-decorator.spec.ts -------------------------------------------------------------------------------- /test/functional/global-options.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/global-options.spec.ts -------------------------------------------------------------------------------- /test/functional/interceptors.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/interceptors.spec.ts -------------------------------------------------------------------------------- /test/functional/json-controller-methods.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/json-controller-methods.spec.ts -------------------------------------------------------------------------------- /test/functional/koa-render-decorator.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/koa-render-decorator.spec.ts -------------------------------------------------------------------------------- /test/functional/koa-trailing-slash.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/koa-trailing-slash.spec.ts -------------------------------------------------------------------------------- /test/functional/load-from-directory.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/load-from-directory.spec.ts -------------------------------------------------------------------------------- /test/functional/middlewares-order.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/middlewares-order.spec.ts -------------------------------------------------------------------------------- /test/functional/other-controller-decorators.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/other-controller-decorators.spec.ts -------------------------------------------------------------------------------- /test/functional/redirect-decorator.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/redirect-decorator.spec.ts -------------------------------------------------------------------------------- /test/functional/special-result-send.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/functional/special-result-send.spec.ts -------------------------------------------------------------------------------- /test/resources/ejs-render-test-locals-spec.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/resources/ejs-render-test-locals-spec.html -------------------------------------------------------------------------------- /test/resources/ejs-render-test-spec.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/resources/ejs-render-test-spec.html -------------------------------------------------------------------------------- /test/resources/render-test-locals-spec.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/resources/render-test-locals-spec.html -------------------------------------------------------------------------------- /test/resources/render-test-spec.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/resources/render-test-spec.html -------------------------------------------------------------------------------- /test/resources/sample-text-file.txt: -------------------------------------------------------------------------------- 1 | Hello World! -------------------------------------------------------------------------------- /test/unit/controller-inheritance.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/unit/controller-inheritance.spec.ts -------------------------------------------------------------------------------- /test/utilities/axios.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/test/utilities/axios.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.prod.cjs.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/tsconfig.prod.cjs.json -------------------------------------------------------------------------------- /tsconfig.prod.esm2015.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/tsconfig.prod.esm2015.json -------------------------------------------------------------------------------- /tsconfig.prod.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/tsconfig.prod.json -------------------------------------------------------------------------------- /tsconfig.prod.types.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/tsconfig.prod.types.json -------------------------------------------------------------------------------- /tsconfig.spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/typestack/routing-controllers/HEAD/tsconfig.spec.json --------------------------------------------------------------------------------