@linkdesk/contracts 0.1.19 → 0.1.20
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/linkdesk.d.ts +7 -0
- package/package.json +1 -1
package/linkdesk.d.ts
CHANGED
|
@@ -1206,6 +1206,13 @@ export interface PluginInstallRequestOpts {
|
|
|
1206
1206
|
displayName?: string;
|
|
1207
1207
|
/** job 出身——行 = 一次用户动作(user,缺省);插件拖来的依赖(dependency)藏在那一行里 */
|
|
1208
1208
|
origin?: "user" | "dependency";
|
|
1209
|
+
/**
|
|
1210
|
+
* E6#73o:依赖解析目录——传入后,本插件 `requires` 里**缺失**的依赖由壳在**同一安装 job 内**
|
|
1211
|
+
* 自动先装(内联递归、不占第二个槽——依赖解析复用 updateCheck 打本目录取最新直链)。
|
|
1212
|
+
* 不传 = 行为与现状一致(缺依赖 parked)。解析半径 = 本目录(壳不内置任何目录 URL)。
|
|
1213
|
+
* 设计定案:docs/02-Electron架构/E6_插件生态与发布/03-插件市场/20-依赖链自动安装设计定案.md。
|
|
1214
|
+
*/
|
|
1215
|
+
catalogUrl?: string;
|
|
1209
1216
|
}
|
|
1210
1217
|
/** E5.7#81:安装结果——success:false 时 error 为中文失败原因(校验 / 版本冲突 / 复制失败)。
|
|
1211
1218
|
* 安装进度事件:events.on("plugin:installProgress", ({ stage, pluginId, message }) => ...)
|