@kubb/plugin-solid-query 4.12.7 → 4.12.8

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-BUsd2H9b.cjs";
1
+ import { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-BTpL5MP6.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-BD3MRXAR.js";
1
+ import { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-ChJSdrO0.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-BUsd2H9b.cjs";
1
+ import { i as ReactGenerator, n as PluginSolidQuery } from "./types-BTpL5MP6.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-BD3MRXAR.js";
1
+ import { i as ReactGenerator, n as PluginSolidQuery } from "./types-ChJSdrO0.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-BUsd2H9b.cjs";
1
+ import { n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-BTpL5MP6.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-BD3MRXAR.js";
1
+ import { n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-ChJSdrO0.js";
2
2
 
3
3
  //#region src/plugin.d.ts
4
4
  declare const pluginSolidQueryName = "plugin-solid-query";
@@ -1,4 +1,3 @@
1
- import { Fabric } from "@kubb/react-fabric";
2
1
  import * as OasTypes from "oas/types";
3
2
  import { HttpMethods as HttpMethod, OASDocument, SchemaObject, User } from "oas/types";
4
3
  import { Operation, Operation as Operation$1 } from "oas/operation";
@@ -6,6 +5,7 @@ import { OpenAPIV3 } from "openapi-types";
6
5
  import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
7
6
  import BaseOas from "oas";
8
7
  import { KubbFile } from "@kubb/fabric-core/types";
8
+ import { Fabric } from "@kubb/react-fabric";
9
9
  import { KubbNode } from "@kubb/react-fabric/types";
10
10
 
11
11
  //#region ../oas/src/types.d.ts
@@ -169,21 +169,21 @@ interface KubbEvents {
169
169
  */
170
170
  'hooks:end': [];
171
171
  /**
172
- * Emitted when a single hook execution starts.
173
- */
174
- 'hook:start': [command: string];
175
- /**
176
- * Emitted to execute a hook command (e.g., format or lint).
172
+ * Emitted when a single hook execution starts. (e.g., format or lint).
177
173
  * The callback should be invoked when the command completes.
178
174
  */
179
- 'hook:execute': [{
180
- command: string | URL;
175
+ 'hook:start': [{
176
+ id?: string;
177
+ command: string;
181
178
  args?: readonly string[];
182
- }, cb: () => void];
179
+ }];
183
180
  /**
184
181
  * Emitted when a single hook execution completes.
185
182
  */
186
- 'hook:end': [command: string];
183
+ 'hook:end': [{
184
+ id?: string;
185
+ command: string;
186
+ }];
187
187
  /**
188
188
  * Emitted when a new version of Kubb is available.
189
189
  */
@@ -1424,4 +1424,4 @@ type ResolvedOptions = {
1424
1424
  type PluginSolidQuery = PluginFactoryOptions<'plugin-solid-query', Options, ResolvedOptions, never, ResolvePathOptions>;
1425
1425
  //#endregion
1426
1426
  export { OperationSchemas as a, ReactGenerator as i, PluginSolidQuery as n, UserPluginWithLifeCycle as o, Transformer as r, Operation$1 as s, Options as t };
1427
- //# sourceMappingURL=types-BD3MRXAR.d.ts.map
1427
+ //# sourceMappingURL=types-BTpL5MP6.d.cts.map
@@ -1,3 +1,4 @@
1
+ import { Fabric } from "@kubb/react-fabric";
1
2
  import * as OasTypes from "oas/types";
2
3
  import { HttpMethods as HttpMethod, OASDocument, SchemaObject, User } from "oas/types";
3
4
  import { Operation, Operation as Operation$1 } from "oas/operation";
@@ -5,7 +6,6 @@ import { OpenAPIV3 } from "openapi-types";
5
6
  import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
6
7
  import BaseOas from "oas";
7
8
  import { KubbFile } from "@kubb/fabric-core/types";
8
- import { Fabric } from "@kubb/react-fabric";
9
9
  import { KubbNode } from "@kubb/react-fabric/types";
10
10
 
11
11
  //#region ../oas/src/types.d.ts
@@ -169,21 +169,21 @@ interface KubbEvents {
169
169
  */
170
170
  'hooks:end': [];
171
171
  /**
172
- * Emitted when a single hook execution starts.
173
- */
174
- 'hook:start': [command: string];
175
- /**
176
- * Emitted to execute a hook command (e.g., format or lint).
172
+ * Emitted when a single hook execution starts. (e.g., format or lint).
177
173
  * The callback should be invoked when the command completes.
178
174
  */
179
- 'hook:execute': [{
180
- command: string | URL;
175
+ 'hook:start': [{
176
+ id?: string;
177
+ command: string;
181
178
  args?: readonly string[];
182
- }, cb: () => void];
179
+ }];
183
180
  /**
184
181
  * Emitted when a single hook execution completes.
185
182
  */
186
- 'hook:end': [command: string];
183
+ 'hook:end': [{
184
+ id?: string;
185
+ command: string;
186
+ }];
187
187
  /**
188
188
  * Emitted when a new version of Kubb is available.
189
189
  */
@@ -1424,4 +1424,4 @@ type ResolvedOptions = {
1424
1424
  type PluginSolidQuery = PluginFactoryOptions<'plugin-solid-query', Options, ResolvedOptions, never, ResolvePathOptions>;
1425
1425
  //#endregion
1426
1426
  export { OperationSchemas as a, ReactGenerator as i, PluginSolidQuery as n, UserPluginWithLifeCycle as o, Transformer as r, Operation$1 as s, Options as t };
1427
- //# sourceMappingURL=types-BUsd2H9b.d.cts.map
1427
+ //# sourceMappingURL=types-ChJSdrO0.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubb/plugin-solid-query",
3
- "version": "4.12.7",
3
+ "version": "4.12.8",
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.7.2",
71
+ "@kubb/react-fabric": "0.7.4",
72
72
  "remeda": "^2.32.0",
73
- "@kubb/oas": "4.12.7",
74
- "@kubb/core": "4.12.7",
75
- "@kubb/plugin-oas": "4.12.7",
76
- "@kubb/plugin-client": "4.12.7",
77
- "@kubb/plugin-ts": "4.12.7",
78
- "@kubb/plugin-zod": "4.12.7"
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"
79
79
  },
80
80
  "peerDependencies": {
81
- "@kubb/react-fabric": "0.7.2"
81
+ "@kubb/react-fabric": "0.7.4"
82
82
  },
83
83
  "engines": {
84
84
  "node": ">=20"