@kubb/plugin-solid-query 4.12.15 → 4.13.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 { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-BDHTlmGQ.cjs";
1
+ import { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-BXtQ-Er4.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 { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-BDXuC611.js";
1
+ import { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-Ca_wmOmt.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 { i as ReactGenerator, n as PluginSolidQuery } from "./types-BDHTlmGQ.cjs";
1
+ import { i as ReactGenerator, n as PluginSolidQuery } from "./types-BXtQ-Er4.cjs";
2
2
 
3
3
  //#region src/generators/mutationGenerator.d.ts
4
4
  declare const mutationGenerator: ReactGenerator<PluginSolidQuery>;
@@ -1,4 +1,4 @@
1
- import { i as ReactGenerator, n as PluginSolidQuery } from "./types-BDXuC611.js";
1
+ import { i as ReactGenerator, n as PluginSolidQuery } from "./types-Ca_wmOmt.js";
2
2
 
3
3
  //#region src/generators/mutationGenerator.d.ts
4
4
  declare const mutationGenerator: ReactGenerator<PluginSolidQuery>;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-BDHTlmGQ.cjs";
1
+ import { n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-BXtQ-Er4.cjs";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginSolidQueryName = "plugin-solid-query";
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-BDXuC611.js";
1
+ import { n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-Ca_wmOmt.js";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginSolidQueryName = "plugin-solid-query";
@@ -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
@@ -354,22 +354,24 @@ type Config<TInput = Input> = {
354
354
  * @default prettier
355
355
  *
356
356
  * Possible values:
357
+ * - 'auto': Automatically detects and uses biome or prettier (in that order of preference).
357
358
  * - 'prettier': Uses Prettier for code formatting.
358
359
  * - 'biome': Uses Biome for code formatting.
359
360
  *
360
361
  */
361
- format?: 'prettier' | 'biome' | false;
362
+ format?: 'auto' | 'prettier' | 'biome' | false;
362
363
  /**
363
364
  * Specifies the linter that should be used to analyze the code.
364
365
  * The accepted values indicate different linting tools.
365
366
  *
366
367
  * Possible values:
368
+ * - 'auto': Automatically detects and uses biome, oxlint, or eslint (in that order of preference).
367
369
  * - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
368
370
  * - 'biome': Represents the Biome linter, a modern tool for code scanning.
369
371
  * - 'oxlint': Represents the Oxlint tool for linting purposes.
370
372
  *
371
373
  */
372
- lint?: 'eslint' | 'biome' | 'oxlint' | false;
374
+ lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false;
373
375
  /**
374
376
  * Override the extension to the generated imports and exports, by default each plugin will add an extension
375
377
  * @default { '.ts': '.ts'}
@@ -1423,4 +1425,4 @@ type ResolvedOptions = {
1423
1425
  type PluginSolidQuery = PluginFactoryOptions<'plugin-solid-query', Options, ResolvedOptions, never, ResolvePathOptions>;
1424
1426
  //#endregion
1425
1427
  export { OperationSchemas as a, ReactGenerator as i, PluginSolidQuery as n, UserPluginWithLifeCycle as o, Transformer as r, Operation$1 as s, Options as t };
1426
- //# sourceMappingURL=types-BDXuC611.d.ts.map
1428
+ //# sourceMappingURL=types-BXtQ-Er4.d.cts.map
@@ -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
@@ -354,22 +354,24 @@ type Config<TInput = Input> = {
354
354
  * @default prettier
355
355
  *
356
356
  * Possible values:
357
+ * - 'auto': Automatically detects and uses biome or prettier (in that order of preference).
357
358
  * - 'prettier': Uses Prettier for code formatting.
358
359
  * - 'biome': Uses Biome for code formatting.
359
360
  *
360
361
  */
361
- format?: 'prettier' | 'biome' | false;
362
+ format?: 'auto' | 'prettier' | 'biome' | false;
362
363
  /**
363
364
  * Specifies the linter that should be used to analyze the code.
364
365
  * The accepted values indicate different linting tools.
365
366
  *
366
367
  * Possible values:
368
+ * - 'auto': Automatically detects and uses biome, oxlint, or eslint (in that order of preference).
367
369
  * - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
368
370
  * - 'biome': Represents the Biome linter, a modern tool for code scanning.
369
371
  * - 'oxlint': Represents the Oxlint tool for linting purposes.
370
372
  *
371
373
  */
372
- lint?: 'eslint' | 'biome' | 'oxlint' | false;
374
+ lint?: 'auto' | 'eslint' | 'biome' | 'oxlint' | false;
373
375
  /**
374
376
  * Override the extension to the generated imports and exports, by default each plugin will add an extension
375
377
  * @default { '.ts': '.ts'}
@@ -1423,4 +1425,4 @@ type ResolvedOptions = {
1423
1425
  type PluginSolidQuery = PluginFactoryOptions<'plugin-solid-query', Options, ResolvedOptions, never, ResolvePathOptions>;
1424
1426
  //#endregion
1425
1427
  export { OperationSchemas as a, ReactGenerator as i, PluginSolidQuery as n, UserPluginWithLifeCycle as o, Transformer as r, Operation$1 as s, Options as t };
1426
- //# sourceMappingURL=types-BDHTlmGQ.d.cts.map
1428
+ //# sourceMappingURL=types-Ca_wmOmt.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-solid-query",
3
- "version": "4.12.15",
3
+ "version": "4.13.0",
4
4
  "description": "Solid Query hooks generator plugin for Kubb, creating type-safe API client hooks from OpenAPI specifications for Solid.js applications.",
5
5
  "keywords": [
6
6
  "solid-query",
@@ -68,17 +68,17 @@
68
68
  }
69
69
  ],
70
70
  "dependencies": {
71
- "@kubb/react-fabric": "0.8.0",
72
- "remeda": "^2.32.2",
73
- "@kubb/core": "4.12.15",
74
- "@kubb/oas": "4.12.15",
75
- "@kubb/plugin-client": "4.12.15",
76
- "@kubb/plugin-oas": "4.12.15",
77
- "@kubb/plugin-ts": "4.12.15",
78
- "@kubb/plugin-zod": "4.12.15"
71
+ "@kubb/react-fabric": "0.9.0",
72
+ "remeda": "^2.33.1",
73
+ "@kubb/core": "4.13.0",
74
+ "@kubb/oas": "4.13.0",
75
+ "@kubb/plugin-client": "4.13.0",
76
+ "@kubb/plugin-oas": "4.13.0",
77
+ "@kubb/plugin-ts": "4.13.0",
78
+ "@kubb/plugin-zod": "4.13.0"
79
79
  },
80
80
  "peerDependencies": {
81
- "@kubb/react-fabric": "0.8.0"
81
+ "@kubb/react-fabric": "0.9.0"
82
82
  },
83
83
  "engines": {
84
84
  "node": ">=20"