@fragment-dev/cli 2025.12.17 → 2025.12.19
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/dist/{chunk-HDSQSGJZ.js → chunk-B2X23D4V.js} +1 -1
- package/dist/{chunk-JEFROCJ4.js → chunk-FYI24ALS.js} +18 -3
- package/dist/{chunk-MCDP3VCZ.js → chunk-GQNGI6XP.js} +5 -5
- package/dist/{chunk-Y5NKOPGQ.js → chunk-IHXDHPBS.js} +1 -1
- package/dist/{chunk-V25PI4BY.js → chunk-JZRLBES4.js} +1 -1
- package/dist/{chunk-BHKDLH3S.js → chunk-RF55JY42.js} +1 -1
- package/dist/{chunk-UWZOOSXG.js → chunk-WN5GVMAT.js} +1 -1
- package/dist/{chunk-ZXWT4UIL.js → chunk-ZHN6GI65.js} +1 -1
- package/dist/{chunk-23GA7SWI.js → chunk-ZKVROPAJ.js} +17 -362
- package/dist/commands/gen-graphql.js +2 -2
- package/dist/commands/get-schema.js +2 -2
- package/dist/commands/login.js +2 -2
- package/dist/commands/update.js +2 -2
- package/dist/commands/verify-schema.js +3 -3
- package/dist/commands.js +9 -9
- package/dist/index.js +9 -9
- package/dist/utils/schemaValidation.js +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -13524,9 +13524,9 @@ var require_wrap_ansi = __commonJS({
|
|
|
13524
13524
|
}
|
|
13525
13525
|
});
|
|
13526
13526
|
|
|
13527
|
-
// ../../node_modules/is-unicode-supported/index.js
|
|
13527
|
+
// ../../node_modules/log-symbols/node_modules/is-unicode-supported/index.js
|
|
13528
13528
|
var require_is_unicode_supported = __commonJS({
|
|
13529
|
-
"../../node_modules/is-unicode-supported/index.js"(exports, module) {
|
|
13529
|
+
"../../node_modules/log-symbols/node_modules/is-unicode-supported/index.js"(exports, module) {
|
|
13530
13530
|
"use strict";
|
|
13531
13531
|
init_cjs_shims();
|
|
13532
13532
|
module.exports = () => {
|
|
@@ -13937,6 +13937,21 @@ var require_is_interactive = __commonJS({
|
|
|
13937
13937
|
}
|
|
13938
13938
|
});
|
|
13939
13939
|
|
|
13940
|
+
// ../../node_modules/ora/node_modules/is-unicode-supported/index.js
|
|
13941
|
+
var require_is_unicode_supported2 = __commonJS({
|
|
13942
|
+
"../../node_modules/ora/node_modules/is-unicode-supported/index.js"(exports, module) {
|
|
13943
|
+
"use strict";
|
|
13944
|
+
init_cjs_shims();
|
|
13945
|
+
module.exports = () => {
|
|
13946
|
+
if (process.platform !== "win32") {
|
|
13947
|
+
return true;
|
|
13948
|
+
}
|
|
13949
|
+
return Boolean(process.env.CI) || Boolean(process.env.WT_SESSION) || // Windows Terminal
|
|
13950
|
+
process.env.TERM_PROGRAM === "vscode" || process.env.TERM === "xterm-256color" || process.env.TERM === "alacritty";
|
|
13951
|
+
};
|
|
13952
|
+
}
|
|
13953
|
+
});
|
|
13954
|
+
|
|
13940
13955
|
// ../../node_modules/readable-stream/lib/internal/streams/stream.js
|
|
13941
13956
|
var require_stream = __commonJS({
|
|
13942
13957
|
"../../node_modules/readable-stream/lib/internal/streams/stream.js"(exports, module) {
|
|
@@ -17260,7 +17275,7 @@ var require_ora = __commonJS({
|
|
|
17260
17275
|
var stripAnsi2 = require_strip_ansi();
|
|
17261
17276
|
var wcwidth = require_wcwidth();
|
|
17262
17277
|
var isInteractive = require_is_interactive();
|
|
17263
|
-
var isUnicodeSupported2 =
|
|
17278
|
+
var isUnicodeSupported2 = require_is_unicode_supported2();
|
|
17264
17279
|
var { BufferListStream } = require_bl();
|
|
17265
17280
|
var TEXT = Symbol("text");
|
|
17266
17281
|
var PREFIX_TEXT = Symbol("prefixText");
|
|
@@ -15,22 +15,22 @@ import {
|
|
|
15
15
|
} from "./chunk-EXS5ZS4O.js";
|
|
16
16
|
import {
|
|
17
17
|
Update
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-B2X23D4V.js";
|
|
19
19
|
import {
|
|
20
20
|
VerifySchema
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-WN5GVMAT.js";
|
|
22
22
|
import {
|
|
23
23
|
Workspace
|
|
24
24
|
} from "./chunk-NCIRJV5V.js";
|
|
25
25
|
import {
|
|
26
26
|
GetSchema
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZHN6GI65.js";
|
|
28
28
|
import {
|
|
29
29
|
Init
|
|
30
30
|
} from "./chunk-GGCDYQIW.js";
|
|
31
31
|
import {
|
|
32
32
|
Login
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-JZRLBES4.js";
|
|
34
34
|
import {
|
|
35
35
|
MigrateLedgerEntry
|
|
36
36
|
} from "./chunk-OBJHIIXG.js";
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
} from "./chunk-SJKYZPKQ.js";
|
|
67
67
|
import {
|
|
68
68
|
GenGraphQL
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-RF55JY42.js";
|
|
70
70
|
import {
|
|
71
71
|
init_cjs_shims
|
|
72
72
|
} from "./chunk-7GH3YGSC.js";
|
|
@@ -4415,334 +4415,6 @@ var require_cjs = __commonJS({
|
|
|
4415
4415
|
}
|
|
4416
4416
|
});
|
|
4417
4417
|
|
|
4418
|
-
// ../../node_modules/@amccarthy1/typed-env/dist/cjs/boolean.js
|
|
4419
|
-
var require_boolean = __commonJS({
|
|
4420
|
-
"../../node_modules/@amccarthy1/typed-env/dist/cjs/boolean.js"(exports) {
|
|
4421
|
-
"use strict";
|
|
4422
|
-
init_cjs_shims();
|
|
4423
|
-
var __assign = exports && exports.__assign || function() {
|
|
4424
|
-
__assign = Object.assign || function(t) {
|
|
4425
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4426
|
-
s = arguments[i];
|
|
4427
|
-
for (var p in s)
|
|
4428
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4429
|
-
t[p] = s[p];
|
|
4430
|
-
}
|
|
4431
|
-
return t;
|
|
4432
|
-
};
|
|
4433
|
-
return __assign.apply(this, arguments);
|
|
4434
|
-
};
|
|
4435
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4436
|
-
exports.BoolVar = void 0;
|
|
4437
|
-
var invalidValueMessage = "Value did not match a valid boolean format!";
|
|
4438
|
-
var trueValues = /* @__PURE__ */ new Set(["true", "t", "1", "yes", "y", "on"]);
|
|
4439
|
-
var falseValues = /* @__PURE__ */ new Set(["false", "f", "0", "no", "n", "off"]);
|
|
4440
|
-
var parser = function(value) {
|
|
4441
|
-
var norm = value.toLowerCase();
|
|
4442
|
-
if (trueValues.has(norm))
|
|
4443
|
-
return true;
|
|
4444
|
-
if (falseValues.has(norm))
|
|
4445
|
-
return false;
|
|
4446
|
-
throw new Error(invalidValueMessage);
|
|
4447
|
-
};
|
|
4448
|
-
function BoolVar2(props) {
|
|
4449
|
-
if (props === void 0) {
|
|
4450
|
-
props = {};
|
|
4451
|
-
}
|
|
4452
|
-
return __assign({ parser }, props);
|
|
4453
|
-
}
|
|
4454
|
-
exports.BoolVar = BoolVar2;
|
|
4455
|
-
}
|
|
4456
|
-
});
|
|
4457
|
-
|
|
4458
|
-
// ../../node_modules/@amccarthy1/typed-env/dist/cjs/date.js
|
|
4459
|
-
var require_date = __commonJS({
|
|
4460
|
-
"../../node_modules/@amccarthy1/typed-env/dist/cjs/date.js"(exports) {
|
|
4461
|
-
"use strict";
|
|
4462
|
-
init_cjs_shims();
|
|
4463
|
-
var __assign = exports && exports.__assign || function() {
|
|
4464
|
-
__assign = Object.assign || function(t) {
|
|
4465
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4466
|
-
s = arguments[i];
|
|
4467
|
-
for (var p in s)
|
|
4468
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4469
|
-
t[p] = s[p];
|
|
4470
|
-
}
|
|
4471
|
-
return t;
|
|
4472
|
-
};
|
|
4473
|
-
return __assign.apply(this, arguments);
|
|
4474
|
-
};
|
|
4475
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4476
|
-
exports.DateVar = void 0;
|
|
4477
|
-
function DateVar(props) {
|
|
4478
|
-
if (props === void 0) {
|
|
4479
|
-
props = {};
|
|
4480
|
-
}
|
|
4481
|
-
var parser = function(value) {
|
|
4482
|
-
var dateValue = new Date(value);
|
|
4483
|
-
if (dateValue.toString() === "Invalid Date") {
|
|
4484
|
-
throw new Error("Value did not match a valid date format!");
|
|
4485
|
-
}
|
|
4486
|
-
return dateValue;
|
|
4487
|
-
};
|
|
4488
|
-
return __assign({ parser }, props);
|
|
4489
|
-
}
|
|
4490
|
-
exports.DateVar = DateVar;
|
|
4491
|
-
}
|
|
4492
|
-
});
|
|
4493
|
-
|
|
4494
|
-
// ../../node_modules/@amccarthy1/typed-env/dist/cjs/enum.js
|
|
4495
|
-
var require_enum = __commonJS({
|
|
4496
|
-
"../../node_modules/@amccarthy1/typed-env/dist/cjs/enum.js"(exports) {
|
|
4497
|
-
"use strict";
|
|
4498
|
-
init_cjs_shims();
|
|
4499
|
-
var __assign = exports && exports.__assign || function() {
|
|
4500
|
-
__assign = Object.assign || function(t) {
|
|
4501
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4502
|
-
s = arguments[i];
|
|
4503
|
-
for (var p in s)
|
|
4504
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4505
|
-
t[p] = s[p];
|
|
4506
|
-
}
|
|
4507
|
-
return t;
|
|
4508
|
-
};
|
|
4509
|
-
return __assign.apply(this, arguments);
|
|
4510
|
-
};
|
|
4511
|
-
var __rest = exports && exports.__rest || function(s, e) {
|
|
4512
|
-
var t = {};
|
|
4513
|
-
for (var p in s)
|
|
4514
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4515
|
-
t[p] = s[p];
|
|
4516
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4517
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4518
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
4519
|
-
t[p[i]] = s[p[i]];
|
|
4520
|
-
}
|
|
4521
|
-
return t;
|
|
4522
|
-
};
|
|
4523
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4524
|
-
exports.EnumVar = void 0;
|
|
4525
|
-
function EnumVar(_a) {
|
|
4526
|
-
var options = _a.options, props = __rest(_a, ["options"]);
|
|
4527
|
-
var parser = function(value) {
|
|
4528
|
-
if (!options.includes(value))
|
|
4529
|
-
throw new Error("Value did not match one of ".concat(options));
|
|
4530
|
-
return value;
|
|
4531
|
-
};
|
|
4532
|
-
return __assign({ parser }, props);
|
|
4533
|
-
}
|
|
4534
|
-
exports.EnumVar = EnumVar;
|
|
4535
|
-
}
|
|
4536
|
-
});
|
|
4537
|
-
|
|
4538
|
-
// ../../node_modules/@amccarthy1/typed-env/dist/cjs/integer.js
|
|
4539
|
-
var require_integer = __commonJS({
|
|
4540
|
-
"../../node_modules/@amccarthy1/typed-env/dist/cjs/integer.js"(exports) {
|
|
4541
|
-
"use strict";
|
|
4542
|
-
init_cjs_shims();
|
|
4543
|
-
var __assign = exports && exports.__assign || function() {
|
|
4544
|
-
__assign = Object.assign || function(t) {
|
|
4545
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4546
|
-
s = arguments[i];
|
|
4547
|
-
for (var p in s)
|
|
4548
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4549
|
-
t[p] = s[p];
|
|
4550
|
-
}
|
|
4551
|
-
return t;
|
|
4552
|
-
};
|
|
4553
|
-
return __assign.apply(this, arguments);
|
|
4554
|
-
};
|
|
4555
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4556
|
-
exports.IntVar = void 0;
|
|
4557
|
-
var invalidIntMessage = "Value is not an integer!";
|
|
4558
|
-
function IntVar(props) {
|
|
4559
|
-
if (props === void 0) {
|
|
4560
|
-
props = {};
|
|
4561
|
-
}
|
|
4562
|
-
var parser = function(value) {
|
|
4563
|
-
if (value.trim() === "") {
|
|
4564
|
-
throw new Error(invalidIntMessage);
|
|
4565
|
-
}
|
|
4566
|
-
var numberValue = Number(value);
|
|
4567
|
-
if (!Number.isInteger(numberValue))
|
|
4568
|
-
throw new Error(invalidIntMessage);
|
|
4569
|
-
return numberValue;
|
|
4570
|
-
};
|
|
4571
|
-
return __assign({ parser }, props);
|
|
4572
|
-
}
|
|
4573
|
-
exports.IntVar = IntVar;
|
|
4574
|
-
}
|
|
4575
|
-
});
|
|
4576
|
-
|
|
4577
|
-
// ../../node_modules/@amccarthy1/typed-env/dist/cjs/string.js
|
|
4578
|
-
var require_string = __commonJS({
|
|
4579
|
-
"../../node_modules/@amccarthy1/typed-env/dist/cjs/string.js"(exports) {
|
|
4580
|
-
"use strict";
|
|
4581
|
-
init_cjs_shims();
|
|
4582
|
-
var __assign = exports && exports.__assign || function() {
|
|
4583
|
-
__assign = Object.assign || function(t) {
|
|
4584
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4585
|
-
s = arguments[i];
|
|
4586
|
-
for (var p in s)
|
|
4587
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4588
|
-
t[p] = s[p];
|
|
4589
|
-
}
|
|
4590
|
-
return t;
|
|
4591
|
-
};
|
|
4592
|
-
return __assign.apply(this, arguments);
|
|
4593
|
-
};
|
|
4594
|
-
var __rest = exports && exports.__rest || function(s, e) {
|
|
4595
|
-
var t = {};
|
|
4596
|
-
for (var p in s)
|
|
4597
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4598
|
-
t[p] = s[p];
|
|
4599
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4600
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4601
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
4602
|
-
t[p[i]] = s[p[i]];
|
|
4603
|
-
}
|
|
4604
|
-
return t;
|
|
4605
|
-
};
|
|
4606
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4607
|
-
exports.StringVar = void 0;
|
|
4608
|
-
function StringVar(_a) {
|
|
4609
|
-
if (_a === void 0) {
|
|
4610
|
-
_a = {};
|
|
4611
|
-
}
|
|
4612
|
-
var pattern = _a.pattern, props = __rest(_a, ["pattern"]);
|
|
4613
|
-
var parser = function(value) {
|
|
4614
|
-
if (pattern) {
|
|
4615
|
-
if (!pattern.exec(value))
|
|
4616
|
-
throw new Error("Did not match pattern ".concat(pattern));
|
|
4617
|
-
}
|
|
4618
|
-
return value;
|
|
4619
|
-
};
|
|
4620
|
-
return __assign({ parser }, props);
|
|
4621
|
-
}
|
|
4622
|
-
exports.StringVar = StringVar;
|
|
4623
|
-
}
|
|
4624
|
-
});
|
|
4625
|
-
|
|
4626
|
-
// ../../node_modules/@amccarthy1/typed-env/dist/cjs/env.js
|
|
4627
|
-
var require_env = __commonJS({
|
|
4628
|
-
"../../node_modules/@amccarthy1/typed-env/dist/cjs/env.js"(exports) {
|
|
4629
|
-
"use strict";
|
|
4630
|
-
init_cjs_shims();
|
|
4631
|
-
var __assign = exports && exports.__assign || function() {
|
|
4632
|
-
__assign = Object.assign || function(t) {
|
|
4633
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4634
|
-
s = arguments[i];
|
|
4635
|
-
for (var p in s)
|
|
4636
|
-
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
4637
|
-
t[p] = s[p];
|
|
4638
|
-
}
|
|
4639
|
-
return t;
|
|
4640
|
-
};
|
|
4641
|
-
return __assign.apply(this, arguments);
|
|
4642
|
-
};
|
|
4643
|
-
var __rest = exports && exports.__rest || function(s, e) {
|
|
4644
|
-
var t = {};
|
|
4645
|
-
for (var p in s)
|
|
4646
|
-
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4647
|
-
t[p] = s[p];
|
|
4648
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
4649
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
4650
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
4651
|
-
t[p[i]] = s[p[i]];
|
|
4652
|
-
}
|
|
4653
|
-
return t;
|
|
4654
|
-
};
|
|
4655
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4656
|
-
exports.TypedEnv = exports.nullable = exports.optional = void 0;
|
|
4657
|
-
var parseValue = function(_a, env) {
|
|
4658
|
-
var _b;
|
|
4659
|
-
var key = _a[0], declaration = _a[1];
|
|
4660
|
-
var envVarName = (_b = declaration.variable) !== null && _b !== void 0 ? _b : key;
|
|
4661
|
-
var envValue = env[envVarName];
|
|
4662
|
-
if (typeof envValue === "undefined") {
|
|
4663
|
-
if (!Object.prototype.hasOwnProperty.apply(declaration, ["defaultValue"])) {
|
|
4664
|
-
throw new Error("No value specified for ".concat(envVarName));
|
|
4665
|
-
}
|
|
4666
|
-
if (declaration.validator)
|
|
4667
|
-
declaration.validator(declaration.defaultValue);
|
|
4668
|
-
return [key, declaration.defaultValue];
|
|
4669
|
-
}
|
|
4670
|
-
try {
|
|
4671
|
-
var value = declaration.parser(envValue);
|
|
4672
|
-
if (declaration.validator)
|
|
4673
|
-
declaration.validator(value);
|
|
4674
|
-
return [key, value];
|
|
4675
|
-
} catch (error) {
|
|
4676
|
-
throw new Error("Error while parsing env var ".concat(envVarName, ": ").concat(error));
|
|
4677
|
-
}
|
|
4678
|
-
};
|
|
4679
|
-
function optional(_a) {
|
|
4680
|
-
var parser = _a.parser, defaultValue = _a.defaultValue, validator = _a.validator, others = __rest(_a, ["parser", "defaultValue", "validator"]);
|
|
4681
|
-
return __assign({ parser, defaultValue: defaultValue || void 0, validator: validator && function(value) {
|
|
4682
|
-
if (typeof value !== "undefined") {
|
|
4683
|
-
validator(value);
|
|
4684
|
-
}
|
|
4685
|
-
} }, others);
|
|
4686
|
-
}
|
|
4687
|
-
exports.optional = optional;
|
|
4688
|
-
function nullable(_a) {
|
|
4689
|
-
var parser = _a.parser, defaultValue = _a.defaultValue, validator = _a.validator, others = __rest(_a, ["parser", "defaultValue", "validator"]);
|
|
4690
|
-
return __assign({ parser, defaultValue: defaultValue || null, validator: validator && function(value) {
|
|
4691
|
-
if (value !== null) {
|
|
4692
|
-
validator(value);
|
|
4693
|
-
}
|
|
4694
|
-
} }, others);
|
|
4695
|
-
}
|
|
4696
|
-
exports.nullable = nullable;
|
|
4697
|
-
function TypedEnv2(schema, values) {
|
|
4698
|
-
var env = values !== null && values !== void 0 ? values : process.env;
|
|
4699
|
-
var result = Object.fromEntries(Object.entries(schema).map(function(_a) {
|
|
4700
|
-
var key = _a[0], declaration = _a[1];
|
|
4701
|
-
return parseValue([key, declaration], env);
|
|
4702
|
-
}));
|
|
4703
|
-
return result;
|
|
4704
|
-
}
|
|
4705
|
-
exports.TypedEnv = TypedEnv2;
|
|
4706
|
-
}
|
|
4707
|
-
});
|
|
4708
|
-
|
|
4709
|
-
// ../../node_modules/@amccarthy1/typed-env/dist/cjs/index.js
|
|
4710
|
-
var require_cjs2 = __commonJS({
|
|
4711
|
-
"../../node_modules/@amccarthy1/typed-env/dist/cjs/index.js"(exports) {
|
|
4712
|
-
"use strict";
|
|
4713
|
-
init_cjs_shims();
|
|
4714
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4715
|
-
exports.TypedEnv = exports.optional = exports.StringVar = exports.IntVar = exports.EnumVar = exports.DateVar = exports.BoolVar = void 0;
|
|
4716
|
-
var boolean_1 = require_boolean();
|
|
4717
|
-
Object.defineProperty(exports, "BoolVar", { enumerable: true, get: function() {
|
|
4718
|
-
return boolean_1.BoolVar;
|
|
4719
|
-
} });
|
|
4720
|
-
var date_1 = require_date();
|
|
4721
|
-
Object.defineProperty(exports, "DateVar", { enumerable: true, get: function() {
|
|
4722
|
-
return date_1.DateVar;
|
|
4723
|
-
} });
|
|
4724
|
-
var enum_1 = require_enum();
|
|
4725
|
-
Object.defineProperty(exports, "EnumVar", { enumerable: true, get: function() {
|
|
4726
|
-
return enum_1.EnumVar;
|
|
4727
|
-
} });
|
|
4728
|
-
var integer_1 = require_integer();
|
|
4729
|
-
Object.defineProperty(exports, "IntVar", { enumerable: true, get: function() {
|
|
4730
|
-
return integer_1.IntVar;
|
|
4731
|
-
} });
|
|
4732
|
-
var string_1 = require_string();
|
|
4733
|
-
Object.defineProperty(exports, "StringVar", { enumerable: true, get: function() {
|
|
4734
|
-
return string_1.StringVar;
|
|
4735
|
-
} });
|
|
4736
|
-
var env_1 = require_env();
|
|
4737
|
-
Object.defineProperty(exports, "optional", { enumerable: true, get: function() {
|
|
4738
|
-
return env_1.optional;
|
|
4739
|
-
} });
|
|
4740
|
-
Object.defineProperty(exports, "TypedEnv", { enumerable: true, get: function() {
|
|
4741
|
-
return env_1.TypedEnv;
|
|
4742
|
-
} });
|
|
4743
|
-
}
|
|
4744
|
-
});
|
|
4745
|
-
|
|
4746
4418
|
// ../../libs/zod-utils/src/index.ts
|
|
4747
4419
|
init_cjs_shims();
|
|
4748
4420
|
var import_zod_validation_error = __toESM(require_cjs(), 1);
|
|
@@ -4979,10 +4651,6 @@ init_cjs_shims();
|
|
|
4979
4651
|
|
|
4980
4652
|
// ../../libs/schema-validation/utils/consistencyValidation.ts
|
|
4981
4653
|
init_cjs_shims();
|
|
4982
|
-
var import_typed_env = __toESM(require_cjs2(), 1);
|
|
4983
|
-
var canSetTotalBalanceConsistency = () => (0, import_typed_env.TypedEnv)({
|
|
4984
|
-
ENABLE_TOTAL_BALANCE_CONSISTENCY: (0, import_typed_env.BoolVar)({ defaultValue: false })
|
|
4985
|
-
}).ENABLE_TOTAL_BALANCE_CONSISTENCY;
|
|
4986
4654
|
var validateAccountConsistencySettings = ({
|
|
4987
4655
|
lines,
|
|
4988
4656
|
ownBalanceUpdates,
|
|
@@ -4996,12 +4664,6 @@ var validateAccountConsistencySettings = ({
|
|
|
4996
4664
|
totalBalanceUpdates,
|
|
4997
4665
|
groups
|
|
4998
4666
|
});
|
|
4999
|
-
if (!canSetTotalBalanceConsistency() && totalBalanceUpdates) {
|
|
5000
|
-
errors.push({
|
|
5001
|
-
message: `Setting 'totalBalanceUpdates' is disallowed.`,
|
|
5002
|
-
path: ["totalBalanceUpdates"]
|
|
5003
|
-
});
|
|
5004
|
-
}
|
|
5005
4667
|
if (!validationResult.success) {
|
|
5006
4668
|
validationResult.error.errors.forEach((error) => {
|
|
5007
4669
|
errors.push({
|
|
@@ -6481,30 +6143,23 @@ var validateEntryConditions = (entryConditions, staticParameters, entryType, acc
|
|
|
6481
6143
|
);
|
|
6482
6144
|
});
|
|
6483
6145
|
if (condition?.[condType]?.totalBalance) {
|
|
6484
|
-
|
|
6485
|
-
errors.push(
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
),
|
|
6502
|
-
condition?.[condType]?.totalBalance?.[prop],
|
|
6503
|
-
["conditions", idx, condType, "totalBalance", prop]
|
|
6504
|
-
)
|
|
6505
|
-
);
|
|
6506
|
-
});
|
|
6507
|
-
}
|
|
6146
|
+
["gte", "lte", "eq"].forEach((prop) => {
|
|
6147
|
+
errors.push(
|
|
6148
|
+
...safeGetZodErrors(
|
|
6149
|
+
ParameterizedAmount({
|
|
6150
|
+
optional: true,
|
|
6151
|
+
errorMessage: `Invalid expression '${condition?.[condType]?.totalBalance?.[prop]}' provided to condition ${condType}.totalBalance.${prop} (entry: ${entryType})`
|
|
6152
|
+
}).refine(
|
|
6153
|
+
(str) => typeof str === "string" ? str.length > 0 : true,
|
|
6154
|
+
{
|
|
6155
|
+
message: `Invalid expression '${condition?.[condType]?.totalBalance?.[prop]}' provided to condition ${condType}.totalBalance.${prop} (entry: ${entryType}).`
|
|
6156
|
+
}
|
|
6157
|
+
),
|
|
6158
|
+
condition?.[condType]?.totalBalance?.[prop],
|
|
6159
|
+
["conditions", idx, condType, "totalBalance", prop]
|
|
6160
|
+
)
|
|
6161
|
+
);
|
|
6162
|
+
});
|
|
6508
6163
|
}
|
|
6509
6164
|
});
|
|
6510
6165
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenGraphQL
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RF55JY42.js";
|
|
4
4
|
import "../chunk-IID3EAD2.js";
|
|
5
5
|
import "../chunk-ODU6I44Y.js";
|
|
6
6
|
import "../chunk-73ZTML2E.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-ZKVROPAJ.js";
|
|
8
8
|
import "../chunk-SZXF2QTY.js";
|
|
9
9
|
import "../chunk-5BKPV3GD.js";
|
|
10
10
|
import "../chunk-KTCLACRS.js";
|
package/dist/commands/login.js
CHANGED
package/dist/commands/update.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VerifySchema
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-WN5GVMAT.js";
|
|
4
|
+
import "../chunk-IHXDHPBS.js";
|
|
5
5
|
import "../chunk-A4BSWX5D.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-ZKVROPAJ.js";
|
|
7
7
|
import "../chunk-SZXF2QTY.js";
|
|
8
8
|
import "../chunk-5BKPV3GD.js";
|
|
9
9
|
import "../chunk-KTCLACRS.js";
|
package/dist/commands.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMANDS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GQNGI6XP.js";
|
|
4
4
|
import "./chunk-XTMYKL3N.js";
|
|
5
5
|
import "./chunk-T3TNAOFS.js";
|
|
6
6
|
import "./chunk-R7QCNENW.js";
|
|
7
7
|
import "./chunk-G3K3FJ7S.js";
|
|
8
8
|
import "./chunk-EXS5ZS4O.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-B2X23D4V.js";
|
|
10
|
+
import "./chunk-WN5GVMAT.js";
|
|
11
|
+
import "./chunk-IHXDHPBS.js";
|
|
12
12
|
import "./chunk-A4BSWX5D.js";
|
|
13
13
|
import "./chunk-NCIRJV5V.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-ZHN6GI65.js";
|
|
15
15
|
import "./chunk-GGCDYQIW.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JZRLBES4.js";
|
|
17
|
+
import "./chunk-FYI24ALS.js";
|
|
18
18
|
import "./chunk-OBJHIIXG.js";
|
|
19
19
|
import "./chunk-WYGN3U5V.js";
|
|
20
20
|
import "./chunk-EJ2G2JEJ.js";
|
|
@@ -28,11 +28,11 @@ import "./chunk-GBHTHL6T.js";
|
|
|
28
28
|
import "./chunk-SJKYZPKQ.js";
|
|
29
29
|
import "./chunk-SHTFFJEV.js";
|
|
30
30
|
import "./chunk-7N2Q46HP.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-RF55JY42.js";
|
|
32
32
|
import "./chunk-IID3EAD2.js";
|
|
33
33
|
import "./chunk-ODU6I44Y.js";
|
|
34
34
|
import "./chunk-73ZTML2E.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-ZKVROPAJ.js";
|
|
36
36
|
import "./chunk-SZXF2QTY.js";
|
|
37
37
|
import "./chunk-5BKPV3GD.js";
|
|
38
38
|
import "./chunk-KTCLACRS.js";
|
package/dist/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMANDS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GQNGI6XP.js";
|
|
4
4
|
import "./chunk-XTMYKL3N.js";
|
|
5
5
|
import "./chunk-T3TNAOFS.js";
|
|
6
6
|
import "./chunk-R7QCNENW.js";
|
|
7
7
|
import "./chunk-G3K3FJ7S.js";
|
|
8
8
|
import "./chunk-EXS5ZS4O.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-B2X23D4V.js";
|
|
10
|
+
import "./chunk-WN5GVMAT.js";
|
|
11
|
+
import "./chunk-IHXDHPBS.js";
|
|
12
12
|
import "./chunk-A4BSWX5D.js";
|
|
13
13
|
import "./chunk-NCIRJV5V.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-ZHN6GI65.js";
|
|
15
15
|
import "./chunk-GGCDYQIW.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-JZRLBES4.js";
|
|
17
|
+
import "./chunk-FYI24ALS.js";
|
|
18
18
|
import "./chunk-OBJHIIXG.js";
|
|
19
19
|
import "./chunk-WYGN3U5V.js";
|
|
20
20
|
import "./chunk-EJ2G2JEJ.js";
|
|
@@ -28,11 +28,11 @@ import "./chunk-GBHTHL6T.js";
|
|
|
28
28
|
import "./chunk-SJKYZPKQ.js";
|
|
29
29
|
import "./chunk-SHTFFJEV.js";
|
|
30
30
|
import "./chunk-7N2Q46HP.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-RF55JY42.js";
|
|
32
32
|
import "./chunk-IID3EAD2.js";
|
|
33
33
|
import "./chunk-ODU6I44Y.js";
|
|
34
34
|
import "./chunk-73ZTML2E.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-ZKVROPAJ.js";
|
|
36
36
|
import "./chunk-SZXF2QTY.js";
|
|
37
37
|
import "./chunk-5BKPV3GD.js";
|
|
38
38
|
import "./chunk-KTCLACRS.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
extractSchemaMetadata,
|
|
4
4
|
isJsonParseError,
|
|
5
5
|
validateSchemaStructure
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-IHXDHPBS.js";
|
|
7
|
+
import "../chunk-ZKVROPAJ.js";
|
|
8
8
|
import "../chunk-SZXF2QTY.js";
|
|
9
9
|
import "../chunk-5BKPV3GD.js";
|
|
10
10
|
import "../chunk-KTCLACRS.js";
|
package/oclif.manifest.json
CHANGED