utools-api-types 7.1.0 → 7.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "utools-api-types",
3
- "version": "7.1.0",
3
+ "version": "7.2.0",
4
4
  "description": "TypeScript definitions for uTools API",
5
5
  "repository": {
6
6
  "type": "git",
@@ -60,6 +60,10 @@
60
60
  "mainPush": {
61
61
  "type": "boolean"
62
62
  },
63
+ "mainHide": {
64
+ "type": "boolean",
65
+ "description": "设置为 `true` 时,打开对应的 `feature` 不主动弹出搜索框窗口"
66
+ },
63
67
  "cmds": {
64
68
  "type": "array",
65
69
  "description": "该功能下可响应的命令集,支持 6 种类型,由 cmds 的类型或 cmds.type 决定。",
@@ -120,13 +124,16 @@
120
124
  "file",
121
125
  "directory"
122
126
  ]
127
+ },
128
+ "extensions": {
129
+ "type": "array",
130
+ "description": "文件扩展名",
131
+ "items": {
132
+ "type": "string"
133
+ }
123
134
  }
124
135
  }
125
136
  }
126
- },
127
- "mainHide": {
128
- "type": "boolean",
129
- "description": "设置为 `true` 时,打开对应的 `feature` 不主动弹出搜索框面板"
130
137
  }
131
138
  }
132
139
  }
package/utools.api.d.ts CHANGED
@@ -499,6 +499,10 @@ interface UToolsApi {
499
499
  * @param autocopy 是否自动复制,默认为 false
500
500
  */
501
501
  redirectHotKeySetting(cmdLabel: string, autocopy?: boolean): void;
502
+ /**
503
+ * 跳转(前往) uTools 自定义 AI 模型设置界面,引导用户配置自定义 AI 模型
504
+ */
505
+ redirectAiModelsSetting(): void;
502
506
  /**
503
507
  * 获取闲置的 ubrowser
504
508
  */