@kubb/plugin-mcp 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 +2 -2
- package/dist/generators.d.ts +2 -2
- package/dist/{index-BwyYBwa9.d.ts → index-CPXjqkba.d.cts} +4 -2
- package/dist/{index-B7E2dVPx.d.cts → index-uP-RATKD.d.ts} +4 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/{types-Cq6ANmJY.d.cts → types-CZn8XcrT.d.cts} +2 -2
- package/dist/{types-BTusZEGx.d.ts → types-Dtosf3hn.d.ts} +2 -2
- package/package.json +7 -7
package/dist/components.d.cts
CHANGED
package/dist/components.d.ts
CHANGED
package/dist/generators.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ReactGenerator } from "./index-
|
|
2
|
-
import { n as PluginMcp } from "./types-
|
|
1
|
+
import { n as ReactGenerator } from "./index-CPXjqkba.cjs";
|
|
2
|
+
import { n as PluginMcp } from "./types-CZn8XcrT.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/mcpGenerator.d.ts
|
|
5
5
|
declare const mcpGenerator: ReactGenerator<PluginMcp>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as ReactGenerator } from "./index-
|
|
2
|
-
import { n as PluginMcp } from "./types-
|
|
1
|
+
import { n as ReactGenerator } from "./index-uP-RATKD.js";
|
|
2
|
+
import { n as PluginMcp } from "./types-Dtosf3hn.js";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/mcpGenerator.d.ts
|
|
5
5
|
declare const mcpGenerator: ReactGenerator<PluginMcp>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
2
1
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
2
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
3
3
|
import * as OasTypes from "oas/types";
|
|
4
4
|
import { HttpMethods as HttpMethod, OASDocument, SchemaObject, User } from "oas/types";
|
|
5
5
|
import { Operation, Operation as Operation$1 } from "oas/operation";
|
|
@@ -708,6 +708,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
|
|
|
708
708
|
getRequestSchema(operation: Operation): SchemaObject | undefined;
|
|
709
709
|
getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
|
|
710
710
|
valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
|
|
711
|
+
flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
|
|
711
712
|
}
|
|
712
713
|
//#endregion
|
|
713
714
|
//#region ../plugin-oas/src/types.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
|
};
|
|
@@ -1160,4 +1162,4 @@ type CoreGenerator<TOptions extends PluginFactoryOptions> = {
|
|
|
1160
1162
|
};
|
|
1161
1163
|
//#endregion
|
|
1162
1164
|
export { OperationSchemas as a, Oas as c, Output as d, PluginFactoryOptions as f, Include as i, contentType as l, UserPluginWithLifeCycle as m, ReactGenerator as n, Override as o, ResolveNameParams as p, Exclude$1 as r, ResolvePathOptions as s, Generator as t, Group as u };
|
|
1163
|
-
//# sourceMappingURL=index-
|
|
1165
|
+
//# sourceMappingURL=index-CPXjqkba.d.cts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { KubbFile } from "@kubb/fabric-core/types";
|
|
2
1
|
import { Fabric } from "@kubb/react-fabric";
|
|
2
|
+
import { KubbFile } from "@kubb/fabric-core/types";
|
|
3
3
|
import * as OasTypes from "oas/types";
|
|
4
4
|
import { HttpMethods as HttpMethod, OASDocument, SchemaObject, User } from "oas/types";
|
|
5
5
|
import { Operation, Operation as Operation$1 } from "oas/operation";
|
|
@@ -708,6 +708,7 @@ declare class Oas<const TOAS = unknown> extends BaseOas {
|
|
|
708
708
|
getRequestSchema(operation: Operation): SchemaObject | undefined;
|
|
709
709
|
getParametersSchema(operation: Operation, inKey: 'path' | 'query' | 'header'): SchemaObject | null;
|
|
710
710
|
valdiate(): Promise<oas_normalize_lib_types0.ValidationResult>;
|
|
711
|
+
flattenSchema(schema?: SchemaObject): SchemaObject | undefined;
|
|
711
712
|
}
|
|
712
713
|
//#endregion
|
|
713
714
|
//#region ../plugin-oas/src/types.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
|
};
|
|
@@ -1160,4 +1162,4 @@ type CoreGenerator<TOptions extends PluginFactoryOptions> = {
|
|
|
1160
1162
|
};
|
|
1161
1163
|
//#endregion
|
|
1162
1164
|
export { OperationSchemas as a, Oas as c, Output as d, PluginFactoryOptions as f, Include as i, contentType as l, UserPluginWithLifeCycle as m, ReactGenerator as n, Override as o, ResolveNameParams as p, Exclude$1 as r, ResolvePathOptions as s, Generator as t, Group as u };
|
|
1163
|
-
//# sourceMappingURL=index-
|
|
1165
|
+
//# sourceMappingURL=index-uP-RATKD.d.ts.map
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as UserPluginWithLifeCycle } from "./index-
|
|
2
|
-
import { n as PluginMcp, t as Options } from "./types-
|
|
1
|
+
import { m as UserPluginWithLifeCycle } from "./index-CPXjqkba.cjs";
|
|
2
|
+
import { n as PluginMcp, t as Options } from "./types-CZn8XcrT.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginMcpName = "plugin-mcp";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { m as UserPluginWithLifeCycle } from "./index-
|
|
2
|
-
import { n as PluginMcp, t as Options } from "./types-
|
|
1
|
+
import { m as UserPluginWithLifeCycle } from "./index-uP-RATKD.js";
|
|
2
|
+
import { n as PluginMcp, t as Options } from "./types-Dtosf3hn.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginMcpName = "plugin-mcp";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Oas, d as Output, f as PluginFactoryOptions, i as Include, l as contentType, o as Override, p as ResolveNameParams, r as Exclude, s as ResolvePathOptions, t as Generator, u as Group } from "./index-
|
|
1
|
+
import { c as Oas, d as Output, f as PluginFactoryOptions, i as Include, l as contentType, o as Override, p as ResolveNameParams, r as Exclude, s as ResolvePathOptions, t as Generator, u as Group } from "./index-CPXjqkba.cjs";
|
|
2
2
|
|
|
3
3
|
//#region ../plugin-client/src/types.d.ts
|
|
4
4
|
|
|
@@ -180,4 +180,4 @@ type ResolvedOptions = {
|
|
|
180
180
|
type PluginMcp = PluginFactoryOptions<'plugin-mcp', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
181
181
|
//#endregion
|
|
182
182
|
export { PluginMcp as n, Options as t };
|
|
183
|
-
//# sourceMappingURL=types-
|
|
183
|
+
//# sourceMappingURL=types-CZn8XcrT.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as Oas, d as Output, f as PluginFactoryOptions, i as Include, l as contentType, o as Override, p as ResolveNameParams, r as Exclude, s as ResolvePathOptions, t as Generator, u as Group } from "./index-
|
|
1
|
+
import { c as Oas, d as Output, f as PluginFactoryOptions, i as Include, l as contentType, o as Override, p as ResolveNameParams, r as Exclude, s as ResolvePathOptions, t as Generator, u as Group } from "./index-uP-RATKD.js";
|
|
2
2
|
|
|
3
3
|
//#region ../plugin-client/src/types.d.ts
|
|
4
4
|
|
|
@@ -180,4 +180,4 @@ type ResolvedOptions = {
|
|
|
180
180
|
type PluginMcp = PluginFactoryOptions<'plugin-mcp', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
181
181
|
//#endregion
|
|
182
182
|
export { PluginMcp as n, Options as t };
|
|
183
|
-
//# sourceMappingURL=types-
|
|
183
|
+
//# sourceMappingURL=types-Dtosf3hn.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-mcp",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.10",
|
|
4
4
|
"description": "Generator mcp",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"typescript",
|
|
@@ -70,12 +70,12 @@
|
|
|
70
70
|
],
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"@kubb/react-fabric": "0.7.4",
|
|
73
|
-
"@kubb/core": "4.12.
|
|
74
|
-
"@kubb/oas": "4.12.
|
|
75
|
-
"@kubb/plugin-client": "4.12.
|
|
76
|
-
"@kubb/plugin-oas": "4.12.
|
|
77
|
-
"@kubb/plugin-ts": "4.12.
|
|
78
|
-
"@kubb/plugin-zod": "4.12.
|
|
73
|
+
"@kubb/core": "4.12.10",
|
|
74
|
+
"@kubb/oas": "4.12.10",
|
|
75
|
+
"@kubb/plugin-client": "4.12.10",
|
|
76
|
+
"@kubb/plugin-oas": "4.12.10",
|
|
77
|
+
"@kubb/plugin-ts": "4.12.10",
|
|
78
|
+
"@kubb/plugin-zod": "4.12.10"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {},
|
|
81
81
|
"engines": {
|