@kubb/plugin-react-query 4.15.2 → 4.17.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.
@@ -1,4 +1,4 @@
1
- import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-B9xv5S0R.cjs";
1
+ import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-DaCig3up.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 PluginReactQuery, t as Infinite } from "./types-BAEc42Ae.js";
1
+ import { c as Operation, i as Transformer, o as OperationSchemas, r as PluginReactQuery, t as Infinite } from "./types-CrQkUHNu.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 PluginReactQuery } from "./types-B9xv5S0R.cjs";
1
+ import { a as ReactGenerator, r as PluginReactQuery } from "./types-DaCig3up.cjs";
2
2
 
3
3
  //#region src/generators/customHookOptionsFileGenerator.d.ts
4
4
  declare const customHookOptionsFileGenerator: ReactGenerator<PluginReactQuery>;
@@ -1,4 +1,4 @@
1
- import { a as ReactGenerator, r as PluginReactQuery } from "./types-BAEc42Ae.js";
1
+ import { a as ReactGenerator, r as PluginReactQuery } from "./types-CrQkUHNu.js";
2
2
 
3
3
  //#region src/generators/customHookOptionsFileGenerator.d.ts
4
4
  declare const customHookOptionsFileGenerator: 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-B9xv5S0R.cjs";
1
+ import { n as Options, r as PluginReactQuery, s as UserPluginWithLifeCycle } from "./types-DaCig3up.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-BAEc42Ae.js";
1
+ import { n as Options, r as PluginReactQuery, s as UserPluginWithLifeCycle } from "./types-CrQkUHNu.js";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginReactQueryName = "plugin-react-query";
@@ -1,9 +1,9 @@
1
+ import { Fabric } from "@kubb/react-fabric";
1
2
  import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
2
3
  import BaseOas from "oas";
3
4
  import { Operation } from "oas/operation";
4
5
  import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
5
6
  import { KubbFile } from "@kubb/fabric-core/types";
6
- import { Fabric } from "@kubb/react-fabric";
7
7
  import { KubbNode } from "@kubb/react-fabric/types";
8
8
 
9
9
  //#region ../oas/src/types.d.ts
@@ -361,7 +361,7 @@ type Config<TInput = Input> = {
361
361
  * - 'biome': Uses Biome for code formatting.
362
362
  *
363
363
  */
364
- format?: 'auto' | 'prettier' | 'biome' | false;
364
+ format?: 'auto' | 'prettier' | 'biome' | 'oxfmt' | false;
365
365
  /**
366
366
  * Specifies the linter that should be used to analyze the code.
367
367
  * The accepted values indicate different linting tools.
@@ -1502,4 +1502,4 @@ type ResolvedOptions = {
1502
1502
  type PluginReactQuery = PluginFactoryOptions<'plugin-react-query', Options, ResolvedOptions, never, ResolvePathOptions>;
1503
1503
  //#endregion
1504
1504
  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 };
1505
- //# sourceMappingURL=types-B9xv5S0R.d.cts.map
1505
+ //# sourceMappingURL=types-CrQkUHNu.d.ts.map
@@ -1,9 +1,9 @@
1
- import { Fabric } from "@kubb/react-fabric";
2
1
  import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
3
2
  import BaseOas from "oas";
4
3
  import { Operation } from "oas/operation";
5
4
  import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
6
5
  import { KubbFile } from "@kubb/fabric-core/types";
6
+ import { Fabric } from "@kubb/react-fabric";
7
7
  import { KubbNode } from "@kubb/react-fabric/types";
8
8
 
9
9
  //#region ../oas/src/types.d.ts
@@ -361,7 +361,7 @@ type Config<TInput = Input> = {
361
361
  * - 'biome': Uses Biome for code formatting.
362
362
  *
363
363
  */
364
- format?: 'auto' | 'prettier' | 'biome' | false;
364
+ format?: 'auto' | 'prettier' | 'biome' | 'oxfmt' | false;
365
365
  /**
366
366
  * Specifies the linter that should be used to analyze the code.
367
367
  * The accepted values indicate different linting tools.
@@ -1502,4 +1502,4 @@ type ResolvedOptions = {
1502
1502
  type PluginReactQuery = PluginFactoryOptions<'plugin-react-query', Options, ResolvedOptions, never, ResolvePathOptions>;
1503
1503
  //#endregion
1504
1504
  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 };
1505
- //# sourceMappingURL=types-BAEc42Ae.d.ts.map
1505
+ //# sourceMappingURL=types-DaCig3up.d.cts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-react-query",
3
- "version": "4.15.2",
3
+ "version": "4.17.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",
@@ -67,17 +67,17 @@
67
67
  }
68
68
  ],
69
69
  "dependencies": {
70
- "@kubb/react-fabric": "0.9.5",
71
- "remeda": "^2.33.1",
72
- "@kubb/core": "4.15.2",
73
- "@kubb/oas": "4.15.2",
74
- "@kubb/plugin-client": "4.15.2",
75
- "@kubb/plugin-oas": "4.15.2",
76
- "@kubb/plugin-ts": "4.15.2",
77
- "@kubb/plugin-zod": "4.15.2"
70
+ "@kubb/react-fabric": "0.10.0",
71
+ "remeda": "^2.33.4",
72
+ "@kubb/core": "4.17.0",
73
+ "@kubb/oas": "4.17.0",
74
+ "@kubb/plugin-client": "4.17.0",
75
+ "@kubb/plugin-oas": "4.17.0",
76
+ "@kubb/plugin-ts": "4.17.0",
77
+ "@kubb/plugin-zod": "4.17.0"
78
78
  },
79
79
  "peerDependencies": {
80
- "@kubb/react-fabric": "0.9.5"
80
+ "@kubb/react-fabric": "0.10.0"
81
81
  },
82
82
  "engines": {
83
83
  "node": ">=20"