@kubb/plugin-client 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-ms-ddFpz.d.ts → types-Bf2NVPUb.d.cts} +12 -11
- package/dist/{types-BqsMSZBS.d.cts → types-pbxfCLrx.d.ts} +12 -11
- package/package.json +8 -8
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-
|
|
1
|
+
import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-Bf2NVPUb.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 { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-
|
|
1
|
+
import { i as OperationSchemas, n as PluginClient, o as Operation } from "./types-pbxfCLrx.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 { n as PluginClient, r as ReactGenerator } from "./types-
|
|
1
|
+
import { n as PluginClient, r as ReactGenerator } from "./types-Bf2NVPUb.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/classClientGenerator.d.ts
|
|
4
4
|
declare const classClientGenerator: ReactGenerator<PluginClient>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginClient, r as ReactGenerator } from "./types-
|
|
1
|
+
import { n as PluginClient, r as ReactGenerator } from "./types-pbxfCLrx.js";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/classClientGenerator.d.ts
|
|
4
4
|
declare const classClientGenerator: ReactGenerator<PluginClient>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-
|
|
1
|
+
import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-Bf2NVPUb.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginClientName = "plugin-client";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-
|
|
1
|
+
import { a as UserPluginWithLifeCycle, n as PluginClient, t as Options } from "./types-pbxfCLrx.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginClientName = "plugin-client";
|
|
@@ -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
|
|
@@ -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
|
*/
|
|
@@ -1291,4 +1292,4 @@ type ResolvedOptions = {
|
|
|
1291
1292
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1292
1293
|
//#endregion
|
|
1293
1294
|
export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginClient as n, Operation$1 as o, ReactGenerator as r, Options as t };
|
|
1294
|
-
//# sourceMappingURL=types-
|
|
1295
|
+
//# sourceMappingURL=types-Bf2NVPUb.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
|
|
@@ -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
|
*/
|
|
@@ -1291,4 +1292,4 @@ type ResolvedOptions = {
|
|
|
1291
1292
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1292
1293
|
//#endregion
|
|
1293
1294
|
export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginClient as n, Operation$1 as o, ReactGenerator as r, Options as t };
|
|
1294
|
-
//# sourceMappingURL=types-
|
|
1295
|
+
//# sourceMappingURL=types-pbxfCLrx.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-client",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.9",
|
|
4
4
|
"description": "API client generator plugin for Kubb, creating type-safe HTTP clients (Axios, Fetch) from OpenAPI specifications for making API requests.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api-client",
|
|
@@ -86,18 +86,18 @@
|
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
88
|
"dependencies": {
|
|
89
|
-
"@kubb/react-fabric": "0.7.
|
|
90
|
-
"@kubb/core": "4.12.
|
|
91
|
-
"@kubb/oas": "4.12.
|
|
92
|
-
"@kubb/plugin-oas": "4.12.
|
|
93
|
-
"@kubb/plugin-ts": "4.12.
|
|
94
|
-
"@kubb/plugin-zod": "4.12.
|
|
89
|
+
"@kubb/react-fabric": "0.7.4",
|
|
90
|
+
"@kubb/core": "4.12.9",
|
|
91
|
+
"@kubb/oas": "4.12.9",
|
|
92
|
+
"@kubb/plugin-oas": "4.12.9",
|
|
93
|
+
"@kubb/plugin-ts": "4.12.9",
|
|
94
|
+
"@kubb/plugin-zod": "4.12.9"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"axios": "^1.13.2"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@kubb/react-fabric": "0.7.
|
|
100
|
+
"@kubb/react-fabric": "0.7.4",
|
|
101
101
|
"axios": "^1.7.2"
|
|
102
102
|
},
|
|
103
103
|
"peerDependenciesMeta": {
|