@kubb/plugin-solid-query 4.12.7 → 4.12.9
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.
- package/dist/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/generators.d.cts +1 -1
- package/dist/generators.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{types-BD3MRXAR.d.ts → types-Bw_hrca0.d.ts} +11 -10
- package/dist/{types-BUsd2H9b.d.cts → types-C0KwopIH.d.cts} +11 -10
- package/package.json +9 -9
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-
|
|
1
|
+
import { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-C0KwopIH.cjs";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/components.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-
|
|
1
|
+
import { a as OperationSchemas, n as PluginSolidQuery, r as Transformer, s as Operation } from "./types-Bw_hrca0.js";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/generators.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ReactGenerator, n as PluginSolidQuery } from "./types-
|
|
1
|
+
import { i as ReactGenerator, n as PluginSolidQuery } from "./types-C0KwopIH.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/mutationGenerator.d.ts
|
|
4
4
|
declare const mutationGenerator: ReactGenerator<PluginSolidQuery>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ReactGenerator, n as PluginSolidQuery } from "./types-
|
|
1
|
+
import { i as ReactGenerator, n as PluginSolidQuery } from "./types-Bw_hrca0.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-
|
|
1
|
+
import { n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-C0KwopIH.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-
|
|
1
|
+
import { n as PluginSolidQuery, o as UserPluginWithLifeCycle, t as Options } from "./types-Bw_hrca0.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginSolidQueryName = "plugin-solid-query";
|
|
@@ -41,6 +41,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
|
|
|
41
41
|
getRequestSchema(operation: Operation): SchemaObject | undefined;
|
|
42
42
|
getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
|
|
43
43
|
valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
|
|
44
|
+
flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
|
|
44
45
|
}
|
|
45
46
|
//#endregion
|
|
46
47
|
//#region ../core/src/BaseGenerator.d.ts
|
|
@@ -169,21 +170,21 @@ interface KubbEvents {
|
|
|
169
170
|
*/
|
|
170
171
|
'hooks:end': [];
|
|
171
172
|
/**
|
|
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).
|
|
173
|
+
* Emitted when a single hook execution starts. (e.g., format or lint).
|
|
177
174
|
* The callback should be invoked when the command completes.
|
|
178
175
|
*/
|
|
179
|
-
'hook:
|
|
180
|
-
|
|
176
|
+
'hook:start': [{
|
|
177
|
+
id?: string;
|
|
178
|
+
command: string;
|
|
181
179
|
args?: readonly string[];
|
|
182
|
-
}
|
|
180
|
+
}];
|
|
183
181
|
/**
|
|
184
182
|
* Emitted when a single hook execution completes.
|
|
185
183
|
*/
|
|
186
|
-
'hook:end': [
|
|
184
|
+
'hook:end': [{
|
|
185
|
+
id?: string;
|
|
186
|
+
command: string;
|
|
187
|
+
}];
|
|
187
188
|
/**
|
|
188
189
|
* Emitted when a new version of Kubb is available.
|
|
189
190
|
*/
|
|
@@ -1424,4 +1425,4 @@ type ResolvedOptions = {
|
|
|
1424
1425
|
type PluginSolidQuery = PluginFactoryOptions<'plugin-solid-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1425
1426
|
//#endregion
|
|
1426
1427
|
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-
|
|
1428
|
+
//# sourceMappingURL=types-Bw_hrca0.d.ts.map
|
|
@@ -41,6 +41,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
|
|
|
41
41
|
getRequestSchema(operation: Operation): SchemaObject | undefined;
|
|
42
42
|
getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
|
|
43
43
|
valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
|
|
44
|
+
flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
|
|
44
45
|
}
|
|
45
46
|
//#endregion
|
|
46
47
|
//#region ../core/src/BaseGenerator.d.ts
|
|
@@ -169,21 +170,21 @@ interface KubbEvents {
|
|
|
169
170
|
*/
|
|
170
171
|
'hooks:end': [];
|
|
171
172
|
/**
|
|
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).
|
|
173
|
+
* Emitted when a single hook execution starts. (e.g., format or lint).
|
|
177
174
|
* The callback should be invoked when the command completes.
|
|
178
175
|
*/
|
|
179
|
-
'hook:
|
|
180
|
-
|
|
176
|
+
'hook:start': [{
|
|
177
|
+
id?: string;
|
|
178
|
+
command: string;
|
|
181
179
|
args?: readonly string[];
|
|
182
|
-
}
|
|
180
|
+
}];
|
|
183
181
|
/**
|
|
184
182
|
* Emitted when a single hook execution completes.
|
|
185
183
|
*/
|
|
186
|
-
'hook:end': [
|
|
184
|
+
'hook:end': [{
|
|
185
|
+
id?: string;
|
|
186
|
+
command: string;
|
|
187
|
+
}];
|
|
187
188
|
/**
|
|
188
189
|
* Emitted when a new version of Kubb is available.
|
|
189
190
|
*/
|
|
@@ -1424,4 +1425,4 @@ type ResolvedOptions = {
|
|
|
1424
1425
|
type PluginSolidQuery = PluginFactoryOptions<'plugin-solid-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1425
1426
|
//#endregion
|
|
1426
1427
|
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-
|
|
1428
|
+
//# sourceMappingURL=types-C0KwopIH.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-solid-query",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.9",
|
|
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.
|
|
71
|
+
"@kubb/react-fabric": "0.7.4",
|
|
72
72
|
"remeda": "^2.32.0",
|
|
73
|
-
"@kubb/
|
|
74
|
-
"@kubb/
|
|
75
|
-
"@kubb/plugin-
|
|
76
|
-
"@kubb/plugin-
|
|
77
|
-
"@kubb/plugin-ts": "4.12.
|
|
78
|
-
"@kubb/plugin-zod": "4.12.
|
|
73
|
+
"@kubb/core": "4.12.9",
|
|
74
|
+
"@kubb/oas": "4.12.9",
|
|
75
|
+
"@kubb/plugin-client": "4.12.9",
|
|
76
|
+
"@kubb/plugin-oas": "4.12.9",
|
|
77
|
+
"@kubb/plugin-ts": "4.12.9",
|
|
78
|
+
"@kubb/plugin-zod": "4.12.9"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"@kubb/react-fabric": "0.7.
|
|
81
|
+
"@kubb/react-fabric": "0.7.4"
|
|
82
82
|
},
|
|
83
83
|
"engines": {
|
|
84
84
|
"node": ">=20"
|