fragment-dev 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 631c2b006c5d31b6a8f4e96e349b1de4d569890a05179019f5c0bf05f24835df
4
- data.tar.gz: b3b31666d90a8239bc77ac6a4f1eec9228f180225960acf2435341322c2e7422
3
+ metadata.gz: b9dc110e67fd1e478b841bb276478c10f385fed0885862e9c6d124116e274e18
4
+ data.tar.gz: 4e27e688e751e8282395b2e6739c6d91888352e6f8ca64830f6b6fd385e19635
5
5
  SHA512:
6
- metadata.gz: 1b7d72629f92cca72fbad1ada9c9758575e885e307e7820e80f480c36bb2dac48e2026e5a3b3e986878109938ce2717085583ce7b57617ad2184d62170533e94
7
- data.tar.gz: 7c43eb18d247539a2243a2984bee94d8864af1d47fbff3961440b424c4365010ff0c94556ebcbc649c5408fad03616cc9fbfc5ac5274728faf963f8e02ea2d6d
6
+ metadata.gz: 62c90b3d3f0e109768e20b1c43a07bc02869fc670f2139a5eb8ed0b3f653c358058abd315f739e512e96109529d4657875113f386552b01f11ce6dc0fbd61d06
7
+ data.tar.gz: e929bcefe6c06691371920910fa46924d16a44642cb23d76c7aecfa4d0db44a7031661f0fc3ecdb2aaf505d7a1f20811920a88d29c2a7297748fbf4e3a4f31ef
@@ -7819,6 +7819,16 @@
7819
7819
  "description": null,
7820
7820
  "fields": null,
7821
7821
  "inputFields": [
7822
+ {
7823
+ "name": "hasSchema",
7824
+ "description": null,
7825
+ "type": {
7826
+ "kind": "SCALAR",
7827
+ "name": "Boolean",
7828
+ "ofType": null
7829
+ },
7830
+ "defaultValue": null
7831
+ },
7822
7832
  {
7823
7833
  "name": "type",
7824
7834
  "description": null,
@@ -8079,7 +8089,7 @@
8079
8089
  },
8080
8090
  {
8081
8091
  "name": "ik",
8082
- "description": "The [Idempotency Key](https://fragment.dev/docs#integrate-the-api-use-idempotency)",
8092
+ "description": "The [Idempotency Key](https://fragment.dev/api-reference#api-overview-idempotency)",
8083
8093
  "type": {
8084
8094
  "kind": "NON_NULL",
8085
8095
  "name": null,
@@ -8141,7 +8151,7 @@
8141
8151
  "args": [
8142
8152
  {
8143
8153
  "name": "ik",
8144
- "description": "The [Idempotency Key](https://fragment.dev/docs#integrate-the-api-use-idempotency)",
8154
+ "description": "The [Idempotency Key](https://fragment.dev/api-reference#api-overview-idempotency)",
8145
8155
  "type": {
8146
8156
  "kind": "NON_NULL",
8147
8157
  "name": null,
@@ -8186,7 +8196,7 @@
8186
8196
  "args": [
8187
8197
  {
8188
8198
  "name": "ik",
8189
- "description": "The [Idempotency Key](https://fragment.dev/docs#integrate-the-api-use-idempotency)",
8199
+ "description": "The [Idempotency Key](https://fragment.dev/api-reference#api-overview-idempotency)",
8190
8200
  "type": {
8191
8201
  "kind": "NON_NULL",
8192
8202
  "name": null,
@@ -8241,7 +8251,7 @@
8241
8251
  "args": [
8242
8252
  {
8243
8253
  "name": "ik",
8244
- "description": "The [Idempotency Key](https://fragment.dev/docs#integrate-the-api-use-idempotency)",
8254
+ "description": "The [Idempotency Key](https://fragment.dev/api-reference#api-overview-idempotency)",
8245
8255
  "type": {
8246
8256
  "kind": "NON_NULL",
8247
8257
  "name": null,
@@ -12053,23 +12063,37 @@
12053
12063
  "description": null,
12054
12064
  "fields": null,
12055
12065
  "inputFields": [
12066
+ {
12067
+ "name": "groups",
12068
+ "description": "The list of Groups to add to this Ledger Entry.",
12069
+ "type": {
12070
+ "kind": "LIST",
12071
+ "name": null,
12072
+ "ofType": {
12073
+ "kind": "NON_NULL",
12074
+ "name": null,
12075
+ "ofType": {
12076
+ "kind": "INPUT_OBJECT",
12077
+ "name": "LedgerEntryGroupInput",
12078
+ "ofType": null
12079
+ }
12080
+ }
12081
+ },
12082
+ "defaultValue": null
12083
+ },
12056
12084
  {
12057
12085
  "name": "tags",
12058
12086
  "description": "The list of Tags to add and/or update on this Ledger Entry.",
12059
12087
  "type": {
12060
- "kind": "NON_NULL",
12088
+ "kind": "LIST",
12061
12089
  "name": null,
12062
12090
  "ofType": {
12063
- "kind": "LIST",
12091
+ "kind": "NON_NULL",
12064
12092
  "name": null,
12065
12093
  "ofType": {
12066
- "kind": "NON_NULL",
12067
- "name": null,
12068
- "ofType": {
12069
- "kind": "INPUT_OBJECT",
12070
- "name": "LedgerEntryTagInput",
12071
- "ofType": null
12072
- }
12094
+ "kind": "INPUT_OBJECT",
12095
+ "name": "LedgerEntryTagInput",
12096
+ "ofType": null
12073
12097
  }
12074
12098
  }
12075
12099
  },
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FragmentSDK
4
- VERSION = '1.1.2'
4
+ VERSION = '1.1.3'
5
5
  end
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
@@ -520,7 +563,12 @@ query ListLedgerEntries(
520
563
  $filter: LedgerEntriesFilterSet
521
564
  ) {
522
565
  ledger(ledger: { ik: $ledgerIk }) {
523
- ledgerEntries(after: $after, first: $first, before: $before, filter: $filter) {
566
+ ledgerEntries(
567
+ after: $after
568
+ first: $first
569
+ before: $before
570
+ filter: $filter
571
+ ) {
524
572
  nodes {
525
573
  ik
526
574
  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.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - fragment
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-15 00:00:00.000000000 Z
11
+ date: 2024-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql