We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09baaf6 commit 6d900aaCopy full SHA for 6d900aa
1 file changed
packages/script-engine/src/types/index.ts
@@ -72,8 +72,10 @@ export interface ScriptMetadata {
72
binds: ScriptBindInfo[];
73
// 主函数参数(如 request)
74
requests: ScriptRequestInfo[];
75
+ // 脚本描述信息(可选)
76
+ description?: string;
77
// 主函数名称
- mainMethod: string;
78
+ mainMethod?: string;
79
// 主函数返回类型(可选)
80
returnType?: string;
81
// 数据类型定义
0 commit comments