@panneau/data 4.0.63 → 4.0.66

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/dist/index.d.ts +1 -0
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -100,6 +100,7 @@ type UseResourceDestroyResult = UseMutationResult & {
100
100
  destroyAsync: (id?: string) => Promise<unknown>;
101
101
  loading: boolean;
102
102
  };
103
+ declare function useResourceDestroy(resource: Resource | string): UseResourceDestroyResult;
103
104
  declare function useResourceDestroy(id: string | null): UseResourceDestroyResult;
104
105
  declare function useResourceDestroy(id: string | null, options: UseMutationOptions): UseResourceDestroyResult;
105
106
  declare function useResourceDestroy(resource: Resource | string, id: string | null): UseResourceDestroyResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@panneau/data",
3
- "version": "4.0.63",
3
+ "version": "4.0.66",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "javascript"
@@ -55,7 +55,7 @@
55
55
  "@babel/runtime": "^7.28.6",
56
56
  "@folklore/fetch": "^0.1.21",
57
57
  "@folklore/routes": "^0.2.44",
58
- "@panneau/core": "^4.0.58",
58
+ "@panneau/core": "^4.0.66",
59
59
  "@tanstack/react-query": "^5.100.9",
60
60
  "lodash": "^4.17.21",
61
61
  "query-string": "^9.0.0"
@@ -71,5 +71,5 @@
71
71
  "publishConfig": {
72
72
  "access": "public"
73
73
  },
74
- "gitHead": "5b20f29e0c3cf377ae50b946ac93e037936f961a"
74
+ "gitHead": "9f89301a517c628efb03ed6f27632c66a03dd146"
75
75
  }