@inversifyjs/http-core 4.10.1 → 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 +19 -26
- package/CHANGELOG.md +0 -257
- 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,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getControllerMethodUseNativeHandlerMetadata = getControllerMethodUseNativeHandlerMetadata;
|
|
4
|
-
const prototype_utils_1 = require("@inversifyjs/prototype-utils");
|
|
5
|
-
const reflect_metadata_utils_1 = require("@inversifyjs/reflect-metadata-utils");
|
|
6
|
-
const controllerMethodUseNativeHandlerMetadataReflectKey_1 = require("../../reflectMetadata/data/controllerMethodUseNativeHandlerMetadataReflectKey");
|
|
7
|
-
function getControllerMethodUseNativeHandlerMetadata(controllerConstructor, methodKey) {
|
|
8
|
-
return ((0, prototype_utils_1.findInPrototypeChain)(controllerConstructor, (type) => (0, reflect_metadata_utils_1.getOwnReflectMetadata)(type, controllerMethodUseNativeHandlerMetadataReflectKey_1.controllerMethodUseNativeHandlerMetadataReflectKey, methodKey)) ?? false);
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=getControllerMethodUseNativeHandlerMetadata.js.map
|
package/lib/cjs/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getControllerMethodUseNativeHandlerMetadata.js","sourceRoot":"","sources":["../../../../src/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.ts"],"names":[],"mappings":";;AAMA,kGAeC;AArBD,kEAAoE;AACpE,gFAA4E;AAG5E,sJAAmJ;AAEnJ,SAAgB,2CAA2C,CACzD,qBAAsC,EACtC,SAA0B;IAE1B,OAAO,CACL,IAAA,sCAAoB,EAClB,qBAAgC,EAChC,CAAC,IAAa,EAAuB,EAAE,CACrC,IAAA,8CAAqB,EACnB,IAAI,EACJ,uGAAkD,EAClD,SAAS,CACV,CACJ,IAAI,KAAK,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getControllerMethodUseNativeHandlerMetadata.spec.d.ts","sourceRoot":"","sources":["../../../../src/routerExplorer/calculations/getControllerMethodUseNativeHandlerMetadata.spec.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ControllerMetadata.d.ts","sourceRoot":"","sources":["../../../../src/routerExplorer/model/ControllerMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,MAAM,WAAW,kBAAkB;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,MAAM,EAAE,eAAe,CAAC;CACzB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ControllerMetadata.js","sourceRoot":"","sources":["../../../../src/routerExplorer/model/ControllerMetadata.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ControllerMethodMetadata.d.ts","sourceRoot":"","sources":["../../../../src/routerExplorer/model/ControllerMethodMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AAExE,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;CAC5B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ControllerMethodMetadata.js","sourceRoot":"","sources":["../../../../src/routerExplorer/model/ControllerMethodMetadata.ts"],"names":[],"mappings":""}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Pipe } from '@inversifyjs/framework-core';
|
|
2
|
-
import { ServiceIdentifier } from 'inversify';
|
|
3
|
-
import { CustomNativeParameterDecoratorHandler } from '../../http/models/CustomNativeParameterDecoratorHandler';
|
|
4
|
-
import { CustomParameterDecoratorHandler } from '../../http/models/CustomParameterDecoratorHandler';
|
|
5
|
-
import { NonCustomRequestMethodParameterType, RequestMethodParameterType } from '../../http/models/RequestMethodParameterType';
|
|
6
|
-
interface BaseControllerMethodParameterMetadata<TParamType extends RequestMethodParameterType> {
|
|
7
|
-
parameterType: TParamType;
|
|
8
|
-
parameterName?: string | undefined;
|
|
9
|
-
pipeList: (ServiceIdentifier<Pipe> | Pipe)[];
|
|
10
|
-
}
|
|
11
|
-
interface ControllerMethodCustomParameterMetadata<TRequest = any, TResponse = any, TResult = any> extends BaseControllerMethodParameterMetadata<RequestMethodParameterType.Custom> {
|
|
12
|
-
customParameterDecoratorHandler: CustomParameterDecoratorHandler<TRequest, TResponse, TResult>;
|
|
13
|
-
}
|
|
14
|
-
interface ControllerMethodCustomNativeParameterMetadata<TRequest = any, TResponse = any, TResult = any> extends BaseControllerMethodParameterMetadata<RequestMethodParameterType.CustomNative> {
|
|
15
|
-
customParameterDecoratorHandler: CustomNativeParameterDecoratorHandler<TRequest, TResponse, TResult>;
|
|
16
|
-
}
|
|
17
|
-
export type ControllerMethodParameterMetadata<TRequest = any, TResponse = any, TResult = any> = BaseControllerMethodParameterMetadata<NonCustomRequestMethodParameterType> | ControllerMethodCustomNativeParameterMetadata<TRequest, TResponse, TResult> | ControllerMethodCustomParameterMetadata<TRequest, TResponse, TResult>;
|
|
18
|
-
export {};
|
|
19
|
-
//# sourceMappingURL=ControllerMethodParameterMetadata.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ControllerMethodParameterMetadata.d.ts","sourceRoot":"","sources":["../../../../src/routerExplorer/model/ControllerMethodParameterMetadata.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,qCAAqC,EAAE,MAAM,yDAAyD,CAAC;AAChH,OAAO,EAAE,+BAA+B,EAAE,MAAM,mDAAmD,CAAC;AACpG,OAAO,EACL,mCAAmC,EACnC,0BAA0B,EAC3B,MAAM,8CAA8C,CAAC;AAEtD,UAAU,qCAAqC,CAC7C,UAAU,SAAS,0BAA0B;IAE7C,aAAa,EAAE,UAAU,CAAC;IAC1B,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,EAAE,CAAC,iBAAiB,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;CAC9C;AAED,UAAU,uCAAuC,CAC/C,QAAQ,GAAG,GAAG,EACd,SAAS,GAAG,GAAG,EACf,OAAO,GAAG,GAAG,CACb,SAAQ,qCAAqC,CAAC,0BAA0B,CAAC,MAAM,CAAC;IAChF,+BAA+B,EAAE,+BAA+B,CAC9D,QAAQ,EACR,SAAS,EACT,OAAO,CACR,CAAC;CACH;AAED,UAAU,6CAA6C,CACrD,QAAQ,GAAG,GAAG,EACd,SAAS,GAAG,GAAG,EACf,OAAO,GAAG,GAAG,CACb,SAAQ,qCAAqC,CAAC,0BAA0B,CAAC,YAAY,CAAC;IACtF,+BAA+B,EAAE,qCAAqC,CACpE,QAAQ,EACR,SAAS,EACT,OAAO,CACR,CAAC;CACH;AAED,MAAM,MAAM,iCAAiC,CAC3C,QAAQ,GAAG,GAAG,EACd,SAAS,GAAG,GAAG,EACf,OAAO,GAAG,GAAG,IAEX,qCAAqC,CAAC,mCAAmC,CAAC,GAC1E,6CAA6C,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,GAC3E,uCAAuC,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ControllerMethodParameterMetadata.js","sourceRoot":"","sources":["../../../../src/routerExplorer/model/ControllerMethodParameterMetadata.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ServiceIdentifier } from 'inversify';
|
|
2
|
-
import { RouterExplorerControllerMethodMetadata } from './RouterExplorerControllerMethodMetadata';
|
|
3
|
-
export interface RouterExplorerControllerMetadata<TRequest = any, TResponse = any, TResult = any> {
|
|
4
|
-
readonly controllerMethodMetadataList: RouterExplorerControllerMethodMetadata<TRequest, TResponse, TResult>[];
|
|
5
|
-
readonly path: string;
|
|
6
|
-
readonly serviceIdentifier: ServiceIdentifier;
|
|
7
|
-
readonly target: NewableFunction;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=RouterExplorerControllerMetadata.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RouterExplorerControllerMetadata.d.ts","sourceRoot":"","sources":["../../../../src/routerExplorer/model/RouterExplorerControllerMetadata.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,sCAAsC,EAAE,MAAM,0CAA0C,CAAC;AAElG,MAAM,WAAW,gCAAgC,CAC/C,QAAQ,GAAG,GAAG,EACd,SAAS,GAAG,GAAG,EACf,OAAO,GAAG,GAAG;IAEb,QAAQ,CAAC,4BAA4B,EAAE,sCAAsC,CAC3E,QAAQ,EACR,SAAS,EACT,OAAO,CACR,EAAE,CAAC;IACJ,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;CAClC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RouterExplorerControllerMetadata.js","sourceRoot":"","sources":["../../../../src/routerExplorer/model/RouterExplorerControllerMetadata.ts"],"names":[],"mappings":";AAAA,uDAAuD"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ErrorFilter, Guard, Interceptor, Middleware } from '@inversifyjs/framework-core';
|
|
2
|
-
import { Newable, ServiceIdentifier } from 'inversify';
|
|
3
|
-
import { HttpStatusCode } from '../../http/models/HttpStatusCode';
|
|
4
|
-
import { RequestMethodType } from '../../http/models/RequestMethodType';
|
|
5
|
-
import { ControllerMethodParameterMetadata } from './ControllerMethodParameterMetadata';
|
|
6
|
-
export interface RouterExplorerControllerMethodMetadata<TRequest = unknown, TResponse = unknown, TResult = unknown> {
|
|
7
|
-
readonly errorTypeToErrorFilterMap: Map<Newable<Error> | null, Newable<ErrorFilter>>;
|
|
8
|
-
readonly guardList: ServiceIdentifier<Guard<TRequest>>[];
|
|
9
|
-
readonly headerMetadataList: Record<string, string>;
|
|
10
|
-
readonly interceptorList: ServiceIdentifier<Interceptor<TRequest, TResponse>>[];
|
|
11
|
-
readonly methodKey: string | symbol;
|
|
12
|
-
readonly parameterMetadataList: (ControllerMethodParameterMetadata<TRequest, TResponse, TResult> | undefined)[];
|
|
13
|
-
readonly path: string;
|
|
14
|
-
readonly postHandlerMiddlewareList: ServiceIdentifier<Middleware<TRequest, TResponse, any, TResult>>[];
|
|
15
|
-
readonly preHandlerMiddlewareList: ServiceIdentifier<Middleware<TRequest, TResponse, any, TResult>>[];
|
|
16
|
-
readonly requestMethodType: RequestMethodType;
|
|
17
|
-
readonly statusCode: HttpStatusCode | undefined;
|
|
18
|
-
readonly useNativeHandler: boolean;
|
|
19
|
-
}
|
|
20
|
-
//# sourceMappingURL=RouterExplorerControllerMethodMetadata.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RouterExplorerControllerMethodMetadata.d.ts","sourceRoot":"","sources":["../../../../src/routerExplorer/model/RouterExplorerControllerMethodMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,KAAK,EACL,WAAW,EACX,UAAU,EACX,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAEvD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;AACxE,OAAO,EAAE,iCAAiC,EAAE,MAAM,qCAAqC,CAAC;AAExF,MAAM,WAAW,sCAAsC,CACrD,QAAQ,GAAG,OAAO,EAClB,SAAS,GAAG,OAAO,EACnB,OAAO,GAAG,OAAO;IAEjB,QAAQ,CAAC,yBAAyB,EAAE,GAAG,CACrC,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,EACrB,OAAO,CAAC,WAAW,CAAC,CACrB,CAAC;IACF,QAAQ,CAAC,SAAS,EAAE,iBAAiB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC;IACzD,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpD,QAAQ,CAAC,eAAe,EAAE,iBAAiB,CACzC,WAAW,CAAC,QAAQ,EAAE,SAAS,CAAC,CACjC,EAAE,CAAC;IACJ,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAAC;IACpC,QAAQ,CAAC,qBAAqB,EAAE,CAC5B,iCAAiC,CAAC,QAAQ,EAAE,SAAS,EAAE,OAAO,CAAC,GAC/D,SAAS,CACZ,EAAE,CAAC;IACJ,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,yBAAyB,EAAE,iBAAiB,CAEnD,UAAU,CAAC,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,OAAO,CAAC,CAC9C,EAAE,CAAC;IACJ,QAAQ,CAAC,wBAAwB,EAAE,iBAAiB,CAElD,UAAU,CAAC,QAAQ,EAAE,SAAS,EAAE,GAAG,EAAE,OAAO,CAAC,CAC9C,EAAE,CAAC;IACJ,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,UAAU,EAAE,cAAc,GAAG,SAAS,CAAC;IAChD,QAAQ,CAAC,gBAAgB,EAAE,OAAO,CAAC;CACpC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RouterExplorerControllerMethodMetadata.js","sourceRoot":"","sources":["../../../../src/routerExplorer/model/RouterExplorerControllerMethodMetadata.ts"],"names":[],"mappings":""}
|
package/lib/esm/index.d.ts
DELETED
|
@@ -1,385 +0,0 @@
|
|
|
1
|
-
import { Middleware, ApplyMiddlewareOptions, Guard, ErrorFilter, Interceptor, Pipe } from '@inversifyjs/framework-core';
|
|
2
|
-
export { ApplyMiddleware, CatchError, CatchErrorOptions, ErrorFilter, Guard, Interceptor, InterceptorTransformObject, Middleware, MiddlewarePhase, Pipe, PipeMetadata, UseErrorFilter, UseGuard, UseInterceptor } from '@inversifyjs/framework-core';
|
|
3
|
-
import { Readable, Stream } from 'node:stream';
|
|
4
|
-
import { Logger } from '@inversifyjs/logger';
|
|
5
|
-
import { Container, ServiceIdentifier, Newable, BindingScope } from 'inversify';
|
|
6
|
-
|
|
7
|
-
interface HttpAdapterOptions {
|
|
8
|
-
logger?: boolean | Logger;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
declare enum HttpStatusCode {
|
|
12
|
-
CONTINUE = 100,
|
|
13
|
-
SWITCHING_PROTOCOLS = 101,
|
|
14
|
-
PROCESSING = 102,
|
|
15
|
-
EARLYHINTS = 103,
|
|
16
|
-
OK = 200,
|
|
17
|
-
CREATED = 201,
|
|
18
|
-
ACCEPTED = 202,
|
|
19
|
-
NON_AUTHORITATIVE_INFORMATION = 203,
|
|
20
|
-
NO_CONTENT = 204,
|
|
21
|
-
RESET_CONTENT = 205,
|
|
22
|
-
PARTIAL_CONTENT = 206,
|
|
23
|
-
MULTI_STATUS = 207,
|
|
24
|
-
ALREADY_REPORTED = 208,
|
|
25
|
-
CONTENT_DIFFERENT = 210,
|
|
26
|
-
AMBIGUOUS = 300,
|
|
27
|
-
MOVED_PERMANENTLY = 301,
|
|
28
|
-
FOUND = 302,
|
|
29
|
-
SEE_OTHER = 303,
|
|
30
|
-
NOT_MODIFIED = 304,
|
|
31
|
-
TEMPORARY_REDIRECT = 307,
|
|
32
|
-
PERMANENT_REDIRECT = 308,
|
|
33
|
-
BAD_REQUEST = 400,
|
|
34
|
-
UNAUTHORIZED = 401,
|
|
35
|
-
PAYMENT_REQUIRED = 402,
|
|
36
|
-
FORBIDDEN = 403,
|
|
37
|
-
NOT_FOUND = 404,
|
|
38
|
-
METHOD_NOT_ALLOWED = 405,
|
|
39
|
-
NOT_ACCEPTABLE = 406,
|
|
40
|
-
PROXY_AUTHENTICATION_REQUIRED = 407,
|
|
41
|
-
REQUEST_TIMEOUT = 408,
|
|
42
|
-
CONFLICT = 409,
|
|
43
|
-
GONE = 410,
|
|
44
|
-
LENGTH_REQUIRED = 411,
|
|
45
|
-
PRECONDITION_FAILED = 412,
|
|
46
|
-
PAYLOAD_TOO_LARGE = 413,
|
|
47
|
-
URI_TOO_LONG = 414,
|
|
48
|
-
UNSUPPORTED_MEDIA_TYPE = 415,
|
|
49
|
-
REQUESTED_RANGE_NOT_SATISFIABLE = 416,
|
|
50
|
-
EXPECTATION_FAILED = 417,
|
|
51
|
-
I_AM_A_TEAPOT = 418,
|
|
52
|
-
MISDIRECTED = 421,
|
|
53
|
-
UNPROCESSABLE_ENTITY = 422,
|
|
54
|
-
LOCKED = 423,
|
|
55
|
-
FAILED_DEPENDENCY = 424,
|
|
56
|
-
PRECONDITION_REQUIRED = 428,
|
|
57
|
-
TOO_MANY_REQUESTS = 429,
|
|
58
|
-
UNRECOVERABLE_ERROR = 456,
|
|
59
|
-
INTERNAL_SERVER_ERROR = 500,
|
|
60
|
-
NOT_IMPLEMENTED = 501,
|
|
61
|
-
BAD_GATEWAY = 502,
|
|
62
|
-
SERVICE_UNAVAILABLE = 503,
|
|
63
|
-
GATEWAY_TIMEOUT = 504,
|
|
64
|
-
HTTP_VERSION_NOT_SUPPORTED = 505,
|
|
65
|
-
INSUFFICIENT_STORAGE = 507,
|
|
66
|
-
LOOP_DETECTED = 508
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
declare enum RequestMethodParameterType {
|
|
70
|
-
Body = "body",
|
|
71
|
-
Cookies = "cookies",
|
|
72
|
-
Custom = "custom",
|
|
73
|
-
CustomNative = "customNative",
|
|
74
|
-
Headers = "headers",
|
|
75
|
-
Next = "next",
|
|
76
|
-
Params = "params",
|
|
77
|
-
Request = "request",
|
|
78
|
-
Response = "response",
|
|
79
|
-
Query = "query"
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
type RequiredOptions<T> = {
|
|
83
|
-
[P in keyof T]-?: NonNullable<T[P]>;
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
type MiddlewareHandler<TRequest, TResponse, TNextFunction, TResult = unknown> = (req: TRequest, res: TResponse, next: TNextFunction) => Promise<TResult> | TResult;
|
|
87
|
-
|
|
88
|
-
type RequestHandler<TRequest, TResponse, TNextFunction, TResult = unknown> = (req: TRequest, res: TResponse, next: TNextFunction) => Promise<TResult> | TResult;
|
|
89
|
-
|
|
90
|
-
declare enum RequestMethodType {
|
|
91
|
-
All = "all",
|
|
92
|
-
Delete = "delete",
|
|
93
|
-
Get = "get",
|
|
94
|
-
Head = "head",
|
|
95
|
-
Options = "options",
|
|
96
|
-
Patch = "patch",
|
|
97
|
-
Post = "post",
|
|
98
|
-
Put = "put"
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
interface RouteParams<TRequest, TResponse, TNextFunction, TResult> {
|
|
102
|
-
guardList: MiddlewareHandler<TRequest, TResponse, TNextFunction, TResult | undefined>[];
|
|
103
|
-
handler: RequestHandler<TRequest, TResponse, TNextFunction, TResult>;
|
|
104
|
-
path: string;
|
|
105
|
-
postHandlerMiddlewareList: MiddlewareHandler<TRequest, TResponse, TNextFunction, TResult>[];
|
|
106
|
-
preHandlerMiddlewareList: MiddlewareHandler<TRequest, TResponse, TNextFunction, TResult>[];
|
|
107
|
-
requestMethodType: RequestMethodType;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
interface RouterParams<TRequest, TResponse, TNextFunction, TResult> {
|
|
111
|
-
path: string;
|
|
112
|
-
routeParamsList: RouteParams<TRequest, TResponse, TNextFunction, TResult>[];
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
declare abstract class InversifyHttpAdapter<TRequest, TResponse, TNextFunction extends (err?: any) => Promise<void> | void, TResult, TOptions extends HttpAdapterOptions = HttpAdapterOptions, TApp = unknown, TParams extends Record<string | number, unknown> = Record<string, string>> {
|
|
116
|
-
#private;
|
|
117
|
-
protected readonly httpAdapterOptions: RequiredOptions<TOptions>;
|
|
118
|
-
protected readonly _app: TApp;
|
|
119
|
-
protected readonly _logger: Logger;
|
|
120
|
-
abstract readonly id: string | symbol;
|
|
121
|
-
constructor(container: Container, defaultHttpAdapterOptions: RequiredOptions<TOptions>, httpAdapterOptions: TOptions | undefined, awaitableRequestMethodParamTypes?: Iterable<RequestMethodParameterType> | undefined, customApp?: TApp);
|
|
122
|
-
applyGlobalMiddleware(...middlewareList: (ServiceIdentifier<Middleware> | ApplyMiddlewareOptions)[]): void;
|
|
123
|
-
applyGlobalGuards(...guardList: ServiceIdentifier<Guard<TRequest>>[]): void;
|
|
124
|
-
build(): Promise<TApp>;
|
|
125
|
-
useGlobalFilters(...errorFilterList: Newable<ErrorFilter>[]): void;
|
|
126
|
-
useGlobalInterceptors(...interceptorList: ServiceIdentifier<Interceptor<TRequest, TResponse>>[]): void;
|
|
127
|
-
useGlobalPipe(...pipeList: (ServiceIdentifier<Pipe> | Pipe)[]): void;
|
|
128
|
-
protected abstract _buildApp(customApp: TApp | undefined): TApp;
|
|
129
|
-
protected abstract _getBody(request: TRequest, response: TResponse, parameterName?: string): unknown;
|
|
130
|
-
protected abstract _getParams(request: TRequest): TParams;
|
|
131
|
-
protected abstract _getParams(request: TRequest, parameterName: string): TParams[string] | undefined;
|
|
132
|
-
protected abstract _getParams(request: TRequest, parameterName?: string): TParams | TParams[string] | undefined;
|
|
133
|
-
protected abstract _getQuery(request: TRequest): Record<string, unknown>;
|
|
134
|
-
protected abstract _getQuery(request: TRequest, parameterName: string): unknown;
|
|
135
|
-
protected abstract _getQuery(request: TRequest, parameterName?: string): unknown;
|
|
136
|
-
protected abstract _getHeaders(request: TRequest): Record<string, string | string[] | undefined>;
|
|
137
|
-
protected abstract _getHeaders(request: TRequest, parameterName: string): string | string[] | undefined;
|
|
138
|
-
protected abstract _getHeaders(request: TRequest, parameterName?: string): Record<string, string | string[] | undefined> | string | string[] | undefined;
|
|
139
|
-
protected abstract _getCookies(request: TRequest, response: TResponse, parameterName?: string): unknown;
|
|
140
|
-
protected abstract _replyText(request: TRequest, response: TResponse, value: string): TResult;
|
|
141
|
-
protected abstract _replyJson(request: TRequest, response: TResponse, value?: object): TResult;
|
|
142
|
-
protected abstract _replyStream(request: TRequest, response: TResponse, value: Readable): TResult | Promise<TResult>;
|
|
143
|
-
protected abstract _sendBodySeparator(request: TRequest, response: TResponse): void | Promise<void>;
|
|
144
|
-
protected abstract _setStatus(request: TRequest, response: TResponse, statusCode: HttpStatusCode): void;
|
|
145
|
-
protected abstract _setHeader(request: TRequest, response: TResponse, key: string, value: string): void;
|
|
146
|
-
protected abstract _buildRouter(routerParams: RouterParams<TRequest, TResponse, TNextFunction, TResult>): void | Promise<void>;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
declare function buildNormalizedPath(path: string): string;
|
|
150
|
-
|
|
151
|
-
declare const isHttpResponse$1: unique symbol;
|
|
152
|
-
interface HttpResponse {
|
|
153
|
-
[isHttpResponse$1]: true;
|
|
154
|
-
body?: object | string | number | boolean | Stream | undefined;
|
|
155
|
-
headers?: Record<string, string> | undefined;
|
|
156
|
-
statusCode: HttpStatusCode;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
type ControllerResponse = HttpResponse | object | string | number | boolean | Readable | undefined;
|
|
160
|
-
|
|
161
|
-
interface CustomParameterDecoratorHandlerOptions<TRequest, TResponse> {
|
|
162
|
-
getBody: (request: TRequest, response: TResponse, parameterName?: string) => unknown;
|
|
163
|
-
getCookies: (request: TRequest, response: TResponse, parameterName?: string) => unknown;
|
|
164
|
-
getHeaders: (request: TRequest, parameterName?: string) => unknown;
|
|
165
|
-
getParams: (request: TRequest, parameterName?: string) => unknown;
|
|
166
|
-
getQuery: (request: TRequest, parameterName?: string) => unknown;
|
|
167
|
-
setHeader(request: TRequest, response: TResponse, key: string, value: string): void;
|
|
168
|
-
setStatus(request: TRequest, response: TResponse, statusCode: HttpStatusCode): void;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
interface CustomNativeParameterDecoratorHandlerOptions<TRequest = any, TResponse = any, TResult = any> extends CustomParameterDecoratorHandlerOptions<TRequest, TResponse> {
|
|
172
|
-
send(request: TRequest, response: TResponse, value: ControllerResponse): TResult | Promise<TResult>;
|
|
173
|
-
sendBodySeparator(request: TRequest, response: TResponse): void | Promise<void>;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
type CustomNativeParameterDecoratorHandler<TRequest = any, TResponse = any, TDecoratorResult = any, TResult = any> = (request: TRequest, response: TResponse, options: CustomNativeParameterDecoratorHandlerOptions<TRequest, TResponse, TResult>) => Promise<TDecoratorResult> | TDecoratorResult;
|
|
177
|
-
|
|
178
|
-
declare function createCustomNativeParameterDecorator<TRequest, TResponse, TDecoratorResult, TResult>(handler: CustomNativeParameterDecoratorHandler<TRequest, TResponse, TDecoratorResult, TResult>, ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
179
|
-
|
|
180
|
-
type CustomParameterDecoratorHandler<TRequest = any, TResponse = any, TResult = any> = (request: TRequest, response: TResponse, options: CustomParameterDecoratorHandlerOptions<TRequest, TResponse>) => Promise<TResult> | TResult;
|
|
181
|
-
|
|
182
|
-
declare function createCustomParameterDecorator<TRequest, TResponse, TResult>(handler: CustomParameterDecoratorHandler<TRequest, TResponse, TResult>, ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
183
|
-
|
|
184
|
-
declare const All: (path?: string) => MethodDecorator;
|
|
185
|
-
|
|
186
|
-
interface RouteParamOptions {
|
|
187
|
-
name?: string | undefined;
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
declare function Body(optionsOrPipe?: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe), ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
191
|
-
|
|
192
|
-
interface ControllerOptions {
|
|
193
|
-
path?: string;
|
|
194
|
-
priority?: number;
|
|
195
|
-
scope?: BindingScope;
|
|
196
|
-
serviceIdentifier?: ServiceIdentifier;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
declare function Controller(pathOrOptions?: string | ControllerOptions): ClassDecorator;
|
|
200
|
-
|
|
201
|
-
declare function Cookies(optionsOrPipe?: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe), ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
202
|
-
|
|
203
|
-
declare const Delete: (path?: string) => MethodDecorator;
|
|
204
|
-
|
|
205
|
-
declare const Get: (path?: string) => MethodDecorator;
|
|
206
|
-
|
|
207
|
-
declare const Head: (path?: string) => MethodDecorator;
|
|
208
|
-
|
|
209
|
-
declare function Headers(optionsOrPipe?: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe), ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
210
|
-
|
|
211
|
-
declare function Next(): ParameterDecorator;
|
|
212
|
-
|
|
213
|
-
declare const Options: (path?: string) => MethodDecorator;
|
|
214
|
-
|
|
215
|
-
declare function Params(optionsOrPipe?: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe), ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
216
|
-
|
|
217
|
-
declare const Patch: (path?: string) => MethodDecorator;
|
|
218
|
-
|
|
219
|
-
declare const Post: (path?: string) => MethodDecorator;
|
|
220
|
-
|
|
221
|
-
declare const Put: (path?: string) => MethodDecorator;
|
|
222
|
-
|
|
223
|
-
declare function Query(optionsOrPipe?: RouteParamOptions | (ServiceIdentifier<Pipe> | Pipe), ...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
224
|
-
|
|
225
|
-
declare function Request(...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
226
|
-
|
|
227
|
-
declare function Response(...parameterPipeList: (ServiceIdentifier<Pipe> | Pipe)[]): ParameterDecorator;
|
|
228
|
-
|
|
229
|
-
declare function SetHeader(headerKey: string, value: string): MethodDecorator;
|
|
230
|
-
|
|
231
|
-
declare function StatusCode(statusCode: HttpStatusCode): MethodDecorator;
|
|
232
|
-
|
|
233
|
-
declare const httpApplicationServiceIdentifier: unique symbol;
|
|
234
|
-
|
|
235
|
-
declare function isHttpResponse(value: unknown): value is HttpResponse;
|
|
236
|
-
|
|
237
|
-
declare class SuccessHttpResponse implements HttpResponse {
|
|
238
|
-
readonly statusCode: HttpStatusCode;
|
|
239
|
-
readonly body?: (object | string | number | boolean | Stream) | undefined;
|
|
240
|
-
readonly headers?: Record<string, string> | undefined;
|
|
241
|
-
[isHttpResponse$1]: true;
|
|
242
|
-
constructor(statusCode: HttpStatusCode, body?: (object | string | number | boolean | Stream) | undefined, headers?: Record<string, string> | undefined);
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
declare class AcceptedHttpResponse extends SuccessHttpResponse {
|
|
246
|
-
constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
declare class AlreadyReportedHttpResponse extends SuccessHttpResponse {
|
|
250
|
-
constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
declare class ErrorHttpResponse extends Error implements HttpResponse {
|
|
254
|
-
readonly statusCode: HttpStatusCode;
|
|
255
|
-
readonly body?: object | string | number | boolean | Stream | undefined;
|
|
256
|
-
readonly headers?: Record<string, string> | undefined;
|
|
257
|
-
readonly [isHttpResponse$1]: true;
|
|
258
|
-
constructor(statusCode: HttpStatusCode, body?: object | string | number | boolean | Stream | undefined, message?: string | undefined, errorOptions?: ErrorOptions | undefined, headers?: Record<string, string> | undefined);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
declare class BadGatewayHttpResponse extends ErrorHttpResponse {
|
|
262
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
263
|
-
}
|
|
264
|
-
|
|
265
|
-
declare class BadRequestHttpResponse extends ErrorHttpResponse {
|
|
266
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
declare class ConflictHttpResponse extends ErrorHttpResponse {
|
|
270
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
declare class ContentDifferentHttpResponse extends SuccessHttpResponse {
|
|
274
|
-
constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
declare class CreatedHttpResponse extends SuccessHttpResponse {
|
|
278
|
-
constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
declare class ForbiddenHttpResponse extends ErrorHttpResponse {
|
|
282
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
declare class GatewayTimeoutHttpResponse extends ErrorHttpResponse {
|
|
286
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
declare class GoneHttpResponse extends ErrorHttpResponse {
|
|
290
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
291
|
-
}
|
|
292
|
-
|
|
293
|
-
declare class HttpVersionNotSupportedHttpResponse extends ErrorHttpResponse {
|
|
294
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
declare class InsufficientStorageHttpResponse extends ErrorHttpResponse {
|
|
298
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
299
|
-
}
|
|
300
|
-
|
|
301
|
-
declare class InternalServerErrorHttpResponse extends ErrorHttpResponse {
|
|
302
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
declare class LoopDetectedHttpResponse extends ErrorHttpResponse {
|
|
306
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
declare class MethodNotAllowedHttpResponse extends ErrorHttpResponse {
|
|
310
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
declare class MultiStatusHttpResponse extends SuccessHttpResponse {
|
|
314
|
-
constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
declare class NoContentHttpResponse extends SuccessHttpResponse {
|
|
318
|
-
constructor(headers?: Record<string, string>);
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
declare class NonAuthoritativeInformationHttpResponse extends SuccessHttpResponse {
|
|
322
|
-
constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
declare class NotAcceptableHttpResponse extends ErrorHttpResponse {
|
|
326
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
declare class NotFoundHttpResponse extends ErrorHttpResponse {
|
|
330
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
declare class NotImplementedHttpResponse extends ErrorHttpResponse {
|
|
334
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
declare class OkHttpResponse extends SuccessHttpResponse {
|
|
338
|
-
constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
declare class PartialContentHttpResponse extends SuccessHttpResponse {
|
|
342
|
-
constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
declare class PaymentRequiredHttpResponse extends ErrorHttpResponse {
|
|
346
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
347
|
-
}
|
|
348
|
-
|
|
349
|
-
declare class ResetContentHttpResponse extends SuccessHttpResponse {
|
|
350
|
-
constructor(body?: object | string | number | boolean, headers?: Record<string, string>);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
declare class ServiceUnavailableHttpResponse extends ErrorHttpResponse {
|
|
354
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
declare class UnauthorizedHttpResponse extends ErrorHttpResponse {
|
|
358
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
declare class UnprocessableEntityHttpResponse extends ErrorHttpResponse {
|
|
362
|
-
constructor(body?: object | string | number | boolean | Stream | undefined, errorMessage?: string, errorOptions?: ErrorOptions, headers?: Record<string, string>);
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
declare function handleMiddlewareList<TRequest, TResponse, TResult>(orderedHandlers: MiddlewareHandler<TRequest, TResponse, () => void, TResult>[]): (request: TRequest, response: TResponse) => Promise<TResult>;
|
|
366
|
-
|
|
367
|
-
interface ControllerMetadata {
|
|
368
|
-
path: string;
|
|
369
|
-
priority: number;
|
|
370
|
-
serviceIdentifier: ServiceIdentifier;
|
|
371
|
-
target: NewableFunction;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
declare function getControllerMetadataList(): ControllerMetadata[] | undefined;
|
|
375
|
-
|
|
376
|
-
interface ControllerMethodMetadata {
|
|
377
|
-
path: string;
|
|
378
|
-
requestMethodType: RequestMethodType;
|
|
379
|
-
methodKey: string | symbol;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
declare function getControllerMethodMetadataList(controllerConstructor: NewableFunction): ControllerMethodMetadata[];
|
|
383
|
-
|
|
384
|
-
export { AcceptedHttpResponse, All, AlreadyReportedHttpResponse, BadGatewayHttpResponse, BadRequestHttpResponse, Body, ConflictHttpResponse, ContentDifferentHttpResponse, Controller, Cookies, CreatedHttpResponse, Delete, ErrorHttpResponse, ForbiddenHttpResponse, GatewayTimeoutHttpResponse, Get, GoneHttpResponse, Head, Headers, HttpStatusCode, HttpVersionNotSupportedHttpResponse, InsufficientStorageHttpResponse, InternalServerErrorHttpResponse, InversifyHttpAdapter, LoopDetectedHttpResponse, MethodNotAllowedHttpResponse, MultiStatusHttpResponse, Next, NoContentHttpResponse, NonAuthoritativeInformationHttpResponse, NotAcceptableHttpResponse, NotFoundHttpResponse, NotImplementedHttpResponse, OkHttpResponse, Options, Params, PartialContentHttpResponse, Patch, PaymentRequiredHttpResponse, Post, Put, Query, Request, RequestMethodParameterType, RequestMethodType, ResetContentHttpResponse, Response, ServiceUnavailableHttpResponse, SetHeader, StatusCode, SuccessHttpResponse, UnauthorizedHttpResponse, UnprocessableEntityHttpResponse, buildNormalizedPath, createCustomNativeParameterDecorator, createCustomParameterDecorator, getControllerMetadataList, getControllerMethodMetadataList, handleMiddlewareList, httpApplicationServiceIdentifier, isHttpResponse, isHttpResponse$1 as isHttpResponseSymbol };
|
|
385
|
-
export type { ControllerMetadata, ControllerMethodMetadata, ControllerOptions, ControllerResponse, CustomNativeParameterDecoratorHandler, CustomNativeParameterDecoratorHandlerOptions, CustomParameterDecoratorHandler, CustomParameterDecoratorHandlerOptions, HttpAdapterOptions, HttpResponse, MiddlewareHandler, RequestHandler, RequiredOptions, RouteParamOptions, RouteParams, RouterParams };
|
package/lib/esm/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,UAAU,EACV,iBAAiB,EACjB,WAAW,EACX,KAAK,EACL,WAAW,EACX,0BAA0B,EAC1B,UAAU,EACV,eAAe,EACf,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,QAAQ,EACR,cAAc,EACf,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,yCAAyC,CAAC;AAC9E,OAAO,EAAE,oCAAoC,EAAE,MAAM,0DAA0D,CAAC;AAChH,OAAO,EAAE,8BAA8B,EAAE,MAAM,oDAAoD,CAAC;AACpG,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,uBAAuB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,qCAAqC,EAAE,MAAM,qDAAqD,CAAC;AAC5G,OAAO,EAAE,4CAA4C,EAAE,MAAM,4DAA4D,CAAC;AAC1H,OAAO,EAAE,+BAA+B,EAAE,MAAM,+CAA+C,CAAC;AAChG,OAAO,EAAE,sCAAsC,EAAE,MAAM,sDAAsD,CAAC;AAC9G,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACtF,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAE,MAAM,4CAA4C,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AAChG,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAClG,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAC1E,OAAO,EACL,YAAY,EACZ,cAAc,IAAI,oBAAoB,EACvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,mCAAmC,EAAE,MAAM,2DAA2D,CAAC;AAChH,OAAO,EAAE,+BAA+B,EAAE,MAAM,uDAAuD,CAAC;AACxG,OAAO,EAAE,+BAA+B,EAAE,MAAM,uDAAuD,CAAC;AACxG,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,4BAA4B,EAAE,MAAM,oDAAoD,CAAC;AAClG,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,qBAAqB,EAAE,MAAM,6CAA6C,CAAC;AACpF,OAAO,EAAE,uCAAuC,EAAE,MAAM,+DAA+D,CAAC;AACxH,OAAO,EAAE,yBAAyB,EAAE,MAAM,iDAAiD,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE,MAAM,4CAA4C,CAAC;AAClF,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,EAAE,cAAc,EAAE,MAAM,sCAAsC,CAAC;AACtE,OAAO,EAAE,0BAA0B,EAAE,MAAM,kDAAkD,CAAC;AAC9F,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AAChG,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAC;AACtG,OAAO,EAAE,mBAAmB,EAAE,MAAM,2CAA2C,CAAC;AAChF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAC1F,OAAO,EAAE,+BAA+B,EAAE,MAAM,uDAAuD,CAAC;AACxG,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EAAE,yBAAyB,EAAE,MAAM,yDAAyD,CAAC;AACpG,OAAO,EAAE,+BAA+B,EAAE,MAAM,+DAA+D,CAAC;AAChH,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,EAAE,wBAAwB,EAAE,MAAM,iDAAiD,CAAC;AAE3F,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,iBAAiB,EACjB,kBAAkB,EAClB,qCAAqC,EACrC,4CAA4C,EAC5C,+BAA+B,EAC/B,sCAAsC,EACtC,WAAW,EACX,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,0BAA0B,EAC1B,UAAU,EACV,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,YAAY,GACb,CAAC;AAEF,OAAO,EACL,oBAAoB,EACpB,GAAG,EACH,2BAA2B,EAC3B,eAAe,EACf,sBAAsB,EACtB,sBAAsB,EACtB,IAAI,EACJ,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EACpB,4BAA4B,EAC5B,UAAU,EACV,OAAO,EACP,oCAAoC,EACpC,8BAA8B,EAC9B,mBAAmB,EACnB,MAAM,EACN,iBAAiB,EACjB,qBAAqB,EACrB,0BAA0B,EAC1B,GAAG,EACH,yBAAyB,EACzB,+BAA+B,EAC/B,gBAAgB,EAChB,oBAAoB,EACpB,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,gCAAgC,EAChC,cAAc,EACd,mCAAmC,EACnC,+BAA+B,EAC/B,+BAA+B,EAC/B,oBAAoB,EACpB,cAAc,EACd,oBAAoB,EACpB,wBAAwB,EACxB,4BAA4B,EAC5B,eAAe,EACf,uBAAuB,EACvB,IAAI,EACJ,qBAAqB,EACrB,uCAAuC,EACvC,yBAAyB,EACzB,oBAAoB,EACpB,0BAA0B,EAC1B,cAAc,EACd,OAAO,EACP,MAAM,EACN,0BAA0B,EAC1B,KAAK,EACL,2BAA2B,EAC3B,IAAI,EACJ,GAAG,EACH,KAAK,EACL,OAAO,EACP,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,QAAQ,EACR,8BAA8B,EAC9B,SAAS,EACT,mBAAmB,EACnB,UAAU,EACV,wBAAwB,EACxB,+BAA+B,EAC/B,cAAc,EACd,QAAQ,EACR,cAAc,GACf,CAAC"}
|
package/lib/esm/index.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{getCatchErrorMetadata as t,getClassMethodErrorFilterMetadata as e,getClassErrorFilterMetadata as r,getClassGuardList as s,getClassMethodGuardList as a,getClassInterceptorList as o,getClassMethodInterceptorList as n,getClassMiddlewareList as i,buildMiddlewareOptionsFromApplyMiddlewareOptions as d,getClassMethodMiddlewareList as c,isPipe as l}from"@inversifyjs/framework-core";export{ApplyMiddleware,CatchError,MiddlewarePhase,UseErrorFilter,UseGuard,UseInterceptor}from"@inversifyjs/framework-core";import{Readable as u}from"node:stream";import{ConsoleLogger as p}from"@inversifyjs/logger";import{getBaseType as E,findInPrototypeChain as h}from"@inversifyjs/prototype-utils";import{getOwnReflectMetadata as T,updateOwnReflectMetadata as O,buildEmptyArrayMetadata as N,buildArrayMetadataWithIndex as f,setReflectMetadata as _,buildArrayMetadataWithElement as y}from"@inversifyjs/reflect-metadata-utils";import{injectable as R}from"inversify";const A=Symbol.for("@inversifyjs/http-core/InversifyHttpAdapterError");class m extends Error{kind;extraData;[A];constructor(t,e,r,s){super(e,r),this.kind=t,this.extraData=s,this[A]=!0}static is(t){return"object"==typeof t&&null!==t&&!0===t[A]}static isErrorOfKind(t,e){return m.is(t)&&t.kind===e}}var I;!function(t){t[t.invalidOperationAfterBuild=0]="invalidOperationAfterBuild",t[t.noControllerFound=1]="noControllerFound",t[t.requestParamIncorrectUse=2]="requestParamIncorrectUse"}(I||(I={}));const g=Symbol.for("@inversifyjs/http-core/HttpResponse");function L(t){return"object"==typeof t&&null!==t&&!0===t[g]}class M extends Error{statusCode;body;headers;[g];constructor(t,e,r,s,a){super(r,s),this.statusCode=t,this.body=e,this.headers=a,this[g]=!0}}var C;!function(t){t[t.CONTINUE=100]="CONTINUE",t[t.SWITCHING_PROTOCOLS=101]="SWITCHING_PROTOCOLS",t[t.PROCESSING=102]="PROCESSING",t[t.EARLYHINTS=103]="EARLYHINTS",t[t.OK=200]="OK",t[t.CREATED=201]="CREATED",t[t.ACCEPTED=202]="ACCEPTED",t[t.NON_AUTHORITATIVE_INFORMATION=203]="NON_AUTHORITATIVE_INFORMATION",t[t.NO_CONTENT=204]="NO_CONTENT",t[t.RESET_CONTENT=205]="RESET_CONTENT",t[t.PARTIAL_CONTENT=206]="PARTIAL_CONTENT",t[t.MULTI_STATUS=207]="MULTI_STATUS",t[t.ALREADY_REPORTED=208]="ALREADY_REPORTED",t[t.CONTENT_DIFFERENT=210]="CONTENT_DIFFERENT",t[t.AMBIGUOUS=300]="AMBIGUOUS",t[t.MOVED_PERMANENTLY=301]="MOVED_PERMANENTLY",t[t.FOUND=302]="FOUND",t[t.SEE_OTHER=303]="SEE_OTHER",t[t.NOT_MODIFIED=304]="NOT_MODIFIED",t[t.TEMPORARY_REDIRECT=307]="TEMPORARY_REDIRECT",t[t.PERMANENT_REDIRECT=308]="PERMANENT_REDIRECT",t[t.BAD_REQUEST=400]="BAD_REQUEST",t[t.UNAUTHORIZED=401]="UNAUTHORIZED",t[t.PAYMENT_REQUIRED=402]="PAYMENT_REQUIRED",t[t.FORBIDDEN=403]="FORBIDDEN",t[t.NOT_FOUND=404]="NOT_FOUND",t[t.METHOD_NOT_ALLOWED=405]="METHOD_NOT_ALLOWED",t[t.NOT_ACCEPTABLE=406]="NOT_ACCEPTABLE",t[t.PROXY_AUTHENTICATION_REQUIRED=407]="PROXY_AUTHENTICATION_REQUIRED",t[t.REQUEST_TIMEOUT=408]="REQUEST_TIMEOUT",t[t.CONFLICT=409]="CONFLICT",t[t.GONE=410]="GONE",t[t.LENGTH_REQUIRED=411]="LENGTH_REQUIRED",t[t.PRECONDITION_FAILED=412]="PRECONDITION_FAILED",t[t.PAYLOAD_TOO_LARGE=413]="PAYLOAD_TOO_LARGE",t[t.URI_TOO_LONG=414]="URI_TOO_LONG",t[t.UNSUPPORTED_MEDIA_TYPE=415]="UNSUPPORTED_MEDIA_TYPE",t[t.REQUESTED_RANGE_NOT_SATISFIABLE=416]="REQUESTED_RANGE_NOT_SATISFIABLE",t[t.EXPECTATION_FAILED=417]="EXPECTATION_FAILED",t[t.I_AM_A_TEAPOT=418]="I_AM_A_TEAPOT",t[t.MISDIRECTED=421]="MISDIRECTED",t[t.UNPROCESSABLE_ENTITY=422]="UNPROCESSABLE_ENTITY",t[t.LOCKED=423]="LOCKED",t[t.FAILED_DEPENDENCY=424]="FAILED_DEPENDENCY",t[t.PRECONDITION_REQUIRED=428]="PRECONDITION_REQUIRED",t[t.TOO_MANY_REQUESTS=429]="TOO_MANY_REQUESTS",t[t.UNRECOVERABLE_ERROR=456]="UNRECOVERABLE_ERROR",t[t.INTERNAL_SERVER_ERROR=500]="INTERNAL_SERVER_ERROR",t[t.NOT_IMPLEMENTED=501]="NOT_IMPLEMENTED",t[t.BAD_GATEWAY=502]="BAD_GATEWAY",t[t.SERVICE_UNAVAILABLE=503]="SERVICE_UNAVAILABLE",t[t.GATEWAY_TIMEOUT=504]="GATEWAY_TIMEOUT",t[t.HTTP_VERSION_NOT_SUPPORTED=505]="HTTP_VERSION_NOT_SUPPORTED",t[t.INSUFFICIENT_STORAGE=507]="INSUFFICIENT_STORAGE",t[t.LOOP_DETECTED=508]="LOOP_DETECTED"}(C||(C={}));class D extends M{constructor(t,e="Forbidden",r,s){super(C.FORBIDDEN,t,e,r,s)}}class P extends M{constructor(t,e="Internal Server Error",r,s){super(C.INTERNAL_SERVER_ERROR,t,e,r,s)}}function w(e,r,s){const a=t(s);for(const t of a){if(void 0===r.get(t))r.set(t,s);else{const r=null===t?"null (catch-all)":t.name;e.warn(`Error filter '${s.name}' was not registered for error type '${r}' because an error filter is already registered for this error type.`)}}}const H="@inversifyjs/http-core/controller/controllerMethodHeaderMetadataReflectKey";const b="@inversifyjs/http-core/controller/controllerMethodParameterMetadataReflectKey";const v="@inversifyjs/http-core/controller/controllerMethodStatusCodeMetadataReflectKey";const S="@inversifyjs/http-core/controller/controllerMethodUseNativeHandlerMetadataReflectKey";function U(t,l,u){const p=(O=l.target,N=u.methodKey,h(O,t=>T(t,b,N))??[]);var O,N;const f=function(t,e){return h(t,t=>T(t,v,e))}(l.target,u.methodKey),_=[...s(l.target),...a(l.target,u.methodKey)],y=[...o(l.target),...n(l.target,u.methodKey)],R=i(l.target),A=d(R),m=c(l.target,u.methodKey),I=function(t,s,a){const o=new Map;for(const r of e(s,a))w(t,o,r);for(const e of r(s))w(t,o,e);return o}(t,l.target,u.methodKey),g=d(m),L=function(t,e){const r={};let s=t;for(;void 0!==s;){const t=T(s,H,e);if(void 0!==t)for(const e in t)Object.hasOwn(r,e)||(r[e]=t[e]);s=E(s)}return r}(l.target,u.methodKey),M=function(t,e){return h(t,t=>T(t,S,e))??!1}(l.target,u.methodKey);return{errorTypeToErrorFilterMap:I,guardList:_,headerMetadataList:L,interceptorList:y,methodKey:u.methodKey,parameterMetadataList:p,path:u.path,postHandlerMiddlewareList:[...A.postHandlerMiddlewareList,...g.postHandlerMiddlewareList],preHandlerMiddlewareList:[...A.preHandlerMiddlewareList,...g.preHandlerMiddlewareList],requestMethodType:u.requestMethodType,statusCode:f,useNativeHandler:M}}function F(t,e,r){return r.map(r=>U(t,e,r))}const B="@inversifyjs/http-core/controller/controllerMethodMetadataReflectKey";function G(t){const e=new Map;let r=t;for(;void 0!==r;){const t=T(r,B);if(void 0!==t)for(const r of t){const t=`${r.requestMethodType}:${r.path}`;e.has(t)||e.set(t,r)}r=E(r)}return[...e.values()]}function x(t,e){return{controllerMethodMetadataList:F(t,e,G(e.target)),path:e.path,serviceIdentifier:e.serviceIdentifier,target:e.target}}const Y="@inversifyjs/http-core/controller/controllerMetadataReflectKey";function Q(){const t=T(Reflect,Y);if(void 0!==t)return t.sort((t,e)=>e.priority-t.priority)}async function K(t,e,r){for(const s of function*(t){if(t instanceof Error){let e=t.constructor;for(;e!==Error;)yield e,e=E(e);yield e}yield null}(e))for(const e of r){const r=e.get(s);if(void 0!==r)return"function"==typeof r?t.getAsync(r):r}}const q=Symbol.for("@inversifyjs/http-core/application");var j;!function(t){t.Body="body",t.Cookies="cookies",t.Custom="custom",t.CustomNative="customNative",t.Headers="headers",t.Next="next",t.Params="params",t.Request="request",t.Response="response",t.Query="query"}(j||(j={}));class V{httpAdapterOptions;_app;_logger;#t;#e;#r;#s;#a;#o;#n;#i;#d;#c;#l;constructor(t,e,r,s,a){this.#t=new Set(s),this.#e=t,this.#s=this.#u(),this.#r=this.#p(),this.httpAdapterOptions=this.#E(e,r),this.#o=[],this.#n=[],this.#i=[],this.#a=new Map,this._logger=this.#h(this.httpAdapterOptions),this.#l=!1,this.#d=[],this.#c=[],this.#T(),this._app=this._buildApp(a)}applyGlobalMiddleware(...t){if(this.#l)throw new m(I.invalidOperationAfterBuild,"Cannot apply global middleware after the server has been built");const e=d(t);this.#d.push(...e.postHandlerMiddlewareList),this.#c.push(...e.preHandlerMiddlewareList)}applyGlobalGuards(...t){if(this.#l)throw new m(I.invalidOperationAfterBuild,"Cannot apply global guards after the server has been built");this.#o.push(...t)}async build(){if(this.#l)throw new m(I.invalidOperationAfterBuild,"The server has already been built");return this.#O(),await this.#N(),this.#l=!0,this._app}useGlobalFilters(...t){for(const e of t)this.#f(e)}useGlobalInterceptors(...t){if(this.#l)throw new m(I.invalidOperationAfterBuild,"Cannot apply global interceptors after the server has been built");for(const e of t)this.#n.push(e)}useGlobalPipe(...t){if(this.#l)throw new m(I.invalidOperationAfterBuild,"Cannot apply global pipes after the server has been built");this.#i.push(...t)}async#_(t,e,r,s){t[e]=this.#t.has(s)?await r:r}#y(t,e){if(void 0===t)return e;if(void 0===e)return{...t};for(const r in t)Object.hasOwn(e,r)||(e[r]=t[r]);return e}#O(){if(this.#e.isBound(q))throw new m(I.invalidOperationAfterBuild,"An HTTP server is already registered in the container");this.#e.bind(q).toConstantValue(this._app)}#u(){return{getBody:this._getBody.bind(this),getCookies:this._getCookies.bind(this),getHeaders:this._getHeaders.bind(this),getParams:this._getParams.bind(this),getQuery:this._getQuery.bind(this),setHeader:this._setHeader.bind(this),setStatus:this._setStatus.bind(this)}}#p(){return{getBody:this._getBody.bind(this),getCookies:this._getCookies.bind(this),getHeaders:this._getHeaders.bind(this),getParams:this._getParams.bind(this),getQuery:this._getQuery.bind(this),send:this.#R.bind(this),sendBodySeparator:this._sendBodySeparator.bind(this),setHeader:this._setHeader.bind(this),setStatus:this._setStatus.bind(this)}}#h(t){return"boolean"==typeof t.logger?new p:t.logger}#A(t){return t.controllerMethodMetadataList.map(e=>({guardList:[...this.#m(this.#o,e),...this.#m(e.guardList,e)],handler:this.#I(t.serviceIdentifier,t.target,e),path:e.path,postHandlerMiddlewareList:[...this.#g(e,this.#d),...this.#g(e,e.postHandlerMiddlewareList)],preHandlerMiddlewareList:[...this.#g(e,this.#c),...this.#g(e,e.preHandlerMiddlewareList)],requestMethodType:e.requestMethodType}))}#I(t,e,r){const s=this.#L(e,r.methodKey,r.parameterMetadataList,t);let a;a=r.useNativeHandler?(t,e,s)=>(void 0!==r.statusCode&&this._setStatus(t,e,r.statusCode),this.#M(t,e,r.headerMetadataList),s):(t,e,s)=>this.#R(t,e,s,r.statusCode,r.headerMetadataList);const o=this.#C(r);return function(t,e,r,s,a){return 0===t.length?async(t,e,o)=>{try{const s=await r(t,e,o);return await a(t,e,s)}catch(r){return s(t,e,r)}}:async(o,n,i)=>{const d=[],c={push:t=>{d.push(t)}};let l;const u=s=>s<t.length?async()=>{const r=await e.getAsync(t[s]);return await r.intercept(o,n,u(s+1)),c}:async()=>(l=await r(o,n,i),c);try{await u(0)();for(const t of d)l=await t(l);return await a(o,n,l)}catch(t){return s(o,n,t)}}}([...r.interceptorList,...this.#n],this.#e,s,o,a)}#L(t,e,r,s){if(0===r.length)return async()=>(await this.#e.getAsync(s))[e]();const a=function(t,e,r){return 0===r.length&&e.every(e=>void 0===e||0===e.pipeList.length&&!t.has(e.parameterType))}(this.#t,r,this.#i),o=r.map(t=>{if(void 0!==t)switch(t.parameterType){case j.Body:return(e,r)=>this._getBody(e,r,t.parameterName);case j.Cookies:return(e,r)=>this._getCookies(e,r,t.parameterName);case j.Custom:return(e,r)=>t.customParameterDecoratorHandler(e,r,this.#s);case j.CustomNative:return(e,r)=>t.customParameterDecoratorHandler(e,r,this.#r);case j.Headers:return e=>this._getHeaders(e,t.parameterName);case j.Next:return(t,e,r)=>r;case j.Params:return e=>this._getParams(e,t.parameterName);case j.Query:return e=>this._getQuery(e,t.parameterName);case j.Request:return t=>t;case j.Response:return(t,e)=>e}});return a?function(t,e,r,s){return async(a,o,n)=>{const i=await t.getAsync(e),d=new Array(s.length);for(let t=0;t<s.length;t++){const e=s[t];void 0!==e&&(d[t]=e(a,o,n))}return i[r](...d)}}(this.#e,s,e,o):async(a,n,i)=>{const d=new Array(r.length);await Promise.all(o.map(async(s,o)=>{const c=r[o];await this.#_(d,o,s(a,n,i),c.parameterType),await this.#D(d,[...this.#i,...c.pipeList],{methodName:e,parameterIndex:o,targetClass:t})}));return(await this.#e.getAsync(s))[e](...d)}}async#D(t,e,r){for(const s of e){const e=l(s)?s:await this.#e.getAsync(s);t[r.parameterIndex]=await e.execute(t[r.parameterIndex],r)}}async#P(t,e){return K(this.#e,t,e)}#C(t){const e=async(r,s,a)=>{const o=await this.#P(a,[t.errorTypeToErrorFilterMap,this.#a]);if(void 0===o){let e;return this.#w(a),e=new P(void 0,void 0,{cause:a}),this.#R(r,s,e,void 0,t.headerMetadataList)}try{return await o.catch(a,r,s)}catch(a){return e(r,s,a)}};return e}#E(t,e){return{...t,...e}}#R(t,e,r,s,a){let o,n,i=s;return L(r)?(i=r.statusCode,o=r.headers,n=r.body):n=r,void 0!==i&&this._setStatus(t,e,i),o=this.#y(a,o),void 0!==o&&this.#M(t,e,o),"string"==typeof n?this._replyText(t,e,n):void 0===n||"object"==typeof n?n instanceof u?this._replyStream(t,e,n):this._replyJson(t,e,n):this._replyText(t,e,JSON.stringify(n))}#M(t,e,r){for(const s in r)this._setHeader(t,e,s,r[s])}#g(t,e){const r=this.#C(t);return e.map(t=>async(e,s,a)=>{try{const r=await this.#e.getAsync(t);return await r.execute(e,s,a)}catch(t){return r(e,s,t)}})}#m(t,e){const r=this.#C(e);return t.map(t=>async(s,a,o)=>{try{const r=await this.#e.getAsync(t);return await r.activate(s)?void await o():await this.#R(s,a,new D,void 0,e.headerMetadataList)}catch(t){return r(s,a,t)}})}#H(t,e,r){if(!1!==this.httpAdapterOptions.logger){this._logger.info(`${t} {${e}}:`);for(const t of r)this._logger.info(` - .${t.methodKey}() mapped {${t.path}, ${t.requestMethodType}}`)}}#w(t){t instanceof Error&&this._logger.error(t.stack??t.message),this._logger.error("An unexpected error occurred")}async#N(){const t=function(t,e){const r=Q();if(void 0===r)throw new m(I.noControllerFound,"No controllers found. Please ensure that your controllers are properly registered in your container and are annotated with the @Controller() decorator.");const s=[];for(const a of r)t.isBound(a.serviceIdentifier)&&s.push(x(e,a));return s}(this.#e,this._logger);for(const e of t)await this._buildRouter({path:e.path,routeParamsList:this.#A(e)}),this.#H(e.target.name,e.path,e.controllerMethodMetadataList)}#f(t){w(this._logger,this.#a,t)}#T(){var t;this.#a.set(M,(t=this.#R.bind(this),{catch:(e,r,s)=>t(r,s,e)}))}}function k(t){return"/"+t.split("/").filter(t=>t.length>0).join("/")}function $(t,e,r,s){O(e,b,N,f(t,s),r)}function W(t){return(e,r,s)=>{if(void 0===r)throw new m(I.requestParamIncorrectUse,"Expected native param decorator to be used on a method parameter. Instead, it was found on a constructor parameter");var a;$(t,e.constructor,r,s),a=e.constructor,_(a,S,!0,r)}}function X(t,...e){return W(function(t,e){return{customParameterDecoratorHandler:e,parameterName:void 0,parameterType:j.CustomNative,pipeList:t}}(e,t))}function Z(t){return(e,r,s)=>{if(void 0===r)throw new m(I.requestParamIncorrectUse,"Expected param decorator to be used on a method parameter. Instead, it was found on a constructor parameter");$(t,e.constructor,r,s)}}function J(t,...e){return Z(function(t,e){return{customParameterDecoratorHandler:e,parameterName:void 0,parameterType:j.Custom,pipeList:t}}(e,t))}function z(t,e){return(r,s)=>{const a={methodKey:s,path:k(e??"/"),requestMethodType:t};O(r.constructor,B,N,y(a))}}var tt;!function(t){t.All="all",t.Delete="delete",t.Get="get",t.Head="head",t.Options="options",t.Patch="patch",t.Post="post",t.Put="put"}(tt||(tt={}));const et=t=>z(tt.All,t);function rt(t,e,r){return{parameterName:r?.name,parameterType:t,pipeList:e}}function st(t,e){let r;const s=[];return void 0!==t&&("object"!=typeof t||l(t)?s.push(t):r=t),s.push(...e),[r,s]}function at(t,...e){const[r,s]=st(t,e);return Z(rt(j.Body,s,r))}function ot(t){return e=>{const r={path:"/",priority:0,serviceIdentifier:e,target:e};let s;void 0!==t&&("string"==typeof t?r.path=k(t):(r.path=k(t.path??"/"),void 0!==t.priority&&(r.priority=t.priority),void 0!==t.serviceIdentifier&&(r.serviceIdentifier=t.serviceIdentifier),s=t.scope)),R(s)(e),O(Reflect,Y,N,y(r))}}function nt(t,...e){const[r,s]=st(t,e);return Z(rt(j.Cookies,s,r))}const it=t=>z(tt.Delete,t),dt=t=>z(tt.Get,t),ct=t=>z(tt.Head,t);function lt(t,...e){const[r,s]=st(t,e);return Z(rt(j.Headers,s,r))}function ut(){return W(rt(j.Next,[],void 0))}const pt=t=>z(tt.Options,t);function Et(t,...e){const[r,s]=st(t,e);return Z(rt(j.Params,s,r))}const ht=t=>z(tt.Patch,t),Tt=t=>z(tt.Post,t),Ot=t=>z(tt.Put,t);function Nt(t,...e){const[r,s]=st(t,e);return Z(rt(j.Query,s,r))}function ft(...t){return Z(rt(j.Request,t,void 0))}function _t(...t){return W(rt(j.Response,t,void 0))}const yt=new Set(["proxy-authenticate","set-cookie","www-authenticate"]);function Rt(t,e){return r=>{const s=t.toLowerCase(),a=r[s];var o,n,i;return r[s]=void 0===a?e:(o=s,n=a,i=e,yt.has(o)?`${n}\n${i}`:`${n}, ${i}`),r}}function At(){return{}}function mt(t,e){return(r,s)=>{O(r.constructor,H,At,Rt(t,e),s)}}function It(t){return(e,r)=>{_(e.constructor,v,t,r)}}class gt{statusCode;body;headers;[g];constructor(t,e,r){this.statusCode=t,this.body=e,this.headers=r,this[g]=!0}}class Lt extends gt{constructor(t,e){super(C.ACCEPTED,t,e)}}class Mt extends gt{constructor(t,e){super(C.ALREADY_REPORTED,t,e)}}class Ct extends M{constructor(t,e="Bad Gateway",r,s){super(C.BAD_GATEWAY,t,e,r,s)}}class Dt extends M{constructor(t,e="Bad Request",r,s){super(C.BAD_REQUEST,t,e,r,s)}}class Pt extends M{constructor(t,e="Conflict",r,s){super(C.CONFLICT,t,e,r,s)}}class wt extends gt{constructor(t,e){super(C.CONTENT_DIFFERENT,t,e)}}class Ht extends gt{constructor(t,e){super(C.CREATED,t,e)}}class bt extends M{constructor(t,e="Gateway Timeout",r,s){super(C.GATEWAY_TIMEOUT,t,e,r,s)}}class vt extends M{constructor(t,e="Gone",r,s){super(C.GONE,t,e,r,s)}}class St extends M{constructor(t,e="HTTP Version Not Supported",r,s){super(C.HTTP_VERSION_NOT_SUPPORTED,t,e,r,s)}}class Ut extends M{constructor(t,e="Insufficient Storage",r,s){super(C.INSUFFICIENT_STORAGE,t,e,r,s)}}class Ft extends M{constructor(t,e="Loop Detected",r,s){super(C.LOOP_DETECTED,t,e,r,s)}}class Bt extends M{constructor(t,e="Method Not Allowed",r,s){super(C.METHOD_NOT_ALLOWED,t,e,r,s)}}class Gt extends gt{constructor(t,e){super(C.MULTI_STATUS,t,e)}}class xt extends gt{constructor(t){super(C.NO_CONTENT,void 0,t)}}class Yt extends gt{constructor(t,e){super(C.NON_AUTHORITATIVE_INFORMATION,t,e)}}class Qt extends M{constructor(t,e="Not Acceptable",r,s){super(C.NOT_ACCEPTABLE,t,e,r,s)}}class Kt extends M{constructor(t,e="Not Found",r,s){super(C.NOT_FOUND,t,e,r,s)}}class qt extends M{constructor(t,e="Not Implemented",r,s){super(C.NOT_IMPLEMENTED,t,e,r,s)}}class jt extends gt{constructor(t,e){super(C.OK,t,e)}}class Vt extends gt{constructor(t,e){super(C.PARTIAL_CONTENT,t,e)}}class kt extends M{constructor(t,e="Payment Required",r,s){super(C.PAYMENT_REQUIRED,t,e,r,s)}}class $t extends gt{constructor(t,e){super(C.RESET_CONTENT,t,e)}}class Wt extends M{constructor(t,e="Service Unavailable",r,s){super(C.SERVICE_UNAVAILABLE,t,e,r,s)}}class Xt extends M{constructor(t,e="Unauthorized",r,s){super(C.UNAUTHORIZED,t,e,r,s)}}class Zt extends M{constructor(t,e="Unprocessable Entity",r,s){super(C.UNPROCESSABLE_ENTITY,t,e,r,s)}}const Jt=()=>{};function zt(t){if(1===t.length){const[e]=t;return async(t,r)=>e(t,r,Jt)}return async(e,r)=>{let s=0,[a]=t;if(void 0===a)throw new Error("No middleware handlers to process");let o=!1;const n=()=>{o=!0};let i;do{if(i=await a(e,r,n),!o)break;o=!1,a=t[++s]}while(void 0!==a);return i}}export{Lt as AcceptedHttpResponse,et as All,Mt as AlreadyReportedHttpResponse,Ct as BadGatewayHttpResponse,Dt as BadRequestHttpResponse,at as Body,Pt as ConflictHttpResponse,wt as ContentDifferentHttpResponse,ot as Controller,nt as Cookies,Ht as CreatedHttpResponse,it as Delete,M as ErrorHttpResponse,D as ForbiddenHttpResponse,bt as GatewayTimeoutHttpResponse,dt as Get,vt as GoneHttpResponse,ct as Head,lt as Headers,C as HttpStatusCode,St as HttpVersionNotSupportedHttpResponse,Ut as InsufficientStorageHttpResponse,P as InternalServerErrorHttpResponse,V as InversifyHttpAdapter,Ft as LoopDetectedHttpResponse,Bt as MethodNotAllowedHttpResponse,Gt as MultiStatusHttpResponse,ut as Next,xt as NoContentHttpResponse,Yt as NonAuthoritativeInformationHttpResponse,Qt as NotAcceptableHttpResponse,Kt as NotFoundHttpResponse,qt as NotImplementedHttpResponse,jt as OkHttpResponse,pt as Options,Et as Params,Vt as PartialContentHttpResponse,ht as Patch,kt as PaymentRequiredHttpResponse,Tt as Post,Ot as Put,Nt as Query,ft as Request,j as RequestMethodParameterType,tt as RequestMethodType,$t as ResetContentHttpResponse,_t as Response,Wt as ServiceUnavailableHttpResponse,mt as SetHeader,It as StatusCode,gt as SuccessHttpResponse,Xt as UnauthorizedHttpResponse,Zt as UnprocessableEntityHttpResponse,k as buildNormalizedPath,X as createCustomNativeParameterDecorator,J as createCustomParameterDecorator,Q as getControllerMetadataList,G as getControllerMethodMetadataList,zt as handleMiddlewareList,q as httpApplicationServiceIdentifier,L as isHttpResponse,g as isHttpResponseSymbol};
|
|
2
|
-
//# sourceMappingURL=index.js.map
|