@things-factory/attachment-ui 4.0.1 → 4.0.4

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.
@@ -31,22 +31,12 @@ const FETCH_ATTACHMENT_LIST_GQL = listParam => {
31
31
 
32
32
  const DELETE_ATTACHMENT_GQL = gql`
33
33
  mutation DeleteAttachment($id: String!) {
34
- deleteAttachment(id: $id) {
35
- id
36
- name
37
- description
38
- mimetype
39
- encoding
40
- category
41
- path
42
- createdAt
43
- updatedAt
44
- }
34
+ deleteAttachment(id: $id)
45
35
  }
46
36
  `
47
37
 
48
38
  const CREATE_ATTACHMENTS_GQL = gql`
49
- mutation($attachments: [NewAttachment]!) {
39
+ mutation($attachments: [NewAttachment!]!) {
50
40
  createAttachments(attachments: $attachments) {
51
41
  id
52
42
  name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/attachment-ui",
3
- "version": "4.0.1",
3
+ "version": "4.0.4",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -25,9 +25,9 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@operato/headroom": "^0.1.11",
28
- "@things-factory/attachment-base": "^4.0.1",
29
- "@things-factory/image-uploader-ui": "^4.0.1",
30
- "@things-factory/layout-base": "^4.0.1"
28
+ "@things-factory/attachment-base": "^4.0.4",
29
+ "@things-factory/image-uploader-ui": "^4.0.4",
30
+ "@things-factory/layout-base": "^4.0.4"
31
31
  },
32
- "gitHead": "6803d6f150cc64cbb8b12a88d9131bb6fb9ad880"
32
+ "gitHead": "292d7c4e2675d228d6be474ea6a0525d26ac1657"
33
33
  }