Skip to content

Commit cd571d9

Browse files
authored
Merge pull request #4 from lowcoding/v1.4.7
✨ feat: webview 中支持执行脚本设置模板数据
2 parents f473fc6 + a575d60 commit cd571d9

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+625
-254
lines changed

.lowcoderc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"yapi": {
3+
"domain": "",
4+
"projects": []
5+
},
6+
"mock": {
7+
"mockNumber": "Random.natural(1000,1000)",
8+
"mockBoolean": "false",
9+
"mockString": "Random.cword(5, 7)",
10+
"mockKeyWordEqual": [],
11+
"mockKeyWordLike": []
12+
},
13+
"commonlyUsedBlock": [
14+
"react-mvp模块"
15+
]
16+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "lowcode",
44
"description": "lowcode tool, support ChatGPT",
55
"author": "wjkang <[email protected]>",
6-
"version": "1.4.6",
6+
"version": "1.4.7",
77
"icon": "asset/icon.png",
88
"publisher": "wjkang",
99
"repository": "https://github.com/lowcoding/lowcode-vscode",

src/utils/materials.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ export const getLocalMaterials = (
3131
commandPrompt?: string;
3232
viewPrompt?: string;
3333
};
34+
scripts?: [{ method: string; remark: string }];
3435
};
3536
commandPrompt?: string; // 优先级比 preview.chatGPT 高
3637
viewPrompt?: string; // 优先级比 preview.chatGPT 高

0 commit comments

Comments
 (0)