@kubb/plugin-react-query 5.3.0 → 5.3.2
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/README.md +2 -2
- package/dist/index.cjs +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/docs/guides/calling-operations.md +167 -0
- package/docs/options.md +308 -0
- package/docs/overview.md +43 -0
- package/kubb-extension.json +225 -0
- package/package.json +9 -6
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./rolldown-runtime-C0LytTxp.js";
|
|
2
|
-
import { Resolver, Url, addGenerator, ast, createResolver,
|
|
2
|
+
import { Resolver, Url, addGenerator, ast, createResolver, defineExtension, defineGenerator, setMacros, setResolver, useConfig } from "kubb/kit";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { createFunctionParameter, createFunctionParameters, createObjectBindingPattern, createTypeLiteral, functionPrinter, pluginTsName } from "@kubb/plugin-ts";
|
|
5
5
|
import { File, Function, Type, jsxRenderer } from "kubb/jsx";
|
|
@@ -323,8 +323,14 @@ function createGroupConfig(group) {
|
|
|
323
323
|
};
|
|
324
324
|
}
|
|
325
325
|
//#endregion
|
|
326
|
+
//#region kubb-extension.json
|
|
327
|
+
var compatibility = {
|
|
328
|
+
"kubb": ">=5.8.3",
|
|
329
|
+
"node": ">=22"
|
|
330
|
+
};
|
|
331
|
+
//#endregion
|
|
326
332
|
//#region package.json
|
|
327
|
-
var version = "5.3.
|
|
333
|
+
var version = "5.3.2";
|
|
328
334
|
//#endregion
|
|
329
335
|
//#region ../../internals/client/src/resolveClient.ts
|
|
330
336
|
/**
|
|
@@ -2441,11 +2447,12 @@ const pluginReactQueryName = "plugin-react-query";
|
|
|
2441
2447
|
* })
|
|
2442
2448
|
* ```
|
|
2443
2449
|
*/
|
|
2444
|
-
const pluginReactQuery =
|
|
2450
|
+
const pluginReactQuery = defineExtension({
|
|
2451
|
+
kind: "plugin",
|
|
2445
2452
|
meta: {
|
|
2446
2453
|
name: pluginReactQueryName,
|
|
2447
2454
|
version,
|
|
2448
|
-
compatibility
|
|
2455
|
+
compatibility
|
|
2449
2456
|
},
|
|
2450
2457
|
dependencies: { [pluginTsName]: {} },
|
|
2451
2458
|
setup(options) {
|