@linkdesk/contracts 0.1.21 → 0.1.22
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
|
@@ -1783,6 +1783,12 @@ export interface PoolTab {
|
|
|
1783
1783
|
pluginId: string;
|
|
1784
1784
|
title: string;
|
|
1785
1785
|
sourceId?: string;
|
|
1786
|
+
/** 标签 tooltip 文案——**只给人看**(有才用;无 ⇒ 池侧回落 `title` +「双击固定」后缀)。
|
|
1787
|
+
* 🔴 2026-09-27:⛔ 别拿 `sourceId` 当文案——它是跨组移动/事件寻址/插件绑数据的**功能键**
|
|
1788
|
+
* (插件 API `tabs.closeBySourceId` 认的就是它),插件标签上常是 `settings-2`、`serial-monitor-49`
|
|
1789
|
+
* 这类内部 id,收编 HintTip 时曾被原样印在 tooltip 上。壳 serializeGroups 现场解析:
|
|
1790
|
+
* 文件标签 → 完整路径(E5#53 原意),其余 → `undefined`。 */
|
|
1791
|
+
hint?: string;
|
|
1786
1792
|
dirty?: boolean;
|
|
1787
1793
|
// 🆕 E5.6#16.5:TabBar 渲染所需元数据
|
|
1788
1794
|
/** 标签图标——IconBarIcon 判别联合(E6#69f/#69g:视图标签 = Type-2 身份图 img;文件标签 = 文件类型图标
|