@things-factory/document-template-ui 4.0.23 → 4.0.27

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.
@@ -161,7 +161,7 @@ class DocumentTemplateList extends localize(i18next)(PageView) {
161
161
 
162
162
  const response = await client.query({
163
163
  query: gql`
164
- query attachments($filters: [Filter], $pagination: Pagination, $sortings: [Sorting]) {
164
+ query attachments($filters: [Filter!], $pagination: Pagination, $sortings: [Sorting!]) {
165
165
  attachments(filters: $filters, pagination: $pagination, sortings: $sortings) {
166
166
  items {
167
167
  id
@@ -232,9 +232,7 @@ class DocumentTemplateList extends localize(i18next)(PageView) {
232
232
  const response = await client.mutate({
233
233
  mutation: gql`
234
234
  mutation deleteAttachment($id: String!) {
235
- deleteAttachment(id: $id) {
236
- name
237
- }
235
+ deleteAttachment(id: $id)
238
236
  }
239
237
  `,
240
238
  variables: { id },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@things-factory/document-template-ui",
3
- "version": "4.0.23",
3
+ "version": "4.0.27",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -24,13 +24,13 @@
24
24
  "migration:create": "node ../../node_modules/typeorm/cli.js migration:create -d ./server/migrations"
25
25
  },
26
26
  "dependencies": {
27
- "@things-factory/code-base": "^4.0.23",
28
- "@things-factory/document-template-base": "^4.0.23",
29
- "@things-factory/form-ui": "^4.0.23",
30
- "@things-factory/grist-ui": "^4.0.23",
31
- "@things-factory/i18n-base": "^4.0.23",
32
- "@things-factory/styles": "^4.0.23",
33
- "@things-factory/utils": "^4.0.23"
27
+ "@things-factory/code-base": "^4.0.27",
28
+ "@things-factory/document-template-base": "^4.0.27",
29
+ "@things-factory/form-ui": "^4.0.27",
30
+ "@things-factory/grist-ui": "^4.0.27",
31
+ "@things-factory/i18n-base": "^4.0.27",
32
+ "@things-factory/styles": "^4.0.27",
33
+ "@things-factory/utils": "^4.0.27"
34
34
  },
35
- "gitHead": "49ba662dea1d349e9608a9a58c8fcfbc1310a5d6"
35
+ "gitHead": "276eaface2890c8f229ce6c9f64cde9c6b1e0083"
36
36
  }