@dao42/d42paas-front 0.9.179 → 0.9.180

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/README.md CHANGED
@@ -1,4 +1,50 @@
1
1
  # 更新日志
2
+ ## v0.9.180
3
+ ### 新增
4
+ + 新增当前用户添加虚拟用户接口`registerVirtualUser`
5
+ ```ts
6
+ const res = await daoPaasObj.registerVirtualUser(
7
+ {
8
+ name: '小AI ', // 定义虚拟用户名称
9
+ }
10
+ );
11
+ ```
12
+ + 新增当前用户和虚拟用户切换接口`switchVirtualUser`
13
+ ```ts
14
+ const res = await daoPaasObj?.switchVirtualUser(true/false);
15
+ ```
16
+ + 新增打开关键词全局搜索控件的方法`openKeywordSearch`
17
+ ```ts
18
+ daoPaasObj.openKeywordSearch(true); // 打开控件
19
+
20
+ ```
21
+ + 新增获取关键词全局搜索控件数据的方法`fetchKeywordSearchInfo`
22
+ ```ts
23
+ const data = daoPaasObj.fetchKeywordSearchInfo(); // 获取数据
24
+ ```
25
+ ### 优化
26
+ + 优化`RunStatusChanged` 事件,返回更多运行结果信息
27
+ ```ts
28
+ internalRunInfo: {
29
+ "autoImport": {
30
+ "output": "",
31
+ "err": null,
32
+ "duration": 0
33
+ },
34
+ "compile": {
35
+ "output": "",
36
+ "err": null,
37
+ "duration": 6126
38
+ },
39
+ "run": {
40
+ "output": "Hello World",
41
+ "err": null,
42
+ "duration": 2209
43
+ }
44
+ }
45
+ ```
46
+ + 回滚文件系统到`Btrf`
47
+
2
48
  ## v0.9.179
3
49
  ### 新增
4
50
  + 新增添加文件或者文件夹方法`createFile`