@inversifyjs/http-core 1.0.0 → 3.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.
- package/CHANGELOG.md +95 -0
- package/README.md +1 -1
- package/lib/cjs/error/models/InversifyHttpAdapterError.d.ts +7 -1
- package/lib/cjs/error/models/InversifyHttpAdapterError.d.ts.map +1 -1
- package/lib/cjs/error/models/InversifyHttpAdapterError.js +3 -1
- package/lib/cjs/error/models/InversifyHttpAdapterError.js.map +1 -1
- package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.d.ts +3 -2
- package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.d.ts.map +1 -1
- package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.js +3 -2
- package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.js.map +1 -1
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.d.ts +4 -0
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.d.ts.map +1 -0
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.js +14 -0
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.js.map +1 -0
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.spec.d.ts +2 -0
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.spec.d.ts.map +1 -0
- package/lib/cjs/http/adapter/InversifyHttpAdapter.d.ts +30 -15
- package/lib/cjs/http/adapter/InversifyHttpAdapter.d.ts.map +1 -1
- package/lib/cjs/http/adapter/InversifyHttpAdapter.js +273 -84
- package/lib/cjs/http/adapter/InversifyHttpAdapter.js.map +1 -1
- package/lib/cjs/http/calculations/buildInterceptedHandler.d.ts +7 -0
- package/lib/cjs/http/calculations/buildInterceptedHandler.d.ts.map +1 -0
- package/lib/cjs/http/calculations/buildInterceptedHandler.js +57 -0
- package/lib/cjs/http/calculations/buildInterceptedHandler.js.map +1 -0
- package/lib/cjs/http/calculations/buildInterceptedHandler.spec.d.ts +2 -0
- package/lib/cjs/http/calculations/buildInterceptedHandler.spec.d.ts.map +1 -0
- package/lib/cjs/http/calculations/buildNormalizedPath.d.ts +2 -0
- package/lib/cjs/http/calculations/buildNormalizedPath.d.ts.map +1 -0
- package/lib/cjs/http/calculations/buildNormalizedPath.js +10 -0
- package/lib/cjs/http/calculations/buildNormalizedPath.js.map +1 -0
- package/lib/cjs/http/calculations/buildNormalizedPath.spec.d.ts +2 -0
- package/lib/cjs/http/calculations/buildNormalizedPath.spec.d.ts.map +1 -0
- package/lib/cjs/http/calculations/buildRouteParameterDecorator.d.ts +7 -0
- package/lib/cjs/http/calculations/buildRouteParameterDecorator.d.ts.map +1 -0
- package/lib/cjs/http/calculations/buildRouteParameterDecorator.js +29 -0
- package/lib/cjs/http/calculations/buildRouteParameterDecorator.js.map +1 -0
- package/lib/cjs/http/calculations/buildRouteParameterDecorator.spec.d.ts +2 -0
- package/lib/cjs/http/calculations/buildRouteParameterDecorator.spec.d.ts.map +1 -0
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.d.ts +2 -0
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.d.ts.map +1 -0
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.js +17 -0
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.js.map +1 -0
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.spec.d.ts +2 -0
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.spec.d.ts.map +1 -0
- package/lib/cjs/http/calculations/createCustomParameterDecorator.d.ts +5 -0
- package/lib/cjs/http/calculations/createCustomParameterDecorator.d.ts.map +1 -0
- package/lib/cjs/http/calculations/createCustomParameterDecorator.js +9 -0
- package/lib/cjs/http/calculations/createCustomParameterDecorator.js.map +1 -0
- package/lib/cjs/http/calculations/createCustomParameterDecorator.spec.d.ts +2 -0
- package/lib/cjs/http/calculations/createCustomParameterDecorator.spec.d.ts.map +1 -0
- package/lib/cjs/http/{decorators/RequestMethod.d.ts → calculations/requestMethod.d.ts} +1 -1
- package/lib/cjs/http/calculations/requestMethod.d.ts.map +1 -0
- package/lib/cjs/http/calculations/requestMethod.js +17 -0
- package/lib/cjs/http/calculations/requestMethod.js.map +1 -0
- package/lib/cjs/http/calculations/requestMethod.spec.d.ts +2 -0
- package/lib/cjs/http/calculations/requestMethod.spec.d.ts.map +1 -0
- package/lib/cjs/http/calculations/requestParam.d.ts +3 -0
- package/lib/cjs/http/calculations/requestParam.d.ts.map +1 -0
- package/lib/cjs/http/calculations/requestParam.js +24 -0
- package/lib/cjs/http/calculations/requestParam.js.map +1 -0
- package/lib/cjs/http/calculations/requestParam.spec.d.ts +2 -0
- package/lib/cjs/http/calculations/requestParam.spec.d.ts.map +1 -0
- package/lib/cjs/http/decorators/All.d.ts +1 -1
- package/lib/cjs/http/decorators/All.d.ts.map +1 -1
- package/lib/cjs/http/decorators/All.js +5 -4
- package/lib/cjs/http/decorators/All.js.map +1 -1
- package/lib/cjs/http/decorators/Body.d.ts +4 -1
- package/lib/cjs/http/decorators/Body.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Body.js +5 -4
- package/lib/cjs/http/decorators/Body.js.map +1 -1
- package/lib/cjs/http/decorators/Controller.d.ts +1 -1
- package/lib/cjs/http/decorators/Controller.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Controller.js +16 -13
- package/lib/cjs/http/decorators/Controller.js.map +1 -1
- package/lib/cjs/http/decorators/Cookies.d.ts +4 -1
- package/lib/cjs/http/decorators/Cookies.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Cookies.js +5 -4
- package/lib/cjs/http/decorators/Cookies.js.map +1 -1
- package/lib/cjs/http/decorators/Delete.d.ts +1 -1
- package/lib/cjs/http/decorators/Delete.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Delete.js +5 -4
- package/lib/cjs/http/decorators/Delete.js.map +1 -1
- package/lib/cjs/http/decorators/Get.d.ts +1 -1
- package/lib/cjs/http/decorators/Get.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Get.js +5 -4
- package/lib/cjs/http/decorators/Get.js.map +1 -1
- package/lib/cjs/http/decorators/Head.d.ts +1 -1
- package/lib/cjs/http/decorators/Head.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Head.js +5 -4
- package/lib/cjs/http/decorators/Head.js.map +1 -1
- package/lib/cjs/http/decorators/Headers.d.ts +4 -1
- package/lib/cjs/http/decorators/Headers.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Headers.js +5 -4
- package/lib/cjs/http/decorators/Headers.js.map +1 -1
- package/lib/cjs/http/decorators/Next.d.ts +1 -1
- package/lib/cjs/http/decorators/Next.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Next.js +5 -4
- package/lib/cjs/http/decorators/Next.js.map +1 -1
- package/lib/cjs/http/decorators/Options.d.ts +1 -1
- package/lib/cjs/http/decorators/Options.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Options.js +5 -4
- package/lib/cjs/http/decorators/Options.js.map +1 -1
- package/lib/cjs/http/decorators/Params.d.ts +4 -1
- package/lib/cjs/http/decorators/Params.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Params.js +5 -4
- package/lib/cjs/http/decorators/Params.js.map +1 -1
- package/lib/cjs/http/decorators/Patch.d.ts +1 -1
- package/lib/cjs/http/decorators/Patch.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Patch.js +5 -4
- package/lib/cjs/http/decorators/Patch.js.map +1 -1
- package/lib/cjs/http/decorators/Post.d.ts +1 -1
- package/lib/cjs/http/decorators/Post.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Post.js +5 -4
- package/lib/cjs/http/decorators/Post.js.map +1 -1
- package/lib/cjs/http/decorators/Put.d.ts +1 -1
- package/lib/cjs/http/decorators/Put.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Put.js +5 -4
- package/lib/cjs/http/decorators/Put.js.map +1 -1
- package/lib/cjs/http/decorators/Query.d.ts +4 -1
- package/lib/cjs/http/decorators/Query.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Query.js +5 -4
- package/lib/cjs/http/decorators/Query.js.map +1 -1
- package/lib/cjs/http/decorators/Request.d.ts +3 -1
- package/lib/cjs/http/decorators/Request.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Request.js +5 -4
- package/lib/cjs/http/decorators/Request.js.map +1 -1
- package/lib/cjs/http/decorators/Response.d.ts +3 -1
- package/lib/cjs/http/decorators/Response.d.ts.map +1 -1
- package/lib/cjs/http/decorators/Response.js +5 -4
- package/lib/cjs/http/decorators/Response.js.map +1 -1
- package/lib/cjs/http/decorators/SetHeader.d.ts +2 -0
- package/lib/cjs/http/decorators/SetHeader.d.ts.map +1 -0
- package/lib/cjs/http/decorators/SetHeader.js +13 -0
- package/lib/cjs/http/decorators/SetHeader.js.map +1 -0
- package/lib/cjs/http/decorators/SetHeader.spec.d.ts +2 -0
- package/lib/cjs/http/decorators/SetHeader.spec.d.ts.map +1 -0
- package/lib/cjs/http/decorators/StatusCode.d.ts +2 -2
- package/lib/cjs/http/decorators/StatusCode.d.ts.map +1 -1
- package/lib/cjs/http/decorators/StatusCode.js +5 -4
- package/lib/cjs/http/decorators/StatusCode.js.map +1 -1
- package/lib/cjs/http/models/ControllerOptions.d.ts +3 -1
- package/lib/cjs/http/models/ControllerOptions.d.ts.map +1 -1
- package/lib/cjs/http/models/ControllerResponse.d.ts +3 -2
- package/lib/cjs/http/models/ControllerResponse.d.ts.map +1 -1
- package/lib/cjs/http/models/CustomParameterDecoratorHandler.d.ts +2 -0
- package/lib/cjs/http/models/CustomParameterDecoratorHandler.d.ts.map +1 -0
- package/lib/cjs/http/models/CustomParameterDecoratorHandler.js +3 -0
- package/lib/cjs/http/models/CustomParameterDecoratorHandler.js.map +1 -0
- package/lib/cjs/http/models/HttpAdapterOptions.d.ts +5 -0
- package/lib/cjs/http/models/HttpAdapterOptions.d.ts.map +1 -0
- package/lib/cjs/http/models/HttpAdapterOptions.js +3 -0
- package/lib/cjs/http/models/HttpAdapterOptions.js.map +1 -0
- package/lib/cjs/http/models/HttpStatusCode.d.ts.map +1 -0
- package/lib/cjs/http/models/HttpStatusCode.js.map +1 -0
- package/lib/cjs/http/models/MiddlewareHandler.d.ts +2 -0
- package/lib/cjs/http/models/MiddlewareHandler.d.ts.map +1 -0
- package/lib/cjs/http/models/MiddlewareHandler.js +3 -0
- package/lib/cjs/http/models/MiddlewareHandler.js.map +1 -0
- package/lib/cjs/http/models/RequestHandler.d.ts +1 -1
- package/lib/cjs/http/models/RequestHandler.d.ts.map +1 -1
- package/lib/cjs/http/models/RequestMethodParameterType.d.ts +9 -8
- package/lib/cjs/http/models/RequestMethodParameterType.d.ts.map +1 -1
- package/lib/cjs/http/models/RequestMethodParameterType.js +9 -8
- package/lib/cjs/http/models/RequestMethodParameterType.js.map +1 -1
- package/lib/cjs/http/models/RequestMethodType.d.ts +8 -8
- package/lib/cjs/http/models/RequestMethodType.d.ts.map +1 -1
- package/lib/cjs/http/models/RequestMethodType.js +8 -8
- package/lib/cjs/http/models/RequestMethodType.js.map +1 -1
- package/lib/cjs/http/models/RequiredOptions.d.ts +4 -0
- package/lib/cjs/http/models/RequiredOptions.d.ts.map +1 -0
- package/lib/cjs/http/models/RequiredOptions.js +3 -0
- package/lib/cjs/http/models/RequiredOptions.js.map +1 -0
- package/lib/cjs/http/models/RouteParamOptions.d.ts +4 -0
- package/lib/cjs/http/models/RouteParamOptions.d.ts.map +1 -0
- package/lib/cjs/http/models/RouteParamOptions.js +3 -0
- package/lib/cjs/http/models/RouteParamOptions.js.map +1 -0
- package/lib/cjs/http/models/RouteParams.d.ts +12 -0
- package/lib/cjs/http/models/RouteParams.d.ts.map +1 -0
- package/lib/cjs/http/models/{Middleware.js → RouteParams.js} +1 -1
- package/lib/cjs/http/models/RouteParams.js.map +1 -0
- package/lib/cjs/http/models/RouterParams.d.ts +3 -6
- package/lib/cjs/http/models/RouterParams.d.ts.map +1 -1
- package/lib/cjs/httpResponse/calculations/isHttpResponse.d.ts +3 -0
- package/lib/cjs/httpResponse/calculations/isHttpResponse.d.ts.map +1 -0
- package/lib/cjs/httpResponse/calculations/isHttpResponse.js +10 -0
- package/lib/cjs/httpResponse/calculations/isHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/calculations/isHttpResponse.spec.d.ts +2 -0
- package/lib/cjs/httpResponse/calculations/isHttpResponse.spec.d.ts.map +1 -0
- package/lib/cjs/httpResponse/models/AcceptedHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/AcceptedHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/success → httpResponse/models}/AcceptedHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/AcceptedHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/success → httpResponse/models}/AlreadyReportedHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/BadGatewayHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/BadRequestHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/BadRequestHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/BadRequestHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/BadRequestHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/ConflictHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/ConflictHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/ConflictHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/ConflictHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/success → httpResponse/models}/ContentDifferentHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/CreatedHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/CreatedHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/success → httpResponse/models}/CreatedHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/CreatedHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.d.ts +14 -0
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.d.ts.map +1 -0
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.js +25 -0
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.spec.d.ts +2 -0
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.spec.d.ts.map +1 -0
- package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/ForbiddenHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/GatewayTimeoutHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/GoneHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/GoneHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/GoneHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/GoneHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/HttpResponse.d.ts +9 -0
- package/lib/cjs/httpResponse/models/HttpResponse.d.ts.map +1 -0
- package/lib/cjs/httpResponse/models/HttpResponse.js +5 -0
- package/lib/cjs/httpResponse/models/HttpResponse.js.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/HttpVersionNotSupportedHttpResponse.d.ts +1 -1
- package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/HttpVersionNotSupportedHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/InsufficientStorageHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/InternalServerErrorHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/LoopDetectedHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/MethodNotAllowedHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/success → httpResponse/models}/MultiStatusHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/NoContentHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/NoContentHttpResponse.d.ts.map +1 -0
- package/lib/cjs/httpResponse/models/NoContentHttpResponse.js +12 -0
- package/lib/cjs/httpResponse/models/NoContentHttpResponse.js.map +1 -0
- package/lib/cjs/{http/responses/success → httpResponse/models}/NonAuthoritativeInformationHttpResponse.d.ts +2 -2
- package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/success → httpResponse/models}/NonAuthoritativeInformationHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/NotAcceptableHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/NotFoundHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/NotFoundHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/NotFoundHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/NotFoundHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/NotImplementedHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/OkHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/OkHttpResponse.d.ts.map +1 -0
- package/lib/cjs/httpResponse/models/OkHttpResponse.js +12 -0
- package/lib/cjs/httpResponse/models/OkHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/PartialContentHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/PartialContentHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/success → httpResponse/models}/PartialContentHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/PartialContentHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/PaymentRequiredHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/ResetContentHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/ResetContentHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/success → httpResponse/models}/ResetContentHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/ResetContentHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/ServiceUnavailableHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.d.ts +14 -0
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.d.ts.map +1 -0
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.js +24 -0
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.spec.d.ts +2 -0
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.spec.d.ts.map +1 -0
- package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.d.ts.map +1 -0
- package/lib/cjs/{http/responses/error → httpResponse/models}/UnauthorizedHttpResponse.js +3 -3
- package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.js.map +1 -0
- package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.d.ts +5 -0
- package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.d.ts.map +1 -0
- package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.js +12 -0
- package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.js.map +1 -0
- package/lib/cjs/index.d.ts +67 -51
- package/lib/cjs/index.d.ts.map +1 -1
- package/lib/cjs/index.js +86 -62
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.d.ts +2 -0
- package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.d.ts.map +1 -0
- package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.js +5 -0
- package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.js.map +1 -0
- package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.d.ts +2 -0
- package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.d.ts.map +1 -0
- package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.js +5 -0
- package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.d.ts +4 -0
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.js +16 -0
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.d.ts +4 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.js +15 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.d.ts +4 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.js +21 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.d.ts +5 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.js +49 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.d.ts +5 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.js +8 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.d.ts +3 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.js +9 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.js +14 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadataList.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.d.ts +3 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.js +9 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.d.ts +3 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.js +9 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.d.ts +3 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.js +9 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.js +9 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.js.map +1 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.spec.d.ts +2 -0
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.spec.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/model/ControllerMetadata.d.ts +7 -0
- package/lib/cjs/routerExplorer/model/ControllerMetadata.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/model/ControllerMetadata.js.map +1 -0
- package/lib/cjs/{http/models → routerExplorer/model}/ControllerMethodMetadata.d.ts +1 -1
- package/lib/cjs/routerExplorer/model/ControllerMethodMetadata.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/model/ControllerMethodMetadata.js.map +1 -0
- package/lib/cjs/routerExplorer/model/ControllerMethodParameterMetadata.d.ts +11 -0
- package/lib/cjs/routerExplorer/model/ControllerMethodParameterMetadata.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/model/ControllerMethodParameterMetadata.js.map +1 -0
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.d.ts +9 -0
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.js +4 -0
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.js.map +1 -0
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.d.ts +20 -0
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.d.ts.map +1 -0
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.js +3 -0
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.js.map +1 -0
- package/lib/esm/index.d.ts +191 -103
- package/lib/esm/index.d.ts.map +1 -1
- package/lib/esm/index.js +1 -1
- package/lib/esm/index.js.map +1 -1
- package/package.json +24 -23
- package/lib/cjs/http/decorators/ApplyMiddleware.d.ts +0 -2
- package/lib/cjs/http/decorators/ApplyMiddleware.d.ts.map +0 -1
- package/lib/cjs/http/decorators/ApplyMiddleware.js +0 -30
- package/lib/cjs/http/decorators/ApplyMiddleware.js.map +0 -1
- package/lib/cjs/http/decorators/ApplyMiddleware.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/ApplyMiddleware.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/RequestMethod.d.ts.map +0 -1
- package/lib/cjs/http/decorators/RequestMethod.js +0 -23
- package/lib/cjs/http/decorators/RequestMethod.js.map +0 -1
- package/lib/cjs/http/decorators/RequestMethod.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/RequestMethod.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/RequestParam.d.ts +0 -3
- package/lib/cjs/http/decorators/RequestParam.d.ts.map +0 -1
- package/lib/cjs/http/decorators/RequestParam.js +0 -41
- package/lib/cjs/http/decorators/RequestParam.js.map +0 -1
- package/lib/cjs/http/decorators/RequestParam.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/RequestParam.spec.d.ts.map +0 -1
- package/lib/cjs/http/models/ControllerMetadata.d.ts +0 -6
- package/lib/cjs/http/models/ControllerMetadata.d.ts.map +0 -1
- package/lib/cjs/http/models/ControllerMetadata.js.map +0 -1
- package/lib/cjs/http/models/ControllerMethodMetadata.d.ts.map +0 -1
- package/lib/cjs/http/models/ControllerMethodMetadata.js.map +0 -1
- package/lib/cjs/http/models/ControllerMethodParameterMetadata.d.ts +0 -7
- package/lib/cjs/http/models/ControllerMethodParameterMetadata.d.ts.map +0 -1
- package/lib/cjs/http/models/ControllerMethodParameterMetadata.js.map +0 -1
- package/lib/cjs/http/models/Middleware.d.ts +0 -4
- package/lib/cjs/http/models/Middleware.d.ts.map +0 -1
- package/lib/cjs/http/models/Middleware.js.map +0 -1
- package/lib/cjs/http/responses/HttpResponse.d.ts +0 -11
- package/lib/cjs/http/responses/HttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/HttpResponse.js +0 -21
- package/lib/cjs/http/responses/HttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/HttpStatusCode.d.ts.map +0 -1
- package/lib/cjs/http/responses/HttpStatusCode.js.map +0 -1
- package/lib/cjs/http/responses/error/BadGatewayHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/BadGatewayHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/BadGatewayHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/BadRequestHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/BadRequestHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/BadRequestHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/ConflictHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/ConflictHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/ConflictHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/ErrorHttpResponse.d.ts +0 -6
- package/lib/cjs/http/responses/error/ErrorHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/ErrorHttpResponse.js +0 -11
- package/lib/cjs/http/responses/error/ErrorHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/ForbiddenHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/ForbiddenHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/ForbiddenHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/GatewayTimeoutHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/GatewayTimeoutHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/GatewayTimeoutHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/GoneHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/GoneHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/GoneHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/HttpVersionNotSupportedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/HttpVersionNotSupportedHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/InsufficientStorageHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/InsufficientStorageHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/InsufficientStorageHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/InternalServerErrorHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/InternalServerErrorHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/InternalServerErrorHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/LoopDetectedHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/LoopDetectedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/LoopDetectedHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/MethodNotAllowedHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/MethodNotAllowedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/MethodNotAllowedHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/NotAcceptableHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/NotAcceptableHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/NotAcceptableHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/NotFoundHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/NotFoundHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/NotFoundHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/NotImplementedHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/NotImplementedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/NotImplementedHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/PaymentRequiredHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/PaymentRequiredHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/PaymentRequiredHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/ServiceUnavailableHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/ServiceUnavailableHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/ServiceUnavailableHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/error/UnauthorizedHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/error/UnauthorizedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/error/UnauthorizedHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/success/AcceptedHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/success/AcceptedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/success/AcceptedHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/success/AlreadyReportedHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/success/AlreadyReportedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/success/AlreadyReportedHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/success/ContentDifferentHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/success/ContentDifferentHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/success/ContentDifferentHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/success/CreatedHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/success/CreatedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/success/CreatedHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/success/MultiStatusHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/success/MultiStatusHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/success/MultiStatusHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/success/NoContentHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/success/NoContentHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/success/NoContentHttpResponse.js +0 -12
- package/lib/cjs/http/responses/success/NoContentHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/success/NonAuthoritativeInformationHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/success/NonAuthoritativeInformationHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/success/OkHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/success/OkHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/success/OkHttpResponse.js +0 -12
- package/lib/cjs/http/responses/success/OkHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/success/PartialContentHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/success/PartialContentHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/success/PartialContentHttpResponse.js.map +0 -1
- package/lib/cjs/http/responses/success/ResetContentHttpResponse.d.ts +0 -5
- package/lib/cjs/http/responses/success/ResetContentHttpResponse.d.ts.map +0 -1
- package/lib/cjs/http/responses/success/ResetContentHttpResponse.js.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodMiddlewareMetadataReflectKey.d.ts +0 -2
- package/lib/cjs/reflectMetadata/data/controllerMethodMiddlewareMetadataReflectKey.d.ts.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodMiddlewareMetadataReflectKey.js +0 -5
- package/lib/cjs/reflectMetadata/data/controllerMethodMiddlewareMetadataReflectKey.js.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMiddlewareMetadataReflectKey.d.ts +0 -2
- package/lib/cjs/reflectMetadata/data/controllerMiddlewareMetadataReflectKey.d.ts.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMiddlewareMetadataReflectKey.js +0 -5
- package/lib/cjs/reflectMetadata/data/controllerMiddlewareMetadataReflectKey.js.map +0 -1
- /package/lib/cjs/http/{responses → models}/HttpStatusCode.d.ts +0 -0
- /package/lib/cjs/http/{responses → models}/HttpStatusCode.js +0 -0
- /package/lib/cjs/{http/models → routerExplorer/model}/ControllerMetadata.js +0 -0
- /package/lib/cjs/{http/models → routerExplorer/model}/ControllerMethodMetadata.js +0 -0
- /package/lib/cjs/{http/models → routerExplorer/model}/ControllerMethodParameterMetadata.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildSetHeaderMetadata.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildSetHeaderMetadata.ts"],"names":[],"mappings":"AAAA,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GACZ,CAAC,cAAc,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAc9D"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.buildSetHeaderMetadata = buildSetHeaderMetadata;
|
|
4
|
+
function buildSetHeaderMetadata(headerKey, value) {
|
|
5
|
+
return (headerMetadata) => {
|
|
6
|
+
const fixedKey = headerKey.toLowerCase();
|
|
7
|
+
const headerValue = headerMetadata.get(fixedKey);
|
|
8
|
+
if (headerValue !== undefined) {
|
|
9
|
+
headerMetadata.set(fixedKey, `${headerValue}, ${value}`);
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
headerMetadata.set(fixedKey, value);
|
|
13
|
+
}
|
|
14
|
+
return headerMetadata;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=buildSetHeaderMetadata.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildSetHeaderMetadata.js","sourceRoot":"","sources":["../../../../src/http/calculations/buildSetHeaderMetadata.ts"],"names":[],"mappings":";;AAAA,wDAiBC;AAjBD,SAAgB,sBAAsB,CACpC,SAAiB,EACjB,KAAa;IAEb,OAAO,CAAC,cAAmC,EAAuB,EAAE;QAClE,MAAM,QAAQ,GAAW,SAAS,CAAC,WAAW,EAAE,CAAC;QAEjD,MAAM,WAAW,GAAuB,cAAc,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;QAErE,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,cAAc,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,WAAW,KAAK,KAAK,EAAE,CAAC,CAAC;QAC3D,CAAC;aAAM,CAAC;YACN,cAAc,CAAC,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC;QACtC,CAAC;QAED,OAAO,cAAc,CAAC;IACxB,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildSetHeaderMetadata.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildSetHeaderMetadata.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Pipe } from '@inversifyjs/framework-core';
|
|
2
|
+
import { ServiceIdentifier } from 'inversify';
|
|
3
|
+
import { CustomParameterDecoratorHandler } from '../models/CustomParameterDecoratorHandler';
|
|
4
|
+
export declare function createCustomParameterDecorator<TRequest, TResponse, TResult>(handler: CustomParameterDecoratorHandler<TRequest, TResponse, TResult>, ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
5
|
+
//# sourceMappingURL=createCustomParameterDecorator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCustomParameterDecorator.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/createCustomParameterDecorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,+BAA+B,EAAE,MAAM,2CAA2C,CAAC;AAI5F,wBAAgB,8BAA8B,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EACzE,OAAO,EAAE,+BAA+B,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,EACtE,GAAG,iBAAiB,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,GACvD,kBAAkB,CAOpB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.createCustomParameterDecorator = createCustomParameterDecorator;
|
|
4
|
+
const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
|
|
5
|
+
const buildRouteParameterDecorator_1 = require("./buildRouteParameterDecorator");
|
|
6
|
+
function createCustomParameterDecorator(handler, ...parameterPipeList) {
|
|
7
|
+
return (0, buildRouteParameterDecorator_1.buildRouteParameterDecorator)(RequestMethodParameterType_1.RequestMethodParameterType.Custom, parameterPipeList, undefined, handler);
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=createCustomParameterDecorator.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCustomParameterDecorator.js","sourceRoot":"","sources":["../../../../src/http/calculations/createCustomParameterDecorator.ts"],"names":[],"mappings":";;AAOA,wEAUC;AAbD,qFAAkF;AAClF,iFAA8E;AAE9E,SAAgB,8BAA8B,CAC5C,OAAsE,EACtE,GAAG,iBAAqD;IAExD,OAAO,IAAA,2DAA4B,EACjC,uDAA0B,CAAC,MAAM,EACjC,iBAAiB,EACjB,SAAS,EACT,OAAO,CACR,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createCustomParameterDecorator.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/createCustomParameterDecorator.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestMethod.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/requestMethod.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,wBAAgB,aAAa,CAC3B,iBAAiB,EAAE,iBAAiB,EACpC,IAAI,CAAC,EAAE,MAAM,GACZ,eAAe,CAejB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.requestMethod = requestMethod;
|
|
4
|
+
const reflect_metadata_utils_1 = require("@inversifyjs/reflect-metadata-utils");
|
|
5
|
+
const controllerMethodMetadataReflectKey_1 = require("../../reflectMetadata/data/controllerMethodMetadataReflectKey");
|
|
6
|
+
const buildNormalizedPath_1 = require("./buildNormalizedPath");
|
|
7
|
+
function requestMethod(requestMethodType, path) {
|
|
8
|
+
return (target, methodKey) => {
|
|
9
|
+
const controllerMethodMetadata = {
|
|
10
|
+
methodKey,
|
|
11
|
+
path: (0, buildNormalizedPath_1.buildNormalizedPath)(path ?? '/'),
|
|
12
|
+
requestMethodType,
|
|
13
|
+
};
|
|
14
|
+
(0, reflect_metadata_utils_1.updateOwnReflectMetadata)(target.constructor, controllerMethodMetadataReflectKey_1.controllerMethodMetadataReflectKey, reflect_metadata_utils_1.buildEmptyArrayMetadata, (0, reflect_metadata_utils_1.buildArrayMetadataWithElement)(controllerMethodMetadata));
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=requestMethod.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestMethod.js","sourceRoot":"","sources":["../../../../src/http/calculations/requestMethod.ts"],"names":[],"mappings":";;AAWA,sCAkBC;AA7BD,gFAI6C;AAE7C,sHAAmH;AAGnH,+DAA4D;AAE5D,SAAgB,aAAa,CAC3B,iBAAoC,EACpC,IAAa;IAEb,OAAO,CAAC,MAAc,EAAE,SAA0B,EAAQ,EAAE;QAC1D,MAAM,wBAAwB,GAA6B;YACzD,SAAS;YACT,IAAI,EAAE,IAAA,yCAAmB,EAAC,IAAI,IAAI,GAAG,CAAC;YACtC,iBAAiB;SAClB,CAAC;QAEF,IAAA,iDAAwB,EACtB,MAAM,CAAC,WAAW,EAClB,uEAAkC,EAClC,gDAAuB,EACvB,IAAA,sDAA6B,EAAC,wBAAwB,CAAC,CACxD,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestMethod.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/requestMethod.spec.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ControllerMethodParameterMetadata } from '../../routerExplorer/model/ControllerMethodParameterMetadata';
|
|
2
|
+
export declare function requestParam(controllerMethodParameterMetadata: ControllerMethodParameterMetadata): ParameterDecorator;
|
|
3
|
+
//# sourceMappingURL=requestParam.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestParam.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/requestParam.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AAGjH,wBAAgB,YAAY,CAC1B,iCAAiC,EAAE,iCAAiC,GACnE,kBAAkB,CAmCpB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.requestParam = requestParam;
|
|
4
|
+
const reflect_metadata_utils_1 = require("@inversifyjs/reflect-metadata-utils");
|
|
5
|
+
const InversifyHttpAdapterError_1 = require("../../error/models/InversifyHttpAdapterError");
|
|
6
|
+
const InversifyHttpAdapterErrorKind_1 = require("../../error/models/InversifyHttpAdapterErrorKind");
|
|
7
|
+
const controllerMethodParameterMetadataReflectKey_1 = require("../../reflectMetadata/data/controllerMethodParameterMetadataReflectKey");
|
|
8
|
+
const controllerMethodUseNativeHandlerMetadataReflectKey_1 = require("../../reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey");
|
|
9
|
+
const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
|
|
10
|
+
function requestParam(controllerMethodParameterMetadata) {
|
|
11
|
+
return (target, key, index) => {
|
|
12
|
+
if (key === undefined) {
|
|
13
|
+
throw new InversifyHttpAdapterError_1.InversifyHttpAdapterError(InversifyHttpAdapterErrorKind_1.InversifyHttpAdapterErrorKind.requestParamIncorrectUse, 'Expected param decorator to be used on a method parameter. Instead, it was found on a constructor parameter');
|
|
14
|
+
}
|
|
15
|
+
(0, reflect_metadata_utils_1.updateOwnReflectMetadata)(target.constructor, controllerMethodParameterMetadataReflectKey_1.controllerMethodParameterMetadataReflectKey, reflect_metadata_utils_1.buildEmptyArrayMetadata, (0, reflect_metadata_utils_1.buildArrayMetadataWithIndex)(controllerMethodParameterMetadata, index), key);
|
|
16
|
+
if (controllerMethodParameterMetadata.parameterType ===
|
|
17
|
+
RequestMethodParameterType_1.RequestMethodParameterType.Next ||
|
|
18
|
+
controllerMethodParameterMetadata.parameterType ===
|
|
19
|
+
RequestMethodParameterType_1.RequestMethodParameterType.Response) {
|
|
20
|
+
(0, reflect_metadata_utils_1.setReflectMetadata)(target.constructor, controllerMethodUseNativeHandlerMetadataReflectKey_1.controllerMethodUseNativeHandlerMetadataReflectKey, true, key);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=requestParam.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestParam.js","sourceRoot":"","sources":["../../../../src/http/calculations/requestParam.ts"],"names":[],"mappings":";;AAcA,oCAqCC;AAnDD,gFAK6C;AAE7C,4FAAyF;AACzF,oGAAiG;AACjG,wIAAqI;AACrI,sJAAmJ;AAEnJ,qFAAkF;AAElF,SAAgB,YAAY,CAC1B,iCAAoE;IAEpE,OAAO,CACL,MAAc,EACd,GAAgC,EAChC,KAAa,EACP,EAAE;QACR,IAAI,GAAG,KAAK,SAAS,EAAE,CAAC;YACtB,MAAM,IAAI,qDAAyB,CACjC,6DAA6B,CAAC,wBAAwB,EACtD,6GAA6G,CAC9G,CAAC;QACJ,CAAC;QAED,IAAA,iDAAwB,EACtB,MAAM,CAAC,WAAW,EAClB,yFAA2C,EAC3C,gDAAuB,EACvB,IAAA,oDAA2B,EAAC,iCAAiC,EAAE,KAAK,CAAC,EACrE,GAAG,CACJ,CAAC;QAEF,IACE,iCAAiC,CAAC,aAAa;YAC7C,uDAA0B,CAAC,IAAI;YACjC,iCAAiC,CAAC,aAAa;gBAC7C,uDAA0B,CAAC,QAAQ,EACrC,CAAC;YACD,IAAA,2CAAkB,EAChB,MAAM,CAAC,WAAW,EAClB,uGAAkD,EAClD,IAAI,EACJ,GAAG,CACJ,CAAC;QACJ,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"requestParam.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/requestParam.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const All: (path?: string) => MethodDecorator;
|
|
2
2
|
//# sourceMappingURL=All.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"All.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/All.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"All.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/All.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.
|
|
3
|
+
exports.All = void 0;
|
|
4
|
+
const requestMethod_1 = require("../calculations/requestMethod");
|
|
4
5
|
const RequestMethodType_1 = require("../models/RequestMethodType");
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
exports.
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
const All = (path) => (0, requestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.All, path);
|
|
8
|
+
exports.All = All;
|
|
8
9
|
//# sourceMappingURL=All.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"All.js","sourceRoot":"","sources":["../../../../src/http/decorators/All.ts"],"names":[],"mappings":";;;AAAA,mEAAgE;
|
|
1
|
+
{"version":3,"file":"All.js","sourceRoot":"","sources":["../../../../src/http/decorators/All.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
|
-
|
|
1
|
+
import { Pipe } from '@inversifyjs/framework-core';
|
|
2
|
+
import { ServiceIdentifier } from 'inversify';
|
|
3
|
+
import { RouteParamOptions } from '../models/RouteParamOptions';
|
|
4
|
+
export declare function Body(optionsOrPipe?: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe), ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
2
5
|
//# sourceMappingURL=Body.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Body.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Body.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,IAAI,CAClB,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.
|
|
3
|
+
exports.Body = Body;
|
|
4
|
+
const buildRouteParameterDecorator_1 = require("../calculations/buildRouteParameterDecorator");
|
|
4
5
|
const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
return (0,
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
function Body(optionsOrPipe, ...parameterPipeList) {
|
|
8
|
+
return (0, buildRouteParameterDecorator_1.buildRouteParameterDecorator)(RequestMethodParameterType_1.RequestMethodParameterType.Body, parameterPipeList, optionsOrPipe);
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=Body.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Body.js","sourceRoot":"","sources":["../../../../src/http/decorators/Body.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Body.js","sourceRoot":"","sources":["../../../../src/http/decorators/Body.ts"],"names":[],"mappings":";;AAQA,oBASC;AAdD,+FAA4F;AAC5F,qFAAkF;AAGlF,gEAAgE;AAChE,SAAgB,IAAI,CAClB,aAAoE,EACpE,GAAG,iBAAqD;IAExD,OAAO,IAAA,2DAA4B,EACjC,uDAA0B,CAAC,IAAI,EAC/B,iBAAiB,EACjB,aAAa,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ControllerOptions } from '../models/ControllerOptions';
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function Controller(pathOrOptions?: string | ControllerOptions): ClassDecorator;
|
|
3
3
|
//# sourceMappingURL=Controller.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Controller.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Controller.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Controller.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Controller.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,wBAAgB,UAAU,CACxB,aAAa,CAAC,EAAE,MAAM,GAAG,iBAAiB,GACzC,cAAc,CAoChB"}
|
|
@@ -1,31 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.Controller = Controller;
|
|
4
4
|
const reflect_metadata_utils_1 = require("@inversifyjs/reflect-metadata-utils");
|
|
5
|
+
const inversify_1 = require("inversify");
|
|
5
6
|
const controllerMetadataReflectKey_1 = require("../../reflectMetadata/data/controllerMetadataReflectKey");
|
|
6
|
-
|
|
7
|
+
const buildNormalizedPath_1 = require("../calculations/buildNormalizedPath");
|
|
8
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
9
|
+
function Controller(pathOrOptions) {
|
|
7
10
|
return (target) => {
|
|
8
11
|
const controllerMetadata = {
|
|
9
12
|
path: '/',
|
|
13
|
+
serviceIdentifier: target,
|
|
10
14
|
target,
|
|
11
15
|
};
|
|
16
|
+
let scope = undefined;
|
|
12
17
|
if (pathOrOptions !== undefined) {
|
|
13
18
|
if (typeof pathOrOptions === 'string') {
|
|
14
|
-
controllerMetadata.path = pathOrOptions;
|
|
19
|
+
controllerMetadata.path = (0, buildNormalizedPath_1.buildNormalizedPath)(pathOrOptions);
|
|
15
20
|
}
|
|
16
21
|
else {
|
|
17
|
-
controllerMetadata.
|
|
18
|
-
|
|
22
|
+
controllerMetadata.path = (0, buildNormalizedPath_1.buildNormalizedPath)(pathOrOptions.path ?? '/');
|
|
23
|
+
if (pathOrOptions.serviceIdentifier !== undefined) {
|
|
24
|
+
controllerMetadata.serviceIdentifier =
|
|
25
|
+
pathOrOptions.serviceIdentifier;
|
|
26
|
+
}
|
|
27
|
+
scope = pathOrOptions.scope;
|
|
19
28
|
}
|
|
20
29
|
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
controllerMetadataList.push(controllerMetadata);
|
|
24
|
-
}
|
|
25
|
-
else {
|
|
26
|
-
controllerMetadataList = [controllerMetadata];
|
|
27
|
-
}
|
|
28
|
-
(0, reflect_metadata_utils_1.setReflectMetadata)(Reflect, controllerMetadataReflectKey_1.controllerMetadataReflectKey, controllerMetadataList);
|
|
30
|
+
(0, inversify_1.injectable)(scope)(target);
|
|
31
|
+
(0, reflect_metadata_utils_1.updateOwnReflectMetadata)(Reflect, controllerMetadataReflectKey_1.controllerMetadataReflectKey, reflect_metadata_utils_1.buildEmptyArrayMetadata, (0, reflect_metadata_utils_1.buildArrayMetadataWithElement)(controllerMetadata));
|
|
29
32
|
};
|
|
30
33
|
}
|
|
31
34
|
//# sourceMappingURL=Controller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Controller.js","sourceRoot":"","sources":["../../../../src/http/decorators/Controller.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Controller.js","sourceRoot":"","sources":["../../../../src/http/decorators/Controller.ts"],"names":[],"mappings":";;AAaA,gCAsCC;AAnDD,gFAI6C;AAC7C,yCAAqD;AAErD,0GAAuG;AAEvG,6EAA0E;AAG1E,gEAAgE;AAChE,SAAgB,UAAU,CACxB,aAA0C;IAE1C,OAAO,CAAC,MAAuB,EAAQ,EAAE;QACvC,MAAM,kBAAkB,GAAuB;YAC7C,IAAI,EAAE,GAAG;YACT,iBAAiB,EAAE,MAAM;YACzB,MAAM;SACP,CAAC;QAEF,IAAI,KAAK,GAA6B,SAAS,CAAC;QAEhD,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;YAChC,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;gBACtC,kBAAkB,CAAC,IAAI,GAAG,IAAA,yCAAmB,EAAC,aAAa,CAAC,CAAC;YAC/D,CAAC;iBAAM,CAAC;gBACN,kBAAkB,CAAC,IAAI,GAAG,IAAA,yCAAmB,EAC3C,aAAa,CAAC,IAAI,IAAI,GAAG,CAC1B,CAAC;gBAEF,IAAI,aAAa,CAAC,iBAAiB,KAAK,SAAS,EAAE,CAAC;oBAClD,kBAAkB,CAAC,iBAAiB;wBAClC,aAAa,CAAC,iBAAiB,CAAC;gBACpC,CAAC;gBAED,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC;YAC9B,CAAC;QACH,CAAC;QAED,IAAA,sBAAU,EAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;QAE1B,IAAA,iDAAwB,EACtB,OAAO,EACP,2DAA4B,EAC5B,gDAAuB,EACvB,IAAA,sDAA6B,EAAC,kBAAkB,CAAC,CAClD,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { Pipe } from '@inversifyjs/framework-core';
|
|
2
|
+
import { ServiceIdentifier } from 'inversify';
|
|
3
|
+
import { RouteParamOptions } from '../models/RouteParamOptions';
|
|
4
|
+
export declare function Cookies(optionsOrPipe?: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe), ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
2
5
|
//# sourceMappingURL=Cookies.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cookies.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Cookies.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Cookies.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Cookies.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,OAAO,CACrB,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.
|
|
3
|
+
exports.Cookies = Cookies;
|
|
4
|
+
const buildRouteParameterDecorator_1 = require("../calculations/buildRouteParameterDecorator");
|
|
4
5
|
const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
return (0,
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
function Cookies(optionsOrPipe, ...parameterPipeList) {
|
|
8
|
+
return (0, buildRouteParameterDecorator_1.buildRouteParameterDecorator)(RequestMethodParameterType_1.RequestMethodParameterType.Cookies, parameterPipeList, optionsOrPipe);
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=Cookies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cookies.js","sourceRoot":"","sources":["../../../../src/http/decorators/Cookies.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Cookies.js","sourceRoot":"","sources":["../../../../src/http/decorators/Cookies.ts"],"names":[],"mappings":";;AAQA,0BASC;AAdD,+FAA4F;AAC5F,qFAAkF;AAGlF,gEAAgE;AAChE,SAAgB,OAAO,CACrB,aAAoE,EACpE,GAAG,iBAAqD;IAExD,OAAO,IAAA,2DAA4B,EACjC,uDAA0B,CAAC,OAAO,EAClC,iBAAiB,EACjB,aAAa,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Delete: (path?: string) => MethodDecorator;
|
|
2
2
|
//# sourceMappingURL=Delete.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Delete.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Delete.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Delete.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Delete.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM,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.
|
|
3
|
+
exports.Delete = void 0;
|
|
4
|
+
const requestMethod_1 = require("../calculations/requestMethod");
|
|
4
5
|
const RequestMethodType_1 = require("../models/RequestMethodType");
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
exports.
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
const Delete = (path) => (0, requestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.Delete, path);
|
|
8
|
+
exports.Delete = Delete;
|
|
8
9
|
//# sourceMappingURL=Delete.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Delete.js","sourceRoot":"","sources":["../../../../src/http/decorators/Delete.ts"],"names":[],"mappings":";;;AAAA,mEAAgE;
|
|
1
|
+
{"version":3,"file":"Delete.js","sourceRoot":"","sources":["../../../../src/http/decorators/Delete.ts"],"names":[],"mappings":";;;AAAA,iEAA8D;AAC9D,mEAAgE;AAEhE,gEAAgE;AACzD,MAAM,MAAM,GAAuC,CACxD,IAAa,EACI,EAAE,CAAC,IAAA,6BAAa,EAAC,qCAAiB,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAFvD,QAAA,MAAM,UAEiD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Get: (path?: string) => MethodDecorator;
|
|
2
2
|
//# sourceMappingURL=Get.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Get.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Get.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Get.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Get.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.
|
|
3
|
+
exports.Get = void 0;
|
|
4
|
+
const requestMethod_1 = require("../calculations/requestMethod");
|
|
4
5
|
const RequestMethodType_1 = require("../models/RequestMethodType");
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
exports.
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
const Get = (path) => (0, requestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.Get, path);
|
|
8
|
+
exports.Get = Get;
|
|
8
9
|
//# sourceMappingURL=Get.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Get.js","sourceRoot":"","sources":["../../../../src/http/decorators/Get.ts"],"names":[],"mappings":";;;AAAA,mEAAgE;
|
|
1
|
+
{"version":3,"file":"Get.js","sourceRoot":"","sources":["../../../../src/http/decorators/Get.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,2 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Head: (path?: string) => MethodDecorator;
|
|
2
2
|
//# sourceMappingURL=Head.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Head.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Head.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Head.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Head.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.
|
|
3
|
+
exports.Head = void 0;
|
|
4
|
+
const requestMethod_1 = require("../calculations/requestMethod");
|
|
4
5
|
const RequestMethodType_1 = require("../models/RequestMethodType");
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
exports.
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
const Head = (path) => (0, requestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.Head, path);
|
|
8
|
+
exports.Head = Head;
|
|
8
9
|
//# sourceMappingURL=Head.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Head.js","sourceRoot":"","sources":["../../../../src/http/decorators/Head.ts"],"names":[],"mappings":";;;AAAA,mEAAgE;
|
|
1
|
+
{"version":3,"file":"Head.js","sourceRoot":"","sources":["../../../../src/http/decorators/Head.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,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { Pipe } from '@inversifyjs/framework-core';
|
|
2
|
+
import { ServiceIdentifier } from 'inversify';
|
|
3
|
+
import { RouteParamOptions } from '../models/RouteParamOptions';
|
|
4
|
+
export declare function Headers(optionsOrPipe?: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe), ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
2
5
|
//# sourceMappingURL=Headers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headers.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Headers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Headers.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Headers.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,OAAO,CACrB,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.
|
|
3
|
+
exports.Headers = Headers;
|
|
4
|
+
const buildRouteParameterDecorator_1 = require("../calculations/buildRouteParameterDecorator");
|
|
4
5
|
const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
return (0,
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
function Headers(optionsOrPipe, ...parameterPipeList) {
|
|
8
|
+
return (0, buildRouteParameterDecorator_1.buildRouteParameterDecorator)(RequestMethodParameterType_1.RequestMethodParameterType.Headers, parameterPipeList, optionsOrPipe);
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=Headers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headers.js","sourceRoot":"","sources":["../../../../src/http/decorators/Headers.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Headers.js","sourceRoot":"","sources":["../../../../src/http/decorators/Headers.ts"],"names":[],"mappings":";;AAQA,0BASC;AAdD,+FAA4F;AAC5F,qFAAkF;AAGlF,gEAAgE;AAChE,SAAgB,OAAO,CACrB,aAAoE,EACpE,GAAG,iBAAqD;IAExD,OAAO,IAAA,2DAA4B,EACjC,uDAA0B,CAAC,OAAO,EAClC,iBAAiB,EACjB,aAAa,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function Next(): ParameterDecorator;
|
|
2
2
|
//# sourceMappingURL=Next.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Next.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Next.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Next.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Next.ts"],"names":[],"mappings":"AAIA,wBAAgB,IAAI,IAAI,kBAAkB,CAEzC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.Next = Next;
|
|
4
|
+
const buildRouteParameterDecorator_1 = require("../calculations/buildRouteParameterDecorator");
|
|
4
5
|
const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
return (0,
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
function Next() {
|
|
8
|
+
return (0, buildRouteParameterDecorator_1.buildRouteParameterDecorator)(RequestMethodParameterType_1.RequestMethodParameterType.Next, []);
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=Next.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Next.js","sourceRoot":"","sources":["../../../../src/http/decorators/Next.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Next.js","sourceRoot":"","sources":["../../../../src/http/decorators/Next.ts"],"names":[],"mappings":";;AAIA,oBAEC;AAND,+FAA4F;AAC5F,qFAAkF;AAElF,gEAAgE;AAChE,SAAgB,IAAI;IAClB,OAAO,IAAA,2DAA4B,EAAC,uDAA0B,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;AAC3E,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Options: (path?: string) => MethodDecorator;
|
|
2
2
|
//# sourceMappingURL=Options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Options.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Options.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Options.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,OAAO,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.
|
|
3
|
+
exports.Options = void 0;
|
|
4
|
+
const requestMethod_1 = require("../calculations/requestMethod");
|
|
4
5
|
const RequestMethodType_1 = require("../models/RequestMethodType");
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
exports.
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
const Options = (path) => (0, requestMethod_1.requestMethod)(RequestMethodType_1.RequestMethodType.Options, path);
|
|
8
|
+
exports.Options = Options;
|
|
8
9
|
//# sourceMappingURL=Options.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Options.js","sourceRoot":"","sources":["../../../../src/http/decorators/Options.ts"],"names":[],"mappings":";;;AAAA,mEAAgE;
|
|
1
|
+
{"version":3,"file":"Options.js","sourceRoot":"","sources":["../../../../src/http/decorators/Options.ts"],"names":[],"mappings":";;;AAAA,iEAA8D;AAC9D,mEAAgE;AAEhE,gEAAgE;AACzD,MAAM,OAAO,GAAuC,CACzD,IAAa,EACI,EAAE,CAAC,IAAA,6BAAa,EAAC,qCAAiB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AAFxD,QAAA,OAAO,WAEiD"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { Pipe } from '@inversifyjs/framework-core';
|
|
2
|
+
import { ServiceIdentifier } from 'inversify';
|
|
3
|
+
import { RouteParamOptions } from '../models/RouteParamOptions';
|
|
4
|
+
export declare function Params(optionsOrPipe?: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe), ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
2
5
|
//# sourceMappingURL=Params.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Params.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Params.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Params.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,MAAM,CACpB,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.
|
|
3
|
+
exports.Params = Params;
|
|
4
|
+
const buildRouteParameterDecorator_1 = require("../calculations/buildRouteParameterDecorator");
|
|
4
5
|
const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
|
|
5
|
-
|
|
6
|
-
function
|
|
7
|
-
return (0,
|
|
6
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
7
|
+
function Params(optionsOrPipe, ...parameterPipeList) {
|
|
8
|
+
return (0, buildRouteParameterDecorator_1.buildRouteParameterDecorator)(RequestMethodParameterType_1.RequestMethodParameterType.Params, parameterPipeList, optionsOrPipe);
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=Params.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../src/http/decorators/Params.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"Params.js","sourceRoot":"","sources":["../../../../src/http/decorators/Params.ts"],"names":[],"mappings":";;AAQA,wBASC;AAdD,+FAA4F;AAC5F,qFAAkF;AAGlF,gEAAgE;AAChE,SAAgB,MAAM,CACpB,aAAoE,EACpE,GAAG,iBAAqD;IAExD,OAAO,IAAA,2DAA4B,EACjC,uDAA0B,CAAC,MAAM,EACjC,iBAAiB,EACjB,aAAa,CACd,CAAC;AACJ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const Patch: (path?: string) => MethodDecorator;
|
|
2
2
|
//# sourceMappingURL=Patch.d.ts.map
|