package.cjs.refractor.toolbox.cjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ns-json-schema-draft-7 Show documentation
Show all versions of apidom-ns-json-schema-draft-7 Show documentation
JSON Schema Draft 7 namespace for ApiDOM.
"use strict";
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault").default;
var _interopRequireWildcard = require("@babel/runtime-corejs3/helpers/interopRequireWildcard").default;
exports.__esModule = true;
exports.default = void 0;
var _apidomCore = require("@swagger-api/apidom-core");
var jsonSchemaDraft7Predicates = _interopRequireWildcard(require("../predicates.cjs"));
var _namespace = _interopRequireDefault(require("../namespace.cjs"));
const createToolbox = () => {
const namespace = (0, _apidomCore.createNamespace)(_namespace.default);
const predicates = {
...jsonSchemaDraft7Predicates,
isStringElement: _apidomCore.isStringElement
};
return {
predicates,
namespace
};
};
var _default = exports.default = createToolbox;