@things-factory/biz-ui 10.1.256 → 10.1.258

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.
@@ -262,8 +262,8 @@ class BizplaceList extends localize(i18next)(PageView) {
262
262
  }
263
263
  })
264
264
 
265
- const response = await client.query({
266
- query: gql`
265
+ const response = await client.mutate({
266
+ mutation: gql`
267
267
  mutation {
268
268
  updateMultipleBizplace(${gqlBuilder.buildArgs({
269
269
  patches
@@ -299,8 +299,8 @@ class BizplaceList extends localize(i18next)(PageView) {
299
299
 
300
300
  if (!answer.value) return
301
301
 
302
- const response = await client.query({
303
- query: gql`
302
+ const response = await client.mutate({
303
+ mutation: gql`
304
304
  mutation {
305
305
  deleteBizplaces(${gqlBuilder.buildArgs({ ids })})
306
306
  }
@@ -277,8 +277,8 @@ class CompanyList extends localize(i18next)(PageView) {
277
277
 
278
278
  async _saveCompanies(patches) {
279
279
  if (patches && patches.length) {
280
- const response = await client.query({
281
- query: gql`
280
+ const response = await client.mutate({
281
+ mutation: gql`
282
282
  mutation {
283
283
  updateMultipleCompany(${gqlBuilder.buildArgs({
284
284
  patches
@@ -320,8 +320,8 @@ class CompanyList extends localize(i18next)(PageView) {
320
320
 
321
321
  if (!anwer.value) return
322
322
 
323
- const response = await client.query({
324
- query: gql`
323
+ const response = await client.mutate({
324
+ mutation: gql`
325
325
  mutation {
326
326
  deleteCompanies(${gqlBuilder.buildArgs({ ids })})
327
327
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/biz-ui",
3
- "version": "10.1.256",
3
+ "version": "10.1.258",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.ts",
6
6
  "things-factory": true,
@@ -24,15 +24,15 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create ./server/migrations/migration"
25
25
  },
26
26
  "dependencies": {
27
- "@operato/data-grist": "^10.0.0",
27
+ "@operato/data-grist": "^10.29.69",
28
28
  "@operato/layout": "^10.0.0",
29
29
  "@operato/styles": "^10.0.0",
30
- "@things-factory/biz-base": "^10.1.256",
31
- "@things-factory/code-base": "^10.1.256",
30
+ "@things-factory/biz-base": "^10.1.258",
31
+ "@things-factory/code-base": "^10.1.258",
32
32
  "@things-factory/form-ui": "^10.1.179",
33
- "@things-factory/i18n-base": "^10.1.256",
34
- "@things-factory/import-ui": "^10.1.256",
35
- "@things-factory/shell": "^10.1.254"
33
+ "@things-factory/i18n-base": "^10.1.258",
34
+ "@things-factory/import-ui": "^10.1.258",
35
+ "@things-factory/shell": "^10.1.258"
36
36
  },
37
- "gitHead": "2fd641697190ce6e87bcf454a60b2321553e8110"
37
+ "gitHead": "c7b7e3b4e9aa1b36a246ccee312a4124a50924dd"
38
38
  }