vtils
Version:
一个面向业务的 JavaScript/TypeScript 实用程序库。
23 lines (22 loc) • 515 B
JavaScript
exports.__esModule = true;
exports.VaeSchemaReachContext = void 0;
var VaeSchemaReachContext = exports.VaeSchemaReachContext = /*#__PURE__*/function () {
function VaeSchemaReachContext() {
/**
* 模式列表
*/
this.schemas = [];
}
var _proto = VaeSchemaReachContext.prototype;
/**
* 新增模式
*/
_proto.addSchema = function addSchema(path, schema) {
this.schemas.push({
path: path,
schema: schema
});
};
return VaeSchemaReachContext;
}();
;