@fragment-dev/cli 2025.12.10 → 2025.12.12

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.
@@ -4415,6 +4415,334 @@ 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
+
4418
4746
  // ../../libs/zod-utils/src/index.ts
4419
4747
  init_cjs_shims();
4420
4748
  var import_zod_validation_error = __toESM(require_cjs(), 1);
@@ -4506,6 +4834,7 @@ var GroupConsistencyConfig = z.object({
4506
4834
  var AccountConsistencyConfigSchema = z.object({
4507
4835
  lines: z.optional(ConsistencyModeSchema),
4508
4836
  ownBalanceUpdates: z.optional(ConsistencyModeSchema),
4837
+ totalBalanceUpdates: z.optional(ConsistencyModeSchema),
4509
4838
  groups: z.optional(z.array(GroupConsistencyConfig))
4510
4839
  });
4511
4840
  var SchemaCurrencyMatchInput = z.object({
@@ -4556,6 +4885,11 @@ var SchemaCondition = z.object({
4556
4885
  eq: z.string().optional(),
4557
4886
  lte: z.string().optional(),
4558
4887
  gte: z.string().optional()
4888
+ }).optional(),
4889
+ totalBalance: z.object({
4890
+ eq: z.string().optional(),
4891
+ lte: z.string().optional(),
4892
+ gte: z.string().optional()
4559
4893
  }).optional()
4560
4894
  });
4561
4895
  var BaseSchemaLedgerEntryConditionInput = z.object({
@@ -4645,17 +4979,29 @@ init_cjs_shims();
4645
4979
 
4646
4980
  // ../../libs/schema-validation/utils/consistencyValidation.ts
4647
4981
  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;
4648
4986
  var validateAccountConsistencySettings = ({
4649
4987
  lines,
4650
4988
  ownBalanceUpdates,
4989
+ totalBalanceUpdates,
4651
4990
  groups
4652
4991
  }) => {
4653
4992
  const errors = [];
4654
4993
  const validationResult = AccountConsistencyConfigSchema.safeParse({
4655
4994
  lines,
4656
4995
  ownBalanceUpdates,
4996
+ totalBalanceUpdates,
4657
4997
  groups
4658
4998
  });
4999
+ if (!canSetTotalBalanceConsistency() && totalBalanceUpdates) {
5000
+ errors.push({
5001
+ message: `Setting 'totalBalanceUpdates' is disallowed.`,
5002
+ path: ["totalBalanceUpdates"]
5003
+ });
5004
+ }
4659
5005
  if (!validationResult.success) {
4660
5006
  validationResult.error.errors.forEach((error) => {
4661
5007
  errors.push({
@@ -4984,7 +5330,10 @@ var fillInDefaultsAndInferMetadata = ({
4984
5330
  const defaultCurrencyMode = defaultCurrencyModeInput ?? "single";
4985
5331
  const defaultConsistencyConfig = {
4986
5332
  lines: defaultConsistencyConfigInput?.lines ?? "eventual",
4987
- ownBalanceUpdates: defaultConsistencyConfigInput?.ownBalanceUpdates ?? "eventual"
5333
+ ownBalanceUpdates: defaultConsistencyConfigInput?.ownBalanceUpdates ?? "eventual",
5334
+ // TODO(FRA-6306): Make totalBalanceUpdates required and set a default
5335
+ // totalBalanceUpdates: defaultConsistencyConfigInput?.totalBalanceUpdates ?? 'eventual',
5336
+ totalBalanceUpdates: defaultConsistencyConfigInput?.totalBalanceUpdates
4988
5337
  };
4989
5338
  const inferAccountMetadata = ({
4990
5339
  account,
@@ -5008,6 +5357,7 @@ var fillInDefaultsAndInferMetadata = ({
5008
5357
  const partialConsistencyConfig = account.consistencyConfig ?? {};
5009
5358
  const newConsistencyConfig = {
5010
5359
  ownBalanceUpdates: partialConsistencyConfig.ownBalanceUpdates ?? fallbackDefaultConsistencyMode.ownBalanceUpdates,
5360
+ totalBalanceUpdates: partialConsistencyConfig.totalBalanceUpdates ?? fallbackDefaultConsistencyMode.totalBalanceUpdates,
5011
5361
  lines: partialConsistencyConfig.lines ?? fallbackDefaultConsistencyMode.lines,
5012
5362
  groups: partialConsistencyConfig.groups ?? fallbackDefaultConsistencyMode.groups
5013
5363
  };
@@ -5145,7 +5495,10 @@ var transformAndValidateCoA = ({
5145
5495
  const coaConsistencyConfig = coa.defaultConsistencyConfig ?? {};
5146
5496
  const defaultConsistencyConfig = {
5147
5497
  ownBalanceUpdates: coaConsistencyConfig.ownBalanceUpdates ?? "eventual",
5148
- lines: coaConsistencyConfig.lines ?? "eventual"
5498
+ lines: coaConsistencyConfig.lines ?? "eventual",
5499
+ // TODO(FRA-6306): Make totalBalanceUpdates required and set a default
5500
+ // totalBalanceUpdates: coaConsistencyConfig.totalBalanceUpdates ?? 'eventual',
5501
+ totalBalanceUpdates: coaConsistencyConfig.totalBalanceUpdates
5149
5502
  };
5150
5503
  const { errors: accountErrors, filledIn } = transformAndValidateAccounts({
5151
5504
  defaultConsistencyConfig,
@@ -6127,6 +6480,32 @@ var validateEntryConditions = (entryConditions, staticParameters, entryType, acc
6127
6480
  )
6128
6481
  );
6129
6482
  });
6483
+ if (condition?.[condType]?.totalBalance) {
6484
+ if (!canSetTotalBalanceConsistency()) {
6485
+ errors.push({
6486
+ path: ["conditions", idx, condType, "totalBalance"],
6487
+ message: `Setting 'totalBalance' conditions is disallowed. Error occurred at (entry: ${entryType})`
6488
+ });
6489
+ } else {
6490
+ ["gte", "lte", "eq"].forEach((prop) => {
6491
+ errors.push(
6492
+ ...safeGetZodErrors(
6493
+ ParameterizedAmount({
6494
+ optional: true,
6495
+ errorMessage: `Invalid expression '${condition?.[condType]?.totalBalance?.[prop]}' provided to condition ${condType}.totalBalance.${prop} (entry: ${entryType})`
6496
+ }).refine(
6497
+ (str) => typeof str === "string" ? str.length > 0 : true,
6498
+ {
6499
+ message: `Invalid expression '${condition?.[condType]?.totalBalance?.[prop]}' provided to condition ${condType}.totalBalance.${prop} (entry: ${entryType}).`
6500
+ }
6501
+ ),
6502
+ condition?.[condType]?.totalBalance?.[prop],
6503
+ ["conditions", idx, condType, "totalBalance", prop]
6504
+ )
6505
+ );
6506
+ });
6507
+ }
6508
+ }
6130
6509
  });
6131
6510
  });
6132
6511
  return errors;
@@ -6805,7 +7184,8 @@ var SchemaInt96ConditionInput = z.object({
6805
7184
  gte: ParameterizedString.optional()
6806
7185
  });
6807
7186
  var SchemaConditionInput = z.object({
6808
- ownBalance: SchemaInt96ConditionInput.optional()
7187
+ ownBalance: SchemaInt96ConditionInput.optional(),
7188
+ totalBalance: SchemaInt96ConditionInput.optional()
6809
7189
  });
6810
7190
  var SchemaLedgerEntryConditionInput = z.object({
6811
7191
  account: z.object({
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  Schema,
9
9
  parseWithError
10
- } from "./chunk-NU3YK2Y7.js";
10
+ } from "./chunk-23GA7SWI.js";
11
11
  import {
12
12
  formatValidationErrors,
13
13
  logValidationErrors
@@ -18,7 +18,7 @@ import {
18
18
  } from "./chunk-HDSQSGJZ.js";
19
19
  import {
20
20
  VerifySchema
21
- } from "./chunk-5UCVIAYX.js";
21
+ } from "./chunk-UWZOOSXG.js";
22
22
  import {
23
23
  Workspace
24
24
  } from "./chunk-NCIRJV5V.js";
@@ -66,7 +66,7 @@ import {
66
66
  } from "./chunk-SJKYZPKQ.js";
67
67
  import {
68
68
  GenGraphQL
69
- } from "./chunk-G5J4QE4W.js";
69
+ } from "./chunk-BHKDLH3S.js";
70
70
  import {
71
71
  init_cjs_shims
72
72
  } from "./chunk-7GH3YGSC.js";
@@ -2,7 +2,7 @@ import {
2
2
  extractSchemaMetadata,
3
3
  isJsonParseError,
4
4
  validateSchemaStructure
5
- } from "./chunk-3Y3YHT3P.js";
5
+ } from "./chunk-Y5NKOPGQ.js";
6
6
  import {
7
7
  DEFAULT_SCHEMA_PATH
8
8
  } from "./chunk-A4BSWX5D.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Schema,
3
3
  parseWithError
4
- } from "./chunk-NU3YK2Y7.js";
4
+ } from "./chunk-23GA7SWI.js";
5
5
  import {
6
6
  formatValidationErrors
7
7
  } from "./chunk-SZXF2QTY.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  GenGraphQL
3
- } from "../chunk-G5J4QE4W.js";
3
+ } from "../chunk-BHKDLH3S.js";
4
4
  import "../chunk-IID3EAD2.js";
5
5
  import "../chunk-ODU6I44Y.js";
6
6
  import "../chunk-73ZTML2E.js";
7
- import "../chunk-NU3YK2Y7.js";
7
+ import "../chunk-23GA7SWI.js";
8
8
  import "../chunk-SZXF2QTY.js";
9
9
  import "../chunk-5BKPV3GD.js";
10
10
  import "../chunk-KTCLACRS.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VerifySchema
3
- } from "../chunk-5UCVIAYX.js";
4
- import "../chunk-3Y3YHT3P.js";
3
+ } from "../chunk-UWZOOSXG.js";
4
+ import "../chunk-Y5NKOPGQ.js";
5
5
  import "../chunk-A4BSWX5D.js";
6
- import "../chunk-NU3YK2Y7.js";
6
+ import "../chunk-23GA7SWI.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,14 +1,14 @@
1
1
  import {
2
2
  COMMANDS
3
- } from "./chunk-FZZ7OBKS.js";
3
+ } from "./chunk-MCDP3VCZ.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
9
  import "./chunk-HDSQSGJZ.js";
10
- import "./chunk-5UCVIAYX.js";
11
- import "./chunk-3Y3YHT3P.js";
10
+ import "./chunk-UWZOOSXG.js";
11
+ import "./chunk-Y5NKOPGQ.js";
12
12
  import "./chunk-A4BSWX5D.js";
13
13
  import "./chunk-NCIRJV5V.js";
14
14
  import "./chunk-ZXWT4UIL.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-G5J4QE4W.js";
31
+ import "./chunk-BHKDLH3S.js";
32
32
  import "./chunk-IID3EAD2.js";
33
33
  import "./chunk-ODU6I44Y.js";
34
34
  import "./chunk-73ZTML2E.js";
35
- import "./chunk-NU3YK2Y7.js";
35
+ import "./chunk-23GA7SWI.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,14 +1,14 @@
1
1
  import {
2
2
  COMMANDS
3
- } from "./chunk-FZZ7OBKS.js";
3
+ } from "./chunk-MCDP3VCZ.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
9
  import "./chunk-HDSQSGJZ.js";
10
- import "./chunk-5UCVIAYX.js";
11
- import "./chunk-3Y3YHT3P.js";
10
+ import "./chunk-UWZOOSXG.js";
11
+ import "./chunk-Y5NKOPGQ.js";
12
12
  import "./chunk-A4BSWX5D.js";
13
13
  import "./chunk-NCIRJV5V.js";
14
14
  import "./chunk-ZXWT4UIL.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-G5J4QE4W.js";
31
+ import "./chunk-BHKDLH3S.js";
32
32
  import "./chunk-IID3EAD2.js";
33
33
  import "./chunk-ODU6I44Y.js";
34
34
  import "./chunk-73ZTML2E.js";
35
- import "./chunk-NU3YK2Y7.js";
35
+ import "./chunk-23GA7SWI.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-3Y3YHT3P.js";
7
- import "../chunk-NU3YK2Y7.js";
6
+ } from "../chunk-Y5NKOPGQ.js";
7
+ import "../chunk-23GA7SWI.js";
8
8
  import "../chunk-SZXF2QTY.js";
9
9
  import "../chunk-5BKPV3GD.js";
10
10
  import "../chunk-KTCLACRS.js";
@@ -973,5 +973,5 @@
973
973
  "help": "Generate GraphQL queries from your Schema for your SDK."
974
974
  }
975
975
  },
976
- "version": "2025.12.10"
976
+ "version": "2025.12.12"
977
977
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fragment-dev/cli",
3
- "version": "2025.12.10",
3
+ "version": "2025.12.12",
4
4
  "description": "FRAGMENT CLI",
5
5
  "author": "hello@fragment.dev",
6
6
  "bin": {