@kubb/plugin-client 4.13.1 → 4.14.0
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-CeY3kW8u.d.ts → types-DTBKBmWe.d.ts} +4 -2
- package/dist/{types-sOuV7Vw-.d.cts → types-poqH3dHx.d.cts} +4 -2
- package/package.json +6 -6
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-poqH3dHx.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-DTBKBmWe.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-poqH3dHx.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-DTBKBmWe.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-poqH3dHx.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-DTBKBmWe.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginClientName = "plugin-client";
|
|
@@ -181,6 +181,8 @@ interface KubbEvents {
|
|
|
181
181
|
id?: string;
|
|
182
182
|
command: string;
|
|
183
183
|
args?: readonly string[];
|
|
184
|
+
success: boolean;
|
|
185
|
+
error: Error | null;
|
|
184
186
|
}];
|
|
185
187
|
/**
|
|
186
188
|
* Emitted when a new version of Kubb is available.
|
|
@@ -1079,7 +1081,7 @@ type SchemaGeneratorOptions = {
|
|
|
1079
1081
|
dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
|
|
1080
1082
|
unknownType: 'any' | 'unknown' | 'void';
|
|
1081
1083
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
1082
|
-
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal';
|
|
1084
|
+
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
|
1083
1085
|
enumSuffix?: string;
|
|
1084
1086
|
usedEnumNames?: Record<string, number>;
|
|
1085
1087
|
mapper?: Record<string, string>;
|
|
@@ -1292,4 +1294,4 @@ type ResolvedOptions = {
|
|
|
1292
1294
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1293
1295
|
//#endregion
|
|
1294
1296
|
export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginClient as n, Operation$1 as o, ReactGenerator as r, Options as t };
|
|
1295
|
-
//# sourceMappingURL=types-
|
|
1297
|
+
//# sourceMappingURL=types-DTBKBmWe.d.ts.map
|
|
@@ -181,6 +181,8 @@ interface KubbEvents {
|
|
|
181
181
|
id?: string;
|
|
182
182
|
command: string;
|
|
183
183
|
args?: readonly string[];
|
|
184
|
+
success: boolean;
|
|
185
|
+
error: Error | null;
|
|
184
186
|
}];
|
|
185
187
|
/**
|
|
186
188
|
* Emitted when a new version of Kubb is available.
|
|
@@ -1079,7 +1081,7 @@ type SchemaGeneratorOptions = {
|
|
|
1079
1081
|
dateType: false | 'string' | 'stringOffset' | 'stringLocal' | 'date';
|
|
1080
1082
|
unknownType: 'any' | 'unknown' | 'void';
|
|
1081
1083
|
emptySchemaType: 'any' | 'unknown' | 'void';
|
|
1082
|
-
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal';
|
|
1084
|
+
enumType?: 'enum' | 'asConst' | 'asPascalConst' | 'constEnum' | 'literal' | 'inlineLiteral';
|
|
1083
1085
|
enumSuffix?: string;
|
|
1084
1086
|
usedEnumNames?: Record<string, number>;
|
|
1085
1087
|
mapper?: Record<string, string>;
|
|
@@ -1292,4 +1294,4 @@ type ResolvedOptions = {
|
|
|
1292
1294
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1293
1295
|
//#endregion
|
|
1294
1296
|
export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginClient as n, Operation$1 as o, ReactGenerator as r, Options as t };
|
|
1295
|
-
//# sourceMappingURL=types-
|
|
1297
|
+
//# sourceMappingURL=types-poqH3dHx.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.0",
|
|
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",
|
|
@@ -87,11 +87,11 @@
|
|
|
87
87
|
],
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"@kubb/react-fabric": "0.9.2",
|
|
90
|
-
"@kubb/core": "4.
|
|
91
|
-
"@kubb/oas": "4.
|
|
92
|
-
"@kubb/plugin-
|
|
93
|
-
"@kubb/plugin-
|
|
94
|
-
"@kubb/plugin-zod": "4.
|
|
90
|
+
"@kubb/core": "4.14.0",
|
|
91
|
+
"@kubb/oas": "4.14.0",
|
|
92
|
+
"@kubb/plugin-oas": "4.14.0",
|
|
93
|
+
"@kubb/plugin-ts": "4.14.0",
|
|
94
|
+
"@kubb/plugin-zod": "4.14.0"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"axios": "^1.13.2"
|