@kubb/plugin-react-query 4.12.7 → 4.12.9
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-ZJc6EMVm.d.cts → types-CNlL6NKv.d.cts} +11 -10
- package/dist/{types-B9Bp4hZb.d.ts → types-CtXzt1kz.d.ts} +11 -10
- package/package.json +9 -9
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-CNlL6NKv.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-CtXzt1kz.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-CNlL6NKv.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-CtXzt1kz.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-CNlL6NKv.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-CtXzt1kz.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginReactQueryName = "plugin-react-query";
|
|
@@ -41,6 +41,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
|
|
|
41
41
|
getRequestSchema(operation: Operation): SchemaObject | undefined;
|
|
42
42
|
getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
|
|
43
43
|
valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
|
|
44
|
+
flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
|
|
44
45
|
}
|
|
45
46
|
//#endregion
|
|
46
47
|
//#region ../core/src/BaseGenerator.d.ts
|
|
@@ -169,21 +170,21 @@ interface KubbEvents {
|
|
|
169
170
|
*/
|
|
170
171
|
'hooks:end': [];
|
|
171
172
|
/**
|
|
172
|
-
* Emitted when a single hook execution starts.
|
|
173
|
-
*/
|
|
174
|
-
'hook:start': [command: string];
|
|
175
|
-
/**
|
|
176
|
-
* Emitted to execute a hook command (e.g., format or lint).
|
|
173
|
+
* Emitted when a single hook execution starts. (e.g., format or lint).
|
|
177
174
|
* The callback should be invoked when the command completes.
|
|
178
175
|
*/
|
|
179
|
-
'hook:
|
|
180
|
-
|
|
176
|
+
'hook:start': [{
|
|
177
|
+
id?: string;
|
|
178
|
+
command: string;
|
|
181
179
|
args?: readonly string[];
|
|
182
|
-
}
|
|
180
|
+
}];
|
|
183
181
|
/**
|
|
184
182
|
* Emitted when a single hook execution completes.
|
|
185
183
|
*/
|
|
186
|
-
'hook:end': [
|
|
184
|
+
'hook:end': [{
|
|
185
|
+
id?: string;
|
|
186
|
+
command: string;
|
|
187
|
+
}];
|
|
187
188
|
/**
|
|
188
189
|
* Emitted when a new version of Kubb is available.
|
|
189
190
|
*/
|
|
@@ -1465,4 +1466,4 @@ type ResolvedOptions = {
|
|
|
1465
1466
|
type PluginReactQuery = PluginFactoryOptions<'plugin-react-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1466
1467
|
//#endregion
|
|
1467
1468
|
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 };
|
|
1468
|
-
//# sourceMappingURL=types-
|
|
1469
|
+
//# sourceMappingURL=types-CNlL6NKv.d.cts.map
|
|
@@ -41,6 +41,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
|
|
|
41
41
|
getRequestSchema(operation: Operation): SchemaObject | undefined;
|
|
42
42
|
getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
|
|
43
43
|
valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
|
|
44
|
+
flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
|
|
44
45
|
}
|
|
45
46
|
//#endregion
|
|
46
47
|
//#region ../core/src/BaseGenerator.d.ts
|
|
@@ -169,21 +170,21 @@ interface KubbEvents {
|
|
|
169
170
|
*/
|
|
170
171
|
'hooks:end': [];
|
|
171
172
|
/**
|
|
172
|
-
* Emitted when a single hook execution starts.
|
|
173
|
-
*/
|
|
174
|
-
'hook:start': [command: string];
|
|
175
|
-
/**
|
|
176
|
-
* Emitted to execute a hook command (e.g., format or lint).
|
|
173
|
+
* Emitted when a single hook execution starts. (e.g., format or lint).
|
|
177
174
|
* The callback should be invoked when the command completes.
|
|
178
175
|
*/
|
|
179
|
-
'hook:
|
|
180
|
-
|
|
176
|
+
'hook:start': [{
|
|
177
|
+
id?: string;
|
|
178
|
+
command: string;
|
|
181
179
|
args?: readonly string[];
|
|
182
|
-
}
|
|
180
|
+
}];
|
|
183
181
|
/**
|
|
184
182
|
* Emitted when a single hook execution completes.
|
|
185
183
|
*/
|
|
186
|
-
'hook:end': [
|
|
184
|
+
'hook:end': [{
|
|
185
|
+
id?: string;
|
|
186
|
+
command: string;
|
|
187
|
+
}];
|
|
187
188
|
/**
|
|
188
189
|
* Emitted when a new version of Kubb is available.
|
|
189
190
|
*/
|
|
@@ -1465,4 +1466,4 @@ type ResolvedOptions = {
|
|
|
1465
1466
|
type PluginReactQuery = PluginFactoryOptions<'plugin-react-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1466
1467
|
//#endregion
|
|
1467
1468
|
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 };
|
|
1468
|
-
//# sourceMappingURL=types-
|
|
1469
|
+
//# sourceMappingURL=types-CtXzt1kz.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-react-query",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.9",
|
|
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",
|
|
@@ -67,17 +67,17 @@
|
|
|
67
67
|
}
|
|
68
68
|
],
|
|
69
69
|
"dependencies": {
|
|
70
|
-
"@kubb/react-fabric": "0.7.
|
|
70
|
+
"@kubb/react-fabric": "0.7.4",
|
|
71
71
|
"remeda": "^2.32.0",
|
|
72
|
-
"@kubb/core": "4.12.
|
|
73
|
-
"@kubb/oas": "4.12.
|
|
74
|
-
"@kubb/plugin-client": "4.12.
|
|
75
|
-
"@kubb/plugin-oas": "4.12.
|
|
76
|
-
"@kubb/plugin-ts": "4.12.
|
|
77
|
-
"@kubb/plugin-zod": "4.12.
|
|
72
|
+
"@kubb/core": "4.12.9",
|
|
73
|
+
"@kubb/oas": "4.12.9",
|
|
74
|
+
"@kubb/plugin-client": "4.12.9",
|
|
75
|
+
"@kubb/plugin-oas": "4.12.9",
|
|
76
|
+
"@kubb/plugin-ts": "4.12.9",
|
|
77
|
+
"@kubb/plugin-zod": "4.12.9"
|
|
78
78
|
},
|
|
79
79
|
"peerDependencies": {
|
|
80
|
-
"@kubb/react-fabric": "0.7.
|
|
80
|
+
"@kubb/react-fabric": "0.7.4"
|
|
81
81
|
},
|
|
82
82
|
"engines": {
|
|
83
83
|
"node": ">=20"
|