"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.universeDumps = {
    RAML08: toModule(require("./RAML08")),
    RAML10: toModule(require("./RAML10"))
};
function toModule(arr) {
    var main = arr[0];
    var map = {};
    arr.forEach(function (x) { return map[x['name']] = x; });
    arr.forEach(function (x) {
        var imports = x['imports'];
        Object.keys(imports).forEach(function (y) {
            var name = imports[y];
            imports[y] = map[name];
        });
    });
    return main;
}
//# sourceMappingURL=index.js.map