@kubb/plugin-vue-query 4.21.0 → 4.21.1

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.
@@ -1,4 +1,4 @@
1
- import { c as __name, i as Transformer, o as OperationSchemas, r as PluginVueQuery, s as Operation, t as Infinite } from "./types-CnNTk2me.cjs";
1
+ import { c as __name, i as Transformer, o as OperationSchemas, r as PluginVueQuery, s as Operation, t as Infinite } from "./types-CmEFNy2D.cjs";
2
2
  import { FunctionParams } from "@kubb/react-fabric";
3
3
  import { FabricReactNode } from "@kubb/react-fabric/types";
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./chunk-eQyhnF5A.js";
2
- import { i as Transformer, o as OperationSchemas, r as PluginVueQuery, s as Operation, t as Infinite } from "./types-V3g2mTAZ.js";
2
+ import { i as Transformer, o as OperationSchemas, r as PluginVueQuery, s as Operation, t as Infinite } from "./types-D9QEyz6N.js";
3
3
  import { FunctionParams } from "@kubb/react-fabric";
4
4
  import { FabricReactNode } from "@kubb/react-fabric/types";
5
5
 
@@ -1,4 +1,4 @@
1
- import { a as ReactGenerator, c as __name, r as PluginVueQuery } from "./types-CnNTk2me.cjs";
1
+ import { a as ReactGenerator, c as __name, r as PluginVueQuery } from "./types-CmEFNy2D.cjs";
2
2
 
3
3
  //#region src/generators/infiniteQueryGenerator.d.ts
4
4
  declare const infiniteQueryGenerator: ReactGenerator<PluginVueQuery>;
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./chunk-eQyhnF5A.js";
2
- import { a as ReactGenerator, r as PluginVueQuery } from "./types-V3g2mTAZ.js";
2
+ import { a as ReactGenerator, r as PluginVueQuery } from "./types-D9QEyz6N.js";
3
3
 
4
4
  //#region src/generators/infiniteQueryGenerator.d.ts
5
5
  declare const infiniteQueryGenerator: ReactGenerator<PluginVueQuery>;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as __name, n as Options, r as PluginVueQuery } from "./types-CnNTk2me.cjs";
1
+ import { c as __name, n as Options, r as PluginVueQuery } from "./types-CmEFNy2D.cjs";
2
2
  import * as _kubb_core0 from "@kubb/core";
3
3
 
4
4
  //#region src/plugin.d.ts
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 PluginVueQuery } from "./types-V3g2mTAZ.js";
2
+ import { n as Options, r as PluginVueQuery } from "./types-D9QEyz6N.js";
3
3
  import * as _kubb_core0 from "@kubb/core";
4
4
 
5
5
  //#region src/plugin.d.ts
@@ -812,7 +812,7 @@ type Options = {
812
812
  /**
813
813
  * Override some useMutation behaviors.
814
814
  */
815
- mutation?: Mutation | false;
815
+ mutation?: Partial<Mutation> | false;
816
816
  /**
817
817
  * Which parser should be used before returning the data to `@tanstack/query`.
818
818
  * `'zod'` uses `@kubb/plugin-zod` to parse the data.
@@ -849,4 +849,4 @@ type ResolvedOptions = {
849
849
  type PluginVueQuery = PluginFactoryOptions<'plugin-vue-query', Options, ResolvedOptions, never, ResolvePathOptions>;
850
850
  //#endregion
851
851
  export { ReactGenerator as a, __name as c, Transformer as i, Options as n, OperationSchemas as o, PluginVueQuery as r, Operation$1 as s, Infinite as t };
852
- //# sourceMappingURL=types-CnNTk2me.d.cts.map
852
+ //# sourceMappingURL=types-CmEFNy2D.d.cts.map
@@ -811,7 +811,7 @@ type Options = {
811
811
  /**
812
812
  * Override some useMutation behaviors.
813
813
  */
814
- mutation?: Mutation | false;
814
+ mutation?: Partial<Mutation> | false;
815
815
  /**
816
816
  * Which parser should be used before returning the data to `@tanstack/query`.
817
817
  * `'zod'` uses `@kubb/plugin-zod` to parse the data.
@@ -848,4 +848,4 @@ type ResolvedOptions = {
848
848
  type PluginVueQuery = PluginFactoryOptions<'plugin-vue-query', Options, ResolvedOptions, never, ResolvePathOptions>;
849
849
  //#endregion
850
850
  export { ReactGenerator as a, Transformer as i, Options as n, OperationSchemas as o, PluginVueQuery as r, Operation$1 as s, Infinite as t };
851
- //# sourceMappingURL=types-V3g2mTAZ.d.ts.map
851
+ //# sourceMappingURL=types-D9QEyz6N.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-vue-query",
3
- "version": "4.21.0",
3
+ "version": "4.21.1",
4
4
  "description": "Vue Query hooks generator plugin for Kubb, creating type-safe API client hooks from OpenAPI specifications for Vue.js applications.",
5
5
  "keywords": [
6
6
  "vue-query",
@@ -74,17 +74,17 @@
74
74
  }
75
75
  ],
76
76
  "dependencies": {
77
- "@kubb/react-fabric": "0.12.10",
77
+ "@kubb/react-fabric": "0.12.11",
78
78
  "remeda": "^2.33.5",
79
- "@kubb/core": "4.21.0",
80
- "@kubb/oas": "4.21.0",
81
- "@kubb/plugin-client": "4.21.0",
82
- "@kubb/plugin-oas": "4.21.0",
83
- "@kubb/plugin-ts": "4.21.0",
84
- "@kubb/plugin-zod": "4.21.0"
79
+ "@kubb/core": "4.21.1",
80
+ "@kubb/oas": "4.21.1",
81
+ "@kubb/plugin-client": "4.21.1",
82
+ "@kubb/plugin-oas": "4.21.1",
83
+ "@kubb/plugin-ts": "4.21.1",
84
+ "@kubb/plugin-zod": "4.21.1"
85
85
  },
86
86
  "peerDependencies": {
87
- "@kubb/react-fabric": "0.12.10"
87
+ "@kubb/react-fabric": "0.12.11"
88
88
  },
89
89
  "engines": {
90
90
  "node": ">=20"
package/src/types.ts CHANGED
@@ -143,7 +143,7 @@ export type Options = {
143
143
  /**
144
144
  * Override some useMutation behaviors.
145
145
  */
146
- mutation?: Mutation | false
146
+ mutation?: Partial<Mutation> | false
147
147
  /**
148
148
  * Which parser should be used before returning the data to `@tanstack/query`.
149
149
  * `'zod'` uses `@kubb/plugin-zod` to parse the data.