@paris-ias/trees 2.0.50 → 2.0.51

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,3 +1,8 @@
1
- mutation DeleteItem($appId: String, $itemId: String, $type: String!) {
2
- deleteItem(appId: $appId, itemId: $itemId, type: $type)
1
+ mutation DeleteItem(
2
+ $appId: String
3
+ $itemId: String
4
+ $type: String!
5
+ $lang: String = "en"
6
+ ) {
7
+ deleteItem(appId: $appId, itemId: $itemId, lang: $lang, type: $type)
3
8
  }
@@ -2,7 +2,14 @@ mutation UpsertItem(
2
2
  $appId: ID = "iea"
3
3
  $itemId: ID
4
4
  $type: String!
5
+ $lang: String = "en"
5
6
  $item: AWSJSON!
6
7
  ) {
7
- upsertItem(appId: $appId, itemId: $itemId, type: $type, item: $item)
8
+ upsertItem(
9
+ appId: $appId
10
+ itemId: $itemId
11
+ type: $type
12
+ lang: $lang
13
+ item: $item
14
+ )
8
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paris-ias/trees",
3
- "version": "2.0.50",
3
+ "version": "2.0.51",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",