@inversifyjs/http-core 4.10.2 → 5.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/lib/error/models/InversifyHttpAdapterError.d.ts +17 -0
- package/lib/error/models/InversifyHttpAdapterError.d.ts.map +1 -0
- package/lib/error/models/InversifyHttpAdapterError.js +22 -0
- package/lib/error/models/InversifyHttpAdapterError.js.map +1 -0
- package/lib/error/models/InversifyHttpAdapterErrorKind.d.ts.map +1 -0
- package/lib/error/models/InversifyHttpAdapterErrorKind.js +7 -0
- package/lib/error/models/InversifyHttpAdapterErrorKind.js.map +1 -0
- package/lib/http/actions/setErrorFilterToErrorFilterMap.d.ts +5 -0
- package/lib/http/actions/setErrorFilterToErrorFilterMap.d.ts.map +1 -0
- package/lib/http/actions/setErrorFilterToErrorFilterMap.js +15 -0
- package/lib/http/actions/setErrorFilterToErrorFilterMap.js.map +1 -0
- package/lib/http/adapter/InversifyHttpAdapter.d.ts +43 -0
- package/lib/http/adapter/InversifyHttpAdapter.d.ts.map +1 -0
- package/lib/http/adapter/InversifyHttpAdapter.js +392 -0
- package/lib/http/adapter/InversifyHttpAdapter.js.map +1 -0
- package/lib/http/calculations/areAllParamsSync.d.ts +6 -0
- package/lib/http/calculations/areAllParamsSync.d.ts.map +1 -0
- package/lib/http/calculations/areAllParamsSync.js +7 -0
- package/lib/http/calculations/areAllParamsSync.js.map +1 -0
- package/lib/http/calculations/buildCustomControllerMethodParameterMetadata.d.ts +6 -0
- package/lib/http/calculations/buildCustomControllerMethodParameterMetadata.d.ts.map +1 -0
- package/lib/http/calculations/buildCustomControllerMethodParameterMetadata.js +10 -0
- package/lib/http/calculations/buildCustomControllerMethodParameterMetadata.js.map +1 -0
- package/lib/http/calculations/buildCustomNativeControllerMethodParameterMetadata.d.ts +6 -0
- package/lib/http/calculations/buildCustomNativeControllerMethodParameterMetadata.d.ts.map +1 -0
- package/lib/http/calculations/buildCustomNativeControllerMethodParameterMetadata.js +10 -0
- package/lib/http/calculations/buildCustomNativeControllerMethodParameterMetadata.js.map +1 -0
- package/lib/http/calculations/buildHttpResponseErrorFilter.d.ts +6 -0
- package/lib/http/calculations/buildHttpResponseErrorFilter.d.ts.map +1 -0
- package/lib/http/calculations/buildHttpResponseErrorFilter.js +9 -0
- package/lib/http/calculations/buildHttpResponseErrorFilter.js.map +1 -0
- package/lib/http/calculations/buildInterceptedHandler.d.ts +6 -0
- package/lib/http/calculations/buildInterceptedHandler.d.ts.map +1 -0
- package/lib/http/calculations/buildInterceptedHandler.js +48 -0
- package/lib/http/calculations/buildInterceptedHandler.js.map +1 -0
- package/lib/http/calculations/buildNonCustomControllerMethodParameterMetadata.d.ts +7 -0
- package/lib/http/calculations/buildNonCustomControllerMethodParameterMetadata.d.ts.map +1 -0
- package/lib/http/calculations/buildNonCustomControllerMethodParameterMetadata.js +8 -0
- package/lib/http/calculations/buildNonCustomControllerMethodParameterMetadata.js.map +1 -0
- package/lib/http/calculations/buildNormalizedPath.d.ts.map +1 -0
- package/lib/http/calculations/buildNormalizedPath.js +7 -0
- package/lib/http/calculations/buildNormalizedPath.js.map +1 -0
- package/lib/http/calculations/buildSetHeaderMetadata.d.ts.map +1 -0
- package/lib/http/calculations/buildSetHeaderMetadata.js +15 -0
- package/lib/http/calculations/buildSetHeaderMetadata.js.map +1 -0
- package/lib/http/calculations/buildSyncCallRouteHandler.d.ts +4 -0
- package/lib/http/calculations/buildSyncCallRouteHandler.d.ts.map +1 -0
- package/lib/http/calculations/buildSyncCallRouteHandler.js +14 -0
- package/lib/http/calculations/buildSyncCallRouteHandler.js.map +1 -0
- package/lib/http/calculations/concatenateHeaders.d.ts.map +1 -0
- package/lib/http/calculations/concatenateHeaders.js +13 -0
- package/lib/http/calculations/concatenateHeaders.js.map +1 -0
- package/lib/http/calculations/createCustomNativeParameterDecorator.d.ts +5 -0
- package/lib/http/calculations/createCustomNativeParameterDecorator.d.ts.map +1 -0
- package/lib/http/calculations/createCustomNativeParameterDecorator.js +6 -0
- package/lib/http/calculations/createCustomNativeParameterDecorator.js.map +1 -0
- package/lib/http/calculations/createCustomParameterDecorator.d.ts +5 -0
- package/lib/http/calculations/createCustomParameterDecorator.d.ts.map +1 -0
- package/lib/http/calculations/createCustomParameterDecorator.js +6 -0
- package/lib/http/calculations/createCustomParameterDecorator.js.map +1 -0
- package/lib/http/calculations/getErrorFilterForError.d.ts +4 -0
- package/lib/http/calculations/getErrorFilterForError.d.ts.map +1 -0
- package/lib/http/calculations/getErrorFilterForError.js +27 -0
- package/lib/http/calculations/getErrorFilterForError.js.map +1 -0
- package/lib/http/calculations/getOptionsAndPipes.d.ts +5 -0
- package/lib/http/calculations/getOptionsAndPipes.d.ts.map +1 -0
- package/lib/http/calculations/getOptionsAndPipes.js +16 -0
- package/lib/http/calculations/getOptionsAndPipes.js.map +1 -0
- package/lib/http/calculations/nativeRequestParam.d.ts +3 -0
- package/lib/http/calculations/nativeRequestParam.d.ts.map +1 -0
- package/lib/http/calculations/nativeRequestParam.js +14 -0
- package/lib/http/calculations/nativeRequestParam.js.map +1 -0
- package/lib/http/calculations/requestMethod.d.ts +3 -0
- package/lib/http/calculations/requestMethod.d.ts.map +1 -0
- package/lib/http/calculations/requestMethod.js +14 -0
- package/lib/http/calculations/requestMethod.js.map +1 -0
- package/lib/http/calculations/requestParam.d.ts +3 -0
- package/lib/http/calculations/requestParam.d.ts.map +1 -0
- package/lib/http/calculations/requestParam.js +12 -0
- package/lib/http/calculations/requestParam.js.map +1 -0
- package/lib/http/decorators/All.d.ts.map +1 -0
- package/lib/http/decorators/All.js +5 -0
- package/lib/http/decorators/All.js.map +1 -0
- package/lib/http/decorators/Body.d.ts +5 -0
- package/lib/http/decorators/Body.d.ts.map +1 -0
- package/lib/http/decorators/Body.js +10 -0
- package/lib/http/decorators/Body.js.map +1 -0
- package/lib/http/decorators/Controller.d.ts +3 -0
- package/lib/http/decorators/Controller.d.ts.map +1 -0
- package/lib/http/decorators/Controller.js +35 -0
- package/lib/http/decorators/Controller.js.map +1 -0
- package/lib/http/decorators/Cookies.d.ts +5 -0
- package/lib/http/decorators/Cookies.d.ts.map +1 -0
- package/lib/http/decorators/Cookies.js +10 -0
- package/lib/http/decorators/Cookies.js.map +1 -0
- package/lib/http/decorators/Delete.d.ts.map +1 -0
- package/lib/http/decorators/Delete.js +5 -0
- package/lib/http/decorators/Delete.js.map +1 -0
- package/lib/http/decorators/Get.d.ts.map +1 -0
- package/lib/http/decorators/Get.js +5 -0
- package/lib/http/decorators/Get.js.map +1 -0
- package/lib/http/decorators/Head.d.ts.map +1 -0
- package/lib/http/decorators/Head.js +5 -0
- package/lib/http/decorators/Head.js.map +1 -0
- package/lib/http/decorators/Headers.d.ts +5 -0
- package/lib/http/decorators/Headers.d.ts.map +1 -0
- package/lib/http/decorators/Headers.js +10 -0
- package/lib/http/decorators/Headers.js.map +1 -0
- package/lib/http/decorators/Next.d.ts.map +1 -0
- package/lib/http/decorators/Next.js +8 -0
- package/lib/http/decorators/Next.js.map +1 -0
- package/lib/http/decorators/Options.d.ts.map +1 -0
- package/lib/http/decorators/Options.js +5 -0
- package/lib/http/decorators/Options.js.map +1 -0
- package/lib/http/decorators/Params.d.ts +5 -0
- package/lib/http/decorators/Params.d.ts.map +1 -0
- package/lib/http/decorators/Params.js +10 -0
- package/lib/http/decorators/Params.js.map +1 -0
- package/lib/http/decorators/Patch.d.ts.map +1 -0
- package/lib/http/decorators/Patch.js +5 -0
- package/lib/http/decorators/Patch.js.map +1 -0
- package/lib/http/decorators/Post.d.ts.map +1 -0
- package/lib/http/decorators/Post.js +5 -0
- package/lib/http/decorators/Post.js.map +1 -0
- package/lib/http/decorators/Put.d.ts.map +1 -0
- package/lib/http/decorators/Put.js +5 -0
- package/lib/http/decorators/Put.js.map +1 -0
- package/lib/http/decorators/Query.d.ts +5 -0
- package/lib/http/decorators/Query.d.ts.map +1 -0
- package/lib/http/decorators/Query.js +10 -0
- package/lib/http/decorators/Query.js.map +1 -0
- package/lib/http/decorators/Request.d.ts +4 -0
- package/lib/http/decorators/Request.d.ts.map +1 -0
- package/lib/http/decorators/Request.js +8 -0
- package/lib/http/decorators/Request.js.map +1 -0
- package/lib/http/decorators/Response.d.ts +4 -0
- package/lib/http/decorators/Response.d.ts.map +1 -0
- package/lib/http/decorators/Response.js +8 -0
- package/lib/http/decorators/Response.js.map +1 -0
- package/lib/http/decorators/SetHeader.d.ts.map +1 -0
- package/lib/http/decorators/SetHeader.js +13 -0
- package/lib/http/decorators/SetHeader.js.map +1 -0
- package/lib/http/decorators/StatusCode.d.ts +3 -0
- package/lib/http/decorators/StatusCode.d.ts.map +1 -0
- package/lib/http/decorators/StatusCode.js +9 -0
- package/lib/http/decorators/StatusCode.js.map +1 -0
- package/lib/http/models/Controller.d.ts +5 -0
- package/lib/http/models/Controller.d.ts.map +1 -0
- package/lib/http/models/Controller.js +2 -0
- package/lib/http/models/Controller.js.map +1 -0
- package/lib/http/models/ControllerFunction.d.ts +3 -0
- package/lib/http/models/ControllerFunction.d.ts.map +1 -0
- package/lib/http/models/ControllerFunction.js +2 -0
- package/lib/http/models/ControllerFunction.js.map +1 -0
- package/lib/http/models/ControllerOptions.d.ts +8 -0
- package/lib/http/models/ControllerOptions.d.ts.map +1 -0
- package/lib/http/models/ControllerOptions.js +2 -0
- package/lib/http/models/ControllerOptions.js.map +1 -0
- package/lib/http/models/ControllerResponse.d.ts +4 -0
- package/lib/http/models/ControllerResponse.d.ts.map +1 -0
- package/lib/http/models/ControllerResponse.js +2 -0
- package/lib/http/models/ControllerResponse.js.map +1 -0
- package/lib/http/models/CustomNativeParameterDecoratorHandler.d.ts +3 -0
- package/lib/http/models/CustomNativeParameterDecoratorHandler.d.ts.map +1 -0
- package/lib/http/models/CustomNativeParameterDecoratorHandler.js +2 -0
- package/lib/http/models/CustomNativeParameterDecoratorHandler.js.map +1 -0
- package/lib/http/models/CustomNativeParameterDecoratorHandlerOptions.d.ts +7 -0
- package/lib/http/models/CustomNativeParameterDecoratorHandlerOptions.d.ts.map +1 -0
- package/lib/http/models/CustomNativeParameterDecoratorHandlerOptions.js +2 -0
- package/lib/http/models/CustomNativeParameterDecoratorHandlerOptions.js.map +1 -0
- package/lib/http/models/CustomParameterDecoratorHandler.d.ts +3 -0
- package/lib/http/models/CustomParameterDecoratorHandler.d.ts.map +1 -0
- package/lib/http/models/CustomParameterDecoratorHandler.js +2 -0
- package/lib/http/models/CustomParameterDecoratorHandler.js.map +1 -0
- package/lib/http/models/CustomParameterDecoratorHandlerOptions.d.ts +11 -0
- package/lib/http/models/CustomParameterDecoratorHandlerOptions.d.ts.map +1 -0
- package/lib/http/models/CustomParameterDecoratorHandlerOptions.js +2 -0
- package/lib/http/models/CustomParameterDecoratorHandlerOptions.js.map +1 -0
- package/lib/http/models/HttpAdapterOptions.d.ts +5 -0
- package/lib/http/models/HttpAdapterOptions.d.ts.map +1 -0
- package/lib/http/models/HttpAdapterOptions.js +2 -0
- package/lib/http/models/HttpAdapterOptions.js.map +1 -0
- package/lib/http/models/HttpStatusCode.d.ts.map +1 -0
- package/lib/http/models/HttpStatusCode.js +59 -0
- package/lib/http/models/HttpStatusCode.js.map +1 -0
- package/lib/http/models/MiddlewareHandler.d.ts.map +1 -0
- package/lib/http/models/MiddlewareHandler.js +2 -0
- package/lib/http/models/MiddlewareHandler.js.map +1 -0
- package/lib/http/models/RequestHandler.d.ts.map +1 -0
- package/lib/http/models/RequestHandler.js +2 -0
- package/lib/http/models/RequestHandler.js.map +1 -0
- package/lib/http/models/RequestMethodParameterType.d.ts.map +1 -0
- package/lib/http/models/RequestMethodParameterType.js +14 -0
- package/lib/http/models/RequestMethodParameterType.js.map +1 -0
- package/lib/http/models/RequestMethodType.d.ts.map +1 -0
- package/lib/http/models/RequestMethodType.js +12 -0
- package/lib/http/models/RequestMethodType.js.map +1 -0
- package/lib/http/models/RequiredOptions.d.ts.map +1 -0
- package/lib/http/models/RequiredOptions.js +2 -0
- package/lib/http/models/RequiredOptions.js.map +1 -0
- package/lib/http/models/RouteParamOptions.d.ts.map +1 -0
- package/lib/http/models/RouteParamOptions.js +2 -0
- package/lib/http/models/RouteParamOptions.js.map +1 -0
- package/lib/http/models/RouteParams.d.ts +12 -0
- package/lib/http/models/RouteParams.d.ts.map +1 -0
- package/lib/http/models/RouteParams.js +2 -0
- package/lib/http/models/RouteParams.js.map +1 -0
- package/lib/http/models/RouterParams.d.ts +6 -0
- package/lib/http/models/RouterParams.d.ts.map +1 -0
- package/lib/http/models/RouterParams.js +2 -0
- package/lib/http/models/RouterParams.js.map +1 -0
- package/lib/http/models/httpApplicationServiceIdentifier.d.ts.map +1 -0
- package/lib/http/models/httpApplicationServiceIdentifier.js +2 -0
- package/lib/http/models/httpApplicationServiceIdentifier.js.map +1 -0
- package/lib/httpResponse/calculations/isHttpResponse.d.ts +3 -0
- package/lib/httpResponse/calculations/isHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/calculations/isHttpResponse.js +7 -0
- package/lib/httpResponse/calculations/isHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/AcceptedHttpResponse.d.ts +5 -0
- package/lib/httpResponse/models/AcceptedHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/AcceptedHttpResponse.js +8 -0
- package/lib/httpResponse/models/AcceptedHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/AlreadyReportedHttpResponse.d.ts +5 -0
- package/lib/httpResponse/models/AlreadyReportedHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/AlreadyReportedHttpResponse.js +8 -0
- package/lib/httpResponse/models/AlreadyReportedHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/BadGatewayHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/BadGatewayHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/BadGatewayHttpResponse.js +8 -0
- package/lib/httpResponse/models/BadGatewayHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/BadRequestHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/BadRequestHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/BadRequestHttpResponse.js +8 -0
- package/lib/httpResponse/models/BadRequestHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/ConflictHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/ConflictHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/ConflictHttpResponse.js +8 -0
- package/lib/httpResponse/models/ConflictHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/ContentDifferentHttpResponse.d.ts +5 -0
- package/lib/httpResponse/models/ContentDifferentHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/ContentDifferentHttpResponse.js +8 -0
- package/lib/httpResponse/models/ContentDifferentHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/CreatedHttpResponse.d.ts +5 -0
- package/lib/httpResponse/models/CreatedHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/CreatedHttpResponse.js +8 -0
- package/lib/httpResponse/models/CreatedHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/ErrorHttpResponse.d.ts +11 -0
- package/lib/httpResponse/models/ErrorHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/ErrorHttpResponse.js +15 -0
- package/lib/httpResponse/models/ErrorHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/ForbiddenHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/ForbiddenHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/ForbiddenHttpResponse.js +8 -0
- package/lib/httpResponse/models/ForbiddenHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/GatewayTimeoutHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/GatewayTimeoutHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/GatewayTimeoutHttpResponse.js +8 -0
- package/lib/httpResponse/models/GatewayTimeoutHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/GoneHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/GoneHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/GoneHttpResponse.js +8 -0
- package/lib/httpResponse/models/GoneHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/HttpResponse.d.ts +10 -0
- package/lib/httpResponse/models/HttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/HttpResponse.js +2 -0
- package/lib/httpResponse/models/HttpResponse.js.map +1 -0
- package/lib/httpResponse/models/HttpVersionNotSupportedHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/HttpVersionNotSupportedHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/HttpVersionNotSupportedHttpResponse.js +8 -0
- package/lib/httpResponse/models/HttpVersionNotSupportedHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/InsufficientStorageHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/InsufficientStorageHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/InsufficientStorageHttpResponse.js +8 -0
- package/lib/httpResponse/models/InsufficientStorageHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/InternalServerErrorHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/InternalServerErrorHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/InternalServerErrorHttpResponse.js +8 -0
- package/lib/httpResponse/models/InternalServerErrorHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/LoopDetectedHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/LoopDetectedHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/LoopDetectedHttpResponse.js +8 -0
- package/lib/httpResponse/models/LoopDetectedHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/MethodNotAllowedHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/MethodNotAllowedHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/MethodNotAllowedHttpResponse.js +8 -0
- package/lib/httpResponse/models/MethodNotAllowedHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/MultiStatusHttpResponse.d.ts +5 -0
- package/lib/httpResponse/models/MultiStatusHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/MultiStatusHttpResponse.js +8 -0
- package/lib/httpResponse/models/MultiStatusHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/NoContentHttpResponse.d.ts +5 -0
- package/lib/httpResponse/models/NoContentHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/NoContentHttpResponse.js +8 -0
- package/lib/httpResponse/models/NoContentHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/NonAuthoritativeInformationHttpResponse.d.ts +5 -0
- package/lib/httpResponse/models/NonAuthoritativeInformationHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/NonAuthoritativeInformationHttpResponse.js +8 -0
- package/lib/httpResponse/models/NonAuthoritativeInformationHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/NotAcceptableHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/NotAcceptableHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/NotAcceptableHttpResponse.js +8 -0
- package/lib/httpResponse/models/NotAcceptableHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/NotFoundHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/NotFoundHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/NotFoundHttpResponse.js +8 -0
- package/lib/httpResponse/models/NotFoundHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/NotImplementedHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/NotImplementedHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/NotImplementedHttpResponse.js +8 -0
- package/lib/httpResponse/models/NotImplementedHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/OkHttpResponse.d.ts +5 -0
- package/lib/httpResponse/models/OkHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/OkHttpResponse.js +8 -0
- package/lib/httpResponse/models/OkHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/PartialContentHttpResponse.d.ts +5 -0
- package/lib/httpResponse/models/PartialContentHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/PartialContentHttpResponse.js +8 -0
- package/lib/httpResponse/models/PartialContentHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/PaymentRequiredHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/PaymentRequiredHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/PaymentRequiredHttpResponse.js +8 -0
- package/lib/httpResponse/models/PaymentRequiredHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/ResetContentHttpResponse.d.ts +5 -0
- package/lib/httpResponse/models/ResetContentHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/ResetContentHttpResponse.js +8 -0
- package/lib/httpResponse/models/ResetContentHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/ServiceUnavailableHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/ServiceUnavailableHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/ServiceUnavailableHttpResponse.js +8 -0
- package/lib/httpResponse/models/ServiceUnavailableHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/SuccessHttpResponse.d.ts +11 -0
- package/lib/httpResponse/models/SuccessHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/SuccessHttpResponse.js +14 -0
- package/lib/httpResponse/models/SuccessHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/UnauthorizedHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/UnauthorizedHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/UnauthorizedHttpResponse.js +8 -0
- package/lib/httpResponse/models/UnauthorizedHttpResponse.js.map +1 -0
- package/lib/httpResponse/models/UnprocessableEntityHttpResponse.d.ts +6 -0
- package/lib/httpResponse/models/UnprocessableEntityHttpResponse.d.ts.map +1 -0
- package/lib/httpResponse/models/UnprocessableEntityHttpResponse.js +8 -0
- package/lib/httpResponse/models/UnprocessableEntityHttpResponse.js.map +1 -0
- package/lib/index.d.ts +81 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +65 -0
- package/lib/index.js.map +1 -0
- package/lib/middleware/actions/handleMiddlewareList.d.ts +3 -0
- package/lib/middleware/actions/handleMiddlewareList.d.ts.map +1 -0
- package/lib/middleware/actions/handleMiddlewareList.js +32 -0
- package/lib/middleware/actions/handleMiddlewareList.js.map +1 -0
- package/lib/reflectMetadata/data/controllerMetadataReflectKey.d.ts.map +1 -0
- package/lib/reflectMetadata/data/controllerMetadataReflectKey.js +2 -0
- package/lib/reflectMetadata/data/controllerMetadataReflectKey.js.map +1 -0
- package/lib/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.d.ts.map +1 -0
- package/lib/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.js +2 -0
- package/lib/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.js.map +1 -0
- package/lib/reflectMetadata/data/controllerMethodMetadataReflectKey.d.ts.map +1 -0
- package/lib/reflectMetadata/data/controllerMethodMetadataReflectKey.js +2 -0
- package/lib/reflectMetadata/data/controllerMethodMetadataReflectKey.js.map +1 -0
- package/lib/reflectMetadata/data/controllerMethodParameterMetadataReflectKey.d.ts.map +1 -0
- package/lib/reflectMetadata/data/controllerMethodParameterMetadataReflectKey.js +2 -0
- package/lib/reflectMetadata/data/controllerMethodParameterMetadataReflectKey.js.map +1 -0
- package/lib/reflectMetadata/data/controllerMethodStatusCodeMetadataReflectKey.d.ts.map +1 -0
- package/lib/reflectMetadata/data/controllerMethodStatusCodeMetadataReflectKey.js +2 -0
- package/lib/reflectMetadata/data/controllerMethodStatusCodeMetadataReflectKey.js.map +1 -0
- package/lib/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.d.ts.map +1 -0
- package/lib/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.js +2 -0
- package/lib/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.js.map +1 -0
- package/lib/routerExplorer/actions/setControllerMethodParameterMetadata.d.ts +3 -0
- package/lib/routerExplorer/actions/setControllerMethodParameterMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/actions/setControllerMethodParameterMetadata.js +8 -0
- package/lib/routerExplorer/actions/setControllerMethodParameterMetadata.js.map +1 -0
- package/lib/routerExplorer/actions/setControllerMethodUseNativeHandlerMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/actions/setControllerMethodUseNativeHandlerMetadata.js +8 -0
- package/lib/routerExplorer/actions/setControllerMethodUseNativeHandlerMetadata.js.map +1 -0
- package/lib/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.d.ts +5 -0
- package/lib/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.js +13 -0
- package/lib/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.js.map +1 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMetadata.d.ts +5 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMetadata.js +12 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMetadata.js.map +1 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.d.ts +5 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.js +18 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.js.map +1 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.d.ts +6 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.js +46 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.js.map +1 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.d.ts +6 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.js +5 -0
- package/lib/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.js.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMetadataList.d.ts +3 -0
- package/lib/routerExplorer/calculations/getControllerMetadataList.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMetadataList.js +10 -0
- package/lib/routerExplorer/calculations/getControllerMetadataList.js.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMethodHeaderMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMethodHeaderMetadata.js +20 -0
- package/lib/routerExplorer/calculations/getControllerMethodHeaderMetadata.js.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMethodMetadataList.d.ts +3 -0
- package/lib/routerExplorer/calculations/getControllerMethodMetadataList.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMethodMetadataList.js +21 -0
- package/lib/routerExplorer/calculations/getControllerMethodMetadataList.js.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMethodParameterMetadataList.d.ts +3 -0
- package/lib/routerExplorer/calculations/getControllerMethodParameterMetadataList.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMethodParameterMetadataList.js +7 -0
- package/lib/routerExplorer/calculations/getControllerMethodParameterMetadataList.js.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.d.ts +3 -0
- package/lib/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.js +7 -0
- package/lib/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.js.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.js +7 -0
- package/lib/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.js.map +1 -0
- package/lib/routerExplorer/model/ControllerMetadata.d.ts +8 -0
- package/lib/routerExplorer/model/ControllerMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/model/ControllerMetadata.js +2 -0
- package/lib/routerExplorer/model/ControllerMetadata.js.map +1 -0
- package/lib/routerExplorer/model/ControllerMethodMetadata.d.ts +7 -0
- package/lib/routerExplorer/model/ControllerMethodMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/model/ControllerMethodMetadata.js +2 -0
- package/lib/routerExplorer/model/ControllerMethodMetadata.js.map +1 -0
- package/lib/routerExplorer/model/ControllerMethodParameterMetadata.d.ts +19 -0
- package/lib/routerExplorer/model/ControllerMethodParameterMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/model/ControllerMethodParameterMetadata.js +2 -0
- package/lib/routerExplorer/model/ControllerMethodParameterMetadata.js.map +1 -0
- package/lib/routerExplorer/model/RouterExplorerControllerMetadata.d.ts +9 -0
- package/lib/routerExplorer/model/RouterExplorerControllerMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/model/RouterExplorerControllerMetadata.js +3 -0
- package/lib/routerExplorer/model/RouterExplorerControllerMetadata.js.map +1 -0
- package/lib/routerExplorer/model/RouterExplorerControllerMethodMetadata.d.ts +20 -0
- package/lib/routerExplorer/model/RouterExplorerControllerMethodMetadata.d.ts.map +1 -0
- package/lib/routerExplorer/model/RouterExplorerControllerMethodMetadata.js +2 -0
- package/lib/routerExplorer/model/RouterExplorerControllerMethodMetadata.js.map +1 -0
- package/package.json +18 -25
- package/CHANGELOG.md +0 -259
- package/lib/cjs/error/models/InversifyHttpAdapterError.d.ts +0 -17
- package/lib/cjs/error/models/InversifyHttpAdapterError.d.ts.map +0 -1
- package/lib/cjs/error/models/InversifyHttpAdapterError.js +0 -26
- package/lib/cjs/error/models/InversifyHttpAdapterError.js.map +0 -1
- package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.d.ts.map +0 -1
- package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.js +0 -10
- package/lib/cjs/error/models/InversifyHttpAdapterErrorKind.js.map +0 -1
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.d.ts +0 -5
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.d.ts.map +0 -1
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.js +0 -18
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.js.map +0 -1
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.spec.d.ts +0 -2
- package/lib/cjs/http/actions/setErrorFilterToErrorFilterMap.spec.d.ts.map +0 -1
- package/lib/cjs/http/adapter/InversifyHttpAdapter.d.ts +0 -43
- package/lib/cjs/http/adapter/InversifyHttpAdapter.d.ts.map +0 -1
- package/lib/cjs/http/adapter/InversifyHttpAdapter.js +0 -397
- package/lib/cjs/http/adapter/InversifyHttpAdapter.js.map +0 -1
- package/lib/cjs/http/calculations/areAllParamsSync.d.ts +0 -6
- package/lib/cjs/http/calculations/areAllParamsSync.d.ts.map +0 -1
- package/lib/cjs/http/calculations/areAllParamsSync.js +0 -10
- package/lib/cjs/http/calculations/areAllParamsSync.js.map +0 -1
- package/lib/cjs/http/calculations/areAllParamsSync.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/areAllParamsSync.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildCustomControllerMethodParameterMetadata.d.ts +0 -6
- package/lib/cjs/http/calculations/buildCustomControllerMethodParameterMetadata.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildCustomControllerMethodParameterMetadata.js +0 -13
- package/lib/cjs/http/calculations/buildCustomControllerMethodParameterMetadata.js.map +0 -1
- package/lib/cjs/http/calculations/buildCustomControllerMethodParameterMetadata.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/buildCustomControllerMethodParameterMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildCustomNativeControllerMethodParameterMetadata.d.ts +0 -6
- package/lib/cjs/http/calculations/buildCustomNativeControllerMethodParameterMetadata.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildCustomNativeControllerMethodParameterMetadata.js +0 -13
- package/lib/cjs/http/calculations/buildCustomNativeControllerMethodParameterMetadata.js.map +0 -1
- package/lib/cjs/http/calculations/buildCustomNativeControllerMethodParameterMetadata.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/buildCustomNativeControllerMethodParameterMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildHttpResponseErrorFilter.d.ts +0 -6
- package/lib/cjs/http/calculations/buildHttpResponseErrorFilter.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildHttpResponseErrorFilter.js +0 -12
- package/lib/cjs/http/calculations/buildHttpResponseErrorFilter.js.map +0 -1
- package/lib/cjs/http/calculations/buildHttpResponseErrorFilter.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/buildHttpResponseErrorFilter.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildInterceptedHandler.d.ts +0 -6
- package/lib/cjs/http/calculations/buildInterceptedHandler.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildInterceptedHandler.js +0 -51
- package/lib/cjs/http/calculations/buildInterceptedHandler.js.map +0 -1
- package/lib/cjs/http/calculations/buildInterceptedHandler.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/buildInterceptedHandler.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildNonCustomControllerMethodParameterMetadata.d.ts +0 -7
- package/lib/cjs/http/calculations/buildNonCustomControllerMethodParameterMetadata.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildNonCustomControllerMethodParameterMetadata.js +0 -11
- package/lib/cjs/http/calculations/buildNonCustomControllerMethodParameterMetadata.js.map +0 -1
- package/lib/cjs/http/calculations/buildNonCustomControllerMethodParameterMetadata.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/buildNonCustomControllerMethodParameterMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildNormalizedPath.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildNormalizedPath.js +0 -10
- package/lib/cjs/http/calculations/buildNormalizedPath.js.map +0 -1
- package/lib/cjs/http/calculations/buildNormalizedPath.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/buildNormalizedPath.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.js +0 -18
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.js.map +0 -1
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/buildSetHeaderMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildSyncCallRouteHandler.d.ts +0 -5
- package/lib/cjs/http/calculations/buildSyncCallRouteHandler.d.ts.map +0 -1
- package/lib/cjs/http/calculations/buildSyncCallRouteHandler.js +0 -17
- package/lib/cjs/http/calculations/buildSyncCallRouteHandler.js.map +0 -1
- package/lib/cjs/http/calculations/buildSyncCallRouteHandler.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/buildSyncCallRouteHandler.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/concatenateHeaders.d.ts.map +0 -1
- package/lib/cjs/http/calculations/concatenateHeaders.js +0 -16
- package/lib/cjs/http/calculations/concatenateHeaders.js.map +0 -1
- package/lib/cjs/http/calculations/concatenateHeaders.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/concatenateHeaders.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/createCustomNativeParameterDecorator.d.ts +0 -5
- package/lib/cjs/http/calculations/createCustomNativeParameterDecorator.d.ts.map +0 -1
- package/lib/cjs/http/calculations/createCustomNativeParameterDecorator.js +0 -9
- package/lib/cjs/http/calculations/createCustomNativeParameterDecorator.js.map +0 -1
- package/lib/cjs/http/calculations/createCustomNativeParameterDecorator.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/createCustomNativeParameterDecorator.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/createCustomParameterDecorator.d.ts +0 -5
- package/lib/cjs/http/calculations/createCustomParameterDecorator.d.ts.map +0 -1
- package/lib/cjs/http/calculations/createCustomParameterDecorator.js +0 -9
- package/lib/cjs/http/calculations/createCustomParameterDecorator.js.map +0 -1
- package/lib/cjs/http/calculations/createCustomParameterDecorator.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/createCustomParameterDecorator.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/getErrorFilterForError.d.ts +0 -4
- package/lib/cjs/http/calculations/getErrorFilterForError.d.ts.map +0 -1
- package/lib/cjs/http/calculations/getErrorFilterForError.js +0 -30
- package/lib/cjs/http/calculations/getErrorFilterForError.js.map +0 -1
- package/lib/cjs/http/calculations/getErrorFilterForError.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/getErrorFilterForError.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/getOptionsAndPipes.d.ts +0 -5
- package/lib/cjs/http/calculations/getOptionsAndPipes.d.ts.map +0 -1
- package/lib/cjs/http/calculations/getOptionsAndPipes.js +0 -19
- package/lib/cjs/http/calculations/getOptionsAndPipes.js.map +0 -1
- package/lib/cjs/http/calculations/nativeRequestParam.d.ts +0 -3
- package/lib/cjs/http/calculations/nativeRequestParam.d.ts.map +0 -1
- package/lib/cjs/http/calculations/nativeRequestParam.js +0 -17
- package/lib/cjs/http/calculations/nativeRequestParam.js.map +0 -1
- package/lib/cjs/http/calculations/requestMethod.d.ts +0 -3
- package/lib/cjs/http/calculations/requestMethod.d.ts.map +0 -1
- package/lib/cjs/http/calculations/requestMethod.js +0 -17
- package/lib/cjs/http/calculations/requestMethod.js.map +0 -1
- package/lib/cjs/http/calculations/requestMethod.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/requestMethod.spec.d.ts.map +0 -1
- package/lib/cjs/http/calculations/requestParam.d.ts +0 -3
- package/lib/cjs/http/calculations/requestParam.d.ts.map +0 -1
- package/lib/cjs/http/calculations/requestParam.js +0 -15
- package/lib/cjs/http/calculations/requestParam.js.map +0 -1
- package/lib/cjs/http/calculations/requestParam.spec.d.ts +0 -2
- package/lib/cjs/http/calculations/requestParam.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/All.d.ts.map +0 -1
- package/lib/cjs/http/decorators/All.js +0 -9
- package/lib/cjs/http/decorators/All.js.map +0 -1
- package/lib/cjs/http/decorators/All.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/All.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Body.d.ts +0 -5
- package/lib/cjs/http/decorators/Body.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Body.js +0 -13
- package/lib/cjs/http/decorators/Body.js.map +0 -1
- package/lib/cjs/http/decorators/Body.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Body.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Controller.d.ts +0 -3
- package/lib/cjs/http/decorators/Controller.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Controller.js +0 -38
- package/lib/cjs/http/decorators/Controller.js.map +0 -1
- package/lib/cjs/http/decorators/Controller.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Controller.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Cookies.d.ts +0 -5
- package/lib/cjs/http/decorators/Cookies.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Cookies.js +0 -13
- package/lib/cjs/http/decorators/Cookies.js.map +0 -1
- package/lib/cjs/http/decorators/Cookies.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Cookies.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Delete.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Delete.js +0 -9
- package/lib/cjs/http/decorators/Delete.js.map +0 -1
- package/lib/cjs/http/decorators/Delete.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Delete.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Get.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Get.js +0 -9
- package/lib/cjs/http/decorators/Get.js.map +0 -1
- package/lib/cjs/http/decorators/Get.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Get.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Head.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Head.js +0 -9
- package/lib/cjs/http/decorators/Head.js.map +0 -1
- package/lib/cjs/http/decorators/Head.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Head.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Headers.d.ts +0 -5
- package/lib/cjs/http/decorators/Headers.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Headers.js +0 -13
- package/lib/cjs/http/decorators/Headers.js.map +0 -1
- package/lib/cjs/http/decorators/Headers.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Headers.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Next.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Next.js +0 -11
- package/lib/cjs/http/decorators/Next.js.map +0 -1
- package/lib/cjs/http/decorators/Next.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Next.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Options.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Options.js +0 -9
- package/lib/cjs/http/decorators/Options.js.map +0 -1
- package/lib/cjs/http/decorators/Options.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Options.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Params.d.ts +0 -5
- package/lib/cjs/http/decorators/Params.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Params.js +0 -13
- package/lib/cjs/http/decorators/Params.js.map +0 -1
- package/lib/cjs/http/decorators/Params.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Params.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Patch.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Patch.js +0 -9
- package/lib/cjs/http/decorators/Patch.js.map +0 -1
- package/lib/cjs/http/decorators/Patch.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Patch.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Post.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Post.js +0 -9
- package/lib/cjs/http/decorators/Post.js.map +0 -1
- package/lib/cjs/http/decorators/Post.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Post.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Put.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Put.js +0 -9
- package/lib/cjs/http/decorators/Put.js.map +0 -1
- package/lib/cjs/http/decorators/Put.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Put.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Query.d.ts +0 -5
- package/lib/cjs/http/decorators/Query.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Query.js +0 -13
- package/lib/cjs/http/decorators/Query.js.map +0 -1
- package/lib/cjs/http/decorators/Query.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Query.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Request.d.ts +0 -4
- package/lib/cjs/http/decorators/Request.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Request.js +0 -11
- package/lib/cjs/http/decorators/Request.js.map +0 -1
- package/lib/cjs/http/decorators/Request.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Request.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Response.d.ts +0 -4
- package/lib/cjs/http/decorators/Response.d.ts.map +0 -1
- package/lib/cjs/http/decorators/Response.js +0 -11
- package/lib/cjs/http/decorators/Response.js.map +0 -1
- package/lib/cjs/http/decorators/Response.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/Response.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/SetHeader.d.ts.map +0 -1
- package/lib/cjs/http/decorators/SetHeader.js +0 -16
- package/lib/cjs/http/decorators/SetHeader.js.map +0 -1
- package/lib/cjs/http/decorators/SetHeader.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/SetHeader.spec.d.ts.map +0 -1
- package/lib/cjs/http/decorators/StatusCode.d.ts +0 -3
- package/lib/cjs/http/decorators/StatusCode.d.ts.map +0 -1
- package/lib/cjs/http/decorators/StatusCode.js +0 -12
- package/lib/cjs/http/decorators/StatusCode.js.map +0 -1
- package/lib/cjs/http/decorators/StatusCode.spec.d.ts +0 -2
- package/lib/cjs/http/decorators/StatusCode.spec.d.ts.map +0 -1
- package/lib/cjs/http/models/Controller.d.ts +0 -5
- package/lib/cjs/http/models/Controller.d.ts.map +0 -1
- package/lib/cjs/http/models/Controller.js +0 -3
- package/lib/cjs/http/models/Controller.js.map +0 -1
- package/lib/cjs/http/models/ControllerFunction.d.ts +0 -3
- package/lib/cjs/http/models/ControllerFunction.d.ts.map +0 -1
- package/lib/cjs/http/models/ControllerFunction.js +0 -3
- package/lib/cjs/http/models/ControllerFunction.js.map +0 -1
- package/lib/cjs/http/models/ControllerOptions.d.ts +0 -8
- package/lib/cjs/http/models/ControllerOptions.d.ts.map +0 -1
- package/lib/cjs/http/models/ControllerOptions.js +0 -3
- package/lib/cjs/http/models/ControllerOptions.js.map +0 -1
- package/lib/cjs/http/models/ControllerResponse.d.ts +0 -4
- package/lib/cjs/http/models/ControllerResponse.d.ts.map +0 -1
- package/lib/cjs/http/models/ControllerResponse.js +0 -3
- package/lib/cjs/http/models/ControllerResponse.js.map +0 -1
- package/lib/cjs/http/models/CustomNativeParameterDecoratorHandler.d.ts +0 -3
- package/lib/cjs/http/models/CustomNativeParameterDecoratorHandler.d.ts.map +0 -1
- package/lib/cjs/http/models/CustomNativeParameterDecoratorHandler.js +0 -3
- package/lib/cjs/http/models/CustomNativeParameterDecoratorHandler.js.map +0 -1
- package/lib/cjs/http/models/CustomNativeParameterDecoratorHandlerOptions.d.ts +0 -7
- package/lib/cjs/http/models/CustomNativeParameterDecoratorHandlerOptions.d.ts.map +0 -1
- package/lib/cjs/http/models/CustomNativeParameterDecoratorHandlerOptions.js +0 -3
- package/lib/cjs/http/models/CustomNativeParameterDecoratorHandlerOptions.js.map +0 -1
- package/lib/cjs/http/models/CustomParameterDecoratorHandler.d.ts +0 -3
- package/lib/cjs/http/models/CustomParameterDecoratorHandler.d.ts.map +0 -1
- package/lib/cjs/http/models/CustomParameterDecoratorHandler.js +0 -3
- package/lib/cjs/http/models/CustomParameterDecoratorHandler.js.map +0 -1
- package/lib/cjs/http/models/CustomParameterDecoratorHandlerOptions.d.ts +0 -11
- package/lib/cjs/http/models/CustomParameterDecoratorHandlerOptions.d.ts.map +0 -1
- package/lib/cjs/http/models/CustomParameterDecoratorHandlerOptions.js +0 -3
- package/lib/cjs/http/models/CustomParameterDecoratorHandlerOptions.js.map +0 -1
- package/lib/cjs/http/models/HttpAdapterOptions.d.ts +0 -5
- package/lib/cjs/http/models/HttpAdapterOptions.d.ts.map +0 -1
- package/lib/cjs/http/models/HttpAdapterOptions.js +0 -3
- package/lib/cjs/http/models/HttpAdapterOptions.js.map +0 -1
- package/lib/cjs/http/models/HttpStatusCode.d.ts.map +0 -1
- package/lib/cjs/http/models/HttpStatusCode.js +0 -62
- package/lib/cjs/http/models/HttpStatusCode.js.map +0 -1
- package/lib/cjs/http/models/MiddlewareHandler.d.ts.map +0 -1
- package/lib/cjs/http/models/MiddlewareHandler.js +0 -3
- package/lib/cjs/http/models/MiddlewareHandler.js.map +0 -1
- package/lib/cjs/http/models/RequestHandler.d.ts.map +0 -1
- package/lib/cjs/http/models/RequestHandler.js +0 -3
- package/lib/cjs/http/models/RequestHandler.js.map +0 -1
- package/lib/cjs/http/models/RequestMethodParameterType.d.ts.map +0 -1
- package/lib/cjs/http/models/RequestMethodParameterType.js +0 -17
- package/lib/cjs/http/models/RequestMethodParameterType.js.map +0 -1
- package/lib/cjs/http/models/RequestMethodType.d.ts.map +0 -1
- package/lib/cjs/http/models/RequestMethodType.js +0 -15
- package/lib/cjs/http/models/RequestMethodType.js.map +0 -1
- package/lib/cjs/http/models/RequiredOptions.d.ts.map +0 -1
- package/lib/cjs/http/models/RequiredOptions.js +0 -3
- package/lib/cjs/http/models/RequiredOptions.js.map +0 -1
- package/lib/cjs/http/models/RouteParamOptions.d.ts.map +0 -1
- package/lib/cjs/http/models/RouteParamOptions.js +0 -3
- package/lib/cjs/http/models/RouteParamOptions.js.map +0 -1
- package/lib/cjs/http/models/RouteParams.d.ts +0 -12
- package/lib/cjs/http/models/RouteParams.d.ts.map +0 -1
- package/lib/cjs/http/models/RouteParams.js +0 -3
- package/lib/cjs/http/models/RouteParams.js.map +0 -1
- package/lib/cjs/http/models/RouterParams.d.ts +0 -6
- package/lib/cjs/http/models/RouterParams.d.ts.map +0 -1
- package/lib/cjs/http/models/RouterParams.js +0 -3
- package/lib/cjs/http/models/RouterParams.js.map +0 -1
- package/lib/cjs/http/models/httpApplicationServiceIdentifier.d.ts.map +0 -1
- package/lib/cjs/http/models/httpApplicationServiceIdentifier.js +0 -5
- package/lib/cjs/http/models/httpApplicationServiceIdentifier.js.map +0 -1
- package/lib/cjs/httpResponse/calculations/isHttpResponse.d.ts +0 -3
- package/lib/cjs/httpResponse/calculations/isHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/calculations/isHttpResponse.js +0 -10
- package/lib/cjs/httpResponse/calculations/isHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/calculations/isHttpResponse.spec.d.ts +0 -2
- package/lib/cjs/httpResponse/calculations/isHttpResponse.spec.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/AcceptedHttpResponse.d.ts +0 -5
- package/lib/cjs/httpResponse/models/AcceptedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/AcceptedHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/AcceptedHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.d.ts +0 -5
- package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/AlreadyReportedHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/BadGatewayHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/BadRequestHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/BadRequestHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/BadRequestHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/BadRequestHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/ConflictHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/ConflictHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/ConflictHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/ConflictHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.d.ts +0 -5
- package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/ContentDifferentHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/CreatedHttpResponse.d.ts +0 -5
- package/lib/cjs/httpResponse/models/CreatedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/CreatedHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/CreatedHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.d.ts +0 -11
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.js +0 -19
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.spec.d.ts +0 -2
- package/lib/cjs/httpResponse/models/ErrorHttpResponse.spec.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/ForbiddenHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/GatewayTimeoutHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/GoneHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/GoneHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/GoneHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/GoneHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/HttpResponse.d.ts +0 -10
- package/lib/cjs/httpResponse/models/HttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/HttpResponse.js +0 -5
- package/lib/cjs/httpResponse/models/HttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/HttpVersionNotSupportedHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/InsufficientStorageHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/InternalServerErrorHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/LoopDetectedHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/MethodNotAllowedHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.d.ts +0 -5
- package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/MultiStatusHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/NoContentHttpResponse.d.ts +0 -5
- package/lib/cjs/httpResponse/models/NoContentHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/NoContentHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/NoContentHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.d.ts +0 -5
- package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/NonAuthoritativeInformationHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/NotAcceptableHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/NotFoundHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/NotFoundHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/NotFoundHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/NotFoundHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/NotImplementedHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/OkHttpResponse.d.ts +0 -5
- package/lib/cjs/httpResponse/models/OkHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/OkHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/OkHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/PartialContentHttpResponse.d.ts +0 -5
- package/lib/cjs/httpResponse/models/PartialContentHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/PartialContentHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/PartialContentHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/PaymentRequiredHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/ResetContentHttpResponse.d.ts +0 -5
- package/lib/cjs/httpResponse/models/ResetContentHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/ResetContentHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/ResetContentHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/ServiceUnavailableHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.d.ts +0 -11
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.js +0 -18
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.spec.d.ts +0 -2
- package/lib/cjs/httpResponse/models/SuccessHttpResponse.spec.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/UnauthorizedHttpResponse.js.map +0 -1
- package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.d.ts +0 -6
- package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.d.ts.map +0 -1
- package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.js +0 -12
- package/lib/cjs/httpResponse/models/UnprocessableEntityHttpResponse.js.map +0 -1
- package/lib/cjs/index.d.ts +0 -81
- package/lib/cjs/index.d.ts.map +0 -1
- package/lib/cjs/index.js +0 -136
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/middleware/actions/handleMiddlewareList.d.ts +0 -3
- package/lib/cjs/middleware/actions/handleMiddlewareList.d.ts.map +0 -1
- package/lib/cjs/middleware/actions/handleMiddlewareList.js +0 -35
- package/lib/cjs/middleware/actions/handleMiddlewareList.js.map +0 -1
- package/lib/cjs/middleware/actions/handleMiddlewareList.spec.d.ts +0 -2
- package/lib/cjs/middleware/actions/handleMiddlewareList.spec.d.ts.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/reflectMetadata/data/controllerMetadataReflectKey.d.ts.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMetadataReflectKey.js +0 -5
- package/lib/cjs/reflectMetadata/data/controllerMetadataReflectKey.js.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.d.ts.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.js +0 -5
- package/lib/cjs/reflectMetadata/data/controllerMethodHeaderMetadataReflectKey.js.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodMetadataReflectKey.d.ts.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodMetadataReflectKey.js +0 -5
- package/lib/cjs/reflectMetadata/data/controllerMethodMetadataReflectKey.js.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodParameterMetadataReflectKey.d.ts.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodParameterMetadataReflectKey.js +0 -5
- package/lib/cjs/reflectMetadata/data/controllerMethodParameterMetadataReflectKey.js.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodStatusCodeMetadataReflectKey.d.ts.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodStatusCodeMetadataReflectKey.js +0 -5
- package/lib/cjs/reflectMetadata/data/controllerMethodStatusCodeMetadataReflectKey.js.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.d.ts.map +0 -1
- package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.js +0 -5
- package/lib/cjs/reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey.js.map +0 -1
- package/lib/cjs/routerExplorer/actions/setControllerMethodParameterMetadata.d.ts +0 -3
- package/lib/cjs/routerExplorer/actions/setControllerMethodParameterMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/actions/setControllerMethodParameterMetadata.js +0 -11
- package/lib/cjs/routerExplorer/actions/setControllerMethodParameterMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/actions/setControllerMethodParameterMetadata.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/actions/setControllerMethodParameterMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/actions/setControllerMethodUseNativeHandlerMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/actions/setControllerMethodUseNativeHandlerMetadata.js +0 -11
- package/lib/cjs/routerExplorer/actions/setControllerMethodUseNativeHandlerMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/actions/setControllerMethodUseNativeHandlerMetadata.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/actions/setControllerMethodUseNativeHandlerMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.d.ts +0 -5
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.js +0 -16
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/buildErrorTypeToErrorFilterMap.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.d.ts +0 -5
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.js +0 -15
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.d.ts +0 -5
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.js +0 -21
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMetadataList.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.d.ts +0 -6
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.js +0 -49
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.d.ts +0 -6
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.js +0 -8
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/buildRouterExplorerControllerMethodMetadataList.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.d.ts +0 -3
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.js +0 -13
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/getControllerMetadataList.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadata.js +0 -23
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadata.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/getControllerMethodHeaderMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.d.ts +0 -3
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.js +0 -24
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/getControllerMethodMetadataList.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.d.ts +0 -3
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.js +0 -10
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/getControllerMethodParameterMetadataList.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.d.ts +0 -3
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.js +0 -10
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/getControllerMethodStatusCodeMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.js +0 -10
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.spec.d.ts +0 -2
- package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.spec.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/model/ControllerMetadata.d.ts +0 -8
- package/lib/cjs/routerExplorer/model/ControllerMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/model/ControllerMetadata.js +0 -3
- package/lib/cjs/routerExplorer/model/ControllerMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/model/ControllerMethodMetadata.d.ts +0 -7
- package/lib/cjs/routerExplorer/model/ControllerMethodMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/model/ControllerMethodMetadata.js +0 -3
- package/lib/cjs/routerExplorer/model/ControllerMethodMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/model/ControllerMethodParameterMetadata.d.ts +0 -19
- package/lib/cjs/routerExplorer/model/ControllerMethodParameterMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/model/ControllerMethodParameterMetadata.js +0 -3
- package/lib/cjs/routerExplorer/model/ControllerMethodParameterMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.d.ts +0 -9
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.js +0 -4
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMetadata.js.map +0 -1
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.d.ts +0 -20
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.d.ts.map +0 -1
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.js +0 -3
- package/lib/cjs/routerExplorer/model/RouterExplorerControllerMethodMetadata.js.map +0 -1
- package/lib/esm/index.d.ts +0 -385
- package/lib/esm/index.d.ts.map +0 -1
- package/lib/esm/index.js +0 -2
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/package.json +0 -3
- /package/lib/{cjs/error → error}/models/InversifyHttpAdapterErrorKind.d.ts +0 -0
- /package/lib/{cjs/http → http}/calculations/buildNormalizedPath.d.ts +0 -0
- /package/lib/{cjs/http → http}/calculations/buildSetHeaderMetadata.d.ts +0 -0
- /package/lib/{cjs/http → http}/calculations/concatenateHeaders.d.ts +0 -0
- /package/lib/{cjs/http → http}/decorators/All.d.ts +0 -0
- /package/lib/{cjs/http → http}/decorators/Delete.d.ts +0 -0
- /package/lib/{cjs/http → http}/decorators/Get.d.ts +0 -0
- /package/lib/{cjs/http → http}/decorators/Head.d.ts +0 -0
- /package/lib/{cjs/http → http}/decorators/Next.d.ts +0 -0
- /package/lib/{cjs/http → http}/decorators/Options.d.ts +0 -0
- /package/lib/{cjs/http → http}/decorators/Patch.d.ts +0 -0
- /package/lib/{cjs/http → http}/decorators/Post.d.ts +0 -0
- /package/lib/{cjs/http → http}/decorators/Put.d.ts +0 -0
- /package/lib/{cjs/http → http}/decorators/SetHeader.d.ts +0 -0
- /package/lib/{cjs/http → http}/models/HttpStatusCode.d.ts +0 -0
- /package/lib/{cjs/http → http}/models/MiddlewareHandler.d.ts +0 -0
- /package/lib/{cjs/http → http}/models/RequestHandler.d.ts +0 -0
- /package/lib/{cjs/http → http}/models/RequestMethodParameterType.d.ts +0 -0
- /package/lib/{cjs/http → http}/models/RequestMethodType.d.ts +0 -0
- /package/lib/{cjs/http → http}/models/RequiredOptions.d.ts +0 -0
- /package/lib/{cjs/http → http}/models/RouteParamOptions.d.ts +0 -0
- /package/lib/{cjs/http → http}/models/httpApplicationServiceIdentifier.d.ts +0 -0
- /package/lib/{cjs/reflectMetadata → reflectMetadata}/data/controllerMetadataReflectKey.d.ts +0 -0
- /package/lib/{cjs/reflectMetadata → reflectMetadata}/data/controllerMethodHeaderMetadataReflectKey.d.ts +0 -0
- /package/lib/{cjs/reflectMetadata → reflectMetadata}/data/controllerMethodMetadataReflectKey.d.ts +0 -0
- /package/lib/{cjs/reflectMetadata → reflectMetadata}/data/controllerMethodParameterMetadataReflectKey.d.ts +0 -0
- /package/lib/{cjs/reflectMetadata → reflectMetadata}/data/controllerMethodStatusCodeMetadataReflectKey.d.ts +0 -0
- /package/lib/{cjs/reflectMetadata → reflectMetadata}/data/controllerMethodUseNativeHandlerMetadataReflectKey.d.ts +0 -0
- /package/lib/{cjs/routerExplorer → routerExplorer}/actions/setControllerMethodUseNativeHandlerMetadata.d.ts +0 -0
- /package/lib/{cjs/routerExplorer → routerExplorer}/calculations/getControllerMethodHeaderMetadata.d.ts +0 -0
- /package/lib/{cjs/routerExplorer → routerExplorer}/calculations/getControllerMethodUseNativeHandlerMetadata.d.ts +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.buildInterceptedHandler = buildInterceptedHandler;
|
|
4
|
-
function buildInterceptedHandler(interceptorList, container, callRouteHandler, handleError, reply) {
|
|
5
|
-
if (interceptorList.length === 0) {
|
|
6
|
-
return async (request, response, next) => {
|
|
7
|
-
try {
|
|
8
|
-
const value = await callRouteHandler(request, response, next);
|
|
9
|
-
return await reply(request, response, value);
|
|
10
|
-
}
|
|
11
|
-
catch (error) {
|
|
12
|
-
return handleError(request, response, error);
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
return async (request, response, next) => {
|
|
17
|
-
const transforms = [];
|
|
18
|
-
const transformObject = {
|
|
19
|
-
push: (transform) => {
|
|
20
|
-
transforms.push(transform);
|
|
21
|
-
},
|
|
22
|
-
};
|
|
23
|
-
let handlerResult;
|
|
24
|
-
const nextFunction = (index) => {
|
|
25
|
-
if (index < interceptorList.length) {
|
|
26
|
-
return async () => {
|
|
27
|
-
const interceptor = await container.getAsync(interceptorList[index]);
|
|
28
|
-
await interceptor.intercept(request, response, nextFunction(index + 1));
|
|
29
|
-
return transformObject;
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
return async () => {
|
|
34
|
-
handlerResult = await callRouteHandler(request, response, next);
|
|
35
|
-
return transformObject;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
};
|
|
39
|
-
try {
|
|
40
|
-
await nextFunction(0)();
|
|
41
|
-
for (const transform of transforms) {
|
|
42
|
-
handlerResult = (await transform(handlerResult));
|
|
43
|
-
}
|
|
44
|
-
return await reply(request, response, handlerResult);
|
|
45
|
-
}
|
|
46
|
-
catch (error) {
|
|
47
|
-
return handleError(request, response, error);
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
//# sourceMappingURL=buildInterceptedHandler.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildInterceptedHandler.js","sourceRoot":"","sources":["../../../../src/http/calculations/buildInterceptedHandler.ts"],"names":[],"mappings":";;AASA,0DAuGC;AAvGD,SAAgB,uBAAuB,CAOrC,eAAsE,EACtE,SAAoB,EACpB,gBAIgC,EAChC,WAIqB,EACrB,KAI+B;IAE/B,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACjC,OAAO,KAAK,EACV,OAAiB,EACjB,QAAmB,EACnB,IAAmB,EACD,EAAE;YACpB,IAAI,CAAC;gBACH,MAAM,KAAK,GAAuB,MAAM,gBAAgB,CACtD,OAAO,EACP,QAAQ,EACR,IAAI,CACL,CAAC;gBAEF,OAAO,MAAM,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;YAC/C,CAAC;YAAC,OAAO,KAAc,EAAE,CAAC;gBACxB,OAAO,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;YAC/C,CAAC;QACH,CAAC,CAAC;IACJ,CAAC;IAED,OAAO,KAAK,EACV,OAAiB,EACjB,QAAmB,EACnB,IAAmB,EACD,EAAE;QACpB,MAAM,UAAU,GAAoC,EAAE,CAAC;QAEvD,MAAM,eAAe,GAA+B;YAClD,IAAI,EAAE,CAAC,SAAsC,EAAE,EAAE;gBAC/C,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;YAC7B,CAAC;SACF,CAAC;QAEF,IAAI,aAA6C,CAAC;QAElD,MAAM,YAAY,GAE+B,CAC/C,KAAa,EACgC,EAAE;YAC/C,IAAI,KAAK,GAAG,eAAe,CAAC,MAAM,EAAE,CAAC;gBACnC,OAAO,KAAK,IAAyC,EAAE;oBACrD,MAAM,WAAW,GACf,MAAM,SAAS,CAAC,QAAQ,CACtB,eAAe,CAAC,KAAK,CAEpB,CACF,CAAC;oBAEJ,MAAM,WAAW,CAAC,SAAS,CACzB,OAAO,EACP,QAAQ,EACR,YAAY,CAAC,KAAK,GAAG,CAAC,CAAC,CACxB,CAAC;oBAEF,OAAO,eAAe,CAAC;gBACzB,CAAC,CAAC;YACJ,CAAC;iBAAM,CAAC;gBACN,OAAO,KAAK,IAAyC,EAAE;oBACrD,aAAa,GAAG,MAAM,gBAAgB,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;oBAEhE,OAAO,eAAe,CAAC;gBACzB,CAAC,CAAC;YACJ,CAAC;QACH,CAAC,CAAC;QAEF,IAAI,CAAC;YACH,MAAM,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC;YAExB,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;gBACnC,aAAa,GAAG,CAAC,MAAM,SAAS,CAAC,aAAa,CAAC,CAAuB,CAAC;YACzE,CAAC;YAED,OAAO,MAAM,KAAK,CAAC,OAAO,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC;QACvD,CAAC;QAAC,OAAO,KAAc,EAAE,CAAC;YACxB,OAAO,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildInterceptedHandler.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildInterceptedHandler.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@inversifyjs/framework-core';
|
|
2
|
-
import { ServiceIdentifier } from 'inversify';
|
|
3
|
-
import { ControllerMethodParameterMetadata } from '../../routerExplorer/model/ControllerMethodParameterMetadata';
|
|
4
|
-
import { NonCustomRequestMethodParameterType } from '../models/RequestMethodParameterType';
|
|
5
|
-
import { RouteParamOptions } from '../models/RouteParamOptions';
|
|
6
|
-
export declare function buildNonCustomControllerMethodParameterMetadata(parameterType: NonCustomRequestMethodParameterType, parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[], options: RouteParamOptions | undefined): ControllerMethodParameterMetadata;
|
|
7
|
-
//# sourceMappingURL=buildNonCustomControllerMethodParameterMetadata.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildNonCustomControllerMethodParameterMetadata.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildNonCustomControllerMethodParameterMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AACjH,OAAO,EAAE,mCAAmC,EAAE,MAAM,sCAAsC,CAAC;AAC3F,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,wBAAgB,+CAA+C,CAC7D,aAAa,EAAE,mCAAmC,EAClD,iBAAiB,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,EACrD,OAAO,EAAE,iBAAiB,GAAG,SAAS,GACrC,iCAAiC,CAMnC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.buildNonCustomControllerMethodParameterMetadata = buildNonCustomControllerMethodParameterMetadata;
|
|
4
|
-
function buildNonCustomControllerMethodParameterMetadata(parameterType, parameterPipeList, options) {
|
|
5
|
-
return {
|
|
6
|
-
parameterName: options?.name,
|
|
7
|
-
parameterType,
|
|
8
|
-
pipeList: parameterPipeList,
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=buildNonCustomControllerMethodParameterMetadata.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildNonCustomControllerMethodParameterMetadata.js","sourceRoot":"","sources":["../../../../src/http/calculations/buildNonCustomControllerMethodParameterMetadata.ts"],"names":[],"mappings":";;AAOA,0GAUC;AAVD,SAAgB,+CAA+C,CAC7D,aAAkD,EAClD,iBAAqD,EACrD,OAAsC;IAEtC,OAAO;QACL,aAAa,EAAE,OAAO,EAAE,IAAI;QAC5B,aAAa;QACb,QAAQ,EAAE,iBAAiB;KAC5B,CAAC;AACJ,CAAC"}
|
package/lib/cjs/http/calculations/buildNonCustomControllerMethodParameterMetadata.spec.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildNonCustomControllerMethodParameterMetadata.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildNonCustomControllerMethodParameterMetadata.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildNormalizedPath.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildNormalizedPath.ts"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAMxD"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.buildNormalizedPath = buildNormalizedPath;
|
|
4
|
-
function buildNormalizedPath(path) {
|
|
5
|
-
const segments = path
|
|
6
|
-
.split('/')
|
|
7
|
-
.filter((segment) => segment.length > 0);
|
|
8
|
-
return '/' + segments.join('/');
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=buildNormalizedPath.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildNormalizedPath.js","sourceRoot":"","sources":["../../../../src/http/calculations/buildNormalizedPath.ts"],"names":[],"mappings":";;AAAA,kDAMC;AAND,SAAgB,mBAAmB,CAAC,IAAY;IAC9C,MAAM,QAAQ,GAAa,IAAI;SAC5B,KAAK,CAAC,GAAG,CAAC;SACV,MAAM,CAAC,CAAC,OAAe,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;IAEnD,OAAO,GAAG,GAAG,QAAQ,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildNormalizedPath.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildNormalizedPath.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildSetHeaderMetadata.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildSetHeaderMetadata.ts"],"names":[],"mappings":"AAEA,wBAAgB,sBAAsB,CACpC,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,MAAM,GACZ,CAAC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAiBpE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.buildSetHeaderMetadata = buildSetHeaderMetadata;
|
|
4
|
-
const concatenateHeaders_1 = require("./concatenateHeaders");
|
|
5
|
-
function buildSetHeaderMetadata(headerKey, value) {
|
|
6
|
-
return (headerMetadata) => {
|
|
7
|
-
const headerName = headerKey.toLowerCase();
|
|
8
|
-
const headerValue = headerMetadata[headerName];
|
|
9
|
-
if (headerValue === undefined) {
|
|
10
|
-
headerMetadata[headerName] = value;
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
headerMetadata[headerName] = (0, concatenateHeaders_1.concatenateHeaders)(headerName, headerValue, value);
|
|
14
|
-
}
|
|
15
|
-
return headerMetadata;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=buildSetHeaderMetadata.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildSetHeaderMetadata.js","sourceRoot":"","sources":["../../../../src/http/calculations/buildSetHeaderMetadata.ts"],"names":[],"mappings":";;AAEA,wDAoBC;AAtBD,6DAA0D;AAE1D,SAAgB,sBAAsB,CACpC,SAAiB,EACjB,KAAa;IAEb,OAAO,CAAC,cAAsC,EAA0B,EAAE;QACxE,MAAM,UAAU,GAAW,SAAS,CAAC,WAAW,EAAE,CAAC;QAEnD,MAAM,WAAW,GAAuB,cAAc,CAAC,UAAU,CAAC,CAAC;QACnE,IAAI,WAAW,KAAK,SAAS,EAAE,CAAC;YAC9B,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC;QACrC,CAAC;aAAM,CAAC;YACN,cAAc,CAAC,UAAU,CAAC,GAAG,IAAA,uCAAkB,EAC7C,UAAU,EACV,WAAW,EACX,KAAK,CACN,CAAC;QACJ,CAAC;QAED,OAAO,cAAc,CAAC;IACxB,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildSetHeaderMetadata.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildSetHeaderMetadata.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Container, ServiceIdentifier } from 'inversify';
|
|
2
|
-
import { Controller } from '../models/Controller';
|
|
3
|
-
import { ControllerResponse } from '../models/ControllerResponse';
|
|
4
|
-
export declare function buildSyncCallRouteHandler<TRequest, TResponse, TNextFunction>(container: Container, serviceIdentifier: ServiceIdentifier<Controller>, controllerMethodKey: string | symbol, paramBuilders: (((request: TRequest, response: TResponse, next: TNextFunction) => unknown) | undefined)[]): (request: TRequest, response: TResponse, next: TNextFunction) => Promise<ControllerResponse>;
|
|
5
|
-
//# sourceMappingURL=buildSyncCallRouteHandler.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildSyncCallRouteHandler.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildSyncCallRouteHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEzD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAElE,wBAAgB,yBAAyB,CAAC,QAAQ,EAAE,SAAS,EAAE,aAAa,EAC1E,SAAS,EAAE,SAAS,EACpB,iBAAiB,EAAE,iBAAiB,CAAC,UAAU,CAAC,EAChD,mBAAmB,EAAE,MAAM,GAAG,MAAM,EACpC,aAAa,EAAE,CACX,CAAC,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,KAAK,OAAO,CAAC,GAC1E,SAAS,CACZ,EAAE,GACF,CACD,OAAO,EAAE,QAAQ,EACjB,QAAQ,EAAE,SAAS,EACnB,IAAI,EAAE,aAAa,KAChB,OAAO,CAAC,kBAAkB,CAAC,CA0B/B"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.buildSyncCallRouteHandler = buildSyncCallRouteHandler;
|
|
4
|
-
function buildSyncCallRouteHandler(container, serviceIdentifier, controllerMethodKey, paramBuilders) {
|
|
5
|
-
return async (request, response, next) => {
|
|
6
|
-
const controller = await container.getAsync(serviceIdentifier);
|
|
7
|
-
const params = new Array(paramBuilders.length);
|
|
8
|
-
for (let index = 0; index < paramBuilders.length; index++) {
|
|
9
|
-
const paramBuilder = paramBuilders[index];
|
|
10
|
-
if (paramBuilder !== undefined) {
|
|
11
|
-
params[index] = paramBuilder(request, response, next);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
return controller[controllerMethodKey](...params);
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=buildSyncCallRouteHandler.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildSyncCallRouteHandler.js","sourceRoot":"","sources":["../../../../src/http/calculations/buildSyncCallRouteHandler.ts"],"names":[],"mappings":";;AAMA,8DAsCC;AAtCD,SAAgB,yBAAyB,CACvC,SAAoB,EACpB,iBAAgD,EAChD,mBAAoC,EACpC,aAGG;IAMH,OAAO,KAAK,EACV,OAAiB,EACjB,QAAmB,EACnB,IAAmB,EACU,EAAE;QAC/B,MAAM,UAAU,GAAe,MAAM,SAAS,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;QAE3E,MAAM,MAAM,GAAc,IAAI,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QAE1D,KAAK,IAAI,KAAK,GAAW,CAAC,EAAE,KAAK,GAAG,aAAa,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,CAAC;YAClE,MAAM,YAAY,GAMF,aAAa,CAAC,KAAK,CAAC,CAAC;YAErC,IAAI,YAAY,KAAK,SAAS,EAAE,CAAC;gBAC/B,MAAM,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,EAAE,QAAQ,EAAE,IAAI,CAAC,CAAC;YACxD,CAAC;QACH,CAAC;QAED,OAAQ,UAAU,CAAC,mBAAmB,CAAwB,CAAC,GAAG,MAAM,CAAC,CAAC;IAC5E,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"buildSyncCallRouteHandler.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/buildSyncCallRouteHandler.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"concatenateHeaders.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/concatenateHeaders.ts"],"names":[],"mappings":"AAQA,wBAAgB,kBAAkB,CAChC,mBAAmB,EAAE,MAAM,EAC3B,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,GAClB,MAAM,CAOR"}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Inspired on https://github.com/bnoordhuis/mozilla-central/blob/28b39571c584530df4b0b74bf9d929942906c081/netwerk/protocol/http/nsHttpHeaderArray.h
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.concatenateHeaders = concatenateHeaders;
|
|
5
|
-
const LF_SEPARATED_HEADERS_SET = new Set([
|
|
6
|
-
'proxy-authenticate',
|
|
7
|
-
'set-cookie',
|
|
8
|
-
'www-authenticate',
|
|
9
|
-
]);
|
|
10
|
-
function concatenateHeaders(lowercaseHeaderName, firstValue, secondValue) {
|
|
11
|
-
const isLfSeparated = LF_SEPARATED_HEADERS_SET.has(lowercaseHeaderName);
|
|
12
|
-
return isLfSeparated
|
|
13
|
-
? `${firstValue}\n${secondValue}`
|
|
14
|
-
: `${firstValue}, ${secondValue}`;
|
|
15
|
-
}
|
|
16
|
-
//# sourceMappingURL=concatenateHeaders.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"concatenateHeaders.js","sourceRoot":"","sources":["../../../../src/http/calculations/concatenateHeaders.ts"],"names":[],"mappings":";AAAA,oJAAoJ;;AAQpJ,gDAWC;AAjBD,MAAM,wBAAwB,GAAgB,IAAI,GAAG,CAAS;IAC5D,oBAAoB;IACpB,YAAY;IACZ,kBAAkB;CACnB,CAAC,CAAC;AAEH,SAAgB,kBAAkB,CAChC,mBAA2B,EAC3B,UAAkB,EAClB,WAAmB;IAEnB,MAAM,aAAa,GACjB,wBAAwB,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;IAEpD,OAAO,aAAa;QAClB,CAAC,CAAC,GAAG,UAAU,KAAK,WAAW,EAAE;QACjC,CAAC,CAAC,GAAG,UAAU,KAAK,WAAW,EAAE,CAAC;AACtC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"concatenateHeaders.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/concatenateHeaders.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@inversifyjs/framework-core';
|
|
2
|
-
import { ServiceIdentifier } from 'inversify';
|
|
3
|
-
import { CustomNativeParameterDecoratorHandler } from '../models/CustomNativeParameterDecoratorHandler';
|
|
4
|
-
export declare function createCustomNativeParameterDecorator<TRequest, TResponse, TDecoratorResult, TResult>(handler: CustomNativeParameterDecoratorHandler<TRequest, TResponse, TDecoratorResult, TResult>, ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
5
|
-
//# sourceMappingURL=createCustomNativeParameterDecorator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createCustomNativeParameterDecorator.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/createCustomNativeParameterDecorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,qCAAqC,EAAE,MAAM,iDAAiD,CAAC;AAIxG,wBAAgB,oCAAoC,CAClD,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,OAAO,EAEP,OAAO,EAAE,qCAAqC,CAC5C,QAAQ,EACR,SAAS,EACT,gBAAgB,EAChB,OAAO,CACR,EACD,GAAG,iBAAiB,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,GACvD,kBAAkB,CAOpB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createCustomNativeParameterDecorator = createCustomNativeParameterDecorator;
|
|
4
|
-
const buildCustomNativeControllerMethodParameterMetadata_1 = require("./buildCustomNativeControllerMethodParameterMetadata");
|
|
5
|
-
const nativeRequestParam_1 = require("./nativeRequestParam");
|
|
6
|
-
function createCustomNativeParameterDecorator(handler, ...parameterPipeList) {
|
|
7
|
-
return (0, nativeRequestParam_1.nativeRequestParam)((0, buildCustomNativeControllerMethodParameterMetadata_1.buildCustomNativeControllerMethodParameterMetadata)(parameterPipeList, handler));
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=createCustomNativeParameterDecorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createCustomNativeParameterDecorator.js","sourceRoot":"","sources":["../../../../src/http/calculations/createCustomNativeParameterDecorator.ts"],"names":[],"mappings":";;AAOA,oFAoBC;AAvBD,6HAA0H;AAC1H,6DAA0D;AAE1D,SAAgB,oCAAoC,CAMlD,OAKC,EACD,GAAG,iBAAqD;IAExD,OAAO,IAAA,uCAAkB,EACvB,IAAA,uGAAkD,EAChD,iBAAiB,EACjB,OAAO,CACR,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createCustomNativeParameterDecorator.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/createCustomNativeParameterDecorator.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,CAIpB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.createCustomParameterDecorator = createCustomParameterDecorator;
|
|
4
|
-
const buildCustomControllerMethodParameterMetadata_1 = require("./buildCustomControllerMethodParameterMetadata");
|
|
5
|
-
const requestParam_1 = require("./requestParam");
|
|
6
|
-
function createCustomParameterDecorator(handler, ...parameterPipeList) {
|
|
7
|
-
return (0, requestParam_1.requestParam)((0, buildCustomControllerMethodParameterMetadata_1.buildCustomControllerMethodParameterMetadata)(parameterPipeList, handler));
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=createCustomParameterDecorator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createCustomParameterDecorator.js","sourceRoot":"","sources":["../../../../src/http/calculations/createCustomParameterDecorator.ts"],"names":[],"mappings":";;AAOA,wEAOC;AAVD,iHAA8G;AAC9G,iDAA8C;AAE9C,SAAgB,8BAA8B,CAC5C,OAAsE,EACtE,GAAG,iBAAqD;IAExD,OAAO,IAAA,2BAAY,EACjB,IAAA,2FAA4C,EAAC,iBAAiB,EAAE,OAAO,CAAC,CACzE,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createCustomParameterDecorator.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/createCustomParameterDecorator.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ErrorFilter } from '@inversifyjs/framework-core';
|
|
2
|
-
import { Container, Newable } from 'inversify';
|
|
3
|
-
export declare function getErrorFilterForError<TRequest, TResponse, TResult>(container: Container, error: unknown, errorToFilterMapList: Map<Newable<Error> | null, ErrorFilter | Newable<ErrorFilter>>[]): Promise<ErrorFilter<unknown, TRequest, TResponse, TResult> | undefined>;
|
|
4
|
-
//# sourceMappingURL=getErrorFilterForError.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getErrorFilterForError.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/getErrorFilterForError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAE1D,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAmB/C,wBAAsB,sBAAsB,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,EACvE,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,OAAO,EACd,oBAAoB,EAAE,GAAG,CACvB,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,EACrB,WAAW,GAAG,OAAO,CAAC,WAAW,CAAC,CACnC,EAAE,GACF,OAAO,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,GAAG,SAAS,CAAC,CAiBzE"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getErrorFilterForError = getErrorFilterForError;
|
|
4
|
-
const prototype_utils_1 = require("@inversifyjs/prototype-utils");
|
|
5
|
-
function* getErrorBaseTypeChain(error) {
|
|
6
|
-
if (error instanceof Error) {
|
|
7
|
-
let currentType = error.constructor;
|
|
8
|
-
while (currentType !== Error) {
|
|
9
|
-
yield currentType;
|
|
10
|
-
currentType = (0, prototype_utils_1.getBaseType)(currentType);
|
|
11
|
-
}
|
|
12
|
-
yield currentType;
|
|
13
|
-
}
|
|
14
|
-
yield null;
|
|
15
|
-
}
|
|
16
|
-
async function getErrorFilterForError(container, error, errorToFilterMapList) {
|
|
17
|
-
for (const errorType of getErrorBaseTypeChain(error)) {
|
|
18
|
-
for (const errorToFilterMap of errorToFilterMapList) {
|
|
19
|
-
const errorFilterOrType = errorToFilterMap.get(errorType);
|
|
20
|
-
if (errorFilterOrType !== undefined) {
|
|
21
|
-
if (typeof errorFilterOrType === 'function') {
|
|
22
|
-
return container.getAsync(errorFilterOrType);
|
|
23
|
-
}
|
|
24
|
-
return errorFilterOrType;
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
return undefined;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=getErrorFilterForError.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getErrorFilterForError.js","sourceRoot":"","sources":["../../../../src/http/calculations/getErrorFilterForError.ts"],"names":[],"mappings":";;AAqBA,wDAwBC;AA5CD,kEAA2D;AAG3D,QAAQ,CAAC,CAAC,qBAAqB,CAC7B,KAAc;IAEd,IAAI,KAAK,YAAY,KAAK,EAAE,CAAC;QAC3B,IAAI,WAAW,GAAmB,KAAK,CAAC,WAA6B,CAAC;QAEtE,OAAO,WAAW,KAAK,KAAK,EAAE,CAAC;YAC7B,MAAM,WAAW,CAAC;YAClB,WAAW,GAAG,IAAA,6BAAW,EAAC,WAAW,CAAmB,CAAC;QAC3D,CAAC;QAED,MAAM,WAAW,CAAC;IACpB,CAAC;IAED,MAAM,IAAI,CAAC;AACb,CAAC;AAEM,KAAK,UAAU,sBAAsB,CAC1C,SAAoB,EACpB,KAAc,EACd,oBAGG;IAEH,KAAK,MAAM,SAAS,IAAI,qBAAqB,CAAC,KAAK,CAAC,EAAE,CAAC;QACrD,KAAK,MAAM,gBAAgB,IAAI,oBAAoB,EAAE,CAAC;YACpD,MAAM,iBAAiB,GACrB,gBAAgB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;YAElC,IAAI,iBAAiB,KAAK,SAAS,EAAE,CAAC;gBACpC,IAAI,OAAO,iBAAiB,KAAK,UAAU,EAAE,CAAC;oBAC5C,OAAO,SAAS,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;gBAC/C,CAAC;gBAED,OAAO,iBAAiB,CAAC;YAC3B,CAAC;QACH,CAAC;IACH,CAAC;IAED,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getErrorFilterForError.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/getErrorFilterForError.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@inversifyjs/framework-core';
|
|
2
|
-
import { ServiceIdentifier } from 'inversify';
|
|
3
|
-
import { RouteParamOptions } from '../models/RouteParamOptions';
|
|
4
|
-
export declare function getOptionsAndPipes(optionsOrPipe: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe) | undefined, parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): [RouteParamOptions | undefined, (ServiceIdentifier<Pipe> | Pipe)[]];
|
|
5
|
-
//# sourceMappingURL=getOptionsAndPipes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getOptionsAndPipes.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/getOptionsAndPipes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAEhE,wBAAgB,kBAAkB,CAChC,aAAa,EACT,iBAAiB,GACjB,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,GAChC,SAAS,EACb,iBAAiB,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,GACpD,CAAC,iBAAiB,GAAG,SAAS,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,CAerE"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getOptionsAndPipes = getOptionsAndPipes;
|
|
4
|
-
const framework_core_1 = require("@inversifyjs/framework-core");
|
|
5
|
-
function getOptionsAndPipes(optionsOrPipe, parameterPipeList) {
|
|
6
|
-
let options;
|
|
7
|
-
const pipeList = [];
|
|
8
|
-
if (optionsOrPipe !== undefined) {
|
|
9
|
-
if (typeof optionsOrPipe === 'object' && !(0, framework_core_1.isPipe)(optionsOrPipe)) {
|
|
10
|
-
options = optionsOrPipe;
|
|
11
|
-
}
|
|
12
|
-
else {
|
|
13
|
-
pipeList.push(optionsOrPipe);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
pipeList.push(...parameterPipeList);
|
|
17
|
-
return [options, pipeList];
|
|
18
|
-
}
|
|
19
|
-
//# sourceMappingURL=getOptionsAndPipes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getOptionsAndPipes.js","sourceRoot":"","sources":["../../../../src/http/calculations/getOptionsAndPipes.ts"],"names":[],"mappings":";;AAKA,gDAqBC;AA1BD,gEAA2D;AAK3D,SAAgB,kBAAkB,CAChC,aAGa,EACb,iBAAqD;IAErD,IAAI,OAAsC,CAAC;IAC3C,MAAM,QAAQ,GAAuC,EAAE,CAAC;IAExD,IAAI,aAAa,KAAK,SAAS,EAAE,CAAC;QAChC,IAAI,OAAO,aAAa,KAAK,QAAQ,IAAI,CAAC,IAAA,uBAAM,EAAC,aAAa,CAAC,EAAE,CAAC;YAChE,OAAO,GAAG,aAAa,CAAC;QAC1B,CAAC;aAAM,CAAC;YACN,QAAQ,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAC/B,CAAC;IACH,CAAC;IAED,QAAQ,CAAC,IAAI,CAAC,GAAG,iBAAiB,CAAC,CAAC;IAEpC,OAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC7B,CAAC"}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ControllerMethodParameterMetadata } from '../../routerExplorer/model/ControllerMethodParameterMetadata';
|
|
2
|
-
export declare function nativeRequestParam(controllerMethodParameterMetadata: ControllerMethodParameterMetadata): ParameterDecorator;
|
|
3
|
-
//# sourceMappingURL=nativeRequestParam.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nativeRequestParam.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/nativeRequestParam.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AAEjH,wBAAgB,kBAAkB,CAChC,iCAAiC,EAAE,iCAAiC,GACnE,kBAAkB,CAqBpB"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.nativeRequestParam = nativeRequestParam;
|
|
4
|
-
const InversifyHttpAdapterError_1 = require("../../error/models/InversifyHttpAdapterError");
|
|
5
|
-
const InversifyHttpAdapterErrorKind_1 = require("../../error/models/InversifyHttpAdapterErrorKind");
|
|
6
|
-
const setControllerMethodParameterMetadata_1 = require("../../routerExplorer/actions/setControllerMethodParameterMetadata");
|
|
7
|
-
const setControllerMethodUseNativeHandlerMetadata_1 = require("../../routerExplorer/actions/setControllerMethodUseNativeHandlerMetadata");
|
|
8
|
-
function nativeRequestParam(controllerMethodParameterMetadata) {
|
|
9
|
-
return (target, key, index) => {
|
|
10
|
-
if (key === undefined) {
|
|
11
|
-
throw new InversifyHttpAdapterError_1.InversifyHttpAdapterError(InversifyHttpAdapterErrorKind_1.InversifyHttpAdapterErrorKind.requestParamIncorrectUse, 'Expected native param decorator to be used on a method parameter. Instead, it was found on a constructor parameter');
|
|
12
|
-
}
|
|
13
|
-
(0, setControllerMethodParameterMetadata_1.setControllerMethodParameterMetadata)(controllerMethodParameterMetadata, target.constructor, key, index);
|
|
14
|
-
(0, setControllerMethodUseNativeHandlerMetadata_1.setControllerMethodUseNativeHandlerMetadata)(target.constructor, key);
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=nativeRequestParam.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nativeRequestParam.js","sourceRoot":"","sources":["../../../../src/http/calculations/nativeRequestParam.ts"],"names":[],"mappings":";;AAMA,gDAuBC;AA7BD,4FAAyF;AACzF,oGAAiG;AACjG,4HAAyH;AACzH,0IAAuI;AAGvI,SAAgB,kBAAkB,CAChC,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,oHAAoH,CACrH,CAAC;QACJ,CAAC;QAED,IAAA,2EAAoC,EAClC,iCAAiC,EACjC,MAAM,CAAC,WAAW,EAClB,GAAG,EACH,KAAK,CACN,CAAC;QACF,IAAA,yFAA2C,EAAC,MAAM,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC;IACvE,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"requestMethod.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/requestMethod.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ControllerMethodParameterMetadata } from '../../routerExplorer/model/ControllerMethodParameterMetadata';
|
|
2
|
-
export declare function requestParam(controllerMethodParameterMetadata: ControllerMethodParameterMetadata): ParameterDecorator;
|
|
3
|
-
//# sourceMappingURL=requestParam.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"requestParam.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/requestParam.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iCAAiC,EAAE,MAAM,8DAA8D,CAAC;AAEjH,wBAAgB,YAAY,CAC1B,iCAAiC,EAAE,iCAAiC,GACnE,kBAAkB,CAoBpB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.requestParam = requestParam;
|
|
4
|
-
const InversifyHttpAdapterError_1 = require("../../error/models/InversifyHttpAdapterError");
|
|
5
|
-
const InversifyHttpAdapterErrorKind_1 = require("../../error/models/InversifyHttpAdapterErrorKind");
|
|
6
|
-
const setControllerMethodParameterMetadata_1 = require("../../routerExplorer/actions/setControllerMethodParameterMetadata");
|
|
7
|
-
function requestParam(controllerMethodParameterMetadata) {
|
|
8
|
-
return (target, key, index) => {
|
|
9
|
-
if (key === undefined) {
|
|
10
|
-
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');
|
|
11
|
-
}
|
|
12
|
-
(0, setControllerMethodParameterMetadata_1.setControllerMethodParameterMetadata)(controllerMethodParameterMetadata, target.constructor, key, index);
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=requestParam.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"requestParam.js","sourceRoot":"","sources":["../../../../src/http/calculations/requestParam.ts"],"names":[],"mappings":";;AAKA,oCAsBC;AA3BD,4FAAyF;AACzF,oGAAiG;AACjG,4HAAyH;AAGzH,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,2EAAoC,EAClC,iCAAiC,EACjC,MAAM,CAAC,WAAW,EAClB,GAAG,EACH,KAAK,CACN,CAAC;IACJ,CAAC,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"requestParam.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/calculations/requestParam.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
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,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.All = void 0;
|
|
4
|
-
const requestMethod_1 = require("../calculations/requestMethod");
|
|
5
|
-
const RequestMethodType_1 = require("../models/RequestMethodType");
|
|
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;
|
|
9
|
-
//# sourceMappingURL=All.js.map
|
|
@@ -1 +0,0 @@
|
|
|
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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"All.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/All.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
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;
|
|
5
|
-
//# sourceMappingURL=Body.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;AAM9C,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,CAapB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Body = Body;
|
|
4
|
-
const buildNonCustomControllerMethodParameterMetadata_1 = require("../calculations/buildNonCustomControllerMethodParameterMetadata");
|
|
5
|
-
const getOptionsAndPipes_1 = require("../calculations/getOptionsAndPipes");
|
|
6
|
-
const requestParam_1 = require("../calculations/requestParam");
|
|
7
|
-
const RequestMethodParameterType_1 = require("../models/RequestMethodParameterType");
|
|
8
|
-
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
9
|
-
function Body(optionsOrPipe, ...parameterPipeList) {
|
|
10
|
-
const [options, pipeList] = (0, getOptionsAndPipes_1.getOptionsAndPipes)(optionsOrPipe, parameterPipeList);
|
|
11
|
-
return (0, requestParam_1.requestParam)((0, buildNonCustomControllerMethodParameterMetadata_1.buildNonCustomControllerMethodParameterMetadata)(RequestMethodParameterType_1.RequestMethodParameterType.Body, pipeList, options));
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=Body.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Body.js","sourceRoot":"","sources":["../../../../src/http/decorators/Body.ts"],"names":[],"mappings":";;AAUA,oBAgBC;AAvBD,qIAAkI;AAClI,2EAAwE;AACxE,+DAA4D;AAC5D,qFAAkF;AAGlF,gEAAgE;AAChE,SAAgB,IAAI,CAClB,aAAoE,EACpE,GAAG,iBAAqD;IAExD,MAAM,CAAC,OAAO,EAAE,QAAQ,CAAC,GAGrB,IAAA,uCAAkB,EAAC,aAAa,EAAE,iBAAiB,CAAC,CAAC;IAEzD,OAAO,IAAA,2BAAY,EACjB,IAAA,iGAA+C,EAC7C,uDAA0B,CAAC,IAAI,EAC/B,QAAQ,EACR,OAAO,CACR,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Body.spec.d.ts","sourceRoot":"","sources":["../../../../src/http/decorators/Body.spec.ts"],"names":[],"mappings":""}
|