@kubb/plugin-client 4.12.8 → 4.12.10
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-Dpu9XKqG.d.cts → types-BK9Vjo8u.d.cts} +3 -1
- package/dist/{types-CdFtT1i3.d.ts → types-CEev55B7.d.ts} +3 -1
- 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-BK9Vjo8u.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-CEev55B7.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-BK9Vjo8u.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-CEev55B7.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-BK9Vjo8u.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-CEev55B7.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginClientName = "plugin-client";
|
|
@@ -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
|
|
@@ -850,6 +851,7 @@ type SchemaKeywordMapper = {
|
|
|
850
851
|
[x: string]: Schema[];
|
|
851
852
|
};
|
|
852
853
|
additionalProperties: Schema[];
|
|
854
|
+
patternProperties?: Record<string, Schema[]>;
|
|
853
855
|
strict?: boolean;
|
|
854
856
|
};
|
|
855
857
|
};
|
|
@@ -1291,4 +1293,4 @@ type ResolvedOptions = {
|
|
|
1291
1293
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1292
1294
|
//#endregion
|
|
1293
1295
|
export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginClient as n, Operation$1 as o, ReactGenerator as r, Options as t };
|
|
1294
|
-
//# sourceMappingURL=types-
|
|
1296
|
+
//# sourceMappingURL=types-BK9Vjo8u.d.cts.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
|
|
@@ -850,6 +851,7 @@ type SchemaKeywordMapper = {
|
|
|
850
851
|
[x: string]: Schema[];
|
|
851
852
|
};
|
|
852
853
|
additionalProperties: Schema[];
|
|
854
|
+
patternProperties?: Record<string, Schema[]>;
|
|
853
855
|
strict?: boolean;
|
|
854
856
|
};
|
|
855
857
|
};
|
|
@@ -1291,4 +1293,4 @@ type ResolvedOptions = {
|
|
|
1291
1293
|
type PluginClient = PluginFactoryOptions<'plugin-client', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1292
1294
|
//#endregion
|
|
1293
1295
|
export { UserPluginWithLifeCycle as a, OperationSchemas as i, PluginClient as n, Operation$1 as o, ReactGenerator as r, Options as t };
|
|
1294
|
-
//# sourceMappingURL=types-
|
|
1296
|
+
//# sourceMappingURL=types-CEev55B7.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.10",
|
|
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.7.4",
|
|
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.
|
|
90
|
+
"@kubb/core": "4.12.10",
|
|
91
|
+
"@kubb/oas": "4.12.10",
|
|
92
|
+
"@kubb/plugin-oas": "4.12.10",
|
|
93
|
+
"@kubb/plugin-ts": "4.12.10",
|
|
94
|
+
"@kubb/plugin-zod": "4.12.10"
|
|
95
95
|
},
|
|
96
96
|
"devDependencies": {
|
|
97
97
|
"axios": "^1.13.2"
|