@comfyorg/comfyui-frontend-types 1.11.2 → 1.11.3

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 +9 -3
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { LGraphCanvas } from '@comfyorg/litegraph';
11
11
  import { LGraphNode } from '@comfyorg/litegraph';
12
12
  import { LinkMarkerShape } from '@comfyorg/litegraph';
13
13
  import { Positionable } from '@comfyorg/litegraph/dist/interfaces';
14
- import { RenderShape } from '@comfyorg/litegraph/dist/types/globalEnums';
14
+ import { RenderShape } from '@comfyorg/litegraph';
15
15
  import { Vector2 } from '@comfyorg/litegraph';
16
16
  import { z } from 'zod';
17
17
 
@@ -33730,8 +33730,6 @@ declare module '@comfyorg/litegraph' {
33730
33730
  convertToNodes?(): LGraphNode[]
33731
33731
  recreate?(): Promise<LGraphNode>
33732
33732
  refreshComboInNode?(defs: Record<string, ComfyNodeDef>)
33733
- /** Used by virtual nodes (primitives) to insert their values into the graph prior to queueing. */
33734
- applyToGraph?(extraLinks?: LLink[]): void
33735
33733
  /** @deprecated groupNode */
33736
33734
  updateLink?(link: LLink): LLink | null
33737
33735
  onExecutionStart?(): unknown
@@ -33798,6 +33796,14 @@ declare module '@comfyorg/litegraph' {
33798
33796
  /** Callback for pasting multiple files into the node */
33799
33797
  pasteFiles?(files: File[]): void
33800
33798
  }
33799
+ /**
33800
+ * Only used by the Primitive node. Primitive node is using the widget property
33801
+ * to store/access the widget config.
33802
+ * We should remove this hacky solution once we have a proper solution.
33803
+ */
33804
+ interface INodeOutputSlot {
33805
+ widget?: IWidget
33806
+ }
33801
33807
  }
33802
33808
 
33803
33809
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.11.2",
3
+ "version": "1.11.3",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"
@@ -13,7 +13,7 @@
13
13
  "description": "TypeScript definitions for @comfyorg/comfyui-frontend",
14
14
  "license": "GPL-3.0-only",
15
15
  "dependencies": {
16
- "@comfyorg/litegraph": "^0.8.94"
16
+ "@comfyorg/litegraph": "^0.8.97"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "vue": "^3.5.13",