fragment-dev 1.4.6 → 2.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa4063ded2bc067415529ed2f8607500a6ca972008477c8e776a3658f63b69c8
4
- data.tar.gz: f01afef45ece38ec453c0b1bddd6117c52da5004fbf5d9d23403d3b0ebd3a44d
3
+ metadata.gz: 55d91a66f0d5a33dce2008715499de787d6dfb20c13dfd47d1119fb003e7caa1
4
+ data.tar.gz: 00a18221ecad75aa6a98763d206c0933725c91cca30e9950b1679618036404c5
5
5
  SHA512:
6
- metadata.gz: 8c2c28281919dc7e0a5b1c2d8080cc06d15f7294b35f3d5491642d90fe0f39fbdfe0a070fcd7d43ded2ea98b94d17486695dc8d18f71a6ca2e683a5c39844a5e
7
- data.tar.gz: 26edf09b51ca74d912a74dbb507987a47cd6bde8d5749289f739b5d7b1d11b05e166bf992cc531b7460fadaedc953fadb12b11823a485ef5444897e3b49d18e8
6
+ metadata.gz: 408bbae2fb664df8d8975796d600e8686b255d3cb5e359edf9d49a0001915a40cd071384af74f12fe0156f448350d10fa383d842249e74ad76c307b0bfb368e8
7
+ data.tar.gz: 2928af5adc32dec7e81c434f0fb1c9466c6d1fcc26fe75ebd6d2b4f71b8a0afd758da78777720464bffe9d8a3e5a3576318452de5fd1514c6f891b6b67cf306d
@@ -4951,6 +4951,77 @@
4951
4951
  "isDeprecated": false,
4952
4952
  "deprecationReason": null
4953
4953
  },
4954
+ {
4955
+ "name": "lines",
4956
+ "description": "List Ledger Lines across accounts in this Ledger, sorted by `posted` in reverse chronological order.\nSpecify a single Ledger Account via the `ledgerAccount` field, or query across multiple accounts using the `path` filter or `ledgerAccount.in`.",
4957
+ "args": [
4958
+ {
4959
+ "name": "after",
4960
+ "description": "Where to start paginating from, when paginating forwards. Send endCursor from a response to get its next page. Learn more about [pagination](https://fragment.dev/docs/query-data#basics-pagination).",
4961
+ "type": {
4962
+ "kind": "SCALAR",
4963
+ "name": "String",
4964
+ "ofType": null
4965
+ },
4966
+ "defaultValue": null
4967
+ },
4968
+ {
4969
+ "name": "before",
4970
+ "description": "Where to start paginating from, when paginating backwards. Send startCursor from a response to get the previous page. Learn more about [pagination](https://fragment.dev/docs/query-data#basics-pagination).",
4971
+ "type": {
4972
+ "kind": "SCALAR",
4973
+ "name": "String",
4974
+ "ofType": null
4975
+ },
4976
+ "defaultValue": null
4977
+ },
4978
+ {
4979
+ "name": "filter",
4980
+ "description": "Filter the Ledger Lines returned. Either the `ledgerAccount` or `path` field is required. Learn more about [querying Ledger Lines](https://fragment.dev/docs/query-data#ledger-lines).",
4981
+ "type": {
4982
+ "kind": "NON_NULL",
4983
+ "name": null,
4984
+ "ofType": {
4985
+ "kind": "INPUT_OBJECT",
4986
+ "name": "LedgerLinesFilterSet",
4987
+ "ofType": null
4988
+ }
4989
+ },
4990
+ "defaultValue": null
4991
+ },
4992
+ {
4993
+ "name": "first",
4994
+ "description": "The number of Ledger Lines to return per page, when paginating forwards. Defaults to 20, maximum is 200.",
4995
+ "type": {
4996
+ "kind": "SCALAR",
4997
+ "name": "Int",
4998
+ "ofType": null
4999
+ },
5000
+ "defaultValue": null
5001
+ },
5002
+ {
5003
+ "name": "last",
5004
+ "description": "The number of Ledger Lines to return per page, when paginating backwards. Defaults to 20, maximum is 200.",
5005
+ "type": {
5006
+ "kind": "SCALAR",
5007
+ "name": "Int",
5008
+ "ofType": null
5009
+ },
5010
+ "defaultValue": null
5011
+ }
5012
+ ],
5013
+ "type": {
5014
+ "kind": "NON_NULL",
5015
+ "name": null,
5016
+ "ofType": {
5017
+ "kind": "OBJECT",
5018
+ "name": "LedgerLinesConnection",
5019
+ "ofType": null
5020
+ }
5021
+ },
5022
+ "isDeprecated": false,
5023
+ "deprecationReason": null
5024
+ },
4954
5025
  {
4955
5026
  "name": "migrations",
4956
5027
  "description": "Schema migrations affecting this Ledger.",
@@ -6743,6 +6814,18 @@
6743
6814
  },
6744
6815
  "isDeprecated": false,
6745
6816
  "deprecationReason": null
6817
+ },
6818
+ {
6819
+ "name": "totalBalanceUpdates",
6820
+ "description": "If set to `strong`, then a Ledger Account's `ownBalance`, `childBalance`, and `balance` fields' updates will be strongly consistent with\nthe API response. This Ledger Account's balance will be updated and\navailable for strongly consistent reads once you receive an API response.\n\nOtherwise if not set or set to `eventual`, updates are applied\nasynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/docs/configure-consistency).",
6821
+ "args": [],
6822
+ "type": {
6823
+ "kind": "ENUM",
6824
+ "name": "BalanceUpdateConsistencyMode",
6825
+ "ofType": null
6826
+ },
6827
+ "isDeprecated": false,
6828
+ "deprecationReason": null
6746
6829
  }
6747
6830
  ],
6748
6831
  "inputFields": null,
@@ -7328,7 +7411,7 @@
7328
7411
  },
7329
7412
  {
7330
7413
  "name": "earliestPosted",
7331
- "description": "Filter by the earliest posted timestamp across all currencies for clearing accounts. This must be used alongside the clearingStatus filter.\nOnly clearing accounts where the minimum posted timestamp (across all currencies) matches this filter will be included.",
7414
+ "description": "Filter by the earliest posted timestamp across all currencies for clearing accounts. You must also provide clearingStatus in the same filter.\nOnly clearing accounts where the minimum posted timestamp (across all currencies) matches this filter will be included.",
7332
7415
  "type": {
7333
7416
  "kind": "INPUT_OBJECT",
7334
7417
  "name": "DateTimeFilter",
@@ -7358,7 +7441,7 @@
7358
7441
  },
7359
7442
  {
7360
7443
  "name": "latestPosted",
7361
- "description": "Filter by the latest posted timestamp across all currencies for clearing accounts. This must be used alongside the clearingStatus filter.\nOnly clearing accounts where the maximum posted timestamp (across all currencies) matches this filter will be included.",
7444
+ "description": "Filter by the latest posted timestamp across all currencies for clearing accounts. You must also provide clearingStatus in the same filter.\nOnly clearing accounts where the maximum posted timestamp (across all currencies) matches this filter will be included.",
7362
7445
  "type": {
7363
7446
  "kind": "INPUT_OBJECT",
7364
7447
  "name": "DateTimeFilter",
@@ -10177,6 +10260,30 @@
10177
10260
  "isDeprecated": false,
10178
10261
  "deprecationReason": null
10179
10262
  },
10263
+ {
10264
+ "name": "tags",
10265
+ "description": "Tags attached to this Ledger Line.",
10266
+ "args": [],
10267
+ "type": {
10268
+ "kind": "NON_NULL",
10269
+ "name": null,
10270
+ "ofType": {
10271
+ "kind": "LIST",
10272
+ "name": null,
10273
+ "ofType": {
10274
+ "kind": "NON_NULL",
10275
+ "name": null,
10276
+ "ofType": {
10277
+ "kind": "OBJECT",
10278
+ "name": "LedgerLineTag",
10279
+ "ofType": null
10280
+ }
10281
+ }
10282
+ }
10283
+ },
10284
+ "isDeprecated": false,
10285
+ "deprecationReason": null
10286
+ },
10180
10287
  {
10181
10288
  "name": "tx",
10182
10289
  "description": "The transaction linked to this LedgerLine",
@@ -10299,6 +10406,24 @@
10299
10406
  },
10300
10407
  "defaultValue": null
10301
10408
  },
10409
+ {
10410
+ "name": "tags",
10411
+ "description": "A set of tags attached to this Ledger Line.",
10412
+ "type": {
10413
+ "kind": "LIST",
10414
+ "name": null,
10415
+ "ofType": {
10416
+ "kind": "NON_NULL",
10417
+ "name": null,
10418
+ "ofType": {
10419
+ "kind": "INPUT_OBJECT",
10420
+ "name": "LedgerEntryTagInput",
10421
+ "ofType": null
10422
+ }
10423
+ }
10424
+ },
10425
+ "defaultValue": null
10426
+ },
10302
10427
  {
10303
10428
  "name": "tx",
10304
10429
  "description": "Required for reconcileTx to specify the transaction being reconciled, you can specify either the FRAGMENT ID or external ID of the transaction",
@@ -10339,6 +10464,49 @@
10339
10464
  "enumValues": null,
10340
10465
  "possibleTypes": null
10341
10466
  },
10467
+ {
10468
+ "kind": "OBJECT",
10469
+ "name": "LedgerLineTag",
10470
+ "description": "A tag attached to a Ledger Line.",
10471
+ "fields": [
10472
+ {
10473
+ "name": "key",
10474
+ "description": "The key of this tag.",
10475
+ "args": [],
10476
+ "type": {
10477
+ "kind": "NON_NULL",
10478
+ "name": null,
10479
+ "ofType": {
10480
+ "kind": "SCALAR",
10481
+ "name": "SafeString",
10482
+ "ofType": null
10483
+ }
10484
+ },
10485
+ "isDeprecated": false,
10486
+ "deprecationReason": null
10487
+ },
10488
+ {
10489
+ "name": "value",
10490
+ "description": "The value associated with this tag's key.",
10491
+ "args": [],
10492
+ "type": {
10493
+ "kind": "NON_NULL",
10494
+ "name": null,
10495
+ "ofType": {
10496
+ "kind": "SCALAR",
10497
+ "name": "SafeString",
10498
+ "ofType": null
10499
+ }
10500
+ },
10501
+ "isDeprecated": false,
10502
+ "deprecationReason": null
10503
+ }
10504
+ ],
10505
+ "inputFields": null,
10506
+ "interfaces": [],
10507
+ "enumValues": null,
10508
+ "possibleTypes": null
10509
+ },
10342
10510
  {
10343
10511
  "kind": "OBJECT",
10344
10512
  "name": "LedgerLinesConnection",
@@ -10479,6 +10647,26 @@
10479
10647
  },
10480
10648
  "defaultValue": null
10481
10649
  },
10650
+ {
10651
+ "name": "ledgerAccount",
10652
+ "description": "Specify which Ledger Account to read lines from. Required when querying lines via `Ledger.lines` without a `path` filter. Not allowed when querying via `LedgerAccount.lines`.",
10653
+ "type": {
10654
+ "kind": "INPUT_OBJECT",
10655
+ "name": "LedgerAccountFilter",
10656
+ "ofType": null
10657
+ },
10658
+ "defaultValue": null
10659
+ },
10660
+ {
10661
+ "name": "path",
10662
+ "description": "A filter that string matches the account path. Wildcards ('*') can be used to return lines across multiple accounts.\nTo search for all instances of a a Ledger Account template, use the `matches` filter with an wildcard character in place of the template value e.g. `assets/user:*`. This returns lines from all instances of this template, interleaved by `posted` timestamp.\nTo search for all descendant Ledger Accounts under a given path, use a trailing `/*` in the `matches` filter e.g. `assets/user:user-1>/*`. This returns lines from all descendants at any depth, but not lines from the parent account at `assets/user:user-1>`.\nCannot be combined with `ledgerAccount` filter. Not allowed when querying via `LedgerAccount.lines`. You cannot use wildcards for both descendant and template instance matching in the same query.",
10663
+ "type": {
10664
+ "kind": "INPUT_OBJECT",
10665
+ "name": "StringMatchFilter",
10666
+ "ofType": null
10667
+ },
10668
+ "defaultValue": null
10669
+ },
10482
10670
  {
10483
10671
  "name": "posted",
10484
10672
  "description": "Filter by the posted timestamp of the Ledger Line.",
@@ -10499,6 +10687,16 @@
10499
10687
  },
10500
10688
  "defaultValue": null
10501
10689
  },
10690
+ {
10691
+ "name": "tag",
10692
+ "description": "Filter Ledger Lines by tag. Only matches lines that have the specified tags attached directly to them.",
10693
+ "type": {
10694
+ "kind": "INPUT_OBJECT",
10695
+ "name": "TagFilter",
10696
+ "ofType": null
10697
+ },
10698
+ "defaultValue": null
10699
+ },
10502
10700
  {
10503
10701
  "name": "type",
10504
10702
  "description": null,
@@ -12071,6 +12269,35 @@
12071
12269
  "enumValues": null,
12072
12270
  "possibleTypes": null
12073
12271
  },
12272
+ {
12273
+ "kind": "ENUM",
12274
+ "name": "PostLinesAs",
12275
+ "description": "Controls how lines are posted for a Ledger Entry.\nNew entries created via the dashboard default to `net_amounts`.\nExisting entries without this field set are treated as `raw_lines`.",
12276
+ "fields": null,
12277
+ "inputFields": null,
12278
+ "interfaces": null,
12279
+ "enumValues": [
12280
+ {
12281
+ "name": "net_amounts",
12282
+ "description": "Lines targeting the same account, currency, and tx are aggregated into a single line with the net amount. Lines that sum to zero are skipped. If all lines sum to zero, no lines are skipped.",
12283
+ "isDeprecated": false,
12284
+ "deprecationReason": null
12285
+ },
12286
+ {
12287
+ "name": "raw_lines",
12288
+ "description": "Lines are posted as-is without aggregation.",
12289
+ "isDeprecated": false,
12290
+ "deprecationReason": null
12291
+ },
12292
+ {
12293
+ "name": "skip_zero_lines",
12294
+ "description": "Lines with a zero amount are skipped, but lines are not aggregated. If all lines have a zero amount, no lines are skipped.",
12295
+ "isDeprecated": false,
12296
+ "deprecationReason": null
12297
+ }
12298
+ ],
12299
+ "possibleTypes": null
12300
+ },
12074
12301
  {
12075
12302
  "kind": "OBJECT",
12076
12303
  "name": "PostedWindow",
@@ -13935,6 +14162,16 @@
13935
14162
  },
13936
14163
  "defaultValue": null
13937
14164
  },
14165
+ {
14166
+ "name": "postLinesAs",
14167
+ "description": "Controls how lines are posted. When set to `net_amounts`, all lines targeting the same account, currency, and tx are aggregated into a single line with the net amount, and lines that sum to zero are skipped. When set to `skip_zero_lines`, lines with a zero amount are skipped but not aggregated. In both modes, if all lines are zero, no lines are skipped. When set to `raw_lines`, lines are posted as-is without aggregation. New entries created via the dashboard default to `net_amounts`. Existing entries without this field set are treated as `raw_lines`.",
14168
+ "type": {
14169
+ "kind": "ENUM",
14170
+ "name": "PostLinesAs",
14171
+ "ofType": null
14172
+ },
14173
+ "defaultValue": null
14174
+ },
13938
14175
  {
13939
14176
  "name": "status",
13940
14177
  "description": "The status of this Ledger Entry. Defaults to active.",
@@ -14134,6 +14371,24 @@
14134
14371
  },
14135
14372
  "defaultValue": null
14136
14373
  },
14374
+ {
14375
+ "name": "tags",
14376
+ "description": "Tags to attach to this Ledger Line. Supports parameterized values via handlebars syntax.",
14377
+ "type": {
14378
+ "kind": "LIST",
14379
+ "name": null,
14380
+ "ofType": {
14381
+ "kind": "NON_NULL",
14382
+ "name": null,
14383
+ "ofType": {
14384
+ "kind": "INPUT_OBJECT",
14385
+ "name": "SchemaLedgerEntryTagInput",
14386
+ "ofType": null
14387
+ }
14388
+ }
14389
+ },
14390
+ "defaultValue": null
14391
+ },
14137
14392
  {
14138
14393
  "name": "tx",
14139
14394
  "description": "The external transaction to reconcile.\nThis field is required if the Ledger Account being posted to is a Linked Ledger Account. Otherwise, this field is disallowed.\nIt supports parameters in its attributes via handlebars syntax.\n\nSee the docs on [reconciling payments](https://fragment.dev/docs/reconcile-payments).",
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FragmentSDK
4
- VERSION = '1.4.6'
4
+ VERSION = '2.0.0'
5
5
  end
data/lib/queries.graphql CHANGED
@@ -24,9 +24,7 @@ mutation StoreSchema($schema: SchemaInput!) {
24
24
  }
25
25
  }
26
26
 
27
- mutation DeleteSchema(
28
- $schema: SchemaMatchInput!
29
- ) {
27
+ mutation DeleteSchema($schema: SchemaMatchInput!) {
30
28
  deleteSchema(schema: $schema) {
31
29
  __typename
32
30
  ... on DeleteSchemaResult {
@@ -77,9 +75,7 @@ mutation CreateLedger(
77
75
  }
78
76
  }
79
77
 
80
- mutation DeleteLedger(
81
- $ledger: LedgerMatchInput!
82
- ) {
78
+ mutation DeleteLedger($ledger: LedgerMatchInput!) {
83
79
  deleteLedger(ledger: $ledger) {
84
80
  __typename
85
81
  ... on DeleteLedgerResult {
@@ -151,9 +147,7 @@ mutation AddLedgerEntry(
151
147
  }
152
148
  }
153
149
 
154
- mutation ReverseLedgerEntry(
155
- $id: ID!
156
- ) {
150
+ mutation ReverseLedgerEntry($id: ID!) {
157
151
  reverseLedgerEntry(id: $id) {
158
152
  __typename
159
153
  ... on ReverseLedgerEntryResult {
@@ -208,14 +202,8 @@ mutation ReverseLedgerEntry(
208
202
  }
209
203
  }
210
204
 
211
- mutation MigrateLedgerEntry(
212
- $id: ID!
213
- $newLedgerEntry: LedgerEntryInput!
214
- ) {
215
- migrateLedgerEntry(input: {
216
- id: $id
217
- newLedgerEntry: $newLedgerEntry
218
- }) {
205
+ mutation MigrateLedgerEntry($id: ID!, $newLedgerEntry: LedgerEntryInput!) {
206
+ migrateLedgerEntry(input: { id: $id, newLedgerEntry: $newLedgerEntry }) {
219
207
  __typename
220
208
  ... on MigrateLedgerEntryResult {
221
209
  reversingLedgerEntry {
@@ -689,6 +677,8 @@ query ListLedgerAccountBalances(
689
677
  $balanceCurrency: CurrencyMatchInput
690
678
  $balanceAt: LastMoment
691
679
  $ownBalanceConsistencyMode: ReadBalanceConsistencyMode
680
+ $childBalanceConsistencyMode: ReadBalanceConsistencyMode
681
+ $balanceConsistencyMode: ReadBalanceConsistencyMode
692
682
  ) {
693
683
  ledger(ledger: { ik: $ledgerIk }) {
694
684
  id
@@ -707,8 +697,16 @@ query ListLedgerAccountBalances(
707
697
  at: $balanceAt
708
698
  consistencyMode: $ownBalanceConsistencyMode
709
699
  )
710
- childBalance(currency: $balanceCurrency, at: $balanceAt)
711
- balance(currency: $balanceCurrency, at: $balanceAt)
700
+ childBalance(
701
+ currency: $balanceCurrency
702
+ at: $balanceAt
703
+ consistencyMode: $childBalanceConsistencyMode
704
+ )
705
+ balance(
706
+ currency: $balanceCurrency
707
+ at: $balanceAt
708
+ consistencyMode: $balanceConsistencyMode
709
+ )
712
710
  }
713
711
  pageInfo {
714
712
  hasNextPage
@@ -727,6 +725,8 @@ query ListMultiCurrencyLedgerAccountBalances(
727
725
  $before: String
728
726
  $balanceAt: LastMoment
729
727
  $ownBalancesConsistencyMode: ReadBalanceConsistencyMode
728
+ $childBalancesConsistencyMode: ReadBalanceConsistencyMode
729
+ $balancesConsistencyMode: ReadBalanceConsistencyMode
730
730
  ) {
731
731
  ledger(ledger: { ik: $ledgerIk }) {
732
732
  id
@@ -752,7 +752,10 @@ query ListMultiCurrencyLedgerAccountBalances(
752
752
  amount
753
753
  }
754
754
  }
755
- childBalances(at: $balanceAt) {
755
+ childBalances(
756
+ at: $balanceAt
757
+ consistencyMode: $childBalancesConsistencyMode
758
+ ) {
756
759
  nodes {
757
760
  currency {
758
761
  code
@@ -761,7 +764,7 @@ query ListMultiCurrencyLedgerAccountBalances(
761
764
  amount
762
765
  }
763
766
  }
764
- balances(at: $balanceAt) {
767
+ balances(at: $balanceAt, consistencyMode: $balancesConsistencyMode) {
765
768
  nodes {
766
769
  currency {
767
770
  code
@@ -815,24 +818,7 @@ query GetLedgerAccountBalance(
815
818
  $ledgerIk: SafeString!
816
819
  $balanceCurrency: CurrencyMatchInput
817
820
  $balanceAt: LastMoment
818
- $ownBalanceConsistencyMode: ReadBalanceConsistencyMode
819
- ) {
820
- ledgerAccount(ledgerAccount: { ledger: { ik: $ledgerIk }, path: $path }) {
821
- id
822
- path
823
- ownBalance(
824
- currency: $balanceCurrency
825
- at: $balanceAt
826
- consistencyMode: $ownBalanceConsistencyMode
827
- )
828
- }
829
- }
830
-
831
- query GetLedgerAccountBalanceWithChildRollup(
832
- $path: String!
833
- $ledgerIk: SafeString!
834
- $balanceCurrency: CurrencyMatchInput
835
- $balanceAt: LastMoment
821
+ $balanceConsistencyMode: ReadBalanceConsistencyMode
836
822
  ) {
837
823
  ledgerAccount(ledgerAccount: { ledger: { ik: $ledgerIk }, path: $path }) {
838
824
  id
@@ -840,11 +826,11 @@ query GetLedgerAccountBalanceWithChildRollup(
840
826
  balance(
841
827
  currency: $balanceCurrency
842
828
  at: $balanceAt
829
+ consistencyMode: $balanceConsistencyMode
843
830
  )
844
831
  }
845
832
  }
846
833
 
847
-
848
834
  query GetSchema($key: SafeString!, $version: Int) {
849
835
  schema(schema: { key: $key, version: $version }) {
850
836
  key
@@ -912,21 +898,23 @@ query ListLedgerEntryGroupBalances(
912
898
  $last: Int
913
899
  $filter: LedgerEntryGroupBalanceFilterSet
914
900
  ) {
915
- ledgerEntryGroup(ledgerEntryGroup: {
916
- ledger: { ik: $ledgerIk },
917
- key: $groupKey,
918
- value: $groupValue,
919
- }) {
901
+ ledgerEntryGroup(
902
+ ledgerEntryGroup: {
903
+ ledger: { ik: $ledgerIk }
904
+ key: $groupKey
905
+ value: $groupValue
906
+ }
907
+ ) {
920
908
  key
921
909
  value
922
910
  created
923
911
  balances(
924
- after: $after,
925
- before: $before,
926
- first: $first,
927
- last: $last,
928
- filter: $filter,
929
- ){
912
+ after: $after
913
+ before: $before
914
+ first: $first
915
+ last: $last
916
+ filter: $filter
917
+ ) {
930
918
  nodes {
931
919
  account {
932
920
  path
@@ -1020,12 +1008,8 @@ query GetEntriesToMigrateForLedgerEntryDataMigration(
1020
1008
  ledger(ledger: { ik: $ledgerIk }) {
1021
1009
  ledgerEntryDataMigrations(
1022
1010
  filter: {
1023
- entryType: {
1024
- equalTo: $entryType
1025
- }
1026
- typeVersion: {
1027
- equalTo: $typeVersion
1028
- }
1011
+ entryType: { equalTo: $entryType }
1012
+ typeVersion: { equalTo: $typeVersion }
1029
1013
  }
1030
1014
  ) {
1031
1015
  nodes {
@@ -1049,7 +1033,7 @@ query GetEntriesToMigrateForLedgerEntryDataMigration(
1049
1033
  id
1050
1034
  amount
1051
1035
  account {
1052
- path
1036
+ path
1053
1037
  }
1054
1038
  }
1055
1039
  }
@@ -1136,18 +1120,14 @@ query GetEntriesToMigrateForLedgerAccountDataMigration(
1136
1120
  ) {
1137
1121
  ledger(ledger: { ik: $ledgerIk }) {
1138
1122
  ledgerAccountDataMigrations(
1139
- filter: {
1140
- accountPath: {
1141
- equalTo: $accountPath
1142
- }
1143
- }
1123
+ filter: { accountPath: { equalTo: $accountPath } }
1144
1124
  ) {
1145
1125
  nodes {
1146
1126
  ledgerEntries(
1147
- first: $first
1148
- after: $after
1149
- last: $last
1150
- before: $before
1127
+ first: $first
1128
+ after: $after
1129
+ last: $last
1130
+ before: $before
1151
1131
  ) {
1152
1132
  nodes {
1153
1133
  id
@@ -1181,17 +1161,17 @@ query GetEntriesToMigrateForLedgerAccountDataMigration(
1181
1161
  }
1182
1162
 
1183
1163
  mutation CreateCustomCurrency(
1184
- $id: SafeString!,
1185
- $name: String!,
1186
- $precision: Int!,
1187
- $customCode: String!,
1164
+ $id: SafeString!
1165
+ $name: String!
1166
+ $precision: Int!
1167
+ $customCode: String!
1188
1168
  ) {
1189
1169
  createCustomCurrency(
1190
1170
  customCurrency: {
1191
- customCurrencyId: $id,
1192
- name: $name,
1193
- precision: $precision,
1194
- customCode: $customCode,
1171
+ customCurrencyId: $id
1172
+ name: $name
1173
+ precision: $precision
1174
+ customCode: $customCode
1195
1175
  }
1196
1176
  ) {
1197
1177
  ... on CreateCustomCurrencyResult {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fragment-dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - fragment
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-03 00:00:00.000000000 Z
11
+ date: 2026-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql