@carbonorm/carbonnode 2.0.12 → 2.0.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carbonorm/carbonnode",
3
- "version": "2.0.12",
3
+ "version": "2.0.13",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "browser": "dist/index.umd.js",
@@ -15,7 +15,7 @@ import {
15
15
  import {AxiosResponse} from "axios";{{/REACT_IMPORT}}
16
16
  import {C6, i{{TABLE_NAME_SHORT_PASCAL_CASE}}, {{TABLE_NAME_SHORT}}, RestTableNames} from "./C6";{{#if REACT_IMPORT}}
17
17
  import {deleteRestfulObjectArrays, updateRestfulObjectArrays} from "@carbonorm/carbonreact";
18
- {{REACT_IMPORT}};{{/if}}
18
+ {{{REACT_IMPORT}}};{{/if}}
19
19
 
20
20
  /**
21
21
  {{{TABLE_DEFINITION}}}
@@ -66,7 +66,7 @@ const Put = restRequest<PutCustomAndRequiredFields, i{{TABLE_NAME_SHORT_PASCAL_C
66
66
  request.error ??= 'An unknown issue occurred updating the {{TABLE_NAME_SHORT}} data!'
67
67
  return request
68
68
  },{{#if REACT_IMPORT}}
69
- responseCallback: putState{{TABLE_NAME_SHORT_PASCAL_CASE}}{{/if}}
69
+ responseCallback: putState{{/if}}
70
70
  });
71
71
 
72
72
  type PostCustomAndRequiredFields = {}
@@ -110,7 +110,7 @@ const Post = restRequest<PostCustomAndRequiredFields, i{{TABLE_NAME_SHORT_PASCAL
110
110
  request.error ??= 'An unknown issue occurred creating the {{TABLE_NAME_SHORT}} data!'
111
111
  return request
112
112
  },{{#if REACT_IMPORT}}
113
- responseCallback: postState{{TABLE_NAME_SHORT_PASCAL_CASE}}{{/if}}
113
+ responseCallback: postState{{/if}}
114
114
  });
115
115
 
116
116
  type DeleteCustomAndRequiredFields = {}
@@ -133,7 +133,7 @@ const Delete = restRequest<DeleteCustomAndRequiredFields, i{{TABLE_NAME_SHORT_PA
133
133
  request.error ??= 'An unknown issue occurred removing the {{TABLE_NAME_SHORT}} data!'
134
134
  return request
135
135
  },{{#if REACT_IMPORT}}
136
- responseCallback: deleteState{{TABLE_NAME_SHORT_PASCAL_CASE}}{{/if}}
136
+ responseCallback: deleteState{{/if}}
137
137
  });
138
138
 
139
139
  const {{TABLE_NAME_SHORT_PASCAL_CASE}} = {