@comfyorg/comfyui-frontend-types 1.45.9 → 1.45.19

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.
Files changed (2) hide show
  1. package/index.d.ts +6 -0
  2. package/package.json +4 -2
package/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import { ComfyApiWorkflow } from '../platform/workflow/validation/schemas/workflowSchema';
2
+ import { ComfyDesktop2Bridge } from '@comfyorg/comfyui-desktop-bridge-types';
2
3
  import { ComfyNodeDef } from '@comfyorg/object-info-parser';
3
4
  import { ComfyWorkflowJSON } from '../platform/workflow/validation/schemas/workflowSchema';
4
5
  import { ComfyWorkflowJSON as ComfyWorkflowJSON_2 } from '../../validation/schemas/workflowSchema';
@@ -1550,6 +1551,8 @@ export declare class ComfyApp {
1550
1551
  element: T;
1551
1552
  }
1552
1553
 
1554
+ export { ComfyDesktop2Bridge }
1555
+
1553
1556
  declare class ComfyDialog<T extends HTMLElement = HTMLElement> extends EventTarget {
1554
1557
  element: T;
1555
1558
  textElement: HTMLElement;
@@ -8333,6 +8336,7 @@ export declare class ComfyApp {
8333
8336
  readonly fromSlotIndex: SlotIndex;
8334
8337
  /** The reroute that the link is being connected from. */
8335
8338
  readonly fromReroute?: Reroute;
8339
+ readonly isIoNodeLink?: boolean;
8336
8340
  /**
8337
8341
  * Capability checks used for hit-testing and validation during drag.
8338
8342
  * Implementations should return `false` when a connection is not possible
@@ -9455,6 +9459,7 @@ export declare class ComfyApp {
9455
9459
  readonly fromPos: Point;
9456
9460
  fromDirection: LinkDirection;
9457
9461
  readonly existingLink?: LLink;
9462
+ readonly isIoNodeLink = true;
9458
9463
  constructor(network: LinkNetwork, node: SubgraphInputNode, fromSlot: SubgraphInput, fromReroute?: Reroute | undefined, dragDirection?: LinkDirection, existingLink?: LLink);
9459
9464
  canConnectToInput(inputNode: NodeLike, input: INodeInputSlot): boolean;
9460
9465
  canConnectToOutput(): false;
@@ -9508,6 +9513,7 @@ export declare class ComfyApp {
9508
9513
  readonly fromPos: Point;
9509
9514
  readonly fromSlotIndex: SlotIndex;
9510
9515
  fromDirection: LinkDirection;
9516
+ readonly isIoNodeLink = true;
9511
9517
  constructor(network: LinkNetwork, node: SubgraphOutputNode, fromSlot: SubgraphOutput, fromReroute?: Reroute | undefined, dragDirection?: LinkDirection);
9512
9518
  canConnectToInput(): false;
9513
9519
  canConnectToOutput(outputNode: NodeLike, output: INodeOutputSlot | SubgraphIO): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.45.9",
3
+ "version": "1.45.19",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"
@@ -12,7 +12,9 @@
12
12
  "homepage": "https://comfy.org",
13
13
  "description": "TypeScript definitions for @comfyorg/comfyui-frontend",
14
14
  "license": "GPL-3.0-only",
15
- "dependencies": {},
15
+ "dependencies": {
16
+ "@comfyorg/comfyui-desktop-bridge-types": "0.1.2"
17
+ },
16
18
  "peerDependencies": {
17
19
  "vue": "^3.5.13",
18
20
  "zod": "^3.23.8"