@quick-qui/model-core
Advanced tools
| export { Log } from "./Log"; | ||
| export { Model } from "./Model"; | ||
| export { ModelDefineConfig, ModelDefine, NormalizeLog } from "./ModelDefine"; | ||
| export { ModelValidator, ValidateLog } from "./ModelValidator"; | ||
| export { ModelValidator, ValidateLog, ValidateError } from "./ModelValidator"; | ||
| export { ModelWeaver, WeaveLog, ModelWeaverConfig } from "./ModelWeaver"; |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.WeaveLog = exports.ValidateLog = exports.NormalizeLog = void 0; | ||
| exports.WeaveLog = exports.ValidateError = exports.ValidateLog = exports.NormalizeLog = void 0; | ||
| var ModelDefine_1 = require("./ModelDefine"); | ||
@@ -8,4 +8,5 @@ Object.defineProperty(exports, "NormalizeLog", { enumerable: true, get: function () { return ModelDefine_1.NormalizeLog; } }); | ||
| Object.defineProperty(exports, "ValidateLog", { enumerable: true, get: function () { return ModelValidator_1.ValidateLog; } }); | ||
| Object.defineProperty(exports, "ValidateError", { enumerable: true, get: function () { return ModelValidator_1.ValidateError; } }); | ||
| var ModelWeaver_1 = require("./ModelWeaver"); | ||
| Object.defineProperty(exports, "WeaveLog", { enumerable: true, get: function () { return ModelWeaver_1.WeaveLog; } }); | ||
| //# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":";;;AAEA,6CAA6E;AAApC,2GAAA,YAAY,OAAA;AACrD,mDAA+D;AAAtC,6GAAA,WAAW,OAAA;AACpC,6CAAyE;AAAnD,uGAAA,QAAQ,OAAA"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/model/index.ts"],"names":[],"mappings":";;;AAEA,6CAA6E;AAApC,2GAAA,YAAY,OAAA;AACrD,mDAA6E;AAApD,6GAAA,WAAW,OAAA;AAAC,+GAAA,aAAa,OAAA;AAClD,6CAAyE;AAAnD,uGAAA,QAAQ,OAAA"} |
@@ -13,1 +13,4 @@ import { Model } from "./Model"; | ||
| } | ||
| export declare class ValidateError extends ValidateLog { | ||
| constructor(context: string, message: string); | ||
| } |
| "use strict"; | ||
| var __extends = (this && this.__extends) || (function () { | ||
| var extendStatics = function (d, b) { | ||
| extendStatics = Object.setPrototypeOf || | ||
| ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || | ||
| function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; | ||
| return extendStatics(d, b); | ||
| }; | ||
| return function (d, b) { | ||
| if (typeof b !== "function" && b !== null) | ||
| throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); | ||
| extendStatics(d, b); | ||
| function __() { this.constructor = d; } | ||
| d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); | ||
| }; | ||
| })(); | ||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||
| exports.ValidateLog = void 0; | ||
| exports.ValidateError = exports.ValidateLog = void 0; | ||
| var ValidateLog = /** @class */ (function () { | ||
@@ -17,2 +32,10 @@ function ValidateLog(context, message, level) { | ||
| exports.ValidateLog = ValidateLog; | ||
| var ValidateError = /** @class */ (function (_super) { | ||
| __extends(ValidateError, _super); | ||
| function ValidateError(context, message) { | ||
| return _super.call(this, context, message, "error") || this; | ||
| } | ||
| return ValidateError; | ||
| }(ValidateLog)); | ||
| exports.ValidateError = ValidateError; | ||
| //# sourceMappingURL=ModelValidator.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"ModelValidator.js","sourceRoot":"","sources":["../../src/model/ModelValidator.ts"],"names":[],"mappings":";;;AAMA;IAKE,qBAAY,OAAe,EAAE,OAAe,EAAE,KAAuB;QAAvB,sBAAA,EAAA,eAAuB;QAJrE,aAAQ,GAAW,gBAAgB,CAAC;QAEpC,YAAO,GAAW,EAAE,CAAC;QACrB,YAAO,GAAW,EAAE,CAAC;QAEnB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IACH,kBAAC;AAAD,CAAC,AAVD,IAUC;AAVY,kCAAW"} | ||
| {"version":3,"file":"ModelValidator.js","sourceRoot":"","sources":["../../src/model/ModelValidator.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAMA;IAKE,qBAAY,OAAe,EAAE,OAAe,EAAE,KAAuB;QAAvB,sBAAA,EAAA,eAAuB;QAJrE,aAAQ,GAAW,gBAAgB,CAAC;QAEpC,YAAO,GAAW,EAAE,CAAC;QACrB,YAAO,GAAW,EAAE,CAAC;QAEnB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;IACH,kBAAC;AAAD,CAAC,AAVD,IAUC;AAVY,kCAAW;AAWxB;IAAmC,iCAAW;IAC5C,uBAAY,OAAe,EAAE,OAAe;eAC1C,kBAAM,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC;IAClC,CAAC;IACH,oBAAC;AAAD,CAAC,AAJD,CAAmC,WAAW,GAI7C;AAJY,sCAAa"} |
+1
-1
| { | ||
| "name": "@quick-qui/model-core", | ||
| "version": "2.4.0", | ||
| "version": "2.4.1", | ||
| "description": "model core", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
10319
17.72%174
18.37%