@things-factory/font-ui 4.0.0 → 4.0.6

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.
@@ -355,7 +355,7 @@ export class FontSelector extends localize(i18next)(connect(store)(LitElement))
355
355
  async attachFiles(files, fields = []) {
356
356
  var attaching = await client.mutate({
357
357
  mutation: gql`
358
- mutation($attachments: [NewAttachment]!) {
358
+ mutation($attachments: [NewAttachment!]!) {
359
359
  createAttachments(attachments: $attachments) {
360
360
  id
361
361
  }
@@ -398,18 +398,8 @@ export class FontSelector extends localize(i18next)(connect(store)(LitElement))
398
398
  require.resolve('@things-factory/attachment-ui')
399
399
  client.mutate({
400
400
  mutation: gql`
401
- mutation($refBys: [String]!) {
402
- deleteAttachmentsByRef(refBys: $refBys) {
403
- id
404
- name
405
- description
406
- mimetype
407
- encoding
408
- category
409
- path
410
- createdAt
411
- updatedAt
412
- }
401
+ mutation($refBys: [String!]!) {
402
+ deleteAttachmentsByRef(refBys: $refBys)
413
403
  }
414
404
  `,
415
405
  variables: {
@@ -417,6 +407,7 @@ export class FontSelector extends localize(i18next)(connect(store)(LitElement))
417
407
  }
418
408
  })
419
409
  } catch (e) {}
410
+
420
411
  store.dispatch(deleteFont(font))
421
412
  }
422
413
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/font-ui",
3
- "version": "4.0.0",
3
+ "version": "4.0.6",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,11 +24,11 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@operato/headroom": "^0.1.11",
28
- "@things-factory/attachment-ui": "^4.0.0",
29
- "@things-factory/font-base": "^4.0.0",
30
- "@things-factory/layout-base": "^4.0.0",
27
+ "@operato/headroom": "^0.2.26",
28
+ "@things-factory/attachment-ui": "^4.0.6",
29
+ "@things-factory/font-base": "^4.0.6",
30
+ "@things-factory/layout-base": "^4.0.6",
31
31
  "uuid": "^3.4.0"
32
32
  },
33
- "gitHead": "435f0731c09ba124ed608580f3cdfb722f5ab891"
33
+ "gitHead": "471247c3499ba439b074c7654ae8d8e9fc3972f0"
34
34
  }