@fragment-dev/cli 2026.9.10-13 → 2026.9.10-2

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.
@@ -1,31 +1,17 @@
1
1
  import {
2
- AccountConsistencyConfigSchema,
3
- BaseChartOfAccounts,
4
- ConsistencyConfigSchema,
5
- PaymentEventKey,
6
- PaymentEventKeySchema,
7
- PaymentTypeDirection,
8
- PaymentTypeDirectionSchema,
9
- PostLinesAsSchema,
10
- SYSTEM_LINE_AMOUNT,
11
- SYSTEM_PARAMETER_NAMES,
12
- SchemaEntryGroup,
13
- SchemaLedgerEntityStatusSchema,
14
- SchemaPaymentTypeStatusSchema,
15
- SchemaTxMatchInput,
16
- SystemLineKind,
17
- SystemLineKindSchema,
18
2
  fillParams,
19
3
  getInstanceValueByAccountPath,
20
4
  getSchemaObjectParameters,
21
5
  getStructuralPath,
22
6
  getStructuralSubpaths,
23
7
  getSubpaths
24
- } from "./chunk-MHYCVJGZ.js";
8
+ } from "./chunk-NE5UNTYB.js";
25
9
  import {
26
10
  BadRequestError,
27
11
  CurrencyMatchInputSchema,
12
+ CurrencyModeSchema,
28
13
  InternalError,
14
+ LedgerAccountTypeSchema,
29
15
  MAX_FREEFORM_TEXT_LENGTH,
30
16
  ParameterizedAmount,
31
17
  ParameterizedString,
@@ -37,7 +23,7 @@ import {
37
23
  mapValues_default,
38
24
  safe,
39
25
  z
40
- } from "./chunk-N2R7NRAP.js";
26
+ } from "./chunk-65EVYD2Y.js";
41
27
  import {
42
28
  __commonJS,
43
29
  __toESM,
@@ -4480,6 +4466,297 @@ var safeGetZodErrors = (schema, value, pathPrefix) => {
4480
4466
  // ../../libs/schema-validation/types.ts
4481
4467
  init_cjs_shims();
4482
4468
 
4469
+ // ../../libs/types/schemas.ts
4470
+ init_cjs_shims();
4471
+
4472
+ // ../../libs/types/tx.ts
4473
+ init_cjs_shims();
4474
+ var SchemaTxMatchInput = z.object({
4475
+ id: z.optional(ParameterizedString),
4476
+ externalId: z.optional(ParameterizedString)
4477
+ });
4478
+ var txTypes = ["credit", "debit"];
4479
+ var TxTypeSchema = z.enum(txTypes);
4480
+
4481
+ // ../../libs/types/schemas.ts
4482
+ var LedgerMigrationStatusSchema = z.enum([
4483
+ "queued",
4484
+ "started",
4485
+ "failed",
4486
+ "completed",
4487
+ "skipped"
4488
+ ]);
4489
+ var SafeRecordKey = z.string().refine((v2) => v2 !== "__proto__", "invalid parameter name");
4490
+ var ParametersSchema = z.record(
4491
+ SafeRecordKey,
4492
+ z.string({
4493
+ invalid_type_error: "Invalid parameter type. All parameters must be string-encoded values."
4494
+ })
4495
+ );
4496
+ var EntryParametersSchema = z.record(
4497
+ SafeRecordKey,
4498
+ z.union([
4499
+ z.string({
4500
+ invalid_type_error: "Invalid parameter type. Parameters must be string-encoded values or arrays of objects with string values."
4501
+ }),
4502
+ z.array(z.record(SafeRecordKey, z.string()))
4503
+ ])
4504
+ );
4505
+ var ConsistencyModeSchema = z.enum(["strong", "eventual"]);
4506
+ var ConsistencyConfigSchema = (keys, extra) => {
4507
+ const v2 = z.optional(ConsistencyModeSchema);
4508
+ const schemaObject = Object.fromEntries(
4509
+ keys.map((key) => [key, v2])
4510
+ );
4511
+ return z.object({ ...extra, ...schemaObject });
4512
+ };
4513
+ var GroupConsistencyConfig = z.object({
4514
+ key: SafeStringSchema,
4515
+ ownBalanceUpdates: ConsistencyModeSchema
4516
+ });
4517
+ var AccountConsistencyConfigSchema = z.object({
4518
+ lines: z.optional(ConsistencyModeSchema),
4519
+ ownBalanceUpdates: z.optional(ConsistencyModeSchema),
4520
+ totalBalanceUpdates: z.optional(ConsistencyModeSchema),
4521
+ groups: z.optional(z.array(GroupConsistencyConfig))
4522
+ });
4523
+ var SchemaCurrencyMatchInput = z.object({
4524
+ customCurrencyId: z.string().optional(),
4525
+ code: z.string()
4526
+ });
4527
+ var SchemaLinkTypeList = [
4528
+ "IncreaseLink",
4529
+ "UnitLink",
4530
+ "CustomLink",
4531
+ "StripeLink"
4532
+ ];
4533
+ var SchemaLinkType = z.enum(SchemaLinkTypeList);
4534
+ var SchemaExternalAccountMatchInput = z.object({
4535
+ linkType: SchemaLinkType.optional(),
4536
+ id: z.string().optional(),
4537
+ externalId: z.string().optional(),
4538
+ linkId: z.string().optional()
4539
+ });
4540
+ var SchemaPaymentInput = z.object({
4541
+ enabled: z.boolean()
4542
+ });
4543
+ var SchemaLedgerEntityStatusSchema = z.enum([
4544
+ "active",
4545
+ "disabled",
4546
+ "archived"
4547
+ ]);
4548
+ var BaseSchemaLedgerAccountInput = z.lazy(
4549
+ () => z.object({
4550
+ key: z.string(),
4551
+ name: z.string().optional(),
4552
+ type: LedgerAccountTypeSchema.optional(),
4553
+ currency: SchemaCurrencyMatchInput.optional(),
4554
+ currencyMode: CurrencyModeSchema.optional(),
4555
+ template: z.boolean().optional(),
4556
+ clearing: z.boolean().optional(),
4557
+ children: z.array(BaseSchemaLedgerAccountInput).optional(),
4558
+ linkedAccount: SchemaExternalAccountMatchInput.optional(),
4559
+ payment: SchemaPaymentInput.optional(),
4560
+ consistencyConfig: AccountConsistencyConfigSchema.optional(),
4561
+ status: SchemaLedgerEntityStatusSchema.optional()
4562
+ })
4563
+ );
4564
+ var BaseChartOfAccounts = z.object({
4565
+ defaultConsistencyConfig: AccountConsistencyConfigSchema.optional(),
4566
+ defaultCurrency: z.optional(CurrencyMatchInputSchema),
4567
+ defaultCurrencyMode: CurrencyModeSchema.optional(),
4568
+ accounts: z.array(BaseSchemaLedgerAccountInput)
4569
+ });
4570
+ var SchemaCondition = z.object({
4571
+ ownBalance: z.object({
4572
+ eq: z.string().optional(),
4573
+ lte: z.string().optional(),
4574
+ gte: z.string().optional()
4575
+ }).optional(),
4576
+ totalBalance: z.object({
4577
+ eq: z.string().optional(),
4578
+ lte: z.string().optional(),
4579
+ gte: z.string().optional()
4580
+ }).optional()
4581
+ });
4582
+ var PostLinesAsSchema = z.enum([
4583
+ "raw_lines",
4584
+ "net_amounts",
4585
+ "skip_zero_lines"
4586
+ ]);
4587
+ var BaseSchemaLedgerEntryConditionInput = z.object({
4588
+ account: z.object({ path: z.string() }).optional(),
4589
+ postcondition: SchemaCondition.optional(),
4590
+ precondition: SchemaCondition.optional(),
4591
+ currency: SchemaCurrencyMatchInput.optional(),
4592
+ repeated: z.object({
4593
+ key: SafeStringSchema.refine((k2) => k2.trim().length >= 1, {
4594
+ message: "repeated.key cannot be empty"
4595
+ })
4596
+ }).optional()
4597
+ });
4598
+ var BaseSchemaLedgerLineTagInput = z.object({
4599
+ key: z.string(),
4600
+ value: z.string()
4601
+ });
4602
+ var BaseSchemaLedgerEntryLineInput = z.object({
4603
+ account: z.object({ path: z.string() }).optional(),
4604
+ amount: z.string().optional(),
4605
+ key: z.string(),
4606
+ currency: SchemaCurrencyMatchInput.optional(),
4607
+ description: z.string().optional(),
4608
+ tx: SchemaTxMatchInput.optional(),
4609
+ tags: z.array(BaseSchemaLedgerLineTagInput).optional(),
4610
+ repeated: z.object({
4611
+ key: SafeStringSchema.refine((k2) => k2.trim().length >= 1, {
4612
+ message: "repeated.key cannot be empty"
4613
+ })
4614
+ }).optional()
4615
+ });
4616
+ var BaseSchemaLedgerEntryInput = z.object({
4617
+ type: z.string(),
4618
+ typeVersion: z.number().int().optional(),
4619
+ description: z.string().optional(),
4620
+ conditions: z.array(BaseSchemaLedgerEntryConditionInput).optional(),
4621
+ lines: z.array(BaseSchemaLedgerEntryLineInput).optional(),
4622
+ parameters: z.record(SafeRecordKey, z.string()).optional(),
4623
+ tags: z.array(
4624
+ z.object({
4625
+ key: z.string(),
4626
+ value: z.string()
4627
+ })
4628
+ ).optional(),
4629
+ groups: z.array(
4630
+ z.object({
4631
+ key: SafeStringSchema,
4632
+ value: z.string()
4633
+ })
4634
+ ).optional(),
4635
+ status: SchemaLedgerEntityStatusSchema.optional(),
4636
+ postLinesAs: PostLinesAsSchema.optional()
4637
+ });
4638
+ var BaseLedgerEntries = z.object({
4639
+ types: z.array(BaseSchemaLedgerEntryInput)
4640
+ });
4641
+ var PaymentEventKey = {
4642
+ /** Exit from the payer not yet having supplied a payment method at checkout. */
4643
+ needs_payment_method_to_processing: "needs_payment_method_to_processing",
4644
+ processing_to_settled: "processing_to_settled"
4645
+ };
4646
+ var PaymentEventKeySchema = z.nativeEnum(PaymentEventKey);
4647
+ var PaymentTypeDirection = {
4648
+ payin: "payin",
4649
+ payout: "payout"
4650
+ };
4651
+ var PaymentTypeDirectionSchema = z.nativeEnum(PaymentTypeDirection);
4652
+ var SystemLineKind = {
4653
+ payment_settlement_line: "payment_settlement_line",
4654
+ payment_fee_line: "payment_fee_line"
4655
+ };
4656
+ var SystemLineKindSchema = z.nativeEnum(SystemLineKind);
4657
+ var SystemLineParameterName = {
4658
+ payment_settlement_line: "settled_amount",
4659
+ payment_fee_line: "fragment_fee_amount"
4660
+ };
4661
+ var SYSTEM_LINE_AMOUNT = {
4662
+ [SystemLineKind.payment_settlement_line]: `{{${SystemLineParameterName.payment_settlement_line}}}`,
4663
+ [SystemLineKind.payment_fee_line]: `-{{${SystemLineParameterName.payment_fee_line}}}`
4664
+ };
4665
+ var SYSTEM_PARAMETER_NAMES = new Set(
4666
+ Object.values(SystemLineParameterName)
4667
+ );
4668
+ var BaseSchemaPaymentInput = z.object({
4669
+ amount: z.string(),
4670
+ direction: PaymentTypeDirectionSchema
4671
+ });
4672
+ var BaseSchemaPaymentEntryLineInput = BaseSchemaLedgerEntryLineInput.pick({
4673
+ key: true,
4674
+ currency: true,
4675
+ description: true
4676
+ }).extend({
4677
+ account: z.object({ path: z.string() }),
4678
+ amount: z.string(),
4679
+ system: SystemLineKindSchema.optional()
4680
+ });
4681
+ var BaseSchemaPaymentEntryInput = z.object({
4682
+ description: z.string().optional(),
4683
+ lines: z.array(BaseSchemaPaymentEntryLineInput)
4684
+ });
4685
+ var SchemaPaymentTypeStatusSchema = z.enum(["active"]);
4686
+ var BaseSchemaPaymentTypeInput = z.object({
4687
+ type: z.string(),
4688
+ typeVersion: z.number().int(),
4689
+ status: SchemaPaymentTypeStatusSchema,
4690
+ payment: BaseSchemaPaymentInput,
4691
+ accounting: z.object({
4692
+ needs_payment_method_to_processing: BaseSchemaPaymentEntryInput.optional(),
4693
+ processing_to_settled: BaseSchemaPaymentEntryInput
4694
+ })
4695
+ });
4696
+ var BaseSchemaPayments = z.object({
4697
+ types: z.array(BaseSchemaPaymentTypeInput)
4698
+ });
4699
+ var SceneEntrySchema = z.object({
4700
+ type: z.string(),
4701
+ typeVersion: z.number().int().positive().optional(),
4702
+ parameters: z.record(SafeRecordKey, z.string())
4703
+ });
4704
+ var ScenePaymentSchema = z.object({
4705
+ ik: z.string(),
4706
+ type: z.string(),
4707
+ typeVersion: z.number().int().positive().optional(),
4708
+ parameters: z.record(SafeRecordKey, z.string())
4709
+ });
4710
+ var SceneLedgerEventSchema = z.object({
4711
+ eventType: z.literal("entry"),
4712
+ entry: SceneEntrySchema
4713
+ });
4714
+ var ScenePaymentEventSchema = z.object({
4715
+ eventType: z.literal("payment"),
4716
+ payment: z.object({
4717
+ ik: z.string(),
4718
+ event: PaymentEventKeySchema
4719
+ })
4720
+ });
4721
+ var SceneEventSchema = z.discriminatedUnion("eventType", [
4722
+ SceneLedgerEventSchema,
4723
+ ScenePaymentEventSchema
4724
+ ]);
4725
+ var BaseScene = z.object({
4726
+ name: z.string(),
4727
+ events: z.array(SceneEventSchema),
4728
+ payments: z.array(ScenePaymentSchema).optional()
4729
+ });
4730
+ var EntryKey = z.object({
4731
+ type: SafeStringSchema,
4732
+ typeVersion: z.number().int().positive()
4733
+ });
4734
+ var SchemaLedgerAccountMatchInput = z.object({
4735
+ path: ParameterizedString
4736
+ });
4737
+ var GroupReconciliationParameters = z.object({
4738
+ clearingAccountPath: SchemaLedgerAccountMatchInput
4739
+ });
4740
+ var SchemaEntryGroup = z.object({
4741
+ key: SafeStringSchema,
4742
+ description: z.string().optional(),
4743
+ reconciliation: GroupReconciliationParameters.optional()
4744
+ });
4745
+ var BaseSchema = z.object({
4746
+ name: z.string().optional(),
4747
+ key: z.string(),
4748
+ chartOfAccounts: BaseChartOfAccounts,
4749
+ ledgerEntries: BaseLedgerEntries.optional(),
4750
+ payments: BaseSchemaPayments.optional(),
4751
+ groups: z.array(SchemaEntryGroup).optional(),
4752
+ scenes: z.array(BaseScene).optional(),
4753
+ consistencyConfig: z.optional(
4754
+ z.object({
4755
+ entries: ConsistencyModeSchema.optional()
4756
+ })
4757
+ )
4758
+ });
4759
+
4483
4760
  // ../../libs/schema-validation/utils/transformers/coa.ts
4484
4761
  init_cjs_shims();
4485
4762
 
@@ -4597,7 +4874,7 @@ var validateDefaultCurrencySettings = ({
4597
4874
  message: `Default currency customCurrencyId cannot be parameterized`,
4598
4875
  path: ["defaultCurrency", "customCurrencyId"]
4599
4876
  });
4600
- } else if (!SchemaCurrencyMatchInput.safeParse(defaultCurrency).success) {
4877
+ } else if (!SchemaCurrencyMatchInput2.safeParse(defaultCurrency).success) {
4601
4878
  if (defaultCurrency.code === "CUSTOM" && !defaultCurrency.customCurrencyId) {
4602
4879
  errors.push({
4603
4880
  message: `Must provide custom currency ID for custom currency`,
@@ -4918,7 +5195,7 @@ var validateAccountCurrency = ({
4918
5195
  path: [...path, "currency"]
4919
5196
  });
4920
5197
  }
4921
- if (currency && !SchemaCurrencyMatchInput.safeParse(currency).success) {
5198
+ if (currency && !SchemaCurrencyMatchInput2.safeParse(currency).success) {
4922
5199
  if (currency.code === "CUSTOM" && !currency.customCurrencyId) {
4923
5200
  errors.push({
4924
5201
  message: `Must provide custom currency ID for custom currency (key: ${key}, name: ${name})`,
@@ -6231,7 +6508,7 @@ var validateLineCurrency = (currency, accountPath, accountPathToAccount, entryPa
6231
6508
  path: ["currency"]
6232
6509
  });
6233
6510
  }
6234
- if (currency && !SchemaCurrencyMatchInput.safeParse(currency).success) {
6511
+ if (currency && !SchemaCurrencyMatchInput2.safeParse(currency).success) {
6235
6512
  if (currency.code === "CUSTOM" && !currency.customCurrencyId) {
6236
6513
  validationResults.push({
6237
6514
  message: `Line must provide custom currency ID for custom currency (Line key: ${lineKey}, entry: ${entryType})`,
@@ -7595,7 +7872,7 @@ var transformAndValidatePayments = ({
7595
7872
  };
7596
7873
 
7597
7874
  // ../../libs/schema-validation/types.ts
7598
- var SchemaCurrencyMatchInput = z.object({
7875
+ var SchemaCurrencyMatchInput2 = z.object({
7599
7876
  customCurrencyId: ParameterizedString.optional(),
7600
7877
  code: ParameterizedString.refine(
7601
7878
  (str) => {
@@ -7676,7 +7953,7 @@ var SchemaLedgerLineInput = z.object({
7676
7953
  }),
7677
7954
  amount: ParameterizedAmount().optional(),
7678
7955
  key: SafeStringSchema,
7679
- currency: z.optional(SchemaCurrencyMatchInput),
7956
+ currency: z.optional(SchemaCurrencyMatchInput2),
7680
7957
  description: ParameterizedString.optional(),
7681
7958
  tx: SchemaTxMatchInput.optional(),
7682
7959
  tags: z.array(SchemaLedgerLineTagInput).optional(),
@@ -7765,7 +8042,7 @@ var SchemaLedgerEntryConditionInput = z.object({
7765
8042
  }),
7766
8043
  postcondition: SchemaConditionInput.optional(),
7767
8044
  precondition: SchemaConditionInput.optional(),
7768
- currency: SchemaCurrencyMatchInput.optional(),
8045
+ currency: SchemaCurrencyMatchInput2.optional(),
7769
8046
  repeated: z.object({
7770
8047
  key: SafeStringSchema.refine((k2) => k2.trim().length >= 1, {
7771
8048
  message: "repeated.key cannot be empty"
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  GenGraphQL
3
- } from "../chunk-OAO4AP7N.js";
4
- import "../chunk-FYVAWYYH.js";
5
- import "../chunk-7GWSUHUD.js";
3
+ } from "../chunk-BQZQLWCT.js";
4
+ import "../chunk-KNG7UK5V.js";
5
+ import "../chunk-4VYFUMLV.js";
6
6
  import "../chunk-ZMFGVGZP.js";
7
- import "../chunk-LEJQJ3T3.js";
8
- import "../chunk-KDXCKOCB.js";
9
- import "../chunk-MHYCVJGZ.js";
10
- import "../chunk-N2R7NRAP.js";
7
+ import "../chunk-R2HKKBEG.js";
8
+ import "../chunk-J6HLIC77.js";
9
+ import "../chunk-NE5UNTYB.js";
10
+ import "../chunk-65EVYD2Y.js";
11
11
  import "../chunk-W33MLXYW.js";
12
12
  import "../chunk-34NLRFFT.js";
13
13
  import "../chunk-LFCNPXLH.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  VerifySchema
3
- } from "../chunk-NLJM26T4.js";
4
- import "../chunk-IMRC5SWK.js";
3
+ } from "../chunk-JD2S54X7.js";
4
+ import "../chunk-DJCFTORW.js";
5
5
  import "../chunk-A4BSWX5D.js";
6
- import "../chunk-LEJQJ3T3.js";
7
- import "../chunk-KDXCKOCB.js";
8
- import "../chunk-MHYCVJGZ.js";
9
- import "../chunk-N2R7NRAP.js";
6
+ import "../chunk-R2HKKBEG.js";
7
+ import "../chunk-J6HLIC77.js";
8
+ import "../chunk-NE5UNTYB.js";
9
+ import "../chunk-65EVYD2Y.js";
10
10
  import "../chunk-W33MLXYW.js";
11
11
  import "../chunk-34NLRFFT.js";
12
12
  import "../chunk-LFCNPXLH.js";
package/dist/commands.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  COMMANDS
3
- } from "./chunk-3AKNNON2.js";
3
+ } from "./chunk-5PGVOMOW.js";
4
4
  import "./chunk-EXE547EZ.js";
5
5
  import "./chunk-C6XIABYY.js";
6
6
  import "./chunk-QC7XM3CQ.js";
@@ -10,17 +10,17 @@ import "./chunk-K7KCVZP2.js";
10
10
  import "./chunk-MNVCFR3U.js";
11
11
  import "./chunk-DF3NICEM.js";
12
12
  import "./chunk-PISSWWTD.js";
13
- import "./chunk-NLJM26T4.js";
14
- import "./chunk-IMRC5SWK.js";
13
+ import "./chunk-JD2S54X7.js";
14
+ import "./chunk-DJCFTORW.js";
15
15
  import "./chunk-A4BSWX5D.js";
16
- import "./chunk-OAO4AP7N.js";
17
- import "./chunk-FYVAWYYH.js";
18
- import "./chunk-7GWSUHUD.js";
16
+ import "./chunk-BQZQLWCT.js";
17
+ import "./chunk-KNG7UK5V.js";
18
+ import "./chunk-4VYFUMLV.js";
19
19
  import "./chunk-ZMFGVGZP.js";
20
- import "./chunk-LEJQJ3T3.js";
21
- import "./chunk-KDXCKOCB.js";
22
- import "./chunk-MHYCVJGZ.js";
23
- import "./chunk-N2R7NRAP.js";
20
+ import "./chunk-R2HKKBEG.js";
21
+ import "./chunk-J6HLIC77.js";
22
+ import "./chunk-NE5UNTYB.js";
23
+ import "./chunk-65EVYD2Y.js";
24
24
  import "./chunk-T2BBIXGB.js";
25
25
  import "./chunk-BYZNYEGH.js";
26
26
  import "./chunk-52KK5CBJ.js";
package/dist/graphql.js CHANGED
@@ -2,20 +2,17 @@ import {
2
2
  camelCase,
3
3
  entryDefinitionToMutation,
4
4
  generateGraphQlEntryType,
5
- generateGraphQlPaymentType,
6
5
  generateQueriesFileContent,
7
6
  generateQueryFiles,
8
7
  getPredefinedParameters,
9
8
  isValidGraphQlName,
10
- paymentDefinitionToMutation,
11
9
  schemaToEntryDefinitions,
12
- schemaToPaymentDefinitions,
13
10
  validateOutputName
14
- } from "./chunk-FYVAWYYH.js";
15
- import "./chunk-7GWSUHUD.js";
11
+ } from "./chunk-KNG7UK5V.js";
12
+ import "./chunk-4VYFUMLV.js";
16
13
  import "./chunk-ZMFGVGZP.js";
17
- import "./chunk-MHYCVJGZ.js";
18
- import "./chunk-N2R7NRAP.js";
14
+ import "./chunk-NE5UNTYB.js";
15
+ import "./chunk-65EVYD2Y.js";
19
16
  import "./chunk-XK2D2Z44.js";
20
17
  import "./chunk-7K4RMTU4.js";
21
18
  import "./chunk-7GH3YGSC.js";
@@ -23,13 +20,10 @@ export {
23
20
  camelCase,
24
21
  entryDefinitionToMutation,
25
22
  generateGraphQlEntryType,
26
- generateGraphQlPaymentType,
27
23
  generateQueriesFileContent,
28
24
  generateQueryFiles,
29
25
  getPredefinedParameters,
30
26
  isValidGraphQlName,
31
- paymentDefinitionToMutation,
32
27
  schemaToEntryDefinitions,
33
- schemaToPaymentDefinitions,
34
28
  validateOutputName
35
29
  };
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  COMMANDS
3
- } from "./chunk-3AKNNON2.js";
3
+ } from "./chunk-5PGVOMOW.js";
4
4
  import "./chunk-EXE547EZ.js";
5
5
  import "./chunk-C6XIABYY.js";
6
6
  import "./chunk-QC7XM3CQ.js";
@@ -10,17 +10,17 @@ import "./chunk-K7KCVZP2.js";
10
10
  import "./chunk-MNVCFR3U.js";
11
11
  import "./chunk-DF3NICEM.js";
12
12
  import "./chunk-PISSWWTD.js";
13
- import "./chunk-NLJM26T4.js";
14
- import "./chunk-IMRC5SWK.js";
13
+ import "./chunk-JD2S54X7.js";
14
+ import "./chunk-DJCFTORW.js";
15
15
  import "./chunk-A4BSWX5D.js";
16
- import "./chunk-OAO4AP7N.js";
17
- import "./chunk-FYVAWYYH.js";
18
- import "./chunk-7GWSUHUD.js";
16
+ import "./chunk-BQZQLWCT.js";
17
+ import "./chunk-KNG7UK5V.js";
18
+ import "./chunk-4VYFUMLV.js";
19
19
  import "./chunk-ZMFGVGZP.js";
20
- import "./chunk-LEJQJ3T3.js";
21
- import "./chunk-KDXCKOCB.js";
22
- import "./chunk-MHYCVJGZ.js";
23
- import "./chunk-N2R7NRAP.js";
20
+ import "./chunk-R2HKKBEG.js";
21
+ import "./chunk-J6HLIC77.js";
22
+ import "./chunk-NE5UNTYB.js";
23
+ import "./chunk-65EVYD2Y.js";
24
24
  import "./chunk-T2BBIXGB.js";
25
25
  import "./chunk-BYZNYEGH.js";
26
26
  import "./chunk-52KK5CBJ.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  standardQueries
3
- } from "../chunk-7GWSUHUD.js";
3
+ } from "../chunk-4VYFUMLV.js";
4
4
  import "../chunk-7GH3YGSC.js";
5
5
  export {
6
6
  standardQueries
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  formatValidationErrors,
3
3
  logValidationErrors
4
- } from "../chunk-KDXCKOCB.js";
5
- import "../chunk-N2R7NRAP.js";
4
+ } from "../chunk-J6HLIC77.js";
5
+ import "../chunk-65EVYD2Y.js";
6
6
  import "../chunk-XK2D2Z44.js";
7
7
  import "../chunk-L7ZGDLYU.js";
8
8
  import "../chunk-7GH3YGSC.js";
@@ -3,11 +3,11 @@ import {
3
3
  extractSchemaMetadata,
4
4
  isJsonParseError,
5
5
  validateSchemaStructure
6
- } from "../chunk-IMRC5SWK.js";
7
- import "../chunk-LEJQJ3T3.js";
8
- import "../chunk-KDXCKOCB.js";
9
- import "../chunk-MHYCVJGZ.js";
10
- import "../chunk-N2R7NRAP.js";
6
+ } from "../chunk-DJCFTORW.js";
7
+ import "../chunk-R2HKKBEG.js";
8
+ import "../chunk-J6HLIC77.js";
9
+ import "../chunk-NE5UNTYB.js";
10
+ import "../chunk-65EVYD2Y.js";
11
11
  import "../chunk-XK2D2Z44.js";
12
12
  import "../chunk-L7ZGDLYU.js";
13
13
  import "../chunk-7GH3YGSC.js";
@@ -1025,7 +1025,7 @@
1025
1025
  "gen-graphql": {
1026
1026
  "aliases": [],
1027
1027
  "args": {},
1028
- "description": "This command generates a GraphQL query for each Ledger Entry type and each Payment type in your ledger Schema.\n Use this command with Fragment SDKs to create type-safe code to update your ledger.",
1028
+ "description": "This command generates a GraphQL query for each entry type in your ledger Schema.\n Use this command with Fragment SDKs to create type-safe code to update your ledger.",
1029
1029
  "examples": [
1030
1030
  {
1031
1031
  "description": "Output the GraphQL queries from the schema file at <path>.",
@@ -1096,5 +1096,5 @@
1096
1096
  "help": "Generate GraphQL queries from your Schema for your SDK."
1097
1097
  }
1098
1098
  },
1099
- "version": "2026.9.10-13"
1099
+ "version": "2026.9.10-2"
1100
1100
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fragment-dev/cli",
3
- "version": "2026.9.10-13",
3
+ "version": "2026.9.10-2",
4
4
  "description": "FRAGMENT CLI",
5
5
  "author": "hello@fragment.dev",
6
6
  "bin": {
@@ -104,8 +104,8 @@
104
104
  "test:utils:getParsedSchema": "mocha --forbid-only \"tests/utils/getParsedSchema.test.ts\"",
105
105
  "test:update": "mocha --forbid-only \"tests/cli/update.test.ts\"",
106
106
  "test:query": "mocha --forbid-only \"tests/cli/query.test.ts\"",
107
- "test": "vitest run",
108
- "test.coverage": "vitest run --coverage",
107
+ "test": "vitest run --coverage",
108
+ "test.fast": "vitest run",
109
109
  "version": "oclif readme && git add README.md",
110
110
  "typecheck": "tsc --skipLibCheck --noEmit",
111
111
  "typecheck-special": "tsc --skipLibCheck --noEmit",