UNPKG

filesrocket

Version:

Filesrocket is a Node.js package that takes care of the file management of any cloud storage service (Local, Cloudinary, Amazon S3)

51 lines 7.11 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.createHttpError = exports.BandwidthLimitExceeded = exports.LoopDetected = exports.HTTPVersionNotSupported = exports.GatewayTimeout = exports.InsufficientStorage = exports.ServiceUnavailable = exports.BadGateway = exports.NotImplemented = exports.InternalServerError = exports.UnavailableForLegalReasons = exports.RequestHeaderFieldsTooLarge = exports.TooManyRequests = exports.PreconditionRequired = exports.UpgradeRequired = exports.UnorderedCollection = exports.FailedDependency = exports.Locked = exports.UnprocessableEntity = exports.MisdirectedRequest = exports.ImATeapot = exports.ExpectationFailed = exports.RangeNotSatisfiable = exports.UnsupportedMediaType = exports.URITooLong = exports.PayloadTooLarge = exports.PreconditionFailed = exports.LengthRequired = exports.NotExtended = exports.VariantAlsoNegotiates = exports.NetworkAuthenticationRequire = exports.Gone = exports.Conflict = exports.RequestTimeout = exports.ProxyAuthenticationRequired = exports.NotAcceptable = exports.MethodNotAllowed = exports.NotFound = exports.Forbidden = exports.PaymentRequired = exports.Unauthorized = exports.BadRequest = void 0; const http_errors_1 = __importDefault(require("http-errors")); var http_errors_2 = require("http-errors"); Object.defineProperty(exports, "BadRequest", { enumerable: true, get: function () { return http_errors_2.BadRequest; } }); Object.defineProperty(exports, "Unauthorized", { enumerable: true, get: function () { return http_errors_2.Unauthorized; } }); Object.defineProperty(exports, "PaymentRequired", { enumerable: true, get: function () { return http_errors_2.PaymentRequired; } }); Object.defineProperty(exports, "Forbidden", { enumerable: true, get: function () { return http_errors_2.Forbidden; } }); Object.defineProperty(exports, "NotFound", { enumerable: true, get: function () { return http_errors_2.NotFound; } }); Object.defineProperty(exports, "MethodNotAllowed", { enumerable: true, get: function () { return http_errors_2.MethodNotAllowed; } }); Object.defineProperty(exports, "NotAcceptable", { enumerable: true, get: function () { return http_errors_2.NotAcceptable; } }); Object.defineProperty(exports, "ProxyAuthenticationRequired", { enumerable: true, get: function () { return http_errors_2.ProxyAuthenticationRequired; } }); Object.defineProperty(exports, "RequestTimeout", { enumerable: true, get: function () { return http_errors_2.RequestTimeout; } }); Object.defineProperty(exports, "Conflict", { enumerable: true, get: function () { return http_errors_2.Conflict; } }); Object.defineProperty(exports, "Gone", { enumerable: true, get: function () { return http_errors_2.Gone; } }); Object.defineProperty(exports, "NetworkAuthenticationRequire", { enumerable: true, get: function () { return http_errors_2.NetworkAuthenticationRequire; } }); Object.defineProperty(exports, "VariantAlsoNegotiates", { enumerable: true, get: function () { return http_errors_2.VariantAlsoNegotiates; } }); Object.defineProperty(exports, "NotExtended", { enumerable: true, get: function () { return http_errors_2.NotExtended; } }); Object.defineProperty(exports, "LengthRequired", { enumerable: true, get: function () { return http_errors_2.LengthRequired; } }); Object.defineProperty(exports, "PreconditionFailed", { enumerable: true, get: function () { return http_errors_2.PreconditionFailed; } }); Object.defineProperty(exports, "PayloadTooLarge", { enumerable: true, get: function () { return http_errors_2.PayloadTooLarge; } }); Object.defineProperty(exports, "URITooLong", { enumerable: true, get: function () { return http_errors_2.URITooLong; } }); Object.defineProperty(exports, "UnsupportedMediaType", { enumerable: true, get: function () { return http_errors_2.UnsupportedMediaType; } }); Object.defineProperty(exports, "RangeNotSatisfiable", { enumerable: true, get: function () { return http_errors_2.RangeNotSatisfiable; } }); Object.defineProperty(exports, "ExpectationFailed", { enumerable: true, get: function () { return http_errors_2.ExpectationFailed; } }); Object.defineProperty(exports, "ImATeapot", { enumerable: true, get: function () { return http_errors_2.ImATeapot; } }); Object.defineProperty(exports, "MisdirectedRequest", { enumerable: true, get: function () { return http_errors_2.MisdirectedRequest; } }); Object.defineProperty(exports, "UnprocessableEntity", { enumerable: true, get: function () { return http_errors_2.UnprocessableEntity; } }); Object.defineProperty(exports, "Locked", { enumerable: true, get: function () { return http_errors_2.Locked; } }); Object.defineProperty(exports, "FailedDependency", { enumerable: true, get: function () { return http_errors_2.FailedDependency; } }); Object.defineProperty(exports, "UnorderedCollection", { enumerable: true, get: function () { return http_errors_2.UnorderedCollection; } }); Object.defineProperty(exports, "UpgradeRequired", { enumerable: true, get: function () { return http_errors_2.UpgradeRequired; } }); Object.defineProperty(exports, "PreconditionRequired", { enumerable: true, get: function () { return http_errors_2.PreconditionRequired; } }); Object.defineProperty(exports, "TooManyRequests", { enumerable: true, get: function () { return http_errors_2.TooManyRequests; } }); Object.defineProperty(exports, "RequestHeaderFieldsTooLarge", { enumerable: true, get: function () { return http_errors_2.RequestHeaderFieldsTooLarge; } }); Object.defineProperty(exports, "UnavailableForLegalReasons", { enumerable: true, get: function () { return http_errors_2.UnavailableForLegalReasons; } }); Object.defineProperty(exports, "InternalServerError", { enumerable: true, get: function () { return http_errors_2.InternalServerError; } }); Object.defineProperty(exports, "NotImplemented", { enumerable: true, get: function () { return http_errors_2.NotImplemented; } }); Object.defineProperty(exports, "BadGateway", { enumerable: true, get: function () { return http_errors_2.BadGateway; } }); Object.defineProperty(exports, "ServiceUnavailable", { enumerable: true, get: function () { return http_errors_2.ServiceUnavailable; } }); Object.defineProperty(exports, "InsufficientStorage", { enumerable: true, get: function () { return http_errors_2.InsufficientStorage; } }); Object.defineProperty(exports, "GatewayTimeout", { enumerable: true, get: function () { return http_errors_2.GatewayTimeout; } }); Object.defineProperty(exports, "HTTPVersionNotSupported", { enumerable: true, get: function () { return http_errors_2.HTTPVersionNotSupported; } }); Object.defineProperty(exports, "LoopDetected", { enumerable: true, get: function () { return http_errors_2.LoopDetected; } }); Object.defineProperty(exports, "BandwidthLimitExceeded", { enumerable: true, get: function () { return http_errors_2.BandwidthLimitExceeded; } }); exports.createHttpError = http_errors_1.default; //# sourceMappingURL=errors.js.map