@comfyorg/comfyui-frontend-types 1.20.1 → 1.20.2

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 +4 -2
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -15,6 +15,7 @@ import { DialogPassThroughMethodOptions } from 'primevue';
15
15
  import { DialogPassThroughOptionType } from 'primevue';
16
16
  import { DialogSharedPassThroughMethodOptions } from 'primevue';
17
17
  import { Directive } from 'vue';
18
+ import { DisplayComponentWsMessage } from '../schemas/apiSchema';
18
19
  import { EmbeddingsResponse } from '../schemas/apiSchema';
19
20
  import { ExecutedWsMessage } from '../schemas/apiSchema';
20
21
  import { ExecutingWsMessage } from '../schemas/apiSchema';
@@ -119,6 +120,7 @@ declare interface BackendApiCalls {
119
120
  /** Binary preview/progress data */
120
121
  b_preview: Blob;
121
122
  progress_text: ProgressTextWsMessage;
123
+ display_component: DisplayComponentWsMessage;
122
124
  }
123
125
 
124
126
  declare interface BaseBottomPanelExtension {
@@ -459,11 +461,11 @@ export declare class ComfyApp {
459
461
  extensionManager: ExtensionManager;
460
462
  _nodeOutputs: Record<string, any>;
461
463
  nodePreviewImages: Record<string, string[]>;
462
- graph: LGraph;
464
+ get graph(): LGraph;
463
465
  canvas: LGraphCanvas;
464
466
  dragOverNode: LGraphNode | null;
465
467
  canvasEl: HTMLCanvasElement;
466
- configuringGraph: boolean;
468
+ get configuringGraph(): boolean;
467
469
  ctx: CanvasRenderingContext2D;
468
470
  bodyTop: HTMLElement;
469
471
  bodyLeft: HTMLElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.20.1",
3
+ "version": "1.20.2",
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.15.9"
16
+ "@comfyorg/litegraph": "^0.15.11"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "vue": "^3.5.13",