@kubb/plugin-react-query 0.0.0-canary-20260120134621 → 0.0.0-canary-20260120142818
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/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/generators.d.cts +1 -1
- package/dist/generators.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{types-BK97VgLm.d.ts → types-BDdmQqvX.d.ts} +3 -2
- package/dist/{types-OlGC40Do.d.cts → types-OcdlPFQg.d.cts} +3 -2
- package/package.json +7 -7
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Operation, i as Transformer, l as __name, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-
|
|
1
|
+
import { c as Operation, i as Transformer, l as __name, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-OcdlPFQg.cjs";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/components.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-eQyhnF5A.js";
|
|
2
|
-
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-
|
|
2
|
+
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-BDdmQqvX.js";
|
|
3
3
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
4
4
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
5
5
|
|
package/dist/generators.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ReactGenerator, l as __name, r as PluginReactQuery } from "./types-
|
|
1
|
+
import { a as ReactGenerator, l as __name, r as PluginReactQuery } from "./types-OcdlPFQg.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/customHookOptionsFileGenerator.d.ts
|
|
4
4
|
declare const customHookOptionsFileGenerator: ReactGenerator<PluginReactQuery>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-eQyhnF5A.js";
|
|
2
|
-
import { a as ReactGenerator, r as PluginReactQuery } from "./types-
|
|
2
|
+
import { a as ReactGenerator, r as PluginReactQuery } from "./types-BDdmQqvX.js";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/customHookOptionsFileGenerator.d.ts
|
|
5
5
|
declare const customHookOptionsFileGenerator: ReactGenerator<PluginReactQuery>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as __name, n as Options, r as PluginReactQuery, s as UserPluginWithLifeCycle } from "./types-
|
|
1
|
+
import { l as __name, n as Options, r as PluginReactQuery, s as UserPluginWithLifeCycle } from "./types-OcdlPFQg.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginReactQueryName = "plugin-react-query";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-eQyhnF5A.js";
|
|
2
|
-
import { n as Options, r as PluginReactQuery, s as UserPluginWithLifeCycle } from "./types-
|
|
2
|
+
import { n as Options, r as PluginReactQuery, s as UserPluginWithLifeCycle } from "./types-BDdmQqvX.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginReactQueryName = "plugin-react-query";
|
|
@@ -1270,9 +1270,10 @@ type Options$1 = {
|
|
|
1270
1270
|
* How to generate the client code
|
|
1271
1271
|
* - 'function' will generate standalone functions for each operation.
|
|
1272
1272
|
* - 'class' will generate a class with methods for each operation.
|
|
1273
|
+
* - 'staticClass' will generate a class with static methods for each operation.
|
|
1273
1274
|
* @default 'function'
|
|
1274
1275
|
*/
|
|
1275
|
-
clientType?: 'function' | 'class';
|
|
1276
|
+
clientType?: 'function' | 'class' | 'staticClass';
|
|
1276
1277
|
/**
|
|
1277
1278
|
* Bundle the selected client into the generated `.kubb` directory.
|
|
1278
1279
|
* When disabled the generated clients will import the shared runtime from `@kubb/plugin-client/clients/*`.
|
|
@@ -1503,4 +1504,4 @@ type ResolvedOptions = {
|
|
|
1503
1504
|
type PluginReactQuery = PluginFactoryOptions<'plugin-react-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1504
1505
|
//#endregion
|
|
1505
1506
|
export { ReactGenerator as a, Operation$1 as c, Transformer as i, Options as n, OperationSchemas as o, PluginReactQuery as r, UserPluginWithLifeCycle as s, Infinite as t };
|
|
1506
|
-
//# sourceMappingURL=types-
|
|
1507
|
+
//# sourceMappingURL=types-BDdmQqvX.d.ts.map
|
|
@@ -1271,9 +1271,10 @@ type Options$1 = {
|
|
|
1271
1271
|
* How to generate the client code
|
|
1272
1272
|
* - 'function' will generate standalone functions for each operation.
|
|
1273
1273
|
* - 'class' will generate a class with methods for each operation.
|
|
1274
|
+
* - 'staticClass' will generate a class with static methods for each operation.
|
|
1274
1275
|
* @default 'function'
|
|
1275
1276
|
*/
|
|
1276
|
-
clientType?: 'function' | 'class';
|
|
1277
|
+
clientType?: 'function' | 'class' | 'staticClass';
|
|
1277
1278
|
/**
|
|
1278
1279
|
* Bundle the selected client into the generated `.kubb` directory.
|
|
1279
1280
|
* When disabled the generated clients will import the shared runtime from `@kubb/plugin-client/clients/*`.
|
|
@@ -1504,4 +1505,4 @@ type ResolvedOptions = {
|
|
|
1504
1505
|
type PluginReactQuery = PluginFactoryOptions<'plugin-react-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1505
1506
|
//#endregion
|
|
1506
1507
|
export { ReactGenerator as a, Operation$1 as c, Transformer as i, __name as l, Options as n, OperationSchemas as o, PluginReactQuery as r, UserPluginWithLifeCycle as s, Infinite as t };
|
|
1507
|
-
//# sourceMappingURL=types-
|
|
1508
|
+
//# sourceMappingURL=types-OcdlPFQg.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-react-query",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20260120142818",
|
|
4
4
|
"description": "React Query hooks generator plugin for Kubb, creating type-safe API client hooks from OpenAPI specifications for React applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-query",
|
|
@@ -69,12 +69,12 @@
|
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@kubb/react-fabric": "0.11.8",
|
|
71
71
|
"remeda": "^2.33.4",
|
|
72
|
-
"@kubb/core": "0.0.0-canary-
|
|
73
|
-
"@kubb/oas": "0.0.0-canary-
|
|
74
|
-
"@kubb/plugin-client": "0.0.0-canary-
|
|
75
|
-
"@kubb/plugin-oas": "0.0.0-canary-
|
|
76
|
-
"@kubb/plugin-
|
|
77
|
-
"@kubb/plugin-
|
|
72
|
+
"@kubb/core": "0.0.0-canary-20260120142818",
|
|
73
|
+
"@kubb/oas": "0.0.0-canary-20260120142818",
|
|
74
|
+
"@kubb/plugin-client": "0.0.0-canary-20260120142818",
|
|
75
|
+
"@kubb/plugin-oas": "0.0.0-canary-20260120142818",
|
|
76
|
+
"@kubb/plugin-zod": "0.0.0-canary-20260120142818",
|
|
77
|
+
"@kubb/plugin-ts": "0.0.0-canary-20260120142818"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"@kubb/react-fabric": "0.11.8"
|