@kubb/plugin-solid-query 3.17.1 → 3.18.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 { Operation, OperationSchemas, PluginSolidQuery, Transformer } from "./types-DLEwjVmP.cjs";
1
+ import { Operation, OperationSchemas, PluginSolidQuery, Transformer } from "./types-BcAT9UxT.cjs";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region ../react/src/utils/getFunctionParams.d.ts
@@ -1,4 +1,4 @@
1
- import { Operation, OperationSchemas, PluginSolidQuery, Transformer } from "./types-Ci_4FqMj.js";
1
+ import { Operation, OperationSchemas, PluginSolidQuery, Transformer } from "./types-B5mFPIGb.js";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region ../react/src/utils/getFunctionParams.d.ts
@@ -1,4 +1,4 @@
1
- import { Generator, PluginSolidQuery } from "./types-DLEwjVmP.cjs";
1
+ import { Generator, PluginSolidQuery } from "./types-BcAT9UxT.cjs";
2
2
 
3
3
  //#region src/generators/queryGenerator.d.ts
4
4
  declare const queryGenerator: Generator<PluginSolidQuery>;
@@ -1,4 +1,4 @@
1
- import { Generator, PluginSolidQuery } from "./types-Ci_4FqMj.js";
1
+ import { Generator, PluginSolidQuery } from "./types-B5mFPIGb.js";
2
2
 
3
3
  //#region src/generators/queryGenerator.d.ts
4
4
  declare const queryGenerator: Generator<PluginSolidQuery>;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { Options, PluginSolidQuery, UserPluginWithLifeCycle } from "./types-DLEwjVmP.cjs";
1
+ import { Options, PluginSolidQuery, UserPluginWithLifeCycle } from "./types-BcAT9UxT.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 { Options, PluginSolidQuery, UserPluginWithLifeCycle } from "./types-Ci_4FqMj.js";
1
+ import { Options, PluginSolidQuery, UserPluginWithLifeCycle } from "./types-B5mFPIGb.js";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginSolidQueryName = "plugin-solid-query";
@@ -270,6 +270,27 @@ type Config<TInput = Input> = {
270
270
  * @default true
271
271
  */
272
272
  write?: boolean;
273
+ /**
274
+ * Specifies the formatting tool to be used.
275
+ * @default prettier
276
+ *
277
+ * Possible values:
278
+ * - 'prettier': Uses Prettier for code formatting.
279
+ * - 'biome': Uses Biome for code formatting.
280
+ *
281
+ */
282
+ format?: 'prettier' | 'biome' | false;
283
+ /**
284
+ * Specifies the linter that should be used to analyze the code.
285
+ * The accepted values indicate different linting tools.
286
+ *
287
+ * Possible values:
288
+ * - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
289
+ * - 'biome': Represents the Biome linter, a modern tool for code scanning.
290
+ * - 'oxlint': Represents the Oxlint tool for linting purposes.
291
+ *
292
+ */
293
+ lint?: 'eslint' | 'biome' | 'oxlint' | false;
273
294
  /**
274
295
  * Override the extension to the generated imports and exports, by default each plugin will add an extension
275
296
  * @default { '.ts': '.ts'}
@@ -1332,4 +1353,4 @@ type ResolvedOptions = {
1332
1353
  type PluginSolidQuery = PluginFactoryOptions<'plugin-solid-query', Options$1, ResolvedOptions, never, ResolvePathOptions>;
1333
1354
  //#endregion
1334
1355
  export { Generator, type Operation$1 as Operation, OperationSchemas, Options$1 as Options, PluginSolidQuery, Transformer, UserPluginWithLifeCycle };
1335
- //# sourceMappingURL=types-Ci_4FqMj.d.ts.map
1356
+ //# sourceMappingURL=types-B5mFPIGb.d.ts.map
@@ -270,6 +270,27 @@ type Config<TInput = Input> = {
270
270
  * @default true
271
271
  */
272
272
  write?: boolean;
273
+ /**
274
+ * Specifies the formatting tool to be used.
275
+ * @default prettier
276
+ *
277
+ * Possible values:
278
+ * - 'prettier': Uses Prettier for code formatting.
279
+ * - 'biome': Uses Biome for code formatting.
280
+ *
281
+ */
282
+ format?: 'prettier' | 'biome' | false;
283
+ /**
284
+ * Specifies the linter that should be used to analyze the code.
285
+ * The accepted values indicate different linting tools.
286
+ *
287
+ * Possible values:
288
+ * - 'eslint': Represents the use of ESLint, a widely used JavaScript linter.
289
+ * - 'biome': Represents the Biome linter, a modern tool for code scanning.
290
+ * - 'oxlint': Represents the Oxlint tool for linting purposes.
291
+ *
292
+ */
293
+ lint?: 'eslint' | 'biome' | 'oxlint' | false;
273
294
  /**
274
295
  * Override the extension to the generated imports and exports, by default each plugin will add an extension
275
296
  * @default { '.ts': '.ts'}
@@ -1332,4 +1353,4 @@ type ResolvedOptions = {
1332
1353
  type PluginSolidQuery = PluginFactoryOptions<'plugin-solid-query', Options$1, ResolvedOptions, never, ResolvePathOptions>;
1333
1354
  //#endregion
1334
1355
  export { Generator, type Operation$1 as Operation, OperationSchemas, Options$1 as Options, PluginSolidQuery, Transformer, UserPluginWithLifeCycle };
1335
- //# sourceMappingURL=types-DLEwjVmP.d.cts.map
1356
+ //# sourceMappingURL=types-BcAT9UxT.d.cts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-solid-query",
3
- "version": "3.17.1",
3
+ "version": "3.18.1",
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",
@@ -62,20 +62,20 @@
62
62
  ],
63
63
  "dependencies": {
64
64
  "remeda": "^2.30.0",
65
- "@kubb/core": "3.17.1",
66
- "@kubb/oas": "3.17.1",
67
- "@kubb/plugin-client": "3.17.1",
68
- "@kubb/plugin-oas": "3.17.1",
69
- "@kubb/plugin-ts": "3.17.1",
70
- "@kubb/plugin-zod": "3.17.1",
71
- "@kubb/react": "3.17.1"
65
+ "@kubb/core": "3.18.1",
66
+ "@kubb/oas": "3.18.1",
67
+ "@kubb/plugin-client": "3.18.1",
68
+ "@kubb/plugin-oas": "3.18.1",
69
+ "@kubb/plugin-ts": "3.18.1",
70
+ "@kubb/plugin-zod": "3.18.1",
71
+ "@kubb/react": "3.18.1"
72
72
  },
73
73
  "devDependencies": {
74
- "@types/react": "^18.3.23",
74
+ "@types/react": "^18.3.24",
75
75
  "react": "^18.3.1",
76
76
  "tsdown": "^0.14.1",
77
77
  "typescript": "^5.9.2",
78
- "@kubb/config-ts": "3.17.1"
78
+ "@kubb/config-ts": "3.18.1"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "@kubb/react": "^3.0.0"