fragment-dev 1.3.0 → 1.4.1
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 +2420 -630
- data/lib/fragment_client/version.rb +1 -1
- data/lib/queries.graphql +100 -1
- metadata +7 -3
data/lib/queries.graphql
CHANGED
@@ -151,11 +151,11 @@ mutation AddLedgerEntry(
|
|
151
151
|
}
|
152
152
|
}
|
153
153
|
|
154
|
-
|
155
154
|
mutation ReverseLedgerEntry(
|
156
155
|
$id: ID!
|
157
156
|
) {
|
158
157
|
reverseLedgerEntry(id: $id) {
|
158
|
+
__typename
|
159
159
|
... on ReverseLedgerEntryResult {
|
160
160
|
reversingLedgerEntry {
|
161
161
|
ik
|
@@ -208,6 +208,88 @@ mutation ReverseLedgerEntry(
|
|
208
208
|
}
|
209
209
|
}
|
210
210
|
|
211
|
+
mutation MigrateLedgerEntry(
|
212
|
+
$id: ID!
|
213
|
+
$newLedgerEntry: LedgerEntryInput!
|
214
|
+
) {
|
215
|
+
migrateLedgerEntry(input: {
|
216
|
+
id: $id
|
217
|
+
newLedgerEntry: $newLedgerEntry
|
218
|
+
}) {
|
219
|
+
__typename
|
220
|
+
... on MigrateLedgerEntryResult {
|
221
|
+
reversingLedgerEntry {
|
222
|
+
ik
|
223
|
+
id
|
224
|
+
created
|
225
|
+
posted
|
226
|
+
type
|
227
|
+
description
|
228
|
+
reversedAt
|
229
|
+
hidden
|
230
|
+
lines {
|
231
|
+
nodes {
|
232
|
+
id
|
233
|
+
amount
|
234
|
+
account {
|
235
|
+
path
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
}
|
240
|
+
reversedLedgerEntry {
|
241
|
+
ik
|
242
|
+
id
|
243
|
+
created
|
244
|
+
posted
|
245
|
+
type
|
246
|
+
description
|
247
|
+
reversedAt
|
248
|
+
hidden
|
249
|
+
lines {
|
250
|
+
nodes {
|
251
|
+
id
|
252
|
+
amount
|
253
|
+
account {
|
254
|
+
path
|
255
|
+
}
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
newLedgerEntry {
|
260
|
+
ik
|
261
|
+
id
|
262
|
+
created
|
263
|
+
posted
|
264
|
+
type
|
265
|
+
description
|
266
|
+
reversedAt
|
267
|
+
hidden
|
268
|
+
lines {
|
269
|
+
nodes {
|
270
|
+
id
|
271
|
+
amount
|
272
|
+
account {
|
273
|
+
path
|
274
|
+
}
|
275
|
+
}
|
276
|
+
}
|
277
|
+
}
|
278
|
+
isIkReplay
|
279
|
+
}
|
280
|
+
... on BadRequestError {
|
281
|
+
code
|
282
|
+
message
|
283
|
+
retryable
|
284
|
+
}
|
285
|
+
... on InternalError {
|
286
|
+
code
|
287
|
+
message
|
288
|
+
retryable
|
289
|
+
}
|
290
|
+
}
|
291
|
+
}
|
292
|
+
|
211
293
|
mutation AddLedgerEntryRuntime(
|
212
294
|
$ik: SafeString!
|
213
295
|
$type: String!
|
@@ -746,6 +828,23 @@ query GetLedgerAccountBalance(
|
|
746
828
|
}
|
747
829
|
}
|
748
830
|
|
831
|
+
query GetLedgerAccountBalanceWithChildRollup(
|
832
|
+
$path: String!
|
833
|
+
$ledgerIk: SafeString!
|
834
|
+
$balanceCurrency: CurrencyMatchInput
|
835
|
+
$balanceAt: LastMoment
|
836
|
+
) {
|
837
|
+
ledgerAccount(ledgerAccount: { ledger: { ik: $ledgerIk }, path: $path }) {
|
838
|
+
id
|
839
|
+
path
|
840
|
+
balance(
|
841
|
+
currency: $balanceCurrency
|
842
|
+
at: $balanceAt
|
843
|
+
)
|
844
|
+
}
|
845
|
+
}
|
846
|
+
|
847
|
+
|
749
848
|
query GetSchema($key: SafeString!, $version: Int) {
|
750
849
|
schema(schema: { key: $key, version: $version }) {
|
751
850
|
key
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fragment-dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fragment
|
8
|
+
autorequire:
|
8
9
|
bindir: bin
|
9
10
|
cert_chain: []
|
10
|
-
date: 2025-
|
11
|
+
date: 2025-08-19 00:00:00.000000000 Z
|
11
12
|
dependencies:
|
12
13
|
- !ruby/object:Gem::Dependency
|
13
14
|
name: graphql
|
@@ -57,6 +58,7 @@ dependencies:
|
|
57
58
|
- - "~>"
|
58
59
|
- !ruby/object:Gem::Version
|
59
60
|
version: '0.5'
|
61
|
+
description:
|
60
62
|
email: snoble@fragment.dev
|
61
63
|
executables: []
|
62
64
|
extensions: []
|
@@ -71,6 +73,7 @@ homepage: https://fragment.dev
|
|
71
73
|
licenses:
|
72
74
|
- Apache-2.0
|
73
75
|
metadata: {}
|
76
|
+
post_install_message:
|
74
77
|
rdoc_options: []
|
75
78
|
require_paths:
|
76
79
|
- lib
|
@@ -85,7 +88,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
88
|
- !ruby/object:Gem::Version
|
86
89
|
version: '0'
|
87
90
|
requirements: []
|
88
|
-
rubygems_version: 3.
|
91
|
+
rubygems_version: 3.5.22
|
92
|
+
signing_key:
|
89
93
|
specification_version: 4
|
90
94
|
summary: the ruby fragment client sdk
|
91
95
|
test_files: []
|