@crowdin/app-project-module 1.16.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/index.js +8 -15
- package/out/middlewares/auto-credentials-masker.js +5 -2
- package/out/middlewares/crowdin-client.d.ts +1 -1
- package/out/middlewares/crowdin-client.js +1 -1
- package/out/middlewares/export.d.ts +2 -2
- package/out/middlewares/export.js +4 -35
- package/out/middlewares/json-response.d.ts +1 -1
- package/out/middlewares/json-response.js +1 -1
- package/out/modules/ai-prompt-provider/index.js +6 -6
- package/out/modules/ai-provider/index.js +7 -7
- package/out/modules/ai-provider/types.d.ts +10 -0
- package/out/modules/ai-provider/types.js +12 -0
- package/out/modules/ai-provider/util/index.d.ts +0 -10
- package/out/modules/ai-provider/util/index.js +2 -13
- package/out/modules/ai-request-processors/index.js +4 -4
- package/out/modules/api/api.js +18 -18
- package/out/modules/auth-guard/index.js +4 -5
- package/out/modules/automation-action/index.js +4 -6
- package/out/modules/context-menu/index.js +4 -13
- package/out/modules/custom-mt/index.js +4 -4
- package/out/modules/custom-spell-check/index.js +11 -11
- package/out/modules/editor-right-panel/index.js +1 -1
- package/out/modules/external-qa-check/index.js +7 -7
- package/out/modules/file-processing/index.js +14 -14
- package/out/modules/integration/index.js +26 -26
- package/out/modules/integration/types.d.ts +4 -4
- package/out/modules/integration/util/files.js +1 -1
- package/out/modules/integration/util/types.d.ts +1 -1
- package/out/modules/integration/util/webhooks.js +69 -54
- package/out/modules/manifest.js +70 -281
- package/out/modules/modal/index.js +4 -13
- package/out/modules/organization-menu/index.js +1 -1
- package/out/modules/organization-settings-menu/index.js +1 -1
- package/out/modules/profile-resources-menu/index.js +1 -1
- package/out/modules/profile-settings-menu/index.js +1 -1
- package/out/modules/project-menu/index.js +1 -1
- package/out/modules/project-menu-crowdsource/index.js +1 -1
- package/out/modules/project-reports/index.js +1 -1
- package/out/modules/project-tools/index.js +1 -1
- package/out/modules/webhooks/index.js +3 -6
- package/out/modules/workflow-step-type/index.js +6 -6
- package/out/static/ui/error.bundle.js +9 -9
- package/out/static/ui/error.bundle.js.map +1 -1
- package/out/static/ui/form.bundle.js +125 -125
- package/out/static/ui/form.bundle.js.map +1 -1
- package/out/static/ui/install.bundle.js +9 -9
- package/out/static/ui/install.bundle.js.map +1 -1
- package/out/static/ui/login.bundle.js +9 -9
- package/out/static/ui/login.bundle.js.map +1 -1
- package/out/static/ui/main.bundle.js +9 -9
- package/out/static/ui/main.bundle.js.map +1 -1
- package/out/static/ui/oauth.bundle.js +9 -9
- package/out/static/ui/oauth.bundle.js.map +1 -1
- package/out/storage/drizzle/d1/index.d.ts +7 -0
- package/out/storage/drizzle/d1/index.js +48 -0
- package/out/storage/drizzle/d1/migrations/init.d.ts +2 -0
- package/out/storage/drizzle/d1/migrations/init.js +122 -0
- package/out/storage/drizzle/d1/types.d.ts +13 -0
- package/out/storage/drizzle/d1/types.js +38 -0
- package/out/storage/{sqlite.d.ts → drizzle/index.d.ts} +37 -58
- package/out/storage/drizzle/index.js +939 -0
- package/out/storage/drizzle/postgresql/config.d.ts +5 -0
- package/out/storage/drizzle/postgresql/config.js +11 -0
- package/out/storage/drizzle/postgresql/index.d.ts +14 -0
- package/out/storage/drizzle/postgresql/index.js +144 -0
- package/out/storage/drizzle/postgresql/migrations/0000_init.sql +113 -0
- package/out/storage/drizzle/postgresql/migrations/0001_init_indexes.sql +28 -0
- package/out/storage/drizzle/postgresql/migrations/meta/0000_snapshot.json +646 -0
- package/out/storage/drizzle/postgresql/migrations/meta/0001_snapshot.json +646 -0
- package/out/storage/drizzle/postgresql/migrations/meta/_journal.json +20 -0
- package/out/storage/drizzle/postgresql/schema.d.ts +1410 -0
- package/out/storage/drizzle/postgresql/schema.js +106 -0
- package/out/storage/drizzle/sqlite/config.d.ts +5 -0
- package/out/storage/drizzle/sqlite/config.js +11 -0
- package/out/storage/drizzle/sqlite/index.d.ts +8 -0
- package/out/storage/drizzle/sqlite/index.js +63 -0
- package/out/storage/drizzle/sqlite/migrations/0000_init.sql +113 -0
- package/out/storage/drizzle/sqlite/migrations/meta/0000_snapshot.json +687 -0
- package/out/storage/drizzle/sqlite/migrations/meta/_journal.json +13 -0
- package/out/storage/drizzle/sqlite/schema.d.ts +1544 -0
- package/out/storage/drizzle/sqlite/schema.js +106 -0
- package/out/storage/index.d.ts +2 -88
- package/out/storage/index.js +12 -128
- package/out/storage/internal/backup.d.ts +3 -0
- package/out/storage/internal/backup.js +94 -0
- package/out/storage/types.d.ts +66 -0
- package/out/types.d.ts +43 -47
- package/out/util/credentials-masker.js +2 -2
- package/out/util/export.d.ts +1 -0
- package/out/util/export.js +2 -1
- package/out/util/index.d.ts +2 -1
- package/out/util/index.js +12 -9
- package/out/util/normalize-module.d.ts +0 -1
- package/out/util/normalize-module.js +0 -4
- package/package.json +19 -24
- package/out/modules/ai-tools/handlers/tool-calls.d.ts +0 -4
- package/out/modules/ai-tools/handlers/tool-calls.js +0 -52
- package/out/modules/ai-tools/index.d.ts +0 -10
- package/out/modules/ai-tools/index.js +0 -46
- package/out/modules/ai-tools/types.d.ts +0 -63
- package/out/modules/ai-tools/types.js +0 -2
- package/out/modules/ai-tools/util/index.d.ts +0 -5
- package/out/modules/ai-tools/util/index.js +0 -24
- package/out/storage/d1.d.ts +0 -107
- package/out/storage/d1.js +0 -837
- package/out/storage/export.d.ts +0 -1
- package/out/storage/export.js +0 -2
- package/out/storage/mysql.d.ts +0 -109
- package/out/storage/mysql.js +0 -984
- package/out/storage/postgre.d.ts +0 -124
- package/out/storage/postgre.js +0 -1027
- package/out/storage/sqlite.js +0 -786
|
@@ -8225,17 +8225,17 @@ export default theme;`;
|
|
|
8225
8225
|
function requireScheduler_production_min () {
|
|
8226
8226
|
if (hasRequiredScheduler_production_min) return scheduler_production_min;
|
|
8227
8227
|
hasRequiredScheduler_production_min = 1;
|
|
8228
|
-
(function (exports
|
|
8228
|
+
(function (exports) {
|
|
8229
8229
|
function f(a,b){var c=a.length;a.push(b);a:for(;0<c;){var d=c-1>>>1,e=a[d];if(0<g(e,b))a[d]=b,a[c]=e,c=d;else break a}}function h(a){return 0===a.length?null:a[0]}function k(a){if(0===a.length)return null;var b=a[0],c=a.pop();if(c!==b){a[0]=c;a:for(var d=0,e=a.length,w=e>>>1;d<w;){var m=2*(d+1)-1,C=a[m],n=m+1,x=a[n];if(0>g(C,c))n<e&&0>g(x,C)?(a[d]=x,a[n]=c,d=n):(a[d]=C,a[m]=c,d=m);else if(n<e&&0>g(x,c))a[d]=x,a[n]=c,d=n;else break a}}return b}
|
|
8230
|
-
function g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;exports
|
|
8230
|
+
function g(a,b){var c=a.sortIndex-b.sortIndex;return 0!==c?c:a.id-b.id}if("object"===typeof performance&&"function"===typeof performance.now){var l=performance;exports.unstable_now=function(){return l.now()};}else {var p=Date,q=p.now();exports.unstable_now=function(){return p.now()-q};}var r=[],t=[],u=1,v=null,y=3,z=false,A=false,B=false,D="function"===typeof setTimeout?setTimeout:null,E="function"===typeof clearTimeout?clearTimeout:null,F="undefined"!==typeof setImmediate?setImmediate:null;
|
|
8231
8231
|
"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function G(a){for(var b=h(t);null!==b;){if(null===b.callback)k(t);else if(b.startTime<=a)k(t),b.sortIndex=b.expirationTime,f(r,b);else break;b=h(t);}}function H(a){B=false;G(a);if(!A)if(null!==h(r))A=true,I(J);else {var b=h(t);null!==b&&K(H,b.startTime-a);}}
|
|
8232
|
-
function J(a,b){A=false;B&&(B=false,E(L),L=-1);z=true;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if("function"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports
|
|
8233
|
-
function M(){return exports
|
|
8234
|
-
exports
|
|
8235
|
-
exports
|
|
8236
|
-
exports
|
|
8237
|
-
exports
|
|
8238
|
-
exports
|
|
8232
|
+
function J(a,b){A=false;B&&(B=false,E(L),L=-1);z=true;var c=y;try{G(b);for(v=h(r);null!==v&&(!(v.expirationTime>b)||a&&!M());){var d=v.callback;if("function"===typeof d){v.callback=null;y=v.priorityLevel;var e=d(v.expirationTime<=b);b=exports.unstable_now();"function"===typeof e?v.callback=e:v===h(r)&&k(r);G(b);}else k(r);v=h(r);}if(null!==v)var w=!0;else {var m=h(t);null!==m&&K(H,m.startTime-b);w=!1;}return w}finally{v=null,y=c,z=false;}}var N=false,O=null,L=-1,P=5,Q=-1;
|
|
8233
|
+
function M(){return exports.unstable_now()-Q<P?false:true}function R(){if(null!==O){var a=exports.unstable_now();Q=a;var b=true;try{b=O(!0,a);}finally{b?S():(N=false,O=null);}}else N=false;}var S;if("function"===typeof F)S=function(){F(R);};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,U=T.port2;T.port1.onmessage=R;S=function(){U.postMessage(null);};}else S=function(){D(R,0);};function I(a){O=a;N||(N=true,S());}function K(a,b){L=D(function(){a(exports.unstable_now());},b);}
|
|
8234
|
+
exports.unstable_IdlePriority=5;exports.unstable_ImmediatePriority=1;exports.unstable_LowPriority=4;exports.unstable_NormalPriority=3;exports.unstable_Profiling=null;exports.unstable_UserBlockingPriority=2;exports.unstable_cancelCallback=function(a){a.callback=null;};exports.unstable_continueExecution=function(){A||z||(A=true,I(J));};
|
|
8235
|
+
exports.unstable_forceFrameRate=function(a){0>a||125<a?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<a?Math.floor(1E3/a):5;};exports.unstable_getCurrentPriorityLevel=function(){return y};exports.unstable_getFirstCallbackNode=function(){return h(r)};exports.unstable_next=function(a){switch(y){case 1:case 2:case 3:var b=3;break;default:b=y;}var c=y;y=b;try{return a()}finally{y=c;}};exports.unstable_pauseExecution=function(){};
|
|
8236
|
+
exports.unstable_requestPaint=function(){};exports.unstable_runWithPriority=function(a,b){switch(a){case 1:case 2:case 3:case 4:case 5:break;default:a=3;}var c=y;y=a;try{return b()}finally{y=c;}};
|
|
8237
|
+
exports.unstable_scheduleCallback=function(a,b,c){var d=exports.unstable_now();"object"===typeof c&&null!==c?(c=c.delay,c="number"===typeof c&&0<c?d+c:d):c=d;switch(a){case 1:var e=-1;break;case 2:e=250;break;case 5:e=1073741823;break;case 4:e=1E4;break;default:e=5E3;}e=c+e;a={id:u++,callback:b,priorityLevel:a,startTime:c,expirationTime:e,sortIndex:-1};c>d?(a.sortIndex=c,f(t,a),null===h(r)&&a===h(t)&&(B?(E(L),L=-1):B=true,K(H,c-d))):(a.sortIndex=e,f(r,a),A||z||(A=true,I(J)));return a};
|
|
8238
|
+
exports.unstable_shouldYield=M;exports.unstable_wrapCallback=function(a){var b=y;return function(){var c=y;y=b;try{return a.apply(this,arguments)}finally{y=c;}}};
|
|
8239
8239
|
} (scheduler_production_min));
|
|
8240
8240
|
return scheduler_production_min;
|
|
8241
8241
|
}
|
|
@@ -38953,18 +38953,18 @@ export default theme;`;
|
|
|
38953
38953
|
function requireCode$1 () {
|
|
38954
38954
|
if (hasRequiredCode$1) return code$1;
|
|
38955
38955
|
hasRequiredCode$1 = 1;
|
|
38956
|
-
(function (exports
|
|
38957
|
-
Object.defineProperty(exports
|
|
38958
|
-
exports
|
|
38956
|
+
(function (exports) {
|
|
38957
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38958
|
+
exports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;
|
|
38959
38959
|
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
|
|
38960
38960
|
class _CodeOrName {
|
|
38961
38961
|
}
|
|
38962
|
-
exports
|
|
38963
|
-
exports
|
|
38962
|
+
exports._CodeOrName = _CodeOrName;
|
|
38963
|
+
exports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
|
|
38964
38964
|
class Name extends _CodeOrName {
|
|
38965
38965
|
constructor(s) {
|
|
38966
38966
|
super();
|
|
38967
|
-
if (!exports
|
|
38967
|
+
if (!exports.IDENTIFIER.test(s))
|
|
38968
38968
|
throw new Error("CodeGen: name must be a valid identifier");
|
|
38969
38969
|
this.str = s;
|
|
38970
38970
|
}
|
|
@@ -38978,7 +38978,7 @@ export default theme;`;
|
|
|
38978
38978
|
return { [this.str]: 1 };
|
|
38979
38979
|
}
|
|
38980
38980
|
}
|
|
38981
|
-
exports
|
|
38981
|
+
exports.Name = Name;
|
|
38982
38982
|
class _Code extends _CodeOrName {
|
|
38983
38983
|
constructor(code) {
|
|
38984
38984
|
super();
|
|
@@ -39006,8 +39006,8 @@ export default theme;`;
|
|
|
39006
39006
|
}, {})));
|
|
39007
39007
|
}
|
|
39008
39008
|
}
|
|
39009
|
-
exports
|
|
39010
|
-
exports
|
|
39009
|
+
exports._Code = _Code;
|
|
39010
|
+
exports.nil = new _Code("");
|
|
39011
39011
|
function _(strs, ...args) {
|
|
39012
39012
|
const code = [strs[0]];
|
|
39013
39013
|
let i = 0;
|
|
@@ -39017,7 +39017,7 @@ export default theme;`;
|
|
|
39017
39017
|
}
|
|
39018
39018
|
return new _Code(code);
|
|
39019
39019
|
}
|
|
39020
|
-
exports
|
|
39020
|
+
exports._ = _;
|
|
39021
39021
|
const plus = new _Code("+");
|
|
39022
39022
|
function str(strs, ...args) {
|
|
39023
39023
|
const expr = [safeStringify(strs[0])];
|
|
@@ -39030,7 +39030,7 @@ export default theme;`;
|
|
|
39030
39030
|
optimize(expr);
|
|
39031
39031
|
return new _Code(expr);
|
|
39032
39032
|
}
|
|
39033
|
-
exports
|
|
39033
|
+
exports.str = str;
|
|
39034
39034
|
function addCodeArg(code, arg) {
|
|
39035
39035
|
if (arg instanceof _Code)
|
|
39036
39036
|
code.push(...arg._items);
|
|
@@ -39039,7 +39039,7 @@ export default theme;`;
|
|
|
39039
39039
|
else
|
|
39040
39040
|
code.push(interpolate(arg));
|
|
39041
39041
|
}
|
|
39042
|
-
exports
|
|
39042
|
+
exports.addCodeArg = addCodeArg;
|
|
39043
39043
|
function optimize(expr) {
|
|
39044
39044
|
let i = 1;
|
|
39045
39045
|
while (i < expr.length - 1) {
|
|
@@ -39075,7 +39075,7 @@ export default theme;`;
|
|
|
39075
39075
|
function strConcat(c1, c2) {
|
|
39076
39076
|
return c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str `${c1}${c2}`;
|
|
39077
39077
|
}
|
|
39078
|
-
exports
|
|
39078
|
+
exports.strConcat = strConcat;
|
|
39079
39079
|
// TODO do not allow arrays here
|
|
39080
39080
|
function interpolate(x) {
|
|
39081
39081
|
return typeof x == "number" || typeof x == "boolean" || x === null
|
|
@@ -39085,29 +39085,29 @@ export default theme;`;
|
|
|
39085
39085
|
function stringify(x) {
|
|
39086
39086
|
return new _Code(safeStringify(x));
|
|
39087
39087
|
}
|
|
39088
|
-
exports
|
|
39088
|
+
exports.stringify = stringify;
|
|
39089
39089
|
function safeStringify(x) {
|
|
39090
39090
|
return JSON.stringify(x)
|
|
39091
39091
|
.replace(/\u2028/g, "\\u2028")
|
|
39092
39092
|
.replace(/\u2029/g, "\\u2029");
|
|
39093
39093
|
}
|
|
39094
|
-
exports
|
|
39094
|
+
exports.safeStringify = safeStringify;
|
|
39095
39095
|
function getProperty(key) {
|
|
39096
|
-
return typeof key == "string" && exports
|
|
39096
|
+
return typeof key == "string" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _ `[${key}]`;
|
|
39097
39097
|
}
|
|
39098
|
-
exports
|
|
39098
|
+
exports.getProperty = getProperty;
|
|
39099
39099
|
//Does best effort to format the name properly
|
|
39100
39100
|
function getEsmExportName(key) {
|
|
39101
|
-
if (typeof key == "string" && exports
|
|
39101
|
+
if (typeof key == "string" && exports.IDENTIFIER.test(key)) {
|
|
39102
39102
|
return new _Code(`${key}`);
|
|
39103
39103
|
}
|
|
39104
39104
|
throw new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`);
|
|
39105
39105
|
}
|
|
39106
|
-
exports
|
|
39106
|
+
exports.getEsmExportName = getEsmExportName;
|
|
39107
39107
|
function regexpCode(rx) {
|
|
39108
39108
|
return new _Code(rx.toString());
|
|
39109
39109
|
}
|
|
39110
|
-
exports
|
|
39110
|
+
exports.regexpCode = regexpCode;
|
|
39111
39111
|
|
|
39112
39112
|
} (code$1));
|
|
39113
39113
|
return code$1;
|
|
@@ -39120,9 +39120,9 @@ export default theme;`;
|
|
|
39120
39120
|
function requireScope () {
|
|
39121
39121
|
if (hasRequiredScope) return scope;
|
|
39122
39122
|
hasRequiredScope = 1;
|
|
39123
|
-
(function (exports
|
|
39124
|
-
Object.defineProperty(exports
|
|
39125
|
-
exports
|
|
39123
|
+
(function (exports) {
|
|
39124
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39125
|
+
exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
|
|
39126
39126
|
const code_1 = /*@__PURE__*/ requireCode$1();
|
|
39127
39127
|
class ValueError extends Error {
|
|
39128
39128
|
constructor(name) {
|
|
@@ -39134,8 +39134,8 @@ export default theme;`;
|
|
|
39134
39134
|
(function (UsedValueState) {
|
|
39135
39135
|
UsedValueState[UsedValueState["Started"] = 0] = "Started";
|
|
39136
39136
|
UsedValueState[UsedValueState["Completed"] = 1] = "Completed";
|
|
39137
|
-
})(UsedValueState || (exports
|
|
39138
|
-
exports
|
|
39137
|
+
})(UsedValueState || (exports.UsedValueState = UsedValueState = {}));
|
|
39138
|
+
exports.varKinds = {
|
|
39139
39139
|
const: new code_1.Name("const"),
|
|
39140
39140
|
let: new code_1.Name("let"),
|
|
39141
39141
|
var: new code_1.Name("var"),
|
|
@@ -39164,7 +39164,7 @@ export default theme;`;
|
|
|
39164
39164
|
return (this._names[prefix] = { prefix, index: 0 });
|
|
39165
39165
|
}
|
|
39166
39166
|
}
|
|
39167
|
-
exports
|
|
39167
|
+
exports.Scope = Scope;
|
|
39168
39168
|
class ValueScopeName extends code_1.Name {
|
|
39169
39169
|
constructor(prefix, nameStr) {
|
|
39170
39170
|
super(nameStr);
|
|
@@ -39175,7 +39175,7 @@ export default theme;`;
|
|
|
39175
39175
|
this.scopePath = (0, code_1._) `.${new code_1.Name(property)}[${itemIndex}]`;
|
|
39176
39176
|
}
|
|
39177
39177
|
}
|
|
39178
|
-
exports
|
|
39178
|
+
exports.ValueScopeName = ValueScopeName;
|
|
39179
39179
|
const line = (0, code_1._) `\n`;
|
|
39180
39180
|
class ValueScope extends Scope {
|
|
39181
39181
|
constructor(opts) {
|
|
@@ -39246,7 +39246,7 @@ export default theme;`;
|
|
|
39246
39246
|
nameSet.set(name, UsedValueState.Started);
|
|
39247
39247
|
let c = valueCode(name);
|
|
39248
39248
|
if (c) {
|
|
39249
|
-
const def = this.opts.es5 ? exports
|
|
39249
|
+
const def = this.opts.es5 ? exports.varKinds.var : exports.varKinds.const;
|
|
39250
39250
|
code = (0, code_1._) `${code}${def} ${name} = ${c};${this.opts._n}`;
|
|
39251
39251
|
}
|
|
39252
39252
|
else if ((c = getCode === null || getCode === void 0 ? void 0 : getCode(name))) {
|
|
@@ -39261,7 +39261,7 @@ export default theme;`;
|
|
|
39261
39261
|
return code;
|
|
39262
39262
|
}
|
|
39263
39263
|
}
|
|
39264
|
-
exports
|
|
39264
|
+
exports.ValueScope = ValueScope;
|
|
39265
39265
|
|
|
39266
39266
|
} (scope));
|
|
39267
39267
|
return scope;
|
|
@@ -39272,26 +39272,26 @@ export default theme;`;
|
|
|
39272
39272
|
function requireCodegen () {
|
|
39273
39273
|
if (hasRequiredCodegen) return codegen;
|
|
39274
39274
|
hasRequiredCodegen = 1;
|
|
39275
|
-
(function (exports
|
|
39276
|
-
Object.defineProperty(exports
|
|
39277
|
-
exports
|
|
39275
|
+
(function (exports) {
|
|
39276
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39277
|
+
exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
|
|
39278
39278
|
const code_1 = /*@__PURE__*/ requireCode$1();
|
|
39279
39279
|
const scope_1 = /*@__PURE__*/ requireScope();
|
|
39280
39280
|
var code_2 = /*@__PURE__*/ requireCode$1();
|
|
39281
|
-
Object.defineProperty(exports
|
|
39282
|
-
Object.defineProperty(exports
|
|
39283
|
-
Object.defineProperty(exports
|
|
39284
|
-
Object.defineProperty(exports
|
|
39285
|
-
Object.defineProperty(exports
|
|
39286
|
-
Object.defineProperty(exports
|
|
39287
|
-
Object.defineProperty(exports
|
|
39288
|
-
Object.defineProperty(exports
|
|
39281
|
+
Object.defineProperty(exports, "_", { enumerable: true, get: function () { return code_2._; } });
|
|
39282
|
+
Object.defineProperty(exports, "str", { enumerable: true, get: function () { return code_2.str; } });
|
|
39283
|
+
Object.defineProperty(exports, "strConcat", { enumerable: true, get: function () { return code_2.strConcat; } });
|
|
39284
|
+
Object.defineProperty(exports, "nil", { enumerable: true, get: function () { return code_2.nil; } });
|
|
39285
|
+
Object.defineProperty(exports, "getProperty", { enumerable: true, get: function () { return code_2.getProperty; } });
|
|
39286
|
+
Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return code_2.stringify; } });
|
|
39287
|
+
Object.defineProperty(exports, "regexpCode", { enumerable: true, get: function () { return code_2.regexpCode; } });
|
|
39288
|
+
Object.defineProperty(exports, "Name", { enumerable: true, get: function () { return code_2.Name; } });
|
|
39289
39289
|
var scope_2 = /*@__PURE__*/ requireScope();
|
|
39290
|
-
Object.defineProperty(exports
|
|
39291
|
-
Object.defineProperty(exports
|
|
39292
|
-
Object.defineProperty(exports
|
|
39293
|
-
Object.defineProperty(exports
|
|
39294
|
-
exports
|
|
39290
|
+
Object.defineProperty(exports, "Scope", { enumerable: true, get: function () { return scope_2.Scope; } });
|
|
39291
|
+
Object.defineProperty(exports, "ValueScope", { enumerable: true, get: function () { return scope_2.ValueScope; } });
|
|
39292
|
+
Object.defineProperty(exports, "ValueScopeName", { enumerable: true, get: function () { return scope_2.ValueScopeName; } });
|
|
39293
|
+
Object.defineProperty(exports, "varKinds", { enumerable: true, get: function () { return scope_2.varKinds; } });
|
|
39294
|
+
exports.operators = {
|
|
39295
39295
|
GT: new code_1._Code(">"),
|
|
39296
39296
|
GTE: new code_1._Code(">="),
|
|
39297
39297
|
LT: new code_1._Code("<"),
|
|
@@ -39705,7 +39705,7 @@ export default theme;`;
|
|
|
39705
39705
|
}
|
|
39706
39706
|
// `+=` code
|
|
39707
39707
|
add(lhs, rhs) {
|
|
39708
|
-
return this._leafNode(new AssignOp(lhs, exports
|
|
39708
|
+
return this._leafNode(new AssignOp(lhs, exports.operators.ADD, rhs));
|
|
39709
39709
|
}
|
|
39710
39710
|
// appends passed SafeExpr to code or executes Block
|
|
39711
39711
|
code(c) {
|
|
@@ -39907,7 +39907,7 @@ export default theme;`;
|
|
|
39907
39907
|
ns[ns.length - 1] = node;
|
|
39908
39908
|
}
|
|
39909
39909
|
}
|
|
39910
|
-
exports
|
|
39910
|
+
exports.CodeGen = CodeGen;
|
|
39911
39911
|
function addNames(names, from) {
|
|
39912
39912
|
for (const n in from)
|
|
39913
39913
|
names[n] = (names[n] || 0) + (from[n] || 0);
|
|
@@ -39949,19 +39949,19 @@ export default theme;`;
|
|
|
39949
39949
|
function not(x) {
|
|
39950
39950
|
return typeof x == "boolean" || typeof x == "number" || x === null ? !x : (0, code_1._) `!${par(x)}`;
|
|
39951
39951
|
}
|
|
39952
|
-
exports
|
|
39953
|
-
const andCode = mappend(exports
|
|
39952
|
+
exports.not = not;
|
|
39953
|
+
const andCode = mappend(exports.operators.AND);
|
|
39954
39954
|
// boolean AND (&&) expression with the passed arguments
|
|
39955
39955
|
function and(...args) {
|
|
39956
39956
|
return args.reduce(andCode);
|
|
39957
39957
|
}
|
|
39958
|
-
exports
|
|
39959
|
-
const orCode = mappend(exports
|
|
39958
|
+
exports.and = and;
|
|
39959
|
+
const orCode = mappend(exports.operators.OR);
|
|
39960
39960
|
// boolean OR (||) expression with the passed arguments
|
|
39961
39961
|
function or(...args) {
|
|
39962
39962
|
return args.reduce(orCode);
|
|
39963
39963
|
}
|
|
39964
|
-
exports
|
|
39964
|
+
exports.or = or;
|
|
39965
39965
|
function mappend(op) {
|
|
39966
39966
|
return (x, y) => (x === code_1.nil ? y : y === code_1.nil ? x : (0, code_1._) `${par(x)} ${op} ${par(y)}`);
|
|
39967
39967
|
}
|
|
@@ -40202,21 +40202,21 @@ export default theme;`;
|
|
|
40202
40202
|
function requireErrors () {
|
|
40203
40203
|
if (hasRequiredErrors) return errors;
|
|
40204
40204
|
hasRequiredErrors = 1;
|
|
40205
|
-
(function (exports
|
|
40206
|
-
Object.defineProperty(exports
|
|
40207
|
-
exports
|
|
40205
|
+
(function (exports) {
|
|
40206
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40207
|
+
exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
|
|
40208
40208
|
const codegen_1 = /*@__PURE__*/ requireCodegen();
|
|
40209
40209
|
const util_1 = /*@__PURE__*/ requireUtil();
|
|
40210
40210
|
const names_1 = /*@__PURE__*/ requireNames();
|
|
40211
|
-
exports
|
|
40211
|
+
exports.keywordError = {
|
|
40212
40212
|
message: ({ keyword }) => (0, codegen_1.str) `must pass "${keyword}" keyword validation`,
|
|
40213
40213
|
};
|
|
40214
|
-
exports
|
|
40214
|
+
exports.keyword$DataError = {
|
|
40215
40215
|
message: ({ keyword, schemaType }) => schemaType
|
|
40216
40216
|
? (0, codegen_1.str) `"${keyword}" keyword must be ${schemaType} ($data)`
|
|
40217
40217
|
: (0, codegen_1.str) `"${keyword}" keyword is invalid ($data)`,
|
|
40218
40218
|
};
|
|
40219
|
-
function reportError(cxt, error = exports
|
|
40219
|
+
function reportError(cxt, error = exports.keywordError, errorPaths, overrideAllErrors) {
|
|
40220
40220
|
const { it } = cxt;
|
|
40221
40221
|
const { gen, compositeRule, allErrors } = it;
|
|
40222
40222
|
const errObj = errorObjectCode(cxt, error, errorPaths);
|
|
@@ -40227,8 +40227,8 @@ export default theme;`;
|
|
|
40227
40227
|
returnErrors(it, (0, codegen_1._) `[${errObj}]`);
|
|
40228
40228
|
}
|
|
40229
40229
|
}
|
|
40230
|
-
exports
|
|
40231
|
-
function reportExtraError(cxt, error = exports
|
|
40230
|
+
exports.reportError = reportError;
|
|
40231
|
+
function reportExtraError(cxt, error = exports.keywordError, errorPaths) {
|
|
40232
40232
|
const { it } = cxt;
|
|
40233
40233
|
const { gen, compositeRule, allErrors } = it;
|
|
40234
40234
|
const errObj = errorObjectCode(cxt, error, errorPaths);
|
|
@@ -40237,12 +40237,12 @@ export default theme;`;
|
|
|
40237
40237
|
returnErrors(it, names_1.default.vErrors);
|
|
40238
40238
|
}
|
|
40239
40239
|
}
|
|
40240
|
-
exports
|
|
40240
|
+
exports.reportExtraError = reportExtraError;
|
|
40241
40241
|
function resetErrorsCount(gen, errsCount) {
|
|
40242
40242
|
gen.assign(names_1.default.errors, errsCount);
|
|
40243
40243
|
gen.if((0, codegen_1._) `${names_1.default.vErrors} !== null`, () => gen.if(errsCount, () => gen.assign((0, codegen_1._) `${names_1.default.vErrors}.length`, errsCount), () => gen.assign(names_1.default.vErrors, null)));
|
|
40244
40244
|
}
|
|
40245
|
-
exports
|
|
40245
|
+
exports.resetErrorsCount = resetErrorsCount;
|
|
40246
40246
|
function extendErrors({ gen, keyword, schemaValue, data, errsCount, it, }) {
|
|
40247
40247
|
/* istanbul ignore if */
|
|
40248
40248
|
if (errsCount === undefined)
|
|
@@ -40258,7 +40258,7 @@ export default theme;`;
|
|
|
40258
40258
|
}
|
|
40259
40259
|
});
|
|
40260
40260
|
}
|
|
40261
|
-
exports
|
|
40261
|
+
exports.extendErrors = extendErrors;
|
|
40262
40262
|
function addError(gen, errObj) {
|
|
40263
40263
|
const err = gen.const("err", errObj);
|
|
40264
40264
|
gen.if((0, codegen_1._) `${names_1.default.vErrors} === null`, () => gen.assign(names_1.default.vErrors, (0, codegen_1._) `[${err}]`), (0, codegen_1._) `${names_1.default.vErrors}.push(${err})`);
|
|
@@ -42255,18 +42255,18 @@ export default theme;`;
|
|
|
42255
42255
|
function requireCore$1 () {
|
|
42256
42256
|
if (hasRequiredCore$1) return core$1;
|
|
42257
42257
|
hasRequiredCore$1 = 1;
|
|
42258
|
-
(function (exports
|
|
42259
|
-
Object.defineProperty(exports
|
|
42260
|
-
exports
|
|
42258
|
+
(function (exports) {
|
|
42259
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
42260
|
+
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
|
|
42261
42261
|
var validate_1 = /*@__PURE__*/ requireValidate();
|
|
42262
|
-
Object.defineProperty(exports
|
|
42262
|
+
Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function () { return validate_1.KeywordCxt; } });
|
|
42263
42263
|
var codegen_1 = /*@__PURE__*/ requireCodegen();
|
|
42264
|
-
Object.defineProperty(exports
|
|
42265
|
-
Object.defineProperty(exports
|
|
42266
|
-
Object.defineProperty(exports
|
|
42267
|
-
Object.defineProperty(exports
|
|
42268
|
-
Object.defineProperty(exports
|
|
42269
|
-
Object.defineProperty(exports
|
|
42264
|
+
Object.defineProperty(exports, "_", { enumerable: true, get: function () { return codegen_1._; } });
|
|
42265
|
+
Object.defineProperty(exports, "str", { enumerable: true, get: function () { return codegen_1.str; } });
|
|
42266
|
+
Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return codegen_1.stringify; } });
|
|
42267
|
+
Object.defineProperty(exports, "nil", { enumerable: true, get: function () { return codegen_1.nil; } });
|
|
42268
|
+
Object.defineProperty(exports, "Name", { enumerable: true, get: function () { return codegen_1.Name; } });
|
|
42269
|
+
Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } });
|
|
42270
42270
|
const validation_error_1 = /*@__PURE__*/ requireValidation_error();
|
|
42271
42271
|
const ref_error_1 = /*@__PURE__*/ requireRef_error();
|
|
42272
42272
|
const rules_1 = /*@__PURE__*/ requireRules();
|
|
@@ -42746,7 +42746,7 @@ export default theme;`;
|
|
|
42746
42746
|
}
|
|
42747
42747
|
Ajv.ValidationError = validation_error_1.default;
|
|
42748
42748
|
Ajv.MissingRefError = ref_error_1.default;
|
|
42749
|
-
exports
|
|
42749
|
+
exports.default = Ajv;
|
|
42750
42750
|
function checkOptions(checkOpts, options, msg, log = "error") {
|
|
42751
42751
|
for (const key in checkOpts) {
|
|
42752
42752
|
const opt = key;
|
|
@@ -43904,13 +43904,13 @@ export default theme;`;
|
|
|
43904
43904
|
function requireDependencies () {
|
|
43905
43905
|
if (hasRequiredDependencies) return dependencies;
|
|
43906
43906
|
hasRequiredDependencies = 1;
|
|
43907
|
-
(function (exports
|
|
43908
|
-
Object.defineProperty(exports
|
|
43909
|
-
exports
|
|
43907
|
+
(function (exports) {
|
|
43908
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
43909
|
+
exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
|
|
43910
43910
|
const codegen_1 = /*@__PURE__*/ requireCodegen();
|
|
43911
43911
|
const util_1 = /*@__PURE__*/ requireUtil();
|
|
43912
43912
|
const code_1 = /*@__PURE__*/ requireCode();
|
|
43913
|
-
exports
|
|
43913
|
+
exports.error = {
|
|
43914
43914
|
message: ({ params: { property, depsCount, deps } }) => {
|
|
43915
43915
|
const property_ies = depsCount === 1 ? "property" : "properties";
|
|
43916
43916
|
return (0, codegen_1.str) `must have ${property_ies} ${deps} when property ${property} is present`;
|
|
@@ -43924,7 +43924,7 @@ export default theme;`;
|
|
|
43924
43924
|
keyword: "dependencies",
|
|
43925
43925
|
type: "object",
|
|
43926
43926
|
schemaType: "object",
|
|
43927
|
-
error: exports
|
|
43927
|
+
error: exports.error,
|
|
43928
43928
|
code(cxt) {
|
|
43929
43929
|
const [propDeps, schDeps] = splitDependencies(cxt);
|
|
43930
43930
|
validatePropertyDeps(cxt, propDeps);
|
|
@@ -43971,7 +43971,7 @@ export default theme;`;
|
|
|
43971
43971
|
}
|
|
43972
43972
|
}
|
|
43973
43973
|
}
|
|
43974
|
-
exports
|
|
43974
|
+
exports.validatePropertyDeps = validatePropertyDeps;
|
|
43975
43975
|
function validateSchemaDeps(cxt, schemaDeps = cxt.schema) {
|
|
43976
43976
|
const { gen, data, keyword, it } = cxt;
|
|
43977
43977
|
const valid = gen.name("valid");
|
|
@@ -43986,8 +43986,8 @@ export default theme;`;
|
|
|
43986
43986
|
cxt.ok(valid);
|
|
43987
43987
|
}
|
|
43988
43988
|
}
|
|
43989
|
-
exports
|
|
43990
|
-
exports
|
|
43989
|
+
exports.validateSchemaDeps = validateSchemaDeps;
|
|
43990
|
+
exports.default = def;
|
|
43991
43991
|
|
|
43992
43992
|
} (dependencies));
|
|
43993
43993
|
return dependencies;
|
|
@@ -45162,9 +45162,9 @@ export default theme;`;
|
|
|
45162
45162
|
function requireAjv () {
|
|
45163
45163
|
if (hasRequiredAjv) return ajv.exports;
|
|
45164
45164
|
hasRequiredAjv = 1;
|
|
45165
|
-
(function (module, exports
|
|
45166
|
-
Object.defineProperty(exports
|
|
45167
|
-
exports
|
|
45165
|
+
(function (module, exports) {
|
|
45166
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45167
|
+
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;
|
|
45168
45168
|
const core_1 = /*@__PURE__*/ requireCore$1();
|
|
45169
45169
|
const draft7_1 = /*@__PURE__*/ requireDraft7();
|
|
45170
45170
|
const discriminator_1 = /*@__PURE__*/ requireDiscriminator();
|
|
@@ -45193,24 +45193,24 @@ export default theme;`;
|
|
|
45193
45193
|
super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : undefined));
|
|
45194
45194
|
}
|
|
45195
45195
|
}
|
|
45196
|
-
exports
|
|
45197
|
-
module.exports = exports
|
|
45196
|
+
exports.Ajv = Ajv;
|
|
45197
|
+
module.exports = exports = Ajv;
|
|
45198
45198
|
module.exports.Ajv = Ajv;
|
|
45199
|
-
Object.defineProperty(exports
|
|
45200
|
-
exports
|
|
45199
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45200
|
+
exports.default = Ajv;
|
|
45201
45201
|
var validate_1 = /*@__PURE__*/ requireValidate();
|
|
45202
|
-
Object.defineProperty(exports
|
|
45202
|
+
Object.defineProperty(exports, "KeywordCxt", { enumerable: true, get: function () { return validate_1.KeywordCxt; } });
|
|
45203
45203
|
var codegen_1 = /*@__PURE__*/ requireCodegen();
|
|
45204
|
-
Object.defineProperty(exports
|
|
45205
|
-
Object.defineProperty(exports
|
|
45206
|
-
Object.defineProperty(exports
|
|
45207
|
-
Object.defineProperty(exports
|
|
45208
|
-
Object.defineProperty(exports
|
|
45209
|
-
Object.defineProperty(exports
|
|
45204
|
+
Object.defineProperty(exports, "_", { enumerable: true, get: function () { return codegen_1._; } });
|
|
45205
|
+
Object.defineProperty(exports, "str", { enumerable: true, get: function () { return codegen_1.str; } });
|
|
45206
|
+
Object.defineProperty(exports, "stringify", { enumerable: true, get: function () { return codegen_1.stringify; } });
|
|
45207
|
+
Object.defineProperty(exports, "nil", { enumerable: true, get: function () { return codegen_1.nil; } });
|
|
45208
|
+
Object.defineProperty(exports, "Name", { enumerable: true, get: function () { return codegen_1.Name; } });
|
|
45209
|
+
Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } });
|
|
45210
45210
|
var validation_error_1 = /*@__PURE__*/ requireValidation_error();
|
|
45211
|
-
Object.defineProperty(exports
|
|
45211
|
+
Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function () { return validation_error_1.default; } });
|
|
45212
45212
|
var ref_error_1 = /*@__PURE__*/ requireRef_error();
|
|
45213
|
-
Object.defineProperty(exports
|
|
45213
|
+
Object.defineProperty(exports, "MissingRefError", { enumerable: true, get: function () { return ref_error_1.default; } });
|
|
45214
45214
|
|
|
45215
45215
|
} (ajv, ajv.exports));
|
|
45216
45216
|
return ajv.exports;
|
|
@@ -45228,13 +45228,13 @@ export default theme;`;
|
|
|
45228
45228
|
function requireFormats () {
|
|
45229
45229
|
if (hasRequiredFormats) return formats;
|
|
45230
45230
|
hasRequiredFormats = 1;
|
|
45231
|
-
(function (exports
|
|
45232
|
-
Object.defineProperty(exports
|
|
45233
|
-
exports
|
|
45231
|
+
(function (exports) {
|
|
45232
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45233
|
+
exports.formatNames = exports.fastFormats = exports.fullFormats = void 0;
|
|
45234
45234
|
function fmtDef(validate, compare) {
|
|
45235
45235
|
return { validate, compare };
|
|
45236
45236
|
}
|
|
45237
|
-
exports
|
|
45237
|
+
exports.fullFormats = {
|
|
45238
45238
|
// date: http://tools.ietf.org/html/rfc3339#section-5.6
|
|
45239
45239
|
date: fmtDef(date, compareDate),
|
|
45240
45240
|
// date-time: http://tools.ietf.org/html/rfc3339#section-5.6
|
|
@@ -45279,8 +45279,8 @@ export default theme;`;
|
|
|
45279
45279
|
// unchecked string payload
|
|
45280
45280
|
binary: true,
|
|
45281
45281
|
};
|
|
45282
|
-
exports
|
|
45283
|
-
...exports
|
|
45282
|
+
exports.fastFormats = {
|
|
45283
|
+
...exports.fullFormats,
|
|
45284
45284
|
date: fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d$/, compareDate),
|
|
45285
45285
|
time: fmtDef(/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i, compareTime),
|
|
45286
45286
|
"date-time": fmtDef(/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i, compareDateTime),
|
|
@@ -45292,7 +45292,7 @@ export default theme;`;
|
|
|
45292
45292
|
// http://www.w3.org/TR/html5/forms.html#valid-e-mail-address (search for 'wilful violation')
|
|
45293
45293
|
email: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,
|
|
45294
45294
|
};
|
|
45295
|
-
exports
|
|
45295
|
+
exports.formatNames = Object.keys(exports.fullFormats);
|
|
45296
45296
|
function isLeapYear(year) {
|
|
45297
45297
|
// https://tools.ietf.org/html/rfc3339#appendix-C
|
|
45298
45298
|
return year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
@@ -45412,9 +45412,9 @@ export default theme;`;
|
|
|
45412
45412
|
function requireLimit () {
|
|
45413
45413
|
if (hasRequiredLimit) return limit;
|
|
45414
45414
|
hasRequiredLimit = 1;
|
|
45415
|
-
(function (exports
|
|
45416
|
-
Object.defineProperty(exports
|
|
45417
|
-
exports
|
|
45415
|
+
(function (exports) {
|
|
45416
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45417
|
+
exports.formatLimitDefinition = void 0;
|
|
45418
45418
|
const ajv_1 = /*@__PURE__*/ requireAjv();
|
|
45419
45419
|
const codegen_1 = /*@__PURE__*/ requireCodegen();
|
|
45420
45420
|
const ops = codegen_1.operators;
|
|
@@ -45428,7 +45428,7 @@ export default theme;`;
|
|
|
45428
45428
|
message: ({ keyword, schemaCode }) => codegen_1.str `should be ${KWDs[keyword].okStr} ${schemaCode}`,
|
|
45429
45429
|
params: ({ keyword, schemaCode }) => codegen_1._ `{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`,
|
|
45430
45430
|
};
|
|
45431
|
-
exports
|
|
45431
|
+
exports.formatLimitDefinition = {
|
|
45432
45432
|
keyword: Object.keys(KWDs),
|
|
45433
45433
|
type: "string",
|
|
45434
45434
|
schemaType: "string",
|
|
@@ -45476,10 +45476,10 @@ export default theme;`;
|
|
|
45476
45476
|
dependencies: ["format"],
|
|
45477
45477
|
};
|
|
45478
45478
|
const formatLimitPlugin = (ajv) => {
|
|
45479
|
-
ajv.addKeyword(exports
|
|
45479
|
+
ajv.addKeyword(exports.formatLimitDefinition);
|
|
45480
45480
|
return ajv;
|
|
45481
45481
|
};
|
|
45482
|
-
exports
|
|
45482
|
+
exports.default = formatLimitPlugin;
|
|
45483
45483
|
|
|
45484
45484
|
} (limit));
|
|
45485
45485
|
return limit;
|
|
@@ -45490,8 +45490,8 @@ export default theme;`;
|
|
|
45490
45490
|
function requireDist () {
|
|
45491
45491
|
if (hasRequiredDist) return dist.exports;
|
|
45492
45492
|
hasRequiredDist = 1;
|
|
45493
|
-
(function (module, exports
|
|
45494
|
-
Object.defineProperty(exports
|
|
45493
|
+
(function (module, exports) {
|
|
45494
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45495
45495
|
const formats_1 = requireFormats();
|
|
45496
45496
|
const limit_1 = requireLimit();
|
|
45497
45497
|
const codegen_1 = /*@__PURE__*/ requireCodegen();
|
|
@@ -45523,9 +45523,9 @@ export default theme;`;
|
|
|
45523
45523
|
for (const f of list)
|
|
45524
45524
|
ajv.addFormat(f, fs[f]);
|
|
45525
45525
|
}
|
|
45526
|
-
module.exports = exports
|
|
45527
|
-
Object.defineProperty(exports
|
|
45528
|
-
exports
|
|
45526
|
+
module.exports = exports = formatsPlugin;
|
|
45527
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
45528
|
+
exports.default = formatsPlugin;
|
|
45529
45529
|
|
|
45530
45530
|
} (dist, dist.exports));
|
|
45531
45531
|
return dist.exports;
|