@panneau/data 3.0.281 → 3.0.283

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.
Files changed (2) hide show
  1. package/es/index.js +7 -0
  2. package/package.json +3 -3
package/es/index.js CHANGED
@@ -1229,6 +1229,13 @@ var ResourcesApi = /*#__PURE__*/function () {
1229
1229
  withCredentials: true
1230
1230
  });
1231
1231
  }
1232
+ }, {
1233
+ key: "clone",
1234
+ value: function clone(resource, data) {
1235
+ return this.api.requestPost(this.resourceRoute(resource, 'clone'), data, {
1236
+ withCredentials: true
1237
+ });
1238
+ }
1232
1239
  }]);
1233
1240
  }();
1234
1241
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/data",
3
- "version": "3.0.281",
3
+ "version": "3.0.283",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -59,7 +59,7 @@
59
59
  "@babel/runtime": "^7.12.5",
60
60
  "@folklore/fetch": "^0.1.17",
61
61
  "@folklore/routes": "^0.2.26",
62
- "@panneau/core": "^3.0.281",
62
+ "@panneau/core": "^3.0.283",
63
63
  "@tanstack/react-query": "^5.29.2",
64
64
  "lodash-es": "^4.17.21",
65
65
  "prop-types": "^15.7.2",
@@ -68,5 +68,5 @@
68
68
  "publishConfig": {
69
69
  "access": "public"
70
70
  },
71
- "gitHead": "cd0e6200af7c6f27d6e41acd13a8aba548dffd91"
71
+ "gitHead": "7295ec0fa362a586252e5ff6fa3a01717c84e2d1"
72
72
  }