UNPKG

insomnia-importers

Version:

Various data importers for Insomnia

48 lines 2.02 kB
"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { Object.defineProperty(o, "default", { enumerable: true, value: v }); }) : function(o, v) { o["default"] = v; }); var __importStar = (this && this.__importStar) || function (mod) { if (mod && mod.__esModule) return mod; var result = {}; if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); __setModuleDefault(result, mod); return result; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.importers = void 0; const curl = __importStar(require("./curl")); const har = __importStar(require("./har")); const insomnia1 = __importStar(require("./insomnia-1")); const insomnia2 = __importStar(require("./insomnia-2")); const insomnia3 = __importStar(require("./insomnia-3")); const insomnia4 = __importStar(require("./insomnia-4")); const openapi3 = __importStar(require("./openapi-3")); const postman = __importStar(require("./postman")); const postmanenv = __importStar(require("./postman-env")); const swagger2 = __importStar(require("./swagger-2")); const wsdl = __importStar(require("./wsdl")); // note that the importers are tried one at a time until one works (for every given input). That means that we would benefit from keeping the less computationally intense importers near the bottom of the list and the more computationally intense ones near the top. exports.importers = [ insomnia1, insomnia2, insomnia3, insomnia4, postman, postmanenv, har, curl, swagger2, openapi3, wsdl, ]; //# sourceMappingURL=index.js.map