@linkdesk/contracts 0.1.49 → 0.1.50
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 +6 -0
- package/package.json +1 -1
package/linkdesk.d.ts
CHANGED
|
@@ -1438,6 +1438,12 @@ export interface DialogOpenOptions {
|
|
|
1438
1438
|
name: string;
|
|
1439
1439
|
extensions: string[];
|
|
1440
1440
|
}[];
|
|
1441
|
+
/**
|
|
1442
|
+
* 2026-11-23:初始目录的**已知文件夹令牌**(⚠️ 不接受插件给绝对路径)。
|
|
1443
|
+
* `"appearance"` = userData/appearance(受控外观图缓存,背景图选择用)——主进程解析并建目录。
|
|
1444
|
+
* 旧壳忽略本字段(无初始目录),插件可安全传入。
|
|
1445
|
+
*/
|
|
1446
|
+
defaultPathKind?: "appearance";
|
|
1441
1447
|
}
|
|
1442
1448
|
/** rich-content confirm dialog open params—pool plugin → shell DialogService (addressed by content view declaration).
|
|
1443
1449
|
* title/message are fallbacks—when the content view fails to resolve, the shell falls back to a plain-text confirm (the dialog still shows; it does not silently die). */
|