@kubb/plugin-solid-query 0.0.0-canary-20260120134621 → 0.0.0-canary-20260120234312

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, c as __name, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-Xj52C0gP.cjs";
1
+ import { a as OperationSchemas, c as __name, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-DqZ7KJBR.cjs";
2
2
  import { FunctionParams } from "@kubb/react-fabric";
3
3
  import { KubbNode } from "@kubb/react-fabric/types";
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./chunk-eQyhnF5A.js";
2
- import { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-B832YCao.js";
2
+ import { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-C3QP93nB.js";
3
3
  import { FunctionParams } from "@kubb/react-fabric";
4
4
  import { KubbNode } from "@kubb/react-fabric/types";
5
5
 
@@ -1,4 +1,4 @@
1
- import { c as __name, i as ReactGenerator, n as PluginSolidQuery } from "./types-Xj52C0gP.cjs";
1
+ import { c as __name, i as ReactGenerator, n as PluginSolidQuery } from "./types-DqZ7KJBR.cjs";
2
2
 
3
3
  //#region src/generators/mutationGenerator.d.ts
4
4
  declare const mutationGenerator: ReactGenerator<PluginSolidQuery>;
@@ -1,5 +1,5 @@
1
1
  import { t as __name } from "./chunk-eQyhnF5A.js";
2
- import { i as ReactGenerator, n as PluginSolidQuery } from "./types-B832YCao.js";
2
+ import { i as ReactGenerator, n as PluginSolidQuery } from "./types-C3QP93nB.js";
3
3
 
4
4
  //#region src/generators/mutationGenerator.d.ts
5
5
  declare const mutationGenerator: ReactGenerator<PluginSolidQuery>;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { c as __name, n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-Xj52C0gP.cjs";
1
+ import { c as __name, n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-DqZ7KJBR.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,5 +1,5 @@
1
1
  import { t as __name } from "./chunk-eQyhnF5A.js";
2
- import { n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-B832YCao.js";
2
+ import { n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-C3QP93nB.js";
3
3
 
4
4
  //#region src/plugin.d.ts
5
5
  declare const pluginSolidQueryName = "plugin-solid-query";
@@ -1270,9 +1270,10 @@ type Options$1 = {
1270
1270
  * How to generate the client code
1271
1271
  * - 'function' will generate standalone functions for each operation.
1272
1272
  * - 'class' will generate a class with methods for each operation.
1273
+ * - 'staticClass' will generate a class with static methods for each operation.
1273
1274
  * @default 'function'
1274
1275
  */
1275
- clientType?: 'function' | 'class';
1276
+ clientType?: 'function' | 'class' | 'staticClass';
1276
1277
  /**
1277
1278
  * Bundle the selected client into the generated `.kubb` directory.
1278
1279
  * When disabled the generated clients will import the shared runtime from `@kubb/plugin-client/clients/*`.
@@ -1442,4 +1443,4 @@ type ResolvedOptions = {
1442
1443
  type PluginSolidQuery = PluginFactoryOptions<'plugin-solid-query', Options, ResolvedOptions, never, ResolvePathOptions>;
1443
1444
  //#endregion
1444
1445
  export { OperationSchemas as a, ReactGenerator as i, PluginSolidQuery as n, UserPluginWithLifeCycle as o, Transformer as r, Operation$1 as s, Options as t };
1445
- //# sourceMappingURL=types-B832YCao.d.ts.map
1446
+ //# sourceMappingURL=types-C3QP93nB.d.ts.map
@@ -1271,9 +1271,10 @@ type Options$1 = {
1271
1271
  * How to generate the client code
1272
1272
  * - 'function' will generate standalone functions for each operation.
1273
1273
  * - 'class' will generate a class with methods for each operation.
1274
+ * - 'staticClass' will generate a class with static methods for each operation.
1274
1275
  * @default 'function'
1275
1276
  */
1276
- clientType?: 'function' | 'class';
1277
+ clientType?: 'function' | 'class' | 'staticClass';
1277
1278
  /**
1278
1279
  * Bundle the selected client into the generated `.kubb` directory.
1279
1280
  * When disabled the generated clients will import the shared runtime from `@kubb/plugin-client/clients/*`.
@@ -1443,4 +1444,4 @@ type ResolvedOptions = {
1443
1444
  type PluginSolidQuery = PluginFactoryOptions<'plugin-solid-query', Options, ResolvedOptions, never, ResolvePathOptions>;
1444
1445
  //#endregion
1445
1446
  export { OperationSchemas as a, __name as c, ReactGenerator as i, PluginSolidQuery as n, UserPluginWithLifeCycle as o, Transformer as r, Operation$1 as s, Options as t };
1446
- //# sourceMappingURL=types-Xj52C0gP.d.cts.map
1447
+ //# sourceMappingURL=types-DqZ7KJBR.d.cts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-solid-query",
3
- "version": "0.0.0-canary-20260120134621",
3
+ "version": "0.0.0-canary-20260120234312",
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",
@@ -70,12 +70,12 @@
70
70
  "dependencies": {
71
71
  "@kubb/react-fabric": "0.11.8",
72
72
  "remeda": "^2.33.4",
73
- "@kubb/core": "0.0.0-canary-20260120134621",
74
- "@kubb/oas": "0.0.0-canary-20260120134621",
75
- "@kubb/plugin-client": "0.0.0-canary-20260120134621",
76
- "@kubb/plugin-oas": "0.0.0-canary-20260120134621",
77
- "@kubb/plugin-ts": "0.0.0-canary-20260120134621",
78
- "@kubb/plugin-zod": "0.0.0-canary-20260120134621"
73
+ "@kubb/core": "0.0.0-canary-20260120234312",
74
+ "@kubb/oas": "0.0.0-canary-20260120234312",
75
+ "@kubb/plugin-client": "0.0.0-canary-20260120234312",
76
+ "@kubb/plugin-zod": "0.0.0-canary-20260120234312",
77
+ "@kubb/plugin-oas": "0.0.0-canary-20260120234312",
78
+ "@kubb/plugin-ts": "0.0.0-canary-20260120234312"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "@kubb/react-fabric": "0.11.8"