@umengfe/mcp-server-chart 0.0.5 → 0.0.6
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/build/charts/column.d.ts +5 -5
- package/build/charts/column.js +1 -1
- package/build/server.js +1 -1
- package/package.json +1 -1
package/build/charts/column.d.ts
CHANGED
|
@@ -37,19 +37,19 @@ export declare const column: {
|
|
|
37
37
|
axisYTitle: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
38
38
|
axis: z.ZodOptional<z.ZodObject<{
|
|
39
39
|
y: z.ZodOptional<z.ZodObject<{
|
|
40
|
-
|
|
40
|
+
labelFormatter: z.ZodOptional<z.ZodString>;
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
|
-
|
|
42
|
+
labelFormatter?: string | undefined;
|
|
43
43
|
}, {
|
|
44
|
-
|
|
44
|
+
labelFormatter?: string | undefined;
|
|
45
45
|
}>>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
47
|
y?: {
|
|
48
|
-
|
|
48
|
+
labelFormatter?: string | undefined;
|
|
49
49
|
} | undefined;
|
|
50
50
|
}, {
|
|
51
51
|
y?: {
|
|
52
|
-
|
|
52
|
+
labelFormatter?: string | undefined;
|
|
53
53
|
} | undefined;
|
|
54
54
|
}>>;
|
|
55
55
|
};
|
package/build/charts/column.js
CHANGED
|
@@ -42,7 +42,7 @@ const schema = {
|
|
|
42
42
|
axisYTitle: base_1.AxisYTitleSchema,
|
|
43
43
|
axis: zod_1.z.object({
|
|
44
44
|
y: zod_1.z.object({
|
|
45
|
-
|
|
45
|
+
labelFormatter: base_1.LabelFormatterSchema,
|
|
46
46
|
}).optional().describe("Axis configuration for the chart y-axis, optional."),
|
|
47
47
|
}).optional().describe("Axis configuration for the chart with a JSON object, optional."),
|
|
48
48
|
};
|
package/build/server.js
CHANGED
|
@@ -59,7 +59,7 @@ const logger_1 = require("./utils/logger.js");
|
|
|
59
59
|
function createServer() {
|
|
60
60
|
const server = new index_js_1.Server({
|
|
61
61
|
name: "umeng-mcp-server-chart",
|
|
62
|
-
version: "0.0.
|
|
62
|
+
version: "0.0.6",
|
|
63
63
|
description: "本工具返回内容为 Markdown 格式,建议客户端按 Markdown 渲染",
|
|
64
64
|
}, {
|
|
65
65
|
capabilities: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umengfe/mcp-server-chart",
|
|
3
3
|
"description": "A Model Context Protocol server for generating charts using AntV. This is a TypeScript-based MCP server that provides chart generation capabilities. It allows you to create various types of charts through MCP tools.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
7
7
|
"exports": {
|