@omnigraph/json-schema
Version:
This package generates GraphQL Schema from JSON Schema and sample JSON request and responses. You can define your root field endpoints like below in your GraphQL Config for example;
15 lines (14 loc) • 965 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.processDirectives = void 0;
const tslib_1 = require("tslib");
const loadGraphQLSchemaFromJSONSchemas_js_1 = require("./loadGraphQLSchemaFromJSONSchemas.js");
exports.default = loadGraphQLSchemaFromJSONSchemas_js_1.loadGraphQLSchemaFromJSONSchemas;
tslib_1.__exportStar(require("./loadGraphQLSchemaFromJSONSchemas.js"), exports);
tslib_1.__exportStar(require("./getComposerFromJSONSchema.js"), exports);
tslib_1.__exportStar(require("./getDereferencedJSONSchemaFromOperations.js"), exports);
tslib_1.__exportStar(require("./getGraphQLSchemaFromDereferencedJSONSchema.js"), exports);
tslib_1.__exportStar(require("./types.js"), exports);
var directives_js_1 = require("./directives.js");
Object.defineProperty(exports, "processDirectives", { enumerable: true, get: function () { return directives_js_1.processDirectives; } });
tslib_1.__exportStar(require("./bundle.js"), exports);