@kubb/plugin-react-query 5.10.0-canary.20261109T191216 → 5.10.0
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/dist/index.cjs +598 -569
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +597 -568
- package/dist/index.js.map +1 -1
- package/docs/options.md +1 -1
- package/kubb-extension.json +1 -1
- package/package.json +9 -8
package/docs/options.md
CHANGED
|
@@ -64,7 +64,7 @@ Shape of the value the generated hooks resolve to.
|
|
|
64
64
|
::field-group
|
|
65
65
|
|
|
66
66
|
:::field{name="'full'"}
|
|
67
|
-
Returns the client's whole `RequestResult` (`{ status, data, error, contentType, request, response }`), so a hook can read the status and the response headers next to `data`. Infinite queries read the page cursor from `lastPage.data`. Needs a client plugin whose own `returnType` is `'full'` or `'plain'`; with a client `returnType: 'data'` generation stops with an error.
|
|
67
|
+
Returns the client's whole `RequestResult` (`{ status, data, error, contentType, headers, request, response }`), so a hook can read the status and the response headers next to `data`. Infinite queries read the page cursor from `lastPage.data`. Needs a client plugin whose own `returnType` is `'full'` or `'plain'`; with a client `returnType: 'data'` generation stops with an error.
|
|
68
68
|
:::
|
|
69
69
|
|
|
70
70
|
:::field{name="'data'"}
|
package/kubb-extension.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-react-query",
|
|
3
|
-
"version": "5.10.0
|
|
3
|
+
"version": "5.10.0",
|
|
4
4
|
"description": "Generate type-safe TanStack Query (React Query) hooks with Kubb. Covers useQuery, useMutation, useInfiniteQuery, and queryOptions with full TypeScript support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code-generation",
|
|
@@ -81,15 +81,16 @@
|
|
|
81
81
|
"registry": "https://registry.npmjs.org/"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@kubb/kit": "^5.
|
|
85
|
-
"@kubb/plugin-ts": "^5.5.0
|
|
86
|
-
"@kubb/renderer-jsx": "^5.
|
|
84
|
+
"@kubb/kit": "^5.18.6",
|
|
85
|
+
"@kubb/plugin-ts": "^5.5.0",
|
|
86
|
+
"@kubb/renderer-jsx": "^5.18.6"
|
|
87
87
|
},
|
|
88
88
|
"devDependencies": {
|
|
89
|
-
"@internals/client": "0.
|
|
90
|
-
"@internals/shared": "0.
|
|
91
|
-
"@internals/tanstack-query": "0.
|
|
92
|
-
"@internals/utils": "0.
|
|
89
|
+
"@internals/client": "0.0.0",
|
|
90
|
+
"@internals/shared": "0.0.0",
|
|
91
|
+
"@internals/tanstack-query": "0.0.0",
|
|
92
|
+
"@internals/utils": "0.0.0",
|
|
93
|
+
"@kubb/plugin-client": "6.0.0",
|
|
93
94
|
"@tanstack/react-query": "^5.106.1"
|
|
94
95
|
},
|
|
95
96
|
"peerDependencies": {
|