@kubb/plugin-mcp 4.8.0 → 4.9.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/generators.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ReactGenerator } from "./index-CmN8HkOs.cjs";
|
|
2
|
-
import { n as PluginMcp } from "./types-
|
|
2
|
+
import { n as PluginMcp } from "./types-B6rNUI0F.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
1
|
import { n as ReactGenerator } from "./index-CkZlWRRA.js";
|
|
2
|
-
import { n as PluginMcp } from "./types-
|
|
2
|
+
import { n as PluginMcp } from "./types-CqF9AjSS.js";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/mcpGenerator.d.ts
|
|
5
5
|
declare const mcpGenerator: ReactGenerator<PluginMcp>;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as UserPluginWithLifeCycle } from "./index-CmN8HkOs.cjs";
|
|
2
|
-
import { n as PluginMcp, t as Options } from "./types-
|
|
2
|
+
import { n as PluginMcp, t as Options } from "./types-B6rNUI0F.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
1
|
import { m as UserPluginWithLifeCycle } from "./index-CkZlWRRA.js";
|
|
2
|
-
import { n as PluginMcp, t as Options } from "./types-
|
|
2
|
+
import { n as PluginMcp, t as Options } from "./types-CqF9AjSS.js";
|
|
3
3
|
|
|
4
4
|
//#region src/plugin.d.ts
|
|
5
5
|
declare const pluginMcpName = "plugin-mcp";
|
|
@@ -90,6 +90,13 @@ type Options$1 = {
|
|
|
90
90
|
* @default 'axios'
|
|
91
91
|
*/
|
|
92
92
|
client?: 'axios' | 'fetch';
|
|
93
|
+
/**
|
|
94
|
+
* How to generate the client code
|
|
95
|
+
* - 'function' will generate standalone functions for each operation.
|
|
96
|
+
* - 'class' will generate a class with methods for each operation.
|
|
97
|
+
* @default 'function'
|
|
98
|
+
*/
|
|
99
|
+
clientType?: 'function' | 'class';
|
|
93
100
|
/**
|
|
94
101
|
* Bundle the selected client into the generated `.kubb` directory.
|
|
95
102
|
* When disabled the generated clients will import the shared runtime from `@kubb/plugin-client/clients/*`.
|
|
@@ -113,6 +120,7 @@ type ResolvedOptions$1 = {
|
|
|
113
120
|
group?: Options$1['group'];
|
|
114
121
|
baseURL: string | undefined;
|
|
115
122
|
client: Options$1['client'];
|
|
123
|
+
clientType: NonNullable<Options$1['clientType']>;
|
|
116
124
|
bundle: NonNullable<Options$1['bundle']>;
|
|
117
125
|
parser: NonNullable<Options$1['parser']>;
|
|
118
126
|
urlType: NonNullable<Options$1['urlType']>;
|
|
@@ -172,4 +180,4 @@ type ResolvedOptions = {
|
|
|
172
180
|
type PluginMcp = PluginFactoryOptions<'plugin-mcp', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
173
181
|
//#endregion
|
|
174
182
|
export { PluginMcp as n, Options as t };
|
|
175
|
-
//# sourceMappingURL=types-
|
|
183
|
+
//# sourceMappingURL=types-B6rNUI0F.d.cts.map
|
|
@@ -90,6 +90,13 @@ type Options$1 = {
|
|
|
90
90
|
* @default 'axios'
|
|
91
91
|
*/
|
|
92
92
|
client?: 'axios' | 'fetch';
|
|
93
|
+
/**
|
|
94
|
+
* How to generate the client code
|
|
95
|
+
* - 'function' will generate standalone functions for each operation.
|
|
96
|
+
* - 'class' will generate a class with methods for each operation.
|
|
97
|
+
* @default 'function'
|
|
98
|
+
*/
|
|
99
|
+
clientType?: 'function' | 'class';
|
|
93
100
|
/**
|
|
94
101
|
* Bundle the selected client into the generated `.kubb` directory.
|
|
95
102
|
* When disabled the generated clients will import the shared runtime from `@kubb/plugin-client/clients/*`.
|
|
@@ -113,6 +120,7 @@ type ResolvedOptions$1 = {
|
|
|
113
120
|
group?: Options$1['group'];
|
|
114
121
|
baseURL: string | undefined;
|
|
115
122
|
client: Options$1['client'];
|
|
123
|
+
clientType: NonNullable<Options$1['clientType']>;
|
|
116
124
|
bundle: NonNullable<Options$1['bundle']>;
|
|
117
125
|
parser: NonNullable<Options$1['parser']>;
|
|
118
126
|
urlType: NonNullable<Options$1['urlType']>;
|
|
@@ -172,4 +180,4 @@ type ResolvedOptions = {
|
|
|
172
180
|
type PluginMcp = PluginFactoryOptions<'plugin-mcp', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
173
181
|
//#endregion
|
|
174
182
|
export { PluginMcp as n, Options as t };
|
|
175
|
-
//# sourceMappingURL=types-
|
|
183
|
+
//# sourceMappingURL=types-CqF9AjSS.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-mcp",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.9.0",
|
|
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.5.4",
|
|
73
|
-
"@kubb/core": "4.
|
|
74
|
-
"@kubb/oas": "4.
|
|
75
|
-
"@kubb/plugin-client": "4.
|
|
76
|
-
"@kubb/plugin-oas": "4.
|
|
77
|
-
"@kubb/plugin-ts": "4.
|
|
78
|
-
"@kubb/plugin-zod": "4.
|
|
73
|
+
"@kubb/core": "4.9.0",
|
|
74
|
+
"@kubb/oas": "4.9.0",
|
|
75
|
+
"@kubb/plugin-client": "4.9.0",
|
|
76
|
+
"@kubb/plugin-oas": "4.9.0",
|
|
77
|
+
"@kubb/plugin-ts": "4.9.0",
|
|
78
|
+
"@kubb/plugin-zod": "4.9.0"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {},
|
|
81
81
|
"engines": {
|