@kubb/plugin-vue-query 4.12.8 → 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.
@@ -1,4 +1,4 @@
1
- import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-D_sfJ_mi.cjs";
1
+ import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-BZ1GLpDL.cjs";
2
2
  import { FunctionParams } from "@kubb/react-fabric";
3
3
  import { KubbNode } from "@kubb/react-fabric/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-B81oUFPP.js";
1
+ import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginVueQuery, t as Infinite } from "./types-C4VQVLGy.js";
2
2
  import { FunctionParams } from "@kubb/react-fabric";
3
3
  import { KubbNode } from "@kubb/react-fabric/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { a as ReactGenerator, r as PluginVueQuery } from "./types-D_sfJ_mi.cjs";
1
+ import { a as ReactGenerator, r as PluginVueQuery } from "./types-BZ1GLpDL.cjs";
2
2
 
3
3
  //#region src/generators/infiniteQueryGenerator.d.ts
4
4
  declare const infiniteQueryGenerator: ReactGenerator<PluginVueQuery>;
@@ -1,4 +1,4 @@
1
- import { a as ReactGenerator, r as PluginVueQuery } from "./types-B81oUFPP.js";
1
+ import { a as ReactGenerator, r as PluginVueQuery } from "./types-C4VQVLGy.js";
2
2
 
3
3
  //#region src/generators/infiniteQueryGenerator.d.ts
4
4
  declare const infiniteQueryGenerator: ReactGenerator<PluginVueQuery>;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-D_sfJ_mi.cjs";
1
+ import { n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-BZ1GLpDL.cjs";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginVueQueryName = "plugin-vue-query";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-B81oUFPP.js";
1
+ import { n as Options, r as PluginVueQuery, s as UserPluginWithLifeCycle } from "./types-C4VQVLGy.js";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginVueQueryName = "plugin-vue-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
@@ -1459,4 +1460,4 @@ type ResolvedOptions = {
1459
1460
  type PluginVueQuery = PluginFactoryOptions<'plugin-vue-query', Options, ResolvedOptions, never, ResolvePathOptions>;
1460
1461
  //#endregion
1461
1462
  export { ReactGenerator as a, Operation$1 as c, Transformer as i, Options as n, OperationSchemas as o, PluginVueQuery as r, UserPluginWithLifeCycle as s, Infinite as t };
1462
- //# sourceMappingURL=types-D_sfJ_mi.d.cts.map
1463
+ //# sourceMappingURL=types-BZ1GLpDL.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
@@ -1459,4 +1460,4 @@ type ResolvedOptions = {
1459
1460
  type PluginVueQuery = PluginFactoryOptions<'plugin-vue-query', Options, ResolvedOptions, never, ResolvePathOptions>;
1460
1461
  //#endregion
1461
1462
  export { ReactGenerator as a, Operation$1 as c, Transformer as i, Options as n, OperationSchemas as o, PluginVueQuery as r, UserPluginWithLifeCycle as s, Infinite as t };
1462
- //# sourceMappingURL=types-B81oUFPP.d.ts.map
1463
+ //# sourceMappingURL=types-C4VQVLGy.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-vue-query",
3
- "version": "4.12.8",
3
+ "version": "4.12.9",
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",
@@ -70,12 +70,12 @@
70
70
  "dependencies": {
71
71
  "@kubb/react-fabric": "0.7.4",
72
72
  "remeda": "^2.32.0",
73
- "@kubb/core": "4.12.8",
74
- "@kubb/oas": "4.12.8",
75
- "@kubb/plugin-client": "4.12.8",
76
- "@kubb/plugin-oas": "4.12.8",
77
- "@kubb/plugin-ts": "4.12.8",
78
- "@kubb/plugin-zod": "4.12.8"
73
+ "@kubb/core": "4.12.9",
74
+ "@kubb/oas": "4.12.9",
75
+ "@kubb/plugin-client": "4.12.9",
76
+ "@kubb/plugin-oas": "4.12.9",
77
+ "@kubb/plugin-ts": "4.12.9",
78
+ "@kubb/plugin-zod": "4.12.9"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "@kubb/react-fabric": "0.7.4"