fragment-dev 1.1.2 → 1.1.4
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 +4 -4
- data/lib/fragment.schema.json +244 -82
- data/lib/fragment_client/version.rb +1 -1
- data/lib/queries.graphql +95 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca9648402c5c64f1f05ad890a4bb80df6f5b320197707d43ed372d7da569c406
|
4
|
+
data.tar.gz: ab4e1040e6fb8c9696fa8832c531d8e1546097b44125d15cb3bc15decfdd18aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d15487fd0b5b31e7cd25120f1eb247790fc8160c7ba13a5bc9f44c7e4aa69c9156e6ae5bdfc41c59912eae87120efe34546cc62939e2a279336809d06e6d7bf2
|
7
|
+
data.tar.gz: 415d1304fb197e2172a0a10349edfdf0f3dcfdb45219a633cb2f0d7eb5da2316f9dce5ac6aecf5ff1fd6f9158386b30c0c1ee6523185c8a2a0f74afa8ccba9e3
|
data/lib/fragment.schema.json
CHANGED
@@ -1120,15 +1120,19 @@
|
|
1120
1120
|
|
1121
1121
|
],
|
1122
1122
|
"type": {
|
1123
|
-
"kind": "
|
1123
|
+
"kind": "NON_NULL",
|
1124
1124
|
"name": null,
|
1125
1125
|
"ofType": {
|
1126
|
-
"kind": "
|
1126
|
+
"kind": "LIST",
|
1127
1127
|
"name": null,
|
1128
1128
|
"ofType": {
|
1129
|
-
"kind": "
|
1130
|
-
"name":
|
1131
|
-
"ofType":
|
1129
|
+
"kind": "NON_NULL",
|
1130
|
+
"name": null,
|
1131
|
+
"ofType": {
|
1132
|
+
"kind": "OBJECT",
|
1133
|
+
"name": "CurrencyAmount",
|
1134
|
+
"ofType": null
|
1135
|
+
}
|
1132
1136
|
}
|
1133
1137
|
}
|
1134
1138
|
},
|
@@ -2964,9 +2968,13 @@
|
|
2964
2968
|
}
|
2965
2969
|
],
|
2966
2970
|
"type": {
|
2967
|
-
"kind": "
|
2968
|
-
"name":
|
2969
|
-
"ofType":
|
2971
|
+
"kind": "NON_NULL",
|
2972
|
+
"name": null,
|
2973
|
+
"ofType": {
|
2974
|
+
"kind": "OBJECT",
|
2975
|
+
"name": "LedgerAccountsConnection",
|
2976
|
+
"ofType": null
|
2977
|
+
}
|
2970
2978
|
},
|
2971
2979
|
"isDeprecated": false,
|
2972
2980
|
"deprecationReason": null
|
@@ -3915,9 +3923,13 @@
|
|
3915
3923
|
}
|
3916
3924
|
],
|
3917
3925
|
"type": {
|
3918
|
-
"kind": "
|
3919
|
-
"name":
|
3920
|
-
"ofType":
|
3926
|
+
"kind": "NON_NULL",
|
3927
|
+
"name": null,
|
3928
|
+
"ofType": {
|
3929
|
+
"kind": "OBJECT",
|
3930
|
+
"name": "LedgerAccountsConnection",
|
3931
|
+
"ofType": null
|
3932
|
+
}
|
3921
3933
|
},
|
3922
3934
|
"isDeprecated": false,
|
3923
3935
|
"deprecationReason": null
|
@@ -3978,9 +3990,13 @@
|
|
3978
3990
|
}
|
3979
3991
|
],
|
3980
3992
|
"type": {
|
3981
|
-
"kind": "
|
3982
|
-
"name":
|
3983
|
-
"ofType":
|
3993
|
+
"kind": "NON_NULL",
|
3994
|
+
"name": null,
|
3995
|
+
"ofType": {
|
3996
|
+
"kind": "OBJECT",
|
3997
|
+
"name": "LedgerEntriesConnection",
|
3998
|
+
"ofType": null
|
3999
|
+
}
|
3984
4000
|
},
|
3985
4001
|
"isDeprecated": false,
|
3986
4002
|
"deprecationReason": null
|
@@ -4072,9 +4088,13 @@
|
|
4072
4088
|
}
|
4073
4089
|
],
|
4074
4090
|
"type": {
|
4075
|
-
"kind": "
|
4076
|
-
"name":
|
4077
|
-
"ofType":
|
4091
|
+
"kind": "NON_NULL",
|
4092
|
+
"name": null,
|
4093
|
+
"ofType": {
|
4094
|
+
"kind": "OBJECT",
|
4095
|
+
"name": "LedgerEntryGroupsConnection",
|
4096
|
+
"ofType": null
|
4097
|
+
}
|
4078
4098
|
},
|
4079
4099
|
"isDeprecated": false,
|
4080
4100
|
"deprecationReason": null
|
@@ -4086,9 +4106,13 @@
|
|
4086
4106
|
|
4087
4107
|
],
|
4088
4108
|
"type": {
|
4089
|
-
"kind": "
|
4090
|
-
"name":
|
4091
|
-
"ofType":
|
4109
|
+
"kind": "NON_NULL",
|
4110
|
+
"name": null,
|
4111
|
+
"ofType": {
|
4112
|
+
"kind": "OBJECT",
|
4113
|
+
"name": "LedgerMigrationConnection",
|
4114
|
+
"ofType": null
|
4115
|
+
}
|
4092
4116
|
},
|
4093
4117
|
"isDeprecated": false,
|
4094
4118
|
"deprecationReason": null
|
@@ -5036,9 +5060,13 @@
|
|
5036
5060
|
}
|
5037
5061
|
],
|
5038
5062
|
"type": {
|
5039
|
-
"kind": "
|
5040
|
-
"name":
|
5041
|
-
"ofType":
|
5063
|
+
"kind": "NON_NULL",
|
5064
|
+
"name": null,
|
5065
|
+
"ofType": {
|
5066
|
+
"kind": "OBJECT",
|
5067
|
+
"name": "TxsConnection",
|
5068
|
+
"ofType": null
|
5069
|
+
}
|
5042
5070
|
},
|
5043
5071
|
"isDeprecated": false,
|
5044
5072
|
"deprecationReason": null
|
@@ -5176,9 +5204,27 @@
|
|
5176
5204
|
"description": "The payload configuring the consistency for this Ledger Account.\nSee [Configure consistency](https://fragment.dev/docs#configure-consistency).",
|
5177
5205
|
"fields": null,
|
5178
5206
|
"inputFields": [
|
5207
|
+
{
|
5208
|
+
"name": "groups",
|
5209
|
+
"description": "The consistency configuration for Ledger Entry Groups affecting this account.\n\nSee [Configure consistency](https://fragment.dev/docs#configure-consistency).",
|
5210
|
+
"type": {
|
5211
|
+
"kind": "LIST",
|
5212
|
+
"name": null,
|
5213
|
+
"ofType": {
|
5214
|
+
"kind": "NON_NULL",
|
5215
|
+
"name": null,
|
5216
|
+
"ofType": {
|
5217
|
+
"kind": "INPUT_OBJECT",
|
5218
|
+
"name": "LedgerAccountGroupConsistencyConfigInput",
|
5219
|
+
"ofType": null
|
5220
|
+
}
|
5221
|
+
}
|
5222
|
+
},
|
5223
|
+
"defaultValue": null
|
5224
|
+
},
|
5179
5225
|
{
|
5180
5226
|
"name": "lines",
|
5181
|
-
"description": "If set to `strong`, then a Ledger Account's `lines` updates will be strongly consistent with
|
5227
|
+
"description": "If set to `strong`, then a Ledger Account's `lines` updates will be strongly consistent with the API response.\nThis Ledger Account's balance will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, `lines` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/docs#configure-consistency).",
|
5182
5228
|
"type": {
|
5183
5229
|
"kind": "ENUM",
|
5184
5230
|
"name": "LedgerLinesConsistencyMode",
|
@@ -5188,7 +5234,7 @@
|
|
5188
5234
|
},
|
5189
5235
|
{
|
5190
5236
|
"name": "ownBalanceUpdates",
|
5191
|
-
"description": "If set to `strong`, then a Ledger Account's `ownBalance` updates will be strongly consistent with
|
5237
|
+
"description": "If set to `strong`, then a Ledger Account's `ownBalance` updates will be strongly consistent with the API response.\nThis Ledger Account's balance will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, `ownBalance` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/docs#configure-consistency).",
|
5192
5238
|
"type": {
|
5193
5239
|
"kind": "ENUM",
|
5194
5240
|
"name": "BalanceUpdateConsistencyMode",
|
@@ -5240,6 +5286,45 @@
|
|
5240
5286
|
"enumValues": null,
|
5241
5287
|
"possibleTypes": null
|
5242
5288
|
},
|
5289
|
+
{
|
5290
|
+
"kind": "INPUT_OBJECT",
|
5291
|
+
"name": "LedgerAccountGroupConsistencyConfigInput",
|
5292
|
+
"description": "The consistency configuration for a specific Ledger Entry Group in this account.",
|
5293
|
+
"fields": null,
|
5294
|
+
"inputFields": [
|
5295
|
+
{
|
5296
|
+
"name": "key",
|
5297
|
+
"description": "The group key for this configuration.",
|
5298
|
+
"type": {
|
5299
|
+
"kind": "NON_NULL",
|
5300
|
+
"name": null,
|
5301
|
+
"ofType": {
|
5302
|
+
"kind": "SCALAR",
|
5303
|
+
"name": "String",
|
5304
|
+
"ofType": null
|
5305
|
+
}
|
5306
|
+
},
|
5307
|
+
"defaultValue": null
|
5308
|
+
},
|
5309
|
+
{
|
5310
|
+
"name": "ownBalanceUpdates",
|
5311
|
+
"description": "If set to `strong`, then Ledger Entry Group `ownBalance`s updates for this account will be strongly consistent with the API response.\nThis Ledger Account's Ledger Entry Group balances will be updated and available for strongly consistent reads before you receive an API response.\n\nOtherwise if unset or set to `eventual`, Ledger Entry Group `ownBalance` updates are applied asynchronously and may not be immediately reflected in queries.\n\nSee [Configure consistency](https://fragment.dev/docs#configure-consistency).",
|
5312
|
+
"type": {
|
5313
|
+
"kind": "NON_NULL",
|
5314
|
+
"name": null,
|
5315
|
+
"ofType": {
|
5316
|
+
"kind": "ENUM",
|
5317
|
+
"name": "BalanceUpdateConsistencyMode",
|
5318
|
+
"ofType": null
|
5319
|
+
}
|
5320
|
+
},
|
5321
|
+
"defaultValue": null
|
5322
|
+
}
|
5323
|
+
],
|
5324
|
+
"interfaces": null,
|
5325
|
+
"enumValues": null,
|
5326
|
+
"possibleTypes": null
|
5327
|
+
},
|
5243
5328
|
{
|
5244
5329
|
"kind": "INPUT_OBJECT",
|
5245
5330
|
"name": "LedgerAccountMatchInput",
|
@@ -5367,15 +5452,19 @@
|
|
5367
5452
|
|
5368
5453
|
],
|
5369
5454
|
"type": {
|
5370
|
-
"kind": "
|
5455
|
+
"kind": "NON_NULL",
|
5371
5456
|
"name": null,
|
5372
5457
|
"ofType": {
|
5373
|
-
"kind": "
|
5458
|
+
"kind": "LIST",
|
5374
5459
|
"name": null,
|
5375
5460
|
"ofType": {
|
5376
|
-
"kind": "
|
5377
|
-
"name":
|
5378
|
-
"ofType":
|
5461
|
+
"kind": "NON_NULL",
|
5462
|
+
"name": null,
|
5463
|
+
"ofType": {
|
5464
|
+
"kind": "OBJECT",
|
5465
|
+
"name": "LedgerAccount",
|
5466
|
+
"ofType": null
|
5467
|
+
}
|
5379
5468
|
}
|
5380
5469
|
}
|
5381
5470
|
},
|
@@ -5501,15 +5590,19 @@
|
|
5501
5590
|
|
5502
5591
|
],
|
5503
5592
|
"type": {
|
5504
|
-
"kind": "
|
5593
|
+
"kind": "NON_NULL",
|
5505
5594
|
"name": null,
|
5506
5595
|
"ofType": {
|
5507
|
-
"kind": "
|
5596
|
+
"kind": "LIST",
|
5508
5597
|
"name": null,
|
5509
5598
|
"ofType": {
|
5510
|
-
"kind": "
|
5511
|
-
"name":
|
5512
|
-
"ofType":
|
5599
|
+
"kind": "NON_NULL",
|
5600
|
+
"name": null,
|
5601
|
+
"ofType": {
|
5602
|
+
"kind": "OBJECT",
|
5603
|
+
"name": "LedgerEntry",
|
5604
|
+
"ofType": null
|
5605
|
+
}
|
5513
5606
|
}
|
5514
5607
|
}
|
5515
5608
|
},
|
@@ -6315,7 +6408,16 @@
|
|
6315
6408
|
"name": "ownBalance",
|
6316
6409
|
"description": "The total balance change for this Ledger Account and currency.",
|
6317
6410
|
"args": [
|
6318
|
-
|
6411
|
+
{
|
6412
|
+
"name": "consistencyMode",
|
6413
|
+
"description": "The consistency mode to use when fetching the balance. Use 'use_account' to match the configured consistency mode of the account.",
|
6414
|
+
"type": {
|
6415
|
+
"kind": "ENUM",
|
6416
|
+
"name": "ReadBalanceConsistencyMode",
|
6417
|
+
"ofType": null
|
6418
|
+
},
|
6419
|
+
"defaultValue": null
|
6420
|
+
}
|
6319
6421
|
],
|
6320
6422
|
"type": {
|
6321
6423
|
"kind": "NON_NULL",
|
@@ -7393,15 +7495,19 @@
|
|
7393
7495
|
|
7394
7496
|
],
|
7395
7497
|
"type": {
|
7396
|
-
"kind": "
|
7498
|
+
"kind": "NON_NULL",
|
7397
7499
|
"name": null,
|
7398
7500
|
"ofType": {
|
7399
|
-
"kind": "
|
7501
|
+
"kind": "LIST",
|
7400
7502
|
"name": null,
|
7401
7503
|
"ofType": {
|
7402
|
-
"kind": "
|
7403
|
-
"name":
|
7404
|
-
"ofType":
|
7504
|
+
"kind": "NON_NULL",
|
7505
|
+
"name": null,
|
7506
|
+
"ofType": {
|
7507
|
+
"kind": "OBJECT",
|
7508
|
+
"name": "LedgerLine",
|
7509
|
+
"ofType": null
|
7510
|
+
}
|
7405
7511
|
}
|
7406
7512
|
}
|
7407
7513
|
},
|
@@ -7772,15 +7878,19 @@
|
|
7772
7878
|
|
7773
7879
|
],
|
7774
7880
|
"type": {
|
7775
|
-
"kind": "
|
7881
|
+
"kind": "NON_NULL",
|
7776
7882
|
"name": null,
|
7777
7883
|
"ofType": {
|
7778
|
-
"kind": "
|
7884
|
+
"kind": "LIST",
|
7779
7885
|
"name": null,
|
7780
7886
|
"ofType": {
|
7781
|
-
"kind": "
|
7782
|
-
"name":
|
7783
|
-
"ofType":
|
7887
|
+
"kind": "NON_NULL",
|
7888
|
+
"name": null,
|
7889
|
+
"ofType": {
|
7890
|
+
"kind": "OBJECT",
|
7891
|
+
"name": "Ledger",
|
7892
|
+
"ofType": null
|
7893
|
+
}
|
7784
7894
|
}
|
7785
7895
|
}
|
7786
7896
|
},
|
@@ -7819,6 +7929,16 @@
|
|
7819
7929
|
"description": null,
|
7820
7930
|
"fields": null,
|
7821
7931
|
"inputFields": [
|
7932
|
+
{
|
7933
|
+
"name": "hasSchema",
|
7934
|
+
"description": null,
|
7935
|
+
"type": {
|
7936
|
+
"kind": "SCALAR",
|
7937
|
+
"name": "Boolean",
|
7938
|
+
"ofType": null
|
7939
|
+
},
|
7940
|
+
"defaultValue": null
|
7941
|
+
},
|
7822
7942
|
{
|
7823
7943
|
"name": "type",
|
7824
7944
|
"description": null,
|
@@ -8079,7 +8199,7 @@
|
|
8079
8199
|
},
|
8080
8200
|
{
|
8081
8201
|
"name": "ik",
|
8082
|
-
"description": "The [Idempotency Key](https://fragment.dev/
|
8202
|
+
"description": "The [Idempotency Key](https://fragment.dev/api-reference#api-overview-idempotency)",
|
8083
8203
|
"type": {
|
8084
8204
|
"kind": "NON_NULL",
|
8085
8205
|
"name": null,
|
@@ -8141,7 +8261,7 @@
|
|
8141
8261
|
"args": [
|
8142
8262
|
{
|
8143
8263
|
"name": "ik",
|
8144
|
-
"description": "The [Idempotency Key](https://fragment.dev/
|
8264
|
+
"description": "The [Idempotency Key](https://fragment.dev/api-reference#api-overview-idempotency)",
|
8145
8265
|
"type": {
|
8146
8266
|
"kind": "NON_NULL",
|
8147
8267
|
"name": null,
|
@@ -8186,7 +8306,7 @@
|
|
8186
8306
|
"args": [
|
8187
8307
|
{
|
8188
8308
|
"name": "ik",
|
8189
|
-
"description": "The [Idempotency Key](https://fragment.dev/
|
8309
|
+
"description": "The [Idempotency Key](https://fragment.dev/api-reference#api-overview-idempotency)",
|
8190
8310
|
"type": {
|
8191
8311
|
"kind": "NON_NULL",
|
8192
8312
|
"name": null,
|
@@ -8241,7 +8361,7 @@
|
|
8241
8361
|
"args": [
|
8242
8362
|
{
|
8243
8363
|
"name": "ik",
|
8244
|
-
"description": "The [Idempotency Key](https://fragment.dev/
|
8364
|
+
"description": "The [Idempotency Key](https://fragment.dev/api-reference#api-overview-idempotency)",
|
8245
8365
|
"type": {
|
8246
8366
|
"kind": "NON_NULL",
|
8247
8367
|
"name": null,
|
@@ -9120,9 +9240,13 @@
|
|
9120
9240
|
}
|
9121
9241
|
],
|
9122
9242
|
"type": {
|
9123
|
-
"kind": "
|
9124
|
-
"name":
|
9125
|
-
"ofType":
|
9243
|
+
"kind": "NON_NULL",
|
9244
|
+
"name": null,
|
9245
|
+
"ofType": {
|
9246
|
+
"kind": "OBJECT",
|
9247
|
+
"name": "LedgersConnection",
|
9248
|
+
"ofType": null
|
9249
|
+
}
|
9126
9250
|
},
|
9127
9251
|
"isDeprecated": false,
|
9128
9252
|
"deprecationReason": null
|
@@ -9245,9 +9369,13 @@
|
|
9245
9369
|
}
|
9246
9370
|
],
|
9247
9371
|
"type": {
|
9248
|
-
"kind": "
|
9249
|
-
"name":
|
9250
|
-
"ofType":
|
9372
|
+
"kind": "NON_NULL",
|
9373
|
+
"name": null,
|
9374
|
+
"ofType": {
|
9375
|
+
"kind": "OBJECT",
|
9376
|
+
"name": "SchemaConnection",
|
9377
|
+
"ofType": null
|
9378
|
+
}
|
9251
9379
|
},
|
9252
9380
|
"isDeprecated": false,
|
9253
9381
|
"deprecationReason": null
|
@@ -9652,9 +9780,13 @@
|
|
9652
9780
|
}
|
9653
9781
|
],
|
9654
9782
|
"type": {
|
9655
|
-
"kind": "
|
9656
|
-
"name":
|
9657
|
-
"ofType":
|
9783
|
+
"kind": "NON_NULL",
|
9784
|
+
"name": null,
|
9785
|
+
"ofType": {
|
9786
|
+
"kind": "OBJECT",
|
9787
|
+
"name": "LedgersConnection",
|
9788
|
+
"ofType": null
|
9789
|
+
}
|
9658
9790
|
},
|
9659
9791
|
"isDeprecated": false,
|
9660
9792
|
"deprecationReason": null
|
@@ -10709,9 +10841,13 @@
|
|
10709
10841
|
|
10710
10842
|
],
|
10711
10843
|
"type": {
|
10712
|
-
"kind": "
|
10713
|
-
"name":
|
10714
|
-
"ofType":
|
10844
|
+
"kind": "NON_NULL",
|
10845
|
+
"name": null,
|
10846
|
+
"ofType": {
|
10847
|
+
"kind": "OBJECT",
|
10848
|
+
"name": "LedgerMigrationConnection",
|
10849
|
+
"ofType": null
|
10850
|
+
}
|
10715
10851
|
},
|
10716
10852
|
"isDeprecated": false,
|
10717
10853
|
"deprecationReason": null
|
@@ -11480,9 +11616,13 @@
|
|
11480
11616
|
|
11481
11617
|
],
|
11482
11618
|
"type": {
|
11483
|
-
"kind": "
|
11484
|
-
"name":
|
11485
|
-
"ofType":
|
11619
|
+
"kind": "NON_NULL",
|
11620
|
+
"name": null,
|
11621
|
+
"ofType": {
|
11622
|
+
"kind": "OBJECT",
|
11623
|
+
"name": "LedgerEntriesConnection",
|
11624
|
+
"ofType": null
|
11625
|
+
}
|
11486
11626
|
},
|
11487
11627
|
"isDeprecated": false,
|
11488
11628
|
"deprecationReason": null
|
@@ -11538,9 +11678,13 @@
|
|
11538
11678
|
|
11539
11679
|
],
|
11540
11680
|
"type": {
|
11541
|
-
"kind": "
|
11542
|
-
"name":
|
11543
|
-
"ofType":
|
11681
|
+
"kind": "NON_NULL",
|
11682
|
+
"name": null,
|
11683
|
+
"ofType": {
|
11684
|
+
"kind": "OBJECT",
|
11685
|
+
"name": "LedgerLinesConnection",
|
11686
|
+
"ofType": null
|
11687
|
+
}
|
11544
11688
|
},
|
11545
11689
|
"isDeprecated": false,
|
11546
11690
|
"deprecationReason": null
|
@@ -11760,15 +11904,19 @@
|
|
11760
11904
|
|
11761
11905
|
],
|
11762
11906
|
"type": {
|
11763
|
-
"kind": "
|
11907
|
+
"kind": "NON_NULL",
|
11764
11908
|
"name": null,
|
11765
11909
|
"ofType": {
|
11766
|
-
"kind": "
|
11910
|
+
"kind": "LIST",
|
11767
11911
|
"name": null,
|
11768
11912
|
"ofType": {
|
11769
|
-
"kind": "
|
11770
|
-
"name":
|
11771
|
-
"ofType":
|
11913
|
+
"kind": "NON_NULL",
|
11914
|
+
"name": null,
|
11915
|
+
"ofType": {
|
11916
|
+
"kind": "OBJECT",
|
11917
|
+
"name": "Tx",
|
11918
|
+
"ofType": null
|
11919
|
+
}
|
11772
11920
|
}
|
11773
11921
|
}
|
11774
11922
|
},
|
@@ -12053,23 +12201,37 @@
|
|
12053
12201
|
"description": null,
|
12054
12202
|
"fields": null,
|
12055
12203
|
"inputFields": [
|
12204
|
+
{
|
12205
|
+
"name": "groups",
|
12206
|
+
"description": "The list of Groups to add to this Ledger Entry.",
|
12207
|
+
"type": {
|
12208
|
+
"kind": "LIST",
|
12209
|
+
"name": null,
|
12210
|
+
"ofType": {
|
12211
|
+
"kind": "NON_NULL",
|
12212
|
+
"name": null,
|
12213
|
+
"ofType": {
|
12214
|
+
"kind": "INPUT_OBJECT",
|
12215
|
+
"name": "LedgerEntryGroupInput",
|
12216
|
+
"ofType": null
|
12217
|
+
}
|
12218
|
+
}
|
12219
|
+
},
|
12220
|
+
"defaultValue": null
|
12221
|
+
},
|
12056
12222
|
{
|
12057
12223
|
"name": "tags",
|
12058
12224
|
"description": "The list of Tags to add and/or update on this Ledger Entry.",
|
12059
12225
|
"type": {
|
12060
|
-
"kind": "
|
12226
|
+
"kind": "LIST",
|
12061
12227
|
"name": null,
|
12062
12228
|
"ofType": {
|
12063
|
-
"kind": "
|
12229
|
+
"kind": "NON_NULL",
|
12064
12230
|
"name": null,
|
12065
12231
|
"ofType": {
|
12066
|
-
"kind": "
|
12067
|
-
"name":
|
12068
|
-
"ofType":
|
12069
|
-
"kind": "INPUT_OBJECT",
|
12070
|
-
"name": "LedgerEntryTagInput",
|
12071
|
-
"ofType": null
|
12072
|
-
}
|
12232
|
+
"kind": "INPUT_OBJECT",
|
12233
|
+
"name": "LedgerEntryTagInput",
|
12234
|
+
"ofType": null
|
12073
12235
|
}
|
12074
12236
|
}
|
12075
12237
|
},
|
data/lib/queries.graphql
CHANGED
@@ -218,6 +218,49 @@ mutation ReconcileTxRuntime(
|
|
218
218
|
}
|
219
219
|
}
|
220
220
|
|
221
|
+
mutation UpdateLedgerEntry(
|
222
|
+
$entryIk: SafeString!
|
223
|
+
$ledgerIk: SafeString!
|
224
|
+
$update: UpdateLedgerEntryInput!
|
225
|
+
) {
|
226
|
+
updateLedgerEntry(
|
227
|
+
ledgerEntry: { ik: $entryIk, ledger: { ik: $ledgerIk } }
|
228
|
+
update: $update
|
229
|
+
) {
|
230
|
+
__typename
|
231
|
+
... on UpdateLedgerEntryResult {
|
232
|
+
entry {
|
233
|
+
id
|
234
|
+
ik
|
235
|
+
posted
|
236
|
+
created
|
237
|
+
description
|
238
|
+
lines {
|
239
|
+
nodes {
|
240
|
+
id
|
241
|
+
amount
|
242
|
+
account {
|
243
|
+
path
|
244
|
+
}
|
245
|
+
}
|
246
|
+
}
|
247
|
+
groups {
|
248
|
+
key
|
249
|
+
value
|
250
|
+
}
|
251
|
+
tags {
|
252
|
+
key
|
253
|
+
value
|
254
|
+
}
|
255
|
+
}
|
256
|
+
}
|
257
|
+
... on Error {
|
258
|
+
code
|
259
|
+
message
|
260
|
+
}
|
261
|
+
}
|
262
|
+
}
|
263
|
+
|
221
264
|
mutation UpdateLedger($ledgerIk: SafeString!, $update: UpdateLedgerInput!) {
|
222
265
|
updateLedger(ledger: { ik: $ledgerIk }, update: $update) {
|
223
266
|
__typename
|
@@ -500,6 +543,52 @@ query GetLedgerAccountBalance(
|
|
500
543
|
}
|
501
544
|
}
|
502
545
|
|
546
|
+
query ListLedgerEntryGroupBalances(
|
547
|
+
$ledgerIk: SafeString!
|
548
|
+
$groupKey: SafeString!
|
549
|
+
$groupValue: SafeString!
|
550
|
+
$consistencyMode: ReadBalanceConsistencyMode = use_account
|
551
|
+
$after: String
|
552
|
+
$before: String
|
553
|
+
$first: Int
|
554
|
+
$last: Int
|
555
|
+
$filter: LedgerEntryGroupBalanceFilterSet
|
556
|
+
) {
|
557
|
+
ledgerEntryGroup(ledgerEntryGroup: {
|
558
|
+
ledger: { ik: $ledgerIk },
|
559
|
+
key: $groupKey,
|
560
|
+
value: $groupValue,
|
561
|
+
}) {
|
562
|
+
key
|
563
|
+
value
|
564
|
+
created
|
565
|
+
balances(
|
566
|
+
after: $after,
|
567
|
+
before: $before,
|
568
|
+
first: $first,
|
569
|
+
last: $last,
|
570
|
+
filter: $filter,
|
571
|
+
){
|
572
|
+
nodes {
|
573
|
+
account {
|
574
|
+
path
|
575
|
+
}
|
576
|
+
currency {
|
577
|
+
code
|
578
|
+
customCurrencyId
|
579
|
+
}
|
580
|
+
ownBalance(consistencyMode: $consistencyMode)
|
581
|
+
}
|
582
|
+
pageInfo {
|
583
|
+
hasNextPage
|
584
|
+
endCursor
|
585
|
+
hasPreviousPage
|
586
|
+
startCursor
|
587
|
+
}
|
588
|
+
}
|
589
|
+
}
|
590
|
+
}
|
591
|
+
|
503
592
|
query GetSchema($key: SafeString!, $version: Int) {
|
504
593
|
schema(schema: { key: $key, version: $version }) {
|
505
594
|
key
|
@@ -520,7 +609,12 @@ query ListLedgerEntries(
|
|
520
609
|
$filter: LedgerEntriesFilterSet
|
521
610
|
) {
|
522
611
|
ledger(ledger: { ik: $ledgerIk }) {
|
523
|
-
ledgerEntries(
|
612
|
+
ledgerEntries(
|
613
|
+
after: $after
|
614
|
+
first: $first
|
615
|
+
before: $before
|
616
|
+
filter: $filter
|
617
|
+
) {
|
524
618
|
nodes {
|
525
619
|
ik
|
526
620
|
type
|
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.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fragment
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-07-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
requirements: []
|
91
|
-
rubygems_version: 3.5.
|
91
|
+
rubygems_version: 3.5.11
|
92
92
|
signing_key:
|
93
93
|
specification_version: 4
|
94
94
|
summary: the ruby fragment client sdk
|