@linkdesk/contracts 0.1.46 → 0.1.48
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 +4 -0
- package/package.json +1 -1
package/linkdesk.d.ts
CHANGED
|
@@ -1412,6 +1412,10 @@ export interface MenuItemDescriptor {
|
|
|
1412
1412
|
* **the end** is the shared component's context"; ⛔ do not assume `args[0]` is necessarily your data (unless that slot has no shared context).
|
|
1413
1413
|
*/
|
|
1414
1414
|
commandArgs?: unknown[];
|
|
1415
|
+
/** F14 配套(16 号档 · 2026-11-21):**进程内注入项**的池侧回调——有值则点击就地在池内执行,
|
|
1416
|
+
* 不走壳命令(ContextMenu 分发先查 onSelect 再 executeCommand)。仅 `items` prop 直注形态可用
|
|
1417
|
+
* (wire 菜单 getItems 不能携带函数——跨 IPC 只走 command/commandArgs)。 */
|
|
1418
|
+
onSelect?: () => void;
|
|
1415
1419
|
children?: Array<string | MenuItemDescriptor>;
|
|
1416
1420
|
}
|
|
1417
1421
|
/**
|