@kubb/plugin-react-query 4.13.1 → 4.14.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/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-DsUAbtO2.d.cts → types-CYNrdDrD.d.cts} +4 -2
- package/dist/{types-B8O05Cdu.d.ts → types-gh3CWciu.d.ts} +4 -2
- package/package.json +7 -7
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-
|
|
1
|
+
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-CYNrdDrD.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,4 +1,4 @@
|
|
|
1
|
-
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-
|
|
1
|
+
import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-gh3CWciu.js";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/generators.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ReactGenerator, r as PluginReactQuery } from "./types-
|
|
1
|
+
import { a as ReactGenerator, r as PluginReactQuery } from "./types-CYNrdDrD.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/infiniteQueryGenerator.d.ts
|
|
4
4
|
declare const infiniteQueryGenerator: ReactGenerator<PluginReactQuery>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ReactGenerator, r as PluginReactQuery } from "./types-
|
|
1
|
+
import { a as ReactGenerator, r as PluginReactQuery } from "./types-gh3CWciu.js";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/infiniteQueryGenerator.d.ts
|
|
4
4
|
declare const infiniteQueryGenerator: ReactGenerator<PluginReactQuery>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as Options, r as PluginReactQuery, s as UserPluginWithLifeCycle } from "./types-
|
|
1
|
+
import { n as Options, r as PluginReactQuery, s as UserPluginWithLifeCycle } from "./types-CYNrdDrD.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,4 +1,4 @@
|
|
|
1
|
-
import { n as Options, r as PluginReactQuery, s as UserPluginWithLifeCycle } from "./types-
|
|
1
|
+
import { n as Options, r as PluginReactQuery, s as UserPluginWithLifeCycle } from "./types-gh3CWciu.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginReactQueryName = "plugin-react-query";
|
|
@@ -181,6 +181,8 @@ interface KubbEvents {
|
|
|
181
181
|
id?: string;
|
|
182
182
|
command: string;
|
|
183
183
|
args?: readonly string[];
|
|
184
|
+
success: boolean;
|
|
185
|
+
error: Error | null;
|
|
184
186
|
}];
|
|
185
187
|
/**
|
|
186
188
|
* Emitted when a new version of Kubb is available.
|
|
@@ -1079,7 +1081,7 @@ type SchemaGeneratorOptions = {
|
|
|
1079
1081
|
dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
|
|
1080
1082
|
unknownType: 'any' | 'unknown' | 'void';
|
|
1081
1083
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
1082
|
-
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal';
|
|
1084
|
+
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
|
1083
1085
|
enumSuffix?: string;
|
|
1084
1086
|
usedEnumNames?: Record<string, number>;
|
|
1085
1087
|
mapper?: Record<string, string>;
|
|
@@ -1466,4 +1468,4 @@ type ResolvedOptions = {
|
|
|
1466
1468
|
type PluginReactQuery = PluginFactoryOptions<'plugin-react-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1467
1469
|
//#endregion
|
|
1468
1470
|
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 };
|
|
1469
|
-
//# sourceMappingURL=types-
|
|
1471
|
+
//# sourceMappingURL=types-CYNrdDrD.d.cts.map
|
|
@@ -181,6 +181,8 @@ interface KubbEvents {
|
|
|
181
181
|
id?: string;
|
|
182
182
|
command: string;
|
|
183
183
|
args?: readonly string[];
|
|
184
|
+
success: boolean;
|
|
185
|
+
error: Error | null;
|
|
184
186
|
}];
|
|
185
187
|
/**
|
|
186
188
|
* Emitted when a new version of Kubb is available.
|
|
@@ -1079,7 +1081,7 @@ type SchemaGeneratorOptions = {
|
|
|
1079
1081
|
dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
|
|
1080
1082
|
unknownType: 'any' | 'unknown' | 'void';
|
|
1081
1083
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
1082
|
-
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal';
|
|
1084
|
+
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
|
1083
1085
|
enumSuffix?: string;
|
|
1084
1086
|
usedEnumNames?: Record<string, number>;
|
|
1085
1087
|
mapper?: Record<string, string>;
|
|
@@ -1466,4 +1468,4 @@ type ResolvedOptions = {
|
|
|
1466
1468
|
type PluginReactQuery = PluginFactoryOptions<'plugin-react-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1467
1469
|
//#endregion
|
|
1468
1470
|
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 };
|
|
1469
|
-
//# sourceMappingURL=types-
|
|
1471
|
+
//# sourceMappingURL=types-gh3CWciu.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-react-query",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.0",
|
|
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.9.2",
|
|
71
71
|
"remeda": "^2.33.1",
|
|
72
|
-
"@kubb/core": "4.
|
|
73
|
-
"@kubb/oas": "4.
|
|
74
|
-
"@kubb/plugin-client": "4.
|
|
75
|
-
"@kubb/plugin-oas": "4.
|
|
76
|
-
"@kubb/plugin-ts": "4.
|
|
77
|
-
"@kubb/plugin-zod": "4.
|
|
72
|
+
"@kubb/core": "4.14.0",
|
|
73
|
+
"@kubb/oas": "4.14.0",
|
|
74
|
+
"@kubb/plugin-client": "4.14.0",
|
|
75
|
+
"@kubb/plugin-oas": "4.14.0",
|
|
76
|
+
"@kubb/plugin-ts": "4.14.0",
|
|
77
|
+
"@kubb/plugin-zod": "4.14.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
80
|
"@kubb/react-fabric": "0.9.2"
|