@inversifyjs/http-core 1.0.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (548) hide show
  1. package/CHANGELOG.md +93 -0
  2. package/README.md +1 -1
  3. package/lib/cjs/error/models/InversifyHttpAdapterError.d.ts +7 -1
  4. package/lib/cjs/error/models/InversifyHttpAdapterError.d.ts.map +1 -1
  5. package/lib/cjs/error/models/InversifyHttpAdapterError.js +3 -1
  6. package/lib/cjs/error/models/InversifyHttpAdapterError.js.map +1 -1
  7. package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.d.ts +3 -2
  8. package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.d.ts.map +1 -1
  9. package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.js +3 -2
  10. package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.js.map +1 -1
  11. package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.d.ts +4 -0
  12. package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.d.ts.map +1 -0
  13. package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.js +14 -0
  14. package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.js.map +1 -0
  15. package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.spec.d.ts +2 -0
  16. package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.spec.d.ts.map +1 -0
  17. package/lib/cjs/http/adapter/InversifyHttpAdapter.d.ts +30 -15
  18. package/lib/cjs/http/adapter/InversifyHttpAdapter.d.ts.map +1 -1
  19. package/lib/cjs/http/adapter/InversifyHttpAdapter.js +273 -84
  20. package/lib/cjs/http/adapter/InversifyHttpAdapter.js.map +1 -1
  21. package/lib/cjs/http/calculations/buildInterceptedHandler.d.ts +7 -0
  22. package/lib/cjs/http/calculations/buildInterceptedHandler.d.ts.map +1 -0
  23. package/lib/cjs/http/calculations/buildInterceptedHandler.js +57 -0
  24. package/lib/cjs/http/calculations/buildInterceptedHandler.js.map +1 -0
  25. package/lib/cjs/http/calculations/buildInterceptedHandler.spec.d.ts +2 -0
  26. package/lib/cjs/http/calculations/buildInterceptedHandler.spec.d.ts.map +1 -0
  27. package/lib/cjs/http/calculations/buildNormalizedPath.d.ts +2 -0
  28. package/lib/cjs/http/calculations/buildNormalizedPath.d.ts.map +1 -0
  29. package/lib/cjs/http/calculations/buildNormalizedPath.js +10 -0
  30. package/lib/cjs/http/calculations/buildNormalizedPath.js.map +1 -0
  31. package/lib/cjs/http/calculations/buildNormalizedPath.spec.d.ts +2 -0
  32. package/lib/cjs/http/calculations/buildNormalizedPath.spec.d.ts.map +1 -0
  33. package/lib/cjs/http/calculations/buildRouteParameterDecorator.d.ts +7 -0
  34. package/lib/cjs/http/calculations/buildRouteParameterDecorator.d.ts.map +1 -0
  35. package/lib/cjs/http/calculations/buildRouteParameterDecorator.js +29 -0
  36. package/lib/cjs/http/calculations/buildRouteParameterDecorator.js.map +1 -0
  37. package/lib/cjs/http/calculations/buildRouteParameterDecorator.spec.d.ts +2 -0
  38. package/lib/cjs/http/calculations/buildRouteParameterDecorator.spec.d.ts.map +1 -0
  39. package/lib/cjs/http/calculations/buildSetHeaderMetadata.d.ts +2 -0
  40. package/lib/cjs/http/calculations/buildSetHeaderMetadata.d.ts.map +1 -0
  41. package/lib/cjs/http/calculations/buildSetHeaderMetadata.js +17 -0
  42. package/lib/cjs/http/calculations/buildSetHeaderMetadata.js.map +1 -0
  43. package/lib/cjs/http/calculations/buildSetHeaderMetadata.spec.d.ts +2 -0
  44. package/lib/cjs/http/calculations/buildSetHeaderMetadata.spec.d.ts.map +1 -0
  45. package/lib/cjs/http/calculations/createCustomParameterDecorator.d.ts +5 -0
  46. package/lib/cjs/http/calculations/createCustomParameterDecorator.d.ts.map +1 -0
  47. package/lib/cjs/http/calculations/createCustomParameterDecorator.js +9 -0
  48. package/lib/cjs/http/calculations/createCustomParameterDecorator.js.map +1 -0
  49. package/lib/cjs/http/calculations/createCustomParameterDecorator.spec.d.ts +2 -0
  50. package/lib/cjs/http/calculations/createCustomParameterDecorator.spec.d.ts.map +1 -0
  51. package/lib/cjs/http/{decorators/RequestMethod.d.ts → calculations/requestMethod.d.ts} +1 -1
  52. package/lib/cjs/http/calculations/requestMethod.d.ts.map +1 -0
  53. package/lib/cjs/http/calculations/requestMethod.js +17 -0
  54. package/lib/cjs/http/calculations/requestMethod.js.map +1 -0
  55. package/lib/cjs/http/calculations/requestMethod.spec.d.ts +2 -0
  56. package/lib/cjs/http/calculations/requestMethod.spec.d.ts.map +1 -0
  57. package/lib/cjs/http/calculations/requestParam.d.ts +3 -0
  58. package/lib/cjs/http/calculations/requestParam.d.ts.map +1 -0
  59. package/lib/cjs/http/calculations/requestParam.js +24 -0
  60. package/lib/cjs/http/calculations/requestParam.js.map +1 -0
  61. package/lib/cjs/http/calculations/requestParam.spec.d.ts +2 -0
  62. package/lib/cjs/http/calculations/requestParam.spec.d.ts.map +1 -0
  63. package/lib/cjs/http/decorators/All.d.ts +1 -1
  64. package/lib/cjs/http/decorators/All.d.ts.map +1 -1
  65. package/lib/cjs/http/decorators/All.js +5 -4
  66. package/lib/cjs/http/decorators/All.js.map +1 -1
  67. package/lib/cjs/http/decorators/Body.d.ts +4 -1
  68. package/lib/cjs/http/decorators/Body.d.ts.map +1 -1
  69. package/lib/cjs/http/decorators/Body.js +5 -4
  70. package/lib/cjs/http/decorators/Body.js.map +1 -1
  71. package/lib/cjs/http/decorators/Controller.d.ts +1 -1
  72. package/lib/cjs/http/decorators/Controller.d.ts.map +1 -1
  73. package/lib/cjs/http/decorators/Controller.js +16 -13
  74. package/lib/cjs/http/decorators/Controller.js.map +1 -1
  75. package/lib/cjs/http/decorators/Cookies.d.ts +4 -1
  76. package/lib/cjs/http/decorators/Cookies.d.ts.map +1 -1
  77. package/lib/cjs/http/decorators/Cookies.js +5 -4
  78. package/lib/cjs/http/decorators/Cookies.js.map +1 -1
  79. package/lib/cjs/http/decorators/Delete.d.ts +1 -1
  80. package/lib/cjs/http/decorators/Delete.d.ts.map +1 -1
  81. package/lib/cjs/http/decorators/Delete.js +5 -4
  82. package/lib/cjs/http/decorators/Delete.js.map +1 -1
  83. package/lib/cjs/http/decorators/Get.d.ts +1 -1
  84. package/lib/cjs/http/decorators/Get.d.ts.map +1 -1
  85. package/lib/cjs/http/decorators/Get.js +5 -4
  86. package/lib/cjs/http/decorators/Get.js.map +1 -1
  87. package/lib/cjs/http/decorators/Head.d.ts +1 -1
  88. package/lib/cjs/http/decorators/Head.d.ts.map +1 -1
  89. package/lib/cjs/http/decorators/Head.js +5 -4
  90. package/lib/cjs/http/decorators/Head.js.map +1 -1
  91. package/lib/cjs/http/decorators/Headers.d.ts +4 -1
  92. package/lib/cjs/http/decorators/Headers.d.ts.map +1 -1
  93. package/lib/cjs/http/decorators/Headers.js +5 -4
  94. package/lib/cjs/http/decorators/Headers.js.map +1 -1
  95. package/lib/cjs/http/decorators/Next.d.ts +1 -1
  96. package/lib/cjs/http/decorators/Next.d.ts.map +1 -1
  97. package/lib/cjs/http/decorators/Next.js +5 -4
  98. package/lib/cjs/http/decorators/Next.js.map +1 -1
  99. package/lib/cjs/http/decorators/Options.d.ts +1 -1
  100. package/lib/cjs/http/decorators/Options.d.ts.map +1 -1
  101. package/lib/cjs/http/decorators/Options.js +5 -4
  102. package/lib/cjs/http/decorators/Options.js.map +1 -1
  103. package/lib/cjs/http/decorators/Params.d.ts +4 -1
  104. package/lib/cjs/http/decorators/Params.d.ts.map +1 -1
  105. package/lib/cjs/http/decorators/Params.js +5 -4
  106. package/lib/cjs/http/decorators/Params.js.map +1 -1
  107. package/lib/cjs/http/decorators/Patch.d.ts +1 -1
  108. package/lib/cjs/http/decorators/Patch.d.ts.map +1 -1
  109. package/lib/cjs/http/decorators/Patch.js +5 -4
  110. package/lib/cjs/http/decorators/Patch.js.map +1 -1
  111. package/lib/cjs/http/decorators/Post.d.ts +1 -1
  112. package/lib/cjs/http/decorators/Post.d.ts.map +1 -1
  113. package/lib/cjs/http/decorators/Post.js +5 -4
  114. package/lib/cjs/http/decorators/Post.js.map +1 -1
  115. package/lib/cjs/http/decorators/Put.d.ts +1 -1
  116. package/lib/cjs/http/decorators/Put.d.ts.map +1 -1
  117. package/lib/cjs/http/decorators/Put.js +5 -4
  118. package/lib/cjs/http/decorators/Put.js.map +1 -1
  119. package/lib/cjs/http/decorators/Query.d.ts +4 -1
  120. package/lib/cjs/http/decorators/Query.d.ts.map +1 -1
  121. package/lib/cjs/http/decorators/Query.js +5 -4
  122. package/lib/cjs/http/decorators/Query.js.map +1 -1
  123. package/lib/cjs/http/decorators/Request.d.ts +3 -1
  124. package/lib/cjs/http/decorators/Request.d.ts.map +1 -1
  125. package/lib/cjs/http/decorators/Request.js +5 -4
  126. package/lib/cjs/http/decorators/Request.js.map +1 -1
  127. package/lib/cjs/http/decorators/Response.d.ts +3 -1
  128. package/lib/cjs/http/decorators/Response.d.ts.map +1 -1
  129. package/lib/cjs/http/decorators/Response.js +5 -4
  130. package/lib/cjs/http/decorators/Response.js.map +1 -1
  131. package/lib/cjs/http/decorators/SetHeader.d.ts +2 -0
  132. package/lib/cjs/http/decorators/SetHeader.d.ts.map +1 -0
  133. package/lib/cjs/http/decorators/SetHeader.js +13 -0
  134. package/lib/cjs/http/decorators/SetHeader.js.map +1 -0
  135. package/lib/cjs/http/decorators/SetHeader.spec.d.ts +2 -0
  136. package/lib/cjs/http/decorators/SetHeader.spec.d.ts.map +1 -0
  137. package/lib/cjs/http/decorators/StatusCode.d.ts +2 -2
  138. package/lib/cjs/http/decorators/StatusCode.d.ts.map +1 -1
  139. package/lib/cjs/http/decorators/StatusCode.js +5 -4
  140. package/lib/cjs/http/decorators/StatusCode.js.map +1 -1
  141. package/lib/cjs/http/models/ControllerOptions.d.ts +3 -1
  142. package/lib/cjs/http/models/ControllerOptions.d.ts.map +1 -1
  143. package/lib/cjs/http/models/ControllerResponse.d.ts +3 -2
  144. package/lib/cjs/http/models/ControllerResponse.d.ts.map +1 -1
  145. package/lib/cjs/http/models/CustomParameterDecoratorHandler.d.ts +2 -0
  146. package/lib/cjs/http/models/CustomParameterDecoratorHandler.d.ts.map +1 -0
  147. package/lib/cjs/http/models/CustomParameterDecoratorHandler.js +3 -0
  148. package/lib/cjs/http/models/CustomParameterDecoratorHandler.js.map +1 -0
  149. package/lib/cjs/http/models/HttpAdapterOptions.d.ts +5 -0
  150. package/lib/cjs/http/models/HttpAdapterOptions.d.ts.map +1 -0
  151. package/lib/cjs/http/models/HttpAdapterOptions.js +3 -0
  152. package/lib/cjs/http/models/HttpAdapterOptions.js.map +1 -0
  153. package/lib/cjs/http/models/HttpStatusCode.d.ts.map +1 -0
  154. package/lib/cjs/http/models/HttpStatusCode.js.map +1 -0
  155. package/lib/cjs/http/models/MiddlewareHandler.d.ts +2 -0
  156. package/lib/cjs/http/models/MiddlewareHandler.d.ts.map +1 -0
  157. package/lib/cjs/http/models/MiddlewareHandler.js +3 -0
  158. package/lib/cjs/http/models/MiddlewareHandler.js.map +1 -0
  159. package/lib/cjs/http/models/RequestHandler.d.ts +1 -1
  160. package/lib/cjs/http/models/RequestHandler.d.ts.map +1 -1
  161. package/lib/cjs/http/models/RequestMethodParameterType.d.ts +9 -8
  162. package/lib/cjs/http/models/RequestMethodParameterType.d.ts.map +1 -1
  163. package/lib/cjs/http/models/RequestMethodParameterType.js +9 -8
  164. package/lib/cjs/http/models/RequestMethodParameterType.js.map +1 -1
  165. package/lib/cjs/http/models/RequestMethodType.d.ts +8 -8
  166. package/lib/cjs/http/models/RequestMethodType.d.ts.map +1 -1
  167. package/lib/cjs/http/models/RequestMethodType.js +8 -8
  168. package/lib/cjs/http/models/RequestMethodType.js.map +1 -1
  169. package/lib/cjs/http/models/RequiredOptions.d.ts +4 -0
  170. package/lib/cjs/http/models/RequiredOptions.d.ts.map +1 -0
  171. package/lib/cjs/http/models/RequiredOptions.js +3 -0
  172. package/lib/cjs/http/models/RequiredOptions.js.map +1 -0
  173. package/lib/cjs/http/models/RouteParamOptions.d.ts +4 -0
  174. package/lib/cjs/http/models/RouteParamOptions.d.ts.map +1 -0
  175. package/lib/cjs/http/models/RouteParamOptions.js +3 -0
  176. package/lib/cjs/http/models/RouteParamOptions.js.map +1 -0
  177. package/lib/cjs/http/models/RouteParams.d.ts +12 -0
  178. package/lib/cjs/http/models/RouteParams.d.ts.map +1 -0
  179. package/lib/cjs/http/models/{Middleware.js → RouteParams.js} +1 -1
  180. package/lib/cjs/http/models/RouteParams.js.map +1 -0
  181. package/lib/cjs/http/models/RouterParams.d.ts +3 -6
  182. package/lib/cjs/http/models/RouterParams.d.ts.map +1 -1
  183. package/lib/cjs/httpResponse/calculations/isHttpResponse.d.ts +3 -0
  184. package/lib/cjs/httpResponse/calculations/isHttpResponse.d.ts.map +1 -0
  185. package/lib/cjs/httpResponse/calculations/isHttpResponse.js +10 -0
  186. package/lib/cjs/httpResponse/calculations/isHttpResponse.js.map +1 -0
  187. package/lib/cjs/httpResponse/calculations/isHttpResponse.spec.d.ts +2 -0
  188. package/lib/cjs/httpResponse/calculations/isHttpResponse.spec.d.ts.map +1 -0
  189. package/lib/cjs/httpResponse/models/AcceptedHttpResponse.d.ts +5 -0
  190. package/lib/cjs/httpResponse/models/AcceptedHttpResponse.d.ts.map +1 -0
  191. package/lib/cjs/{http/responses/success → httpResponse/models}/AcceptedHttpResponse.js +3 -3
  192. package/lib/cjs/httpResponse/models/AcceptedHttpResponse.js.map +1 -0
  193. package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.d.ts +5 -0
  194. package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.d.ts.map +1 -0
  195. package/lib/cjs/{http/responses/success → httpResponse/models}/AlreadyReportedHttpResponse.js +3 -3
  196. package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.js.map +1 -0
  197. package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.d.ts +5 -0
  198. package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.d.ts.map +1 -0
  199. package/lib/cjs/{http/responses/error → httpResponse/models}/BadGatewayHttpResponse.js +3 -3
  200. package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.js.map +1 -0
  201. package/lib/cjs/httpResponse/models/BadRequestHttpResponse.d.ts +5 -0
  202. package/lib/cjs/httpResponse/models/BadRequestHttpResponse.d.ts.map +1 -0
  203. package/lib/cjs/{http/responses/error → httpResponse/models}/BadRequestHttpResponse.js +3 -3
  204. package/lib/cjs/httpResponse/models/BadRequestHttpResponse.js.map +1 -0
  205. package/lib/cjs/httpResponse/models/ConflictHttpResponse.d.ts +5 -0
  206. package/lib/cjs/httpResponse/models/ConflictHttpResponse.d.ts.map +1 -0
  207. package/lib/cjs/{http/responses/error → httpResponse/models}/ConflictHttpResponse.js +3 -3
  208. package/lib/cjs/httpResponse/models/ConflictHttpResponse.js.map +1 -0
  209. package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.d.ts +5 -0
  210. package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.d.ts.map +1 -0
  211. package/lib/cjs/{http/responses/success → httpResponse/models}/ContentDifferentHttpResponse.js +3 -3
  212. package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.js.map +1 -0
  213. package/lib/cjs/httpResponse/models/CreatedHttpResponse.d.ts +5 -0
  214. package/lib/cjs/httpResponse/models/CreatedHttpResponse.d.ts.map +1 -0
  215. package/lib/cjs/{http/responses/success → httpResponse/models}/CreatedHttpResponse.js +3 -3
  216. package/lib/cjs/httpResponse/models/CreatedHttpResponse.js.map +1 -0
  217. package/lib/cjs/httpResponse/models/ErrorHttpResponse.d.ts +14 -0
  218. package/lib/cjs/httpResponse/models/ErrorHttpResponse.d.ts.map +1 -0
  219. package/lib/cjs/httpResponse/models/ErrorHttpResponse.js +25 -0
  220. package/lib/cjs/httpResponse/models/ErrorHttpResponse.js.map +1 -0
  221. package/lib/cjs/httpResponse/models/ErrorHttpResponse.spec.d.ts +2 -0
  222. package/lib/cjs/httpResponse/models/ErrorHttpResponse.spec.d.ts.map +1 -0
  223. package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.d.ts +5 -0
  224. package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.d.ts.map +1 -0
  225. package/lib/cjs/{http/responses/error → httpResponse/models}/ForbiddenHttpResponse.js +3 -3
  226. package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.js.map +1 -0
  227. package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.d.ts +5 -0
  228. package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.d.ts.map +1 -0
  229. package/lib/cjs/{http/responses/error → httpResponse/models}/GatewayTimeoutHttpResponse.js +3 -3
  230. package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.js.map +1 -0
  231. package/lib/cjs/httpResponse/models/GoneHttpResponse.d.ts +5 -0
  232. package/lib/cjs/httpResponse/models/GoneHttpResponse.d.ts.map +1 -0
  233. package/lib/cjs/{http/responses/error → httpResponse/models}/GoneHttpResponse.js +3 -3
  234. package/lib/cjs/httpResponse/models/GoneHttpResponse.js.map +1 -0
  235. package/lib/cjs/httpResponse/models/HttpResponse.d.ts +9 -0
  236. package/lib/cjs/httpResponse/models/HttpResponse.d.ts.map +1 -0
  237. package/lib/cjs/httpResponse/models/HttpResponse.js +5 -0
  238. package/lib/cjs/httpResponse/models/HttpResponse.js.map +1 -0
  239. package/lib/cjs/{http/responses/error → httpResponse/models}/HttpVersionNotSupportedHttpResponse.d.ts +1 -1
  240. package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.d.ts.map +1 -0
  241. package/lib/cjs/{http/responses/error → httpResponse/models}/HttpVersionNotSupportedHttpResponse.js +3 -3
  242. package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.js.map +1 -0
  243. package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.d.ts +5 -0
  244. package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.d.ts.map +1 -0
  245. package/lib/cjs/{http/responses/error → httpResponse/models}/InsufficientStorageHttpResponse.js +3 -3
  246. package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.js.map +1 -0
  247. package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.d.ts +5 -0
  248. package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.d.ts.map +1 -0
  249. package/lib/cjs/{http/responses/error → httpResponse/models}/InternalServerErrorHttpResponse.js +3 -3
  250. package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.js.map +1 -0
  251. package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.d.ts +5 -0
  252. package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.d.ts.map +1 -0
  253. package/lib/cjs/{http/responses/error → httpResponse/models}/LoopDetectedHttpResponse.js +3 -3
  254. package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.js.map +1 -0
  255. package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.d.ts +5 -0
  256. package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.d.ts.map +1 -0
  257. package/lib/cjs/{http/responses/error → httpResponse/models}/MethodNotAllowedHttpResponse.js +3 -3
  258. package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.js.map +1 -0
  259. package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.d.ts +5 -0
  260. package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.d.ts.map +1 -0
  261. package/lib/cjs/{http/responses/success → httpResponse/models}/MultiStatusHttpResponse.js +3 -3
  262. package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.js.map +1 -0
  263. package/lib/cjs/httpResponse/models/NoContentHttpResponse.d.ts +5 -0
  264. package/lib/cjs/httpResponse/models/NoContentHttpResponse.d.ts.map +1 -0
  265. package/lib/cjs/httpResponse/models/NoContentHttpResponse.js +12 -0
  266. package/lib/cjs/httpResponse/models/NoContentHttpResponse.js.map +1 -0
  267. package/lib/cjs/{http/responses/success → httpResponse/models}/NonAuthoritativeInformationHttpResponse.d.ts +2 -2
  268. package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.d.ts.map +1 -0
  269. package/lib/cjs/{http/responses/success → httpResponse/models}/NonAuthoritativeInformationHttpResponse.js +3 -3
  270. package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.js.map +1 -0
  271. package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.d.ts +5 -0
  272. package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.d.ts.map +1 -0
  273. package/lib/cjs/{http/responses/error → httpResponse/models}/NotAcceptableHttpResponse.js +3 -3
  274. package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.js.map +1 -0
  275. package/lib/cjs/httpResponse/models/NotFoundHttpResponse.d.ts +5 -0
  276. package/lib/cjs/httpResponse/models/NotFoundHttpResponse.d.ts.map +1 -0
  277. package/lib/cjs/{http/responses/error → httpResponse/models}/NotFoundHttpResponse.js +3 -3
  278. package/lib/cjs/httpResponse/models/NotFoundHttpResponse.js.map +1 -0
  279. package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.d.ts +5 -0
  280. package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.d.ts.map +1 -0
  281. package/lib/cjs/{http/responses/error → httpResponse/models}/NotImplementedHttpResponse.js +3 -3
  282. package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.js.map +1 -0
  283. package/lib/cjs/httpResponse/models/OkHttpResponse.d.ts +5 -0
  284. package/lib/cjs/httpResponse/models/OkHttpResponse.d.ts.map +1 -0
  285. package/lib/cjs/httpResponse/models/OkHttpResponse.js +12 -0
  286. package/lib/cjs/httpResponse/models/OkHttpResponse.js.map +1 -0
  287. package/lib/cjs/httpResponse/models/PartialContentHttpResponse.d.ts +5 -0
  288. package/lib/cjs/httpResponse/models/PartialContentHttpResponse.d.ts.map +1 -0
  289. package/lib/cjs/{http/responses/success → httpResponse/models}/PartialContentHttpResponse.js +3 -3
  290. package/lib/cjs/httpResponse/models/PartialContentHttpResponse.js.map +1 -0
  291. package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.d.ts +5 -0
  292. package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.d.ts.map +1 -0
  293. package/lib/cjs/{http/responses/error → httpResponse/models}/PaymentRequiredHttpResponse.js +3 -3
  294. package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.js.map +1 -0
  295. package/lib/cjs/httpResponse/models/ResetContentHttpResponse.d.ts +5 -0
  296. package/lib/cjs/httpResponse/models/ResetContentHttpResponse.d.ts.map +1 -0
  297. package/lib/cjs/{http/responses/success → httpResponse/models}/ResetContentHttpResponse.js +3 -3
  298. package/lib/cjs/httpResponse/models/ResetContentHttpResponse.js.map +1 -0
  299. package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.d.ts +5 -0
  300. package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.d.ts.map +1 -0
  301. package/lib/cjs/{http/responses/error → httpResponse/models}/ServiceUnavailableHttpResponse.js +3 -3
  302. package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.js.map +1 -0
  303. package/lib/cjs/httpResponse/models/SuccessHttpResponse.d.ts +14 -0
  304. package/lib/cjs/httpResponse/models/SuccessHttpResponse.d.ts.map +1 -0
  305. package/lib/cjs/httpResponse/models/SuccessHttpResponse.js +24 -0
  306. package/lib/cjs/httpResponse/models/SuccessHttpResponse.js.map +1 -0
  307. package/lib/cjs/httpResponse/models/SuccessHttpResponse.spec.d.ts +2 -0
  308. package/lib/cjs/httpResponse/models/SuccessHttpResponse.spec.d.ts.map +1 -0
  309. package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.d.ts +5 -0
  310. package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.d.ts.map +1 -0
  311. package/lib/cjs/{http/responses/error → httpResponse/models}/UnauthorizedHttpResponse.js +3 -3
  312. package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.js.map +1 -0
  313. package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.d.ts +5 -0
  314. package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.d.ts.map +1 -0
  315. package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.js +12 -0
  316. package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.js.map +1 -0
  317. package/lib/cjs/index.d.ts +67 -51
  318. package/lib/cjs/index.d.ts.map +1 -1
  319. package/lib/cjs/index.js +86 -62
  320. package/lib/cjs/index.js.map +1 -1
  321. package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.d.ts +2 -0
  322. package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.d.ts.map +1 -0
  323. package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.js +5 -0
  324. package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.js.map +1 -0
  325. package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.d.ts +2 -0
  326. package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.d.ts.map +1 -0
  327. package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.js +5 -0
  328. package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.js.map +1 -0
  329. package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.d.ts +4 -0
  330. package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.d.ts.map +1 -0
  331. package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.js +16 -0
  332. package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.js.map +1 -0
  333. package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.spec.d.ts +2 -0
  334. package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.spec.d.ts.map +1 -0
  335. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.d.ts +4 -0
  336. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.d.ts.map +1 -0
  337. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.js +15 -0
  338. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.js.map +1 -0
  339. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.spec.d.ts +2 -0
  340. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.spec.d.ts.map +1 -0
  341. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.d.ts +4 -0
  342. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.d.ts.map +1 -0
  343. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.js +21 -0
  344. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.js.map +1 -0
  345. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.spec.d.ts +2 -0
  346. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.spec.d.ts.map +1 -0
  347. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.d.ts +5 -0
  348. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.d.ts.map +1 -0
  349. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.js +49 -0
  350. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.js.map +1 -0
  351. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.spec.d.ts +2 -0
  352. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.spec.d.ts.map +1 -0
  353. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.d.ts +5 -0
  354. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.d.ts.map +1 -0
  355. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.js +8 -0
  356. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.js.map +1 -0
  357. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.spec.d.ts +2 -0
  358. package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.spec.d.ts.map +1 -0
  359. package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.d.ts +3 -0
  360. package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.d.ts.map +1 -0
  361. package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.js +9 -0
  362. package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.js.map +1 -0
  363. package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.spec.d.ts +2 -0
  364. package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.spec.d.ts.map +1 -0
  365. package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.d.ts +2 -0
  366. package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.d.ts.map +1 -0
  367. package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.js +14 -0
  368. package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.js.map +1 -0
  369. package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.spec.d.ts +2 -0
  370. package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.spec.d.ts.map +1 -0
  371. package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.d.ts +3 -0
  372. package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.d.ts.map +1 -0
  373. package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.js +9 -0
  374. package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.js.map +1 -0
  375. package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.spec.d.ts +2 -0
  376. package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.spec.d.ts.map +1 -0
  377. package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.d.ts +3 -0
  378. package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.d.ts.map +1 -0
  379. package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.js +9 -0
  380. package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.js.map +1 -0
  381. package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.spec.d.ts +2 -0
  382. package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.spec.d.ts.map +1 -0
  383. package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.d.ts +3 -0
  384. package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.d.ts.map +1 -0
  385. package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.js +9 -0
  386. package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.js.map +1 -0
  387. package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.spec.d.ts +2 -0
  388. package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.spec.d.ts.map +1 -0
  389. package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.d.ts +2 -0
  390. package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.d.ts.map +1 -0
  391. package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.js +9 -0
  392. package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.js.map +1 -0
  393. package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.spec.d.ts +2 -0
  394. package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.spec.d.ts.map +1 -0
  395. package/lib/cjs/routerExplorer/model/ControllerMetadata.d.ts +7 -0
  396. package/lib/cjs/routerExplorer/model/ControllerMetadata.d.ts.map +1 -0
  397. package/lib/cjs/routerExplorer/model/ControllerMetadata.js.map +1 -0
  398. package/lib/cjs/{http/models → routerExplorer/model}/ControllerMethodMetadata.d.ts +1 -1
  399. package/lib/cjs/routerExplorer/model/ControllerMethodMetadata.d.ts.map +1 -0
  400. package/lib/cjs/routerExplorer/model/ControllerMethodMetadata.js.map +1 -0
  401. package/lib/cjs/routerExplorer/model/ControllerMethodParameterMetadata.d.ts +11 -0
  402. package/lib/cjs/routerExplorer/model/ControllerMethodParameterMetadata.d.ts.map +1 -0
  403. package/lib/cjs/routerExplorer/model/ControllerMethodParameterMetadata.js.map +1 -0
  404. package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.d.ts +9 -0
  405. package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.d.ts.map +1 -0
  406. package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.js +4 -0
  407. package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.js.map +1 -0
  408. package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.d.ts +20 -0
  409. package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.d.ts.map +1 -0
  410. package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.js +3 -0
  411. package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.js.map +1 -0
  412. package/lib/esm/index.d.ts +191 -103
  413. package/lib/esm/index.d.ts.map +1 -1
  414. package/lib/esm/index.js +1 -1
  415. package/lib/esm/index.js.map +1 -1
  416. package/package.json +24 -23
  417. package/lib/cjs/http/decorators/ApplyMiddleware.d.ts +0 -2
  418. package/lib/cjs/http/decorators/ApplyMiddleware.d.ts.map +0 -1
  419. package/lib/cjs/http/decorators/ApplyMiddleware.js +0 -30
  420. package/lib/cjs/http/decorators/ApplyMiddleware.js.map +0 -1
  421. package/lib/cjs/http/decorators/ApplyMiddleware.spec.d.ts +0 -2
  422. package/lib/cjs/http/decorators/ApplyMiddleware.spec.d.ts.map +0 -1
  423. package/lib/cjs/http/decorators/RequestMethod.d.ts.map +0 -1
  424. package/lib/cjs/http/decorators/RequestMethod.js +0 -23
  425. package/lib/cjs/http/decorators/RequestMethod.js.map +0 -1
  426. package/lib/cjs/http/decorators/RequestMethod.spec.d.ts +0 -2
  427. package/lib/cjs/http/decorators/RequestMethod.spec.d.ts.map +0 -1
  428. package/lib/cjs/http/decorators/RequestParam.d.ts +0 -3
  429. package/lib/cjs/http/decorators/RequestParam.d.ts.map +0 -1
  430. package/lib/cjs/http/decorators/RequestParam.js +0 -41
  431. package/lib/cjs/http/decorators/RequestParam.js.map +0 -1
  432. package/lib/cjs/http/decorators/RequestParam.spec.d.ts +0 -2
  433. package/lib/cjs/http/decorators/RequestParam.spec.d.ts.map +0 -1
  434. package/lib/cjs/http/models/ControllerMetadata.d.ts +0 -6
  435. package/lib/cjs/http/models/ControllerMetadata.d.ts.map +0 -1
  436. package/lib/cjs/http/models/ControllerMetadata.js.map +0 -1
  437. package/lib/cjs/http/models/ControllerMethodMetadata.d.ts.map +0 -1
  438. package/lib/cjs/http/models/ControllerMethodMetadata.js.map +0 -1
  439. package/lib/cjs/http/models/ControllerMethodParameterMetadata.d.ts +0 -7
  440. package/lib/cjs/http/models/ControllerMethodParameterMetadata.d.ts.map +0 -1
  441. package/lib/cjs/http/models/ControllerMethodParameterMetadata.js.map +0 -1
  442. package/lib/cjs/http/models/Middleware.d.ts +0 -4
  443. package/lib/cjs/http/models/Middleware.d.ts.map +0 -1
  444. package/lib/cjs/http/models/Middleware.js.map +0 -1
  445. package/lib/cjs/http/responses/HttpResponse.d.ts +0 -11
  446. package/lib/cjs/http/responses/HttpResponse.d.ts.map +0 -1
  447. package/lib/cjs/http/responses/HttpResponse.js +0 -21
  448. package/lib/cjs/http/responses/HttpResponse.js.map +0 -1
  449. package/lib/cjs/http/responses/HttpStatusCode.d.ts.map +0 -1
  450. package/lib/cjs/http/responses/HttpStatusCode.js.map +0 -1
  451. package/lib/cjs/http/responses/error/BadGatewayHttpResponse.d.ts +0 -5
  452. package/lib/cjs/http/responses/error/BadGatewayHttpResponse.d.ts.map +0 -1
  453. package/lib/cjs/http/responses/error/BadGatewayHttpResponse.js.map +0 -1
  454. package/lib/cjs/http/responses/error/BadRequestHttpResponse.d.ts +0 -5
  455. package/lib/cjs/http/responses/error/BadRequestHttpResponse.d.ts.map +0 -1
  456. package/lib/cjs/http/responses/error/BadRequestHttpResponse.js.map +0 -1
  457. package/lib/cjs/http/responses/error/ConflictHttpResponse.d.ts +0 -5
  458. package/lib/cjs/http/responses/error/ConflictHttpResponse.d.ts.map +0 -1
  459. package/lib/cjs/http/responses/error/ConflictHttpResponse.js.map +0 -1
  460. package/lib/cjs/http/responses/error/ErrorHttpResponse.d.ts +0 -6
  461. package/lib/cjs/http/responses/error/ErrorHttpResponse.d.ts.map +0 -1
  462. package/lib/cjs/http/responses/error/ErrorHttpResponse.js +0 -11
  463. package/lib/cjs/http/responses/error/ErrorHttpResponse.js.map +0 -1
  464. package/lib/cjs/http/responses/error/ForbiddenHttpResponse.d.ts +0 -5
  465. package/lib/cjs/http/responses/error/ForbiddenHttpResponse.d.ts.map +0 -1
  466. package/lib/cjs/http/responses/error/ForbiddenHttpResponse.js.map +0 -1
  467. package/lib/cjs/http/responses/error/GatewayTimeoutHttpResponse.d.ts +0 -5
  468. package/lib/cjs/http/responses/error/GatewayTimeoutHttpResponse.d.ts.map +0 -1
  469. package/lib/cjs/http/responses/error/GatewayTimeoutHttpResponse.js.map +0 -1
  470. package/lib/cjs/http/responses/error/GoneHttpResponse.d.ts +0 -5
  471. package/lib/cjs/http/responses/error/GoneHttpResponse.d.ts.map +0 -1
  472. package/lib/cjs/http/responses/error/GoneHttpResponse.js.map +0 -1
  473. package/lib/cjs/http/responses/error/HttpVersionNotSupportedHttpResponse.d.ts.map +0 -1
  474. package/lib/cjs/http/responses/error/HttpVersionNotSupportedHttpResponse.js.map +0 -1
  475. package/lib/cjs/http/responses/error/InsufficientStorageHttpResponse.d.ts +0 -5
  476. package/lib/cjs/http/responses/error/InsufficientStorageHttpResponse.d.ts.map +0 -1
  477. package/lib/cjs/http/responses/error/InsufficientStorageHttpResponse.js.map +0 -1
  478. package/lib/cjs/http/responses/error/InternalServerErrorHttpResponse.d.ts +0 -5
  479. package/lib/cjs/http/responses/error/InternalServerErrorHttpResponse.d.ts.map +0 -1
  480. package/lib/cjs/http/responses/error/InternalServerErrorHttpResponse.js.map +0 -1
  481. package/lib/cjs/http/responses/error/LoopDetectedHttpResponse.d.ts +0 -5
  482. package/lib/cjs/http/responses/error/LoopDetectedHttpResponse.d.ts.map +0 -1
  483. package/lib/cjs/http/responses/error/LoopDetectedHttpResponse.js.map +0 -1
  484. package/lib/cjs/http/responses/error/MethodNotAllowedHttpResponse.d.ts +0 -5
  485. package/lib/cjs/http/responses/error/MethodNotAllowedHttpResponse.d.ts.map +0 -1
  486. package/lib/cjs/http/responses/error/MethodNotAllowedHttpResponse.js.map +0 -1
  487. package/lib/cjs/http/responses/error/NotAcceptableHttpResponse.d.ts +0 -5
  488. package/lib/cjs/http/responses/error/NotAcceptableHttpResponse.d.ts.map +0 -1
  489. package/lib/cjs/http/responses/error/NotAcceptableHttpResponse.js.map +0 -1
  490. package/lib/cjs/http/responses/error/NotFoundHttpResponse.d.ts +0 -5
  491. package/lib/cjs/http/responses/error/NotFoundHttpResponse.d.ts.map +0 -1
  492. package/lib/cjs/http/responses/error/NotFoundHttpResponse.js.map +0 -1
  493. package/lib/cjs/http/responses/error/NotImplementedHttpResponse.d.ts +0 -5
  494. package/lib/cjs/http/responses/error/NotImplementedHttpResponse.d.ts.map +0 -1
  495. package/lib/cjs/http/responses/error/NotImplementedHttpResponse.js.map +0 -1
  496. package/lib/cjs/http/responses/error/PaymentRequiredHttpResponse.d.ts +0 -5
  497. package/lib/cjs/http/responses/error/PaymentRequiredHttpResponse.d.ts.map +0 -1
  498. package/lib/cjs/http/responses/error/PaymentRequiredHttpResponse.js.map +0 -1
  499. package/lib/cjs/http/responses/error/ServiceUnavailableHttpResponse.d.ts +0 -5
  500. package/lib/cjs/http/responses/error/ServiceUnavailableHttpResponse.d.ts.map +0 -1
  501. package/lib/cjs/http/responses/error/ServiceUnavailableHttpResponse.js.map +0 -1
  502. package/lib/cjs/http/responses/error/UnauthorizedHttpResponse.d.ts +0 -5
  503. package/lib/cjs/http/responses/error/UnauthorizedHttpResponse.d.ts.map +0 -1
  504. package/lib/cjs/http/responses/error/UnauthorizedHttpResponse.js.map +0 -1
  505. package/lib/cjs/http/responses/success/AcceptedHttpResponse.d.ts +0 -5
  506. package/lib/cjs/http/responses/success/AcceptedHttpResponse.d.ts.map +0 -1
  507. package/lib/cjs/http/responses/success/AcceptedHttpResponse.js.map +0 -1
  508. package/lib/cjs/http/responses/success/AlreadyReportedHttpResponse.d.ts +0 -5
  509. package/lib/cjs/http/responses/success/AlreadyReportedHttpResponse.d.ts.map +0 -1
  510. package/lib/cjs/http/responses/success/AlreadyReportedHttpResponse.js.map +0 -1
  511. package/lib/cjs/http/responses/success/ContentDifferentHttpResponse.d.ts +0 -5
  512. package/lib/cjs/http/responses/success/ContentDifferentHttpResponse.d.ts.map +0 -1
  513. package/lib/cjs/http/responses/success/ContentDifferentHttpResponse.js.map +0 -1
  514. package/lib/cjs/http/responses/success/CreatedHttpResponse.d.ts +0 -5
  515. package/lib/cjs/http/responses/success/CreatedHttpResponse.d.ts.map +0 -1
  516. package/lib/cjs/http/responses/success/CreatedHttpResponse.js.map +0 -1
  517. package/lib/cjs/http/responses/success/MultiStatusHttpResponse.d.ts +0 -5
  518. package/lib/cjs/http/responses/success/MultiStatusHttpResponse.d.ts.map +0 -1
  519. package/lib/cjs/http/responses/success/MultiStatusHttpResponse.js.map +0 -1
  520. package/lib/cjs/http/responses/success/NoContentHttpResponse.d.ts +0 -5
  521. package/lib/cjs/http/responses/success/NoContentHttpResponse.d.ts.map +0 -1
  522. package/lib/cjs/http/responses/success/NoContentHttpResponse.js +0 -12
  523. package/lib/cjs/http/responses/success/NoContentHttpResponse.js.map +0 -1
  524. package/lib/cjs/http/responses/success/NonAuthoritativeInformationHttpResponse.d.ts.map +0 -1
  525. package/lib/cjs/http/responses/success/NonAuthoritativeInformationHttpResponse.js.map +0 -1
  526. package/lib/cjs/http/responses/success/OkHttpResponse.d.ts +0 -5
  527. package/lib/cjs/http/responses/success/OkHttpResponse.d.ts.map +0 -1
  528. package/lib/cjs/http/responses/success/OkHttpResponse.js +0 -12
  529. package/lib/cjs/http/responses/success/OkHttpResponse.js.map +0 -1
  530. package/lib/cjs/http/responses/success/PartialContentHttpResponse.d.ts +0 -5
  531. package/lib/cjs/http/responses/success/PartialContentHttpResponse.d.ts.map +0 -1
  532. package/lib/cjs/http/responses/success/PartialContentHttpResponse.js.map +0 -1
  533. package/lib/cjs/http/responses/success/ResetContentHttpResponse.d.ts +0 -5
  534. package/lib/cjs/http/responses/success/ResetContentHttpResponse.d.ts.map +0 -1
  535. package/lib/cjs/http/responses/success/ResetContentHttpResponse.js.map +0 -1
  536. package/lib/cjs/reflectMetadata/data/controllerMethodMiddlewareMetadataReflectKey.d.ts +0 -2
  537. package/lib/cjs/reflectMetadata/data/controllerMethodMiddlewareMetadataReflectKey.d.ts.map +0 -1
  538. package/lib/cjs/reflectMetadata/data/controllerMethodMiddlewareMetadataReflectKey.js +0 -5
  539. package/lib/cjs/reflectMetadata/data/controllerMethodMiddlewareMetadataReflectKey.js.map +0 -1
  540. package/lib/cjs/reflectMetadata/data/controllerMiddlewareMetadataReflectKey.d.ts +0 -2
  541. package/lib/cjs/reflectMetadata/data/controllerMiddlewareMetadataReflectKey.d.ts.map +0 -1
  542. package/lib/cjs/reflectMetadata/data/controllerMiddlewareMetadataReflectKey.js +0 -5
  543. package/lib/cjs/reflectMetadata/data/controllerMiddlewareMetadataReflectKey.js.map +0 -1
  544. /package/lib/cjs/http/{responses → models}/HttpStatusCode.d.ts +0 -0
  545. /package/lib/cjs/http/{responses → models}/HttpStatusCode.js +0 -0
  546. /package/lib/cjs/{http/models → routerExplorer/model}/ControllerMetadata.js +0 -0
  547. /package/lib/cjs/{http/models → routerExplorer/model}/ControllerMethodMetadata.js +0 -0
  548. /package/lib/cjs/{http/models → routerExplorer/model}/ControllerMethodParameterMetadata.js +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Patch.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Patch.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,eAE2B,CAAC"}
1
+ {"version":3,"file":"Patch.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Patch.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,eAE2B,CAAC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PATCH = void 0;
3
+ exports.Patch = void 0;
4
+ const requestMethod_1 = require("../calculations/requestMethod");
4
5
  const RequestMethodType_1 = require("../models/RequestMethodType");
5
- const RequestMethod_1 = require("./RequestMethod");
6
- const PATCH = (path) => (0, RequestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.PATCH, path);
7
- exports.PATCH = PATCH;
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ const Patch = (path) => (0, requestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.Patch, path);
8
+ exports.Patch = Patch;
8
9
  //# sourceMappingURL=Patch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Patch.js","sourceRoot":"","sources":["../../../../src/http/decorators/Patch.ts"],"names":[],"mappings":";;;AAAA,mEAAgE;AAChE,mDAAgD;AAEzC,MAAM,KAAK,GAAuC,CACvD,IAAa,EACI,EAAE,CAAC,IAAA,6BAAa,EAAC,qCAAiB,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AAFtD,QAAA,KAAK,SAEiD"}
1
+ {"version":3,"file":"Patch.js","sourceRoot":"","sources":["../../../../src/http/decorators/Patch.ts"],"names":[],"mappings":";;;AAAA,iEAA8D;AAC9D,mEAAgE;AAEhE,gEAAgE;AACzD,MAAM,KAAK,GAAuC,CACvD,IAAa,EACI,EAAE,CAAC,IAAA,6BAAa,EAAC,qCAAiB,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;AAFtD,QAAA,KAAK,SAEiD"}
@@ -1,2 +1,2 @@
1
- export declare const POST: (path?: string) => MethodDecorator;
1
+ export declare const Post: (path?: string) => MethodDecorator;
2
2
  //# sourceMappingURL=Post.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Post.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Post.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,eAE2B,CAAC"}
1
+ {"version":3,"file":"Post.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Post.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,eAE2B,CAAC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.POST = void 0;
3
+ exports.Post = void 0;
4
+ const requestMethod_1 = require("../calculations/requestMethod");
4
5
  const RequestMethodType_1 = require("../models/RequestMethodType");
5
- const RequestMethod_1 = require("./RequestMethod");
6
- const POST = (path) => (0, RequestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.POST, path);
7
- exports.POST = POST;
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ const Post = (path) => (0, requestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.Post, path);
8
+ exports.Post = Post;
8
9
  //# sourceMappingURL=Post.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Post.js","sourceRoot":"","sources":["../../../../src/http/decorators/Post.ts"],"names":[],"mappings":";;;AAAA,mEAAgE;AAChE,mDAAgD;AAEzC,MAAM,IAAI,GAAuC,CACtD,IAAa,EACI,EAAE,CAAC,IAAA,6BAAa,EAAC,qCAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAFrD,QAAA,IAAI,QAEiD"}
1
+ {"version":3,"file":"Post.js","sourceRoot":"","sources":["../../../../src/http/decorators/Post.ts"],"names":[],"mappings":";;;AAAA,iEAA8D;AAC9D,mEAAgE;AAEhE,gEAAgE;AACzD,MAAM,IAAI,GAAuC,CACtD,IAAa,EACI,EAAE,CAAC,IAAA,6BAAa,EAAC,qCAAiB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AAFrD,QAAA,IAAI,QAEiD"}
@@ -1,2 +1,2 @@
1
- export declare const PUT: (path?: string) => MethodDecorator;
1
+ export declare const Put: (path?: string) => MethodDecorator;
2
2
  //# sourceMappingURL=Put.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Put.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Put.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,eAE2B,CAAC"}
1
+ {"version":3,"file":"Put.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Put.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,eAE2B,CAAC"}
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PUT = void 0;
3
+ exports.Put = void 0;
4
+ const requestMethod_1 = require("../calculations/requestMethod");
4
5
  const RequestMethodType_1 = require("../models/RequestMethodType");
5
- const RequestMethod_1 = require("./RequestMethod");
6
- const PUT = (path) => (0, RequestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.PUT, path);
7
- exports.PUT = PUT;
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ const Put = (path) => (0, requestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.Put, path);
8
+ exports.Put = Put;
8
9
  //# sourceMappingURL=Put.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Put.js","sourceRoot":"","sources":["../../../../src/http/decorators/Put.ts"],"names":[],"mappings":";;;AAAA,mEAAgE;AAChE,mDAAgD;AAEzC,MAAM,GAAG,GAAuC,CACrD,IAAa,EACI,EAAE,CAAC,IAAA,6BAAa,EAAC,qCAAiB,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAFpD,QAAA,GAAG,OAEiD"}
1
+ {"version":3,"file":"Put.js","sourceRoot":"","sources":["../../../../src/http/decorators/Put.ts"],"names":[],"mappings":";;;AAAA,iEAA8D;AAC9D,mEAAgE;AAEhE,gEAAgE;AACzD,MAAM,GAAG,GAAuC,CACrD,IAAa,EACI,EAAE,CAAC,IAAA,6BAAa,EAAC,qCAAiB,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;AAFpD,QAAA,GAAG,OAEiD"}
@@ -1,2 +1,5 @@
1
- export declare function query(parameterName?: string): ParameterDecorator;
1
+ import { Pipe } from '@inversifyjs/framework-core';
2
+ import { ServiceIdentifier } from 'inversify';
3
+ import { RouteParamOptions } from '../models/RouteParamOptions';
4
+ export declare function Query(optionsOrPipe?: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe), ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
2
5
  //# sourceMappingURL=Query.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Query.ts"],"names":[],"mappings":"AAGA,wBAAgB,KAAK,CAAC,aAAa,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAEhE"}
1
+ {"version":3,"file":"Query.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Query.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAI9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,wBAAgB,KAAK,CACnB,aAAa,CAAC,EAAE,iBAAiB,GAAG,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EACpE,GAAG,iBAAiB,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,GACvD,kBAAkB,CAMpB"}
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.query = query;
3
+ exports.Query = Query;
4
+ const buildRouteParameterDecorator_1 = require("../calculations/buildRouteParameterDecorator");
4
5
  const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
5
- const RequestParam_1 = require("./RequestParam");
6
- function query(parameterName) {
7
- return (0, RequestParam_1.requestParam)(RequestMethodParameterType_1.RequestMethodParameterType.QUERY, parameterName);
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ function Query(optionsOrPipe, ...parameterPipeList) {
8
+ return (0, buildRouteParameterDecorator_1.buildRouteParameterDecorator)(RequestMethodParameterType_1.RequestMethodParameterType.Query, parameterPipeList, optionsOrPipe);
8
9
  }
9
10
  //# sourceMappingURL=Query.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../src/http/decorators/Query.ts"],"names":[],"mappings":";;AAGA,sBAEC;AALD,qFAAkF;AAClF,iDAA8C;AAE9C,SAAgB,KAAK,CAAC,aAAsB;IAC1C,OAAO,IAAA,2BAAY,EAAC,uDAA0B,CAAC,KAAK,EAAE,aAAa,CAAC,CAAC;AACvE,CAAC"}
1
+ {"version":3,"file":"Query.js","sourceRoot":"","sources":["../../../../src/http/decorators/Query.ts"],"names":[],"mappings":";;AAQA,sBASC;AAdD,+FAA4F;AAC5F,qFAAkF;AAGlF,gEAAgE;AAChE,SAAgB,KAAK,CACnB,aAAoE,EACpE,GAAG,iBAAqD;IAExD,OAAO,IAAA,2DAA4B,EACjC,uDAA0B,CAAC,KAAK,EAChC,iBAAiB,EACjB,aAAa,CACd,CAAC;AACJ,CAAC"}
@@ -1,2 +1,4 @@
1
- export declare function request(): ParameterDecorator;
1
+ import { Pipe } from '@inversifyjs/framework-core';
2
+ import { ServiceIdentifier } from 'inversify';
3
+ export declare function Request(...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
2
4
  //# sourceMappingURL=Request.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Request.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Request.ts"],"names":[],"mappings":"AAGA,wBAAgB,OAAO,IAAI,kBAAkB,CAE5C"}
1
+ {"version":3,"file":"Request.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Request.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAM9C,wBAAgB,OAAO,CACrB,GAAG,iBAAiB,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,GACvD,kBAAkB,CAKpB"}
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.request = request;
3
+ exports.Request = Request;
4
+ const buildRouteParameterDecorator_1 = require("../calculations/buildRouteParameterDecorator");
4
5
  const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
5
- const RequestParam_1 = require("./RequestParam");
6
- function request() {
7
- return (0, RequestParam_1.requestParam)(RequestMethodParameterType_1.RequestMethodParameterType.REQUEST);
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ function Request(...parameterPipeList) {
8
+ return (0, buildRouteParameterDecorator_1.buildRouteParameterDecorator)(RequestMethodParameterType_1.RequestMethodParameterType.Request, parameterPipeList);
8
9
  }
9
10
  //# sourceMappingURL=Request.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/http/decorators/Request.ts"],"names":[],"mappings":";;AAGA,0BAEC;AALD,qFAAkF;AAClF,iDAA8C;AAE9C,SAAgB,OAAO;IACrB,OAAO,IAAA,2BAAY,EAAC,uDAA0B,CAAC,OAAO,CAAC,CAAC;AAC1D,CAAC"}
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/http/decorators/Request.ts"],"names":[],"mappings":";;AAOA,0BAOC;AAXD,+FAA4F;AAC5F,qFAAkF;AAElF,gEAAgE;AAChE,SAAgB,OAAO,CACrB,GAAG,iBAAqD;IAExD,OAAO,IAAA,2DAA4B,EACjC,uDAA0B,CAAC,OAAO,EAClC,iBAAiB,CAClB,CAAC;AACJ,CAAC"}
@@ -1,2 +1,4 @@
1
- export declare function response(): ParameterDecorator;
1
+ import { Pipe } from '@inversifyjs/framework-core';
2
+ import { ServiceIdentifier } from 'inversify';
3
+ export declare function Response(...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
2
4
  //# sourceMappingURL=Response.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Response.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Response.ts"],"names":[],"mappings":"AAGA,wBAAgB,QAAQ,IAAI,kBAAkB,CAE7C"}
1
+ {"version":3,"file":"Response.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Response.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAM9C,wBAAgB,QAAQ,CACtB,GAAG,iBAAiB,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,GACvD,kBAAkB,CAKpB"}
@@ -1,9 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.response = response;
3
+ exports.Response = Response;
4
+ const buildRouteParameterDecorator_1 = require("../calculations/buildRouteParameterDecorator");
4
5
  const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
5
- const RequestParam_1 = require("./RequestParam");
6
- function response() {
7
- return (0, RequestParam_1.requestParam)(RequestMethodParameterType_1.RequestMethodParameterType.RESPONSE);
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ function Response(...parameterPipeList) {
8
+ return (0, buildRouteParameterDecorator_1.buildRouteParameterDecorator)(RequestMethodParameterType_1.RequestMethodParameterType.Response, parameterPipeList);
8
9
  }
9
10
  //# sourceMappingURL=Response.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/http/decorators/Response.ts"],"names":[],"mappings":";;AAGA,4BAEC;AALD,qFAAkF;AAClF,iDAA8C;AAE9C,SAAgB,QAAQ;IACtB,OAAO,IAAA,2BAAY,EAAC,uDAA0B,CAAC,QAAQ,CAAC,CAAC;AAC3D,CAAC"}
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/http/decorators/Response.ts"],"names":[],"mappings":";;AAOA,4BAOC;AAXD,+FAA4F;AAC5F,qFAAkF;AAElF,gEAAgE;AAChE,SAAgB,QAAQ,CACtB,GAAG,iBAAqD;IAExD,OAAO,IAAA,2DAA4B,EACjC,uDAA0B,CAAC,QAAQ,EACnC,iBAAiB,CAClB,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare function SetHeader(headerKey: string, value: string): MethodDecorator;
2
+ //# sourceMappingURL=SetHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetHeader.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/SetHeader.ts"],"names":[],"mappings":"AASA,wBAAgB,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,eAAe,CAU3E"}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SetHeader = SetHeader;
4
+ const reflect_metadata_utils_1 = require("@inversifyjs/reflect-metadata-utils");
5
+ const controllerMethodHeaderMetadataReflectKey_1 = require("../../reflectMetadata/data/controllerMethodHeaderMetadataReflectKey");
6
+ const buildSetHeaderMetadata_1 = require("../calculations/buildSetHeaderMetadata");
7
+ // eslint-disable-next-line @typescript-eslint/naming-convention
8
+ function SetHeader(headerKey, value) {
9
+ return (target, key) => {
10
+ (0, reflect_metadata_utils_1.updateOwnReflectMetadata)(target.constructor, controllerMethodHeaderMetadataReflectKey_1.controllerMethodHeaderMetadataReflectKey, reflect_metadata_utils_1.buildEmptyMapMetadata, (0, buildSetHeaderMetadata_1.buildSetHeaderMetadata)(headerKey, value), key);
11
+ };
12
+ }
13
+ //# sourceMappingURL=SetHeader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetHeader.js","sourceRoot":"","sources":["../../../../src/http/decorators/SetHeader.ts"],"names":[],"mappings":";;AASA,8BAUC;AAnBD,gFAG6C;AAE7C,kIAA+H;AAC/H,mFAAgF;AAEhF,gEAAgE;AAChE,SAAgB,SAAS,CAAC,SAAiB,EAAE,KAAa;IACxD,OAAO,CAAC,MAAc,EAAE,GAAoB,EAAQ,EAAE;QACpD,IAAA,iDAAwB,EACtB,MAAM,CAAC,WAAW,EAClB,mFAAwC,EACxC,8CAAqB,EACrB,IAAA,+CAAsB,EAAC,SAAS,EAAE,KAAK,CAAC,EACxC,GAAG,CACJ,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=SetHeader.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetHeader.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/SetHeader.spec.ts"],"names":[],"mappings":""}
@@ -1,3 +1,3 @@
1
- import { HttpStatusCode } from '../responses/HttpStatusCode';
2
- export declare function statusCode(statusCode: HttpStatusCode): MethodDecorator;
1
+ import { HttpStatusCode } from '../models/HttpStatusCode';
2
+ export declare function StatusCode(statusCode: HttpStatusCode): MethodDecorator;
3
3
  //# sourceMappingURL=StatusCode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatusCode.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/StatusCode.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,wBAAgB,UAAU,CAAC,UAAU,EAAE,cAAc,GAAG,eAAe,CAYtE"}
1
+ {"version":3,"file":"StatusCode.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/StatusCode.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAG1D,wBAAgB,UAAU,CAAC,UAAU,EAAE,cAAc,GAAG,eAAe,CAStE"}
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.statusCode = statusCode;
3
+ exports.StatusCode = StatusCode;
4
4
  const reflect_metadata_utils_1 = require("@inversifyjs/reflect-metadata-utils");
5
5
  const controllerMethodStatusCodeMetadataReflectKey_1 = require("../../reflectMetadata/data/controllerMethodStatusCodeMetadataReflectKey");
6
- function statusCode(statusCode) {
7
- return (_target, _key, descriptor) => {
8
- (0, reflect_metadata_utils_1.setReflectMetadata)(descriptor.value, controllerMethodStatusCodeMetadataReflectKey_1.controllerMethodStatusCodeMetadataReflectKey, statusCode);
6
+ // eslint-disable-next-line @typescript-eslint/naming-convention
7
+ function StatusCode(statusCode) {
8
+ return (target, key) => {
9
+ (0, reflect_metadata_utils_1.setReflectMetadata)(target.constructor, controllerMethodStatusCodeMetadataReflectKey_1.controllerMethodStatusCodeMetadataReflectKey, statusCode, key);
9
10
  };
10
11
  }
11
12
  //# sourceMappingURL=StatusCode.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StatusCode.js","sourceRoot":"","sources":["../../../../src/http/decorators/StatusCode.ts"],"names":[],"mappings":";;AAMA,gCAYC;AAlBD,gFAAyE;AAEzE,0IAAuI;AAIvI,SAAgB,UAAU,CAAC,UAA0B;IACnD,OAAO,CACL,OAAe,EACf,IAAqB,EACrB,UAA8B,EACxB,EAAE;QACR,IAAA,2CAAkB,EAChB,UAAU,CAAC,KAA2B,EACtC,2FAA4C,EAC5C,UAAU,CACX,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"StatusCode.js","sourceRoot":"","sources":["../../../../src/http/decorators/StatusCode.ts"],"names":[],"mappings":";;AAMA,gCASC;AAfD,gFAAyE;AAEzE,0IAAuI;AAGvI,gEAAgE;AAChE,SAAgB,UAAU,CAAC,UAA0B;IACnD,OAAO,CAAC,MAAc,EAAE,GAAoB,EAAQ,EAAE;QACpD,IAAA,2CAAkB,EAChB,MAAM,CAAC,WAAW,EAClB,2FAA4C,EAC5C,UAAU,EACV,GAAG,CACJ,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
@@ -1,5 +1,7 @@
1
+ import { BindingScope, ServiceIdentifier } from 'inversify';
1
2
  export interface ControllerOptions {
2
3
  path?: string;
3
- controllerName?: string;
4
+ scope?: BindingScope;
5
+ serviceIdentifier?: ServiceIdentifier;
4
6
  }
5
7
  //# sourceMappingURL=ControllerOptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ControllerOptions.d.ts","sourceRoot":"","sources":["../../../../src/http/models/ControllerOptions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"ControllerOptions.d.ts","sourceRoot":"","sources":["../../../../src/http/models/ControllerOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE5D,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,YAAY,CAAC;IACrB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
@@ -1,3 +1,4 @@
1
- import { HttpResponse } from '../responses/HttpResponse';
2
- export type ControllerResponse = HttpResponse | object | string | number | boolean | undefined;
1
+ import { Readable } from 'node:stream';
2
+ import { HttpResponse } from '../../httpResponse/models/HttpResponse';
3
+ export type ControllerResponse = HttpResponse | object | string | number | boolean | Readable | undefined;
3
4
  //# sourceMappingURL=ControllerResponse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ControllerResponse.d.ts","sourceRoot":"","sources":["../../../../src/http/models/ControllerResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAEzD,MAAM,MAAM,kBAAkB,GAC1B,YAAY,GACZ,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,SAAS,CAAC"}
1
+ {"version":3,"file":"ControllerResponse.d.ts","sourceRoot":"","sources":["../../../../src/http/models/ControllerResponse.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAC1B,YAAY,GACZ,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,QAAQ,GACR,SAAS,CAAC"}
@@ -0,0 +1,2 @@
1
+ export type CustomParameterDecoratorHandler<TRequest = any, TResponse = any, TResult = any> = (request: TRequest, response: TResponse) => Promise<TResult> | TResult;
2
+ //# sourceMappingURL=CustomParameterDecoratorHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomParameterDecoratorHandler.d.ts","sourceRoot":"","sources":["../../../../src/http/models/CustomParameterDecoratorHandler.ts"],"names":[],"mappings":"AACA,MAAM,MAAM,+BAA+B,CACzC,QAAQ,GAAG,GAAG,EACd,SAAS,GAAG,GAAG,EACf,OAAO,GAAG,GAAG,IACX,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,KAAK,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=CustomParameterDecoratorHandler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomParameterDecoratorHandler.js","sourceRoot":"","sources":["../../../../src/http/models/CustomParameterDecoratorHandler.ts"],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import { Logger } from '@inversifyjs/logger';
2
+ export interface HttpAdapterOptions {
3
+ logger?: boolean | Logger;
4
+ }
5
+ //# sourceMappingURL=HttpAdapterOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpAdapterOptions.d.ts","sourceRoot":"","sources":["../../../../src/http/models/HttpAdapterOptions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAE7C,MAAM,WAAW,kBAAkB;IACjC,MAAM,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC3B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=HttpAdapterOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpAdapterOptions.js","sourceRoot":"","sources":["../../../../src/http/models/HttpAdapterOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpStatusCode.d.ts","sourceRoot":"","sources":["../../../../src/http/models/HttpStatusCode.ts"],"names":[],"mappings":"AAAA,oBAAY,cAAc;IACxB,QAAQ,MAAM;IACd,mBAAmB,MAAM;IACzB,UAAU,MAAM;IAChB,UAAU,MAAM;IAChB,EAAE,MAAM;IACR,OAAO,MAAM;IACb,QAAQ,MAAM;IACd,6BAA6B,MAAM;IACnC,UAAU,MAAM;IAChB,aAAa,MAAM;IACnB,eAAe,MAAM;IACrB,YAAY,MAAM;IAClB,gBAAgB,MAAM;IACtB,iBAAiB,MAAM;IACvB,SAAS,MAAM;IACf,iBAAiB,MAAM;IACvB,KAAK,MAAM;IACX,SAAS,MAAM;IACf,YAAY,MAAM;IAClB,kBAAkB,MAAM;IACxB,kBAAkB,MAAM;IACxB,WAAW,MAAM;IACjB,YAAY,MAAM;IAClB,gBAAgB,MAAM;IACtB,SAAS,MAAM;IACf,SAAS,MAAM;IACf,kBAAkB,MAAM;IACxB,cAAc,MAAM;IACpB,6BAA6B,MAAM;IACnC,eAAe,MAAM;IACrB,QAAQ,MAAM;IACd,IAAI,MAAM;IACV,eAAe,MAAM;IACrB,mBAAmB,MAAM;IACzB,iBAAiB,MAAM;IACvB,YAAY,MAAM;IAClB,sBAAsB,MAAM;IAC5B,+BAA+B,MAAM;IACrC,kBAAkB,MAAM;IACxB,aAAa,MAAM;IACnB,WAAW,MAAM;IACjB,oBAAoB,MAAM;IAC1B,MAAM,MAAM;IACZ,iBAAiB,MAAM;IACvB,qBAAqB,MAAM;IAC3B,iBAAiB,MAAM;IACvB,mBAAmB,MAAM;IACzB,qBAAqB,MAAM;IAC3B,eAAe,MAAM;IACrB,WAAW,MAAM;IACjB,mBAAmB,MAAM;IACzB,eAAe,MAAM;IACrB,0BAA0B,MAAM;IAChC,oBAAoB,MAAM;IAC1B,aAAa,MAAM;CACpB"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HttpStatusCode.js","sourceRoot":"","sources":["../../../../src/http/models/HttpStatusCode.ts"],"names":[],"mappings":";;;AAAA,IAAY,cAwDX;AAxDD,WAAY,cAAc;IACxB,6DAAc,CAAA;IACd,mFAAyB,CAAA;IACzB,iEAAgB,CAAA;IAChB,iEAAgB,CAAA;IAChB,iDAAQ,CAAA;IACR,2DAAa,CAAA;IACb,6DAAc,CAAA;IACd,uGAAmC,CAAA;IACnC,iEAAgB,CAAA;IAChB,uEAAmB,CAAA;IACnB,2EAAqB,CAAA;IACrB,qEAAkB,CAAA;IAClB,6EAAsB,CAAA;IACtB,+EAAuB,CAAA;IACvB,+DAAe,CAAA;IACf,+EAAuB,CAAA;IACvB,uDAAW,CAAA;IACX,+DAAe,CAAA;IACf,qEAAkB,CAAA;IAClB,iFAAwB,CAAA;IACxB,iFAAwB,CAAA;IACxB,mEAAiB,CAAA;IACjB,qEAAkB,CAAA;IAClB,6EAAsB,CAAA;IACtB,+DAAe,CAAA;IACf,+DAAe,CAAA;IACf,iFAAwB,CAAA;IACxB,yEAAoB,CAAA;IACpB,uGAAmC,CAAA;IACnC,2EAAqB,CAAA;IACrB,6DAAc,CAAA;IACd,qDAAU,CAAA;IACV,2EAAqB,CAAA;IACrB,mFAAyB,CAAA;IACzB,+EAAuB,CAAA;IACvB,qEAAkB,CAAA;IAClB,yFAA4B,CAAA;IAC5B,2GAAqC,CAAA;IACrC,iFAAwB,CAAA;IACxB,uEAAmB,CAAA;IACnB,mEAAiB,CAAA;IACjB,qFAA0B,CAAA;IAC1B,yDAAY,CAAA;IACZ,+EAAuB,CAAA;IACvB,uFAA2B,CAAA;IAC3B,+EAAuB,CAAA;IACvB,mFAAyB,CAAA;IACzB,uFAA2B,CAAA;IAC3B,2EAAqB,CAAA;IACrB,mEAAiB,CAAA;IACjB,mFAAyB,CAAA;IACzB,2EAAqB,CAAA;IACrB,iGAAgC,CAAA;IAChC,qFAA0B,CAAA;IAC1B,uEAAmB,CAAA;AACrB,CAAC,EAxDW,cAAc,8BAAd,cAAc,QAwDzB"}
@@ -0,0 +1,2 @@
1
+ export type MiddlewareHandler<TRequest, TResponse, TNextFunction, TResult = unknown> = (req: TRequest, res: TResponse, next: TNextFunction) => Promise<TResult> | TResult;
2
+ //# sourceMappingURL=MiddlewareHandler.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MiddlewareHandler.d.ts","sourceRoot":"","sources":["../../../../src/http/models/MiddlewareHandler.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,CAC3B,QAAQ,EACR,SAAS,EACT,aAAa,EACb,OAAO,GAAG,OAAO,IACf,CACF,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE,SAAS,EACd,IAAI,EAAE,aAAa,KAChB,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=MiddlewareHandler.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MiddlewareHandler.js","sourceRoot":"","sources":["../../../../src/http/models/MiddlewareHandler.ts"],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export type RequestHandler<TRequest, TResponse, TNextFunction> = (req: TRequest, res: TResponse, next: TNextFunction) => Promise<unknown>;
1
+ export type RequestHandler<TRequest, TResponse, TNextFunction, TResult = unknown> = (req: TRequest, res: TResponse, next: TNextFunction) => Promise<TResult> | TResult;
2
2
  //# sourceMappingURL=RequestHandler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestHandler.d.ts","sourceRoot":"","sources":["../../../../src/http/models/RequestHandler.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,CAAC,QAAQ,EAAE,SAAS,EAAE,aAAa,IAAI,CAC/D,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE,SAAS,EACd,IAAI,EAAE,aAAa,KAChB,OAAO,CAAC,OAAO,CAAC,CAAC"}
1
+ {"version":3,"file":"RequestHandler.d.ts","sourceRoot":"","sources":["../../../../src/http/models/RequestHandler.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,CACxB,QAAQ,EACR,SAAS,EACT,aAAa,EACb,OAAO,GAAG,OAAO,IACf,CACF,GAAG,EAAE,QAAQ,EACb,GAAG,EAAE,SAAS,EACd,IAAI,EAAE,aAAa,KAChB,OAAO,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC"}
@@ -1,11 +1,12 @@
1
1
  export declare enum RequestMethodParameterType {
2
- REQUEST = "request",
3
- RESPONSE = "response",
4
- PARAMS = "params",
5
- QUERY = "query",
6
- BODY = "body",
7
- HEADERS = "headers",
8
- COOKIES = "cookies",
9
- NEXT = "next"
2
+ Body = "body",
3
+ Cookies = "cookies",
4
+ Custom = "custom",
5
+ Headers = "headers",
6
+ Next = "next",
7
+ Params = "params",
8
+ Request = "request",
9
+ Response = "response",
10
+ Query = "query"
10
11
  }
11
12
  //# sourceMappingURL=RequestMethodParameterType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestMethodParameterType.d.ts","sourceRoot":"","sources":["../../../../src/http/models/RequestMethodParameterType.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,IAAI,SAAS;CACd"}
1
+ {"version":3,"file":"RequestMethodParameterType.d.ts","sourceRoot":"","sources":["../../../../src/http/models/RequestMethodParameterType.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,KAAK,UAAU;CAChB"}
@@ -3,13 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RequestMethodParameterType = void 0;
4
4
  var RequestMethodParameterType;
5
5
  (function (RequestMethodParameterType) {
6
- RequestMethodParameterType["REQUEST"] = "request";
7
- RequestMethodParameterType["RESPONSE"] = "response";
8
- RequestMethodParameterType["PARAMS"] = "params";
9
- RequestMethodParameterType["QUERY"] = "query";
10
- RequestMethodParameterType["BODY"] = "body";
11
- RequestMethodParameterType["HEADERS"] = "headers";
12
- RequestMethodParameterType["COOKIES"] = "cookies";
13
- RequestMethodParameterType["NEXT"] = "next";
6
+ RequestMethodParameterType["Body"] = "body";
7
+ RequestMethodParameterType["Cookies"] = "cookies";
8
+ RequestMethodParameterType["Custom"] = "custom";
9
+ RequestMethodParameterType["Headers"] = "headers";
10
+ RequestMethodParameterType["Next"] = "next";
11
+ RequestMethodParameterType["Params"] = "params";
12
+ RequestMethodParameterType["Request"] = "request";
13
+ RequestMethodParameterType["Response"] = "response";
14
+ RequestMethodParameterType["Query"] = "query";
14
15
  })(RequestMethodParameterType || (exports.RequestMethodParameterType = RequestMethodParameterType = {}));
15
16
  //# sourceMappingURL=RequestMethodParameterType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestMethodParameterType.js","sourceRoot":"","sources":["../../../../src/http/models/RequestMethodParameterType.ts"],"names":[],"mappings":";;;AAAA,IAAY,0BASX;AATD,WAAY,0BAA0B;IACpC,iDAAmB,CAAA;IACnB,mDAAqB,CAAA;IACrB,+CAAiB,CAAA;IACjB,6CAAe,CAAA;IACf,2CAAa,CAAA;IACb,iDAAmB,CAAA;IACnB,iDAAmB,CAAA;IACnB,2CAAa,CAAA;AACf,CAAC,EATW,0BAA0B,0CAA1B,0BAA0B,QASrC"}
1
+ {"version":3,"file":"RequestMethodParameterType.js","sourceRoot":"","sources":["../../../../src/http/models/RequestMethodParameterType.ts"],"names":[],"mappings":";;;AAAA,IAAY,0BAUX;AAVD,WAAY,0BAA0B;IACpC,2CAAa,CAAA;IACb,iDAAmB,CAAA;IACnB,+CAAiB,CAAA;IACjB,iDAAmB,CAAA;IACnB,2CAAa,CAAA;IACb,+CAAiB,CAAA;IACjB,iDAAmB,CAAA;IACnB,mDAAqB,CAAA;IACrB,6CAAe,CAAA;AACjB,CAAC,EAVW,0BAA0B,0CAA1B,0BAA0B,QAUrC"}
@@ -1,11 +1,11 @@
1
1
  export declare enum RequestMethodType {
2
- GET = "get",
3
- POST = "post",
4
- PUT = "put",
5
- DELETE = "delete",
6
- PATCH = "patch",
7
- OPTIONS = "options",
8
- HEAD = "head",
9
- ALL = "all"
2
+ All = "all",
3
+ Delete = "delete",
4
+ Get = "get",
5
+ Head = "head",
6
+ Options = "options",
7
+ Patch = "patch",
8
+ Post = "post",
9
+ Put = "put"
10
10
  }
11
11
  //# sourceMappingURL=RequestMethodType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestMethodType.d.ts","sourceRoot":"","sources":["../../../../src/http/models/RequestMethodType.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,KAAK,UAAU;IACf,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ"}
1
+ {"version":3,"file":"RequestMethodType.d.ts","sourceRoot":"","sources":["../../../../src/http/models/RequestMethodType.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,GAAG,QAAQ;IACX,MAAM,WAAW;IACjB,GAAG,QAAQ;IACX,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ"}
@@ -3,13 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.RequestMethodType = void 0;
4
4
  var RequestMethodType;
5
5
  (function (RequestMethodType) {
6
- RequestMethodType["GET"] = "get";
7
- RequestMethodType["POST"] = "post";
8
- RequestMethodType["PUT"] = "put";
9
- RequestMethodType["DELETE"] = "delete";
10
- RequestMethodType["PATCH"] = "patch";
11
- RequestMethodType["OPTIONS"] = "options";
12
- RequestMethodType["HEAD"] = "head";
13
- RequestMethodType["ALL"] = "all";
6
+ RequestMethodType["All"] = "all";
7
+ RequestMethodType["Delete"] = "delete";
8
+ RequestMethodType["Get"] = "get";
9
+ RequestMethodType["Head"] = "head";
10
+ RequestMethodType["Options"] = "options";
11
+ RequestMethodType["Patch"] = "patch";
12
+ RequestMethodType["Post"] = "post";
13
+ RequestMethodType["Put"] = "put";
14
14
  })(RequestMethodType || (exports.RequestMethodType = RequestMethodType = {}));
15
15
  //# sourceMappingURL=RequestMethodType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestMethodType.js","sourceRoot":"","sources":["../../../../src/http/models/RequestMethodType.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,gCAAW,CAAA;IACX,kCAAa,CAAA;IACb,gCAAW,CAAA;IACX,sCAAiB,CAAA;IACjB,oCAAe,CAAA;IACf,wCAAmB,CAAA;IACnB,kCAAa,CAAA;IACb,gCAAW,CAAA;AACb,CAAC,EATW,iBAAiB,iCAAjB,iBAAiB,QAS5B"}
1
+ {"version":3,"file":"RequestMethodType.js","sourceRoot":"","sources":["../../../../src/http/models/RequestMethodType.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBASX;AATD,WAAY,iBAAiB;IAC3B,gCAAW,CAAA;IACX,sCAAiB,CAAA;IACjB,gCAAW,CAAA;IACX,kCAAa,CAAA;IACb,wCAAmB,CAAA;IACnB,oCAAe,CAAA;IACf,kCAAa,CAAA;IACb,gCAAW,CAAA;AACb,CAAC,EATW,iBAAiB,iCAAjB,iBAAiB,QAS5B"}
@@ -0,0 +1,4 @@
1
+ export type RequiredOptions<T> = {
2
+ [P in keyof T]-?: NonNullable<T[P]>;
3
+ };
4
+ //# sourceMappingURL=RequiredOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredOptions.d.ts","sourceRoot":"","sources":["../../../../src/http/models/RequiredOptions.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;KAC9B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CACpC,CAAC"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RequiredOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RequiredOptions.js","sourceRoot":"","sources":["../../../../src/http/models/RequiredOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface RouteParamOptions {
2
+ name?: string | undefined;
3
+ }
4
+ //# sourceMappingURL=RouteParamOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RouteParamOptions.d.ts","sourceRoot":"","sources":["../../../../src/http/models/RouteParamOptions.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC3B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RouteParamOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RouteParamOptions.js","sourceRoot":"","sources":["../../../../src/http/models/RouteParamOptions.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import { MiddlewareHandler } from './MiddlewareHandler';
2
+ import { RequestHandler } from './RequestHandler';
3
+ import { RequestMethodType } from './RequestMethodType';
4
+ export interface RouteParams<TRequest, TResponse, TNextFunction, TResult> {
5
+ guardList: MiddlewareHandler<TRequest, TResponse, TNextFunction, TResult | undefined>[];
6
+ handler: RequestHandler<TRequest, TResponse, TNextFunction, TResult>;
7
+ path: string;
8
+ postHandlerMiddlewareList: MiddlewareHandler<TRequest, TResponse, TNextFunction, TResult>[];
9
+ preHandlerMiddlewareList: MiddlewareHandler<TRequest, TResponse, TNextFunction, TResult>[];
10
+ requestMethodType: RequestMethodType;
11
+ }
12
+ //# sourceMappingURL=RouteParams.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RouteParams.d.ts","sourceRoot":"","sources":["../../../../src/http/models/RouteParams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,WAAW,WAAW,CAAC,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,OAAO;IACtE,SAAS,EAAE,iBAAiB,CAC1B,QAAQ,EACR,SAAS,EACT,aAAa,EACb,OAAO,GAAG,SAAS,CACpB,EAAE,CAAC;IACJ,OAAO,EAAE,cAAc,CAAC,QAAQ,EAAE,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,yBAAyB,EAAE,iBAAiB,CAC1C,QAAQ,EACR,SAAS,EACT,aAAa,EACb,OAAO,CACR,EAAE,CAAC;IACJ,wBAAwB,EAAE,iBAAiB,CACzC,QAAQ,EACR,SAAS,EACT,aAAa,EACb,OAAO,CACR,EAAE,CAAC;IACJ,iBAAiB,EAAE,iBAAiB,CAAC;CACtC"}
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Middleware.js.map
3
+ //# sourceMappingURL=RouteParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RouteParams.js","sourceRoot":"","sources":["../../../../src/http/models/RouteParams.ts"],"names":[],"mappings":""}
@@ -1,9 +1,6 @@
1
- import { RequestHandler } from './RequestHandler';
2
- import { RequestMethodType } from './RequestMethodType';
3
- export interface RouterParams<TRequest, TResponse, TNextFunction> {
4
- handler: RequestHandler<TRequest, TResponse, TNextFunction>;
5
- middlewareList: RequestHandler<TRequest, TResponse, TNextFunction>[] | undefined;
1
+ import { RouteParams } from './RouteParams';
2
+ export interface RouterParams<TRequest, TResponse, TNextFunction, TResult> {
6
3
  path: string;
7
- requestMethodType: RequestMethodType;
4
+ routeParamsList: RouteParams<TRequest, TResponse, TNextFunction, TResult>[];
8
5
  }
9
6
  //# sourceMappingURL=RouterParams.d.ts.map