@comfyorg/comfyui-frontend-types 1.9.4 → 1.9.6
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/index.d.ts +11 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -451,12 +451,20 @@ export declare class ComfyApp {
|
|
|
451
451
|
prompt_id?: string;
|
|
452
452
|
node?: string | number;
|
|
453
453
|
};
|
|
454
|
+
/**
|
|
455
|
+
* @deprecated Use {@link isImageNode} from @/utils/litegraphUtil instead
|
|
456
|
+
*/
|
|
457
|
+
static isImageNode(node: LGraphNode): boolean | HTMLImageElement[];
|
|
458
|
+
/**
|
|
459
|
+
* Resets the canvas view to the default
|
|
460
|
+
* @deprecated Use {@link useLitegraphService().resetView} instead
|
|
461
|
+
*/
|
|
462
|
+
resetView(): void;
|
|
454
463
|
constructor();
|
|
455
464
|
get nodeOutputs(): Record<string, any>;
|
|
456
465
|
set nodeOutputs(value: Record<string, any>);
|
|
457
466
|
getPreviewFormatParam(): string;
|
|
458
467
|
getRandParam(): string;
|
|
459
|
-
static isImageNode(node: any): any;
|
|
460
468
|
static onClipspaceEditorSave(): void;
|
|
461
469
|
static onClipspaceEditorClosed(): void;
|
|
462
470
|
static copyToClipspace(node: any): void;
|
|
@@ -517,7 +525,6 @@ export declare class ComfyApp {
|
|
|
517
525
|
* Refresh combo list on whole nodes
|
|
518
526
|
*/
|
|
519
527
|
refreshComboInNodes(): Promise<void>;
|
|
520
|
-
resetView(): void;
|
|
521
528
|
/**
|
|
522
529
|
* Frees memory allocated to image preview blobs for a specific node, by revoking the URLs associated with them.
|
|
523
530
|
* @param nodeId ID of the node to revoke all preview images of
|
|
@@ -2193,8 +2200,8 @@ export declare class ComfyApp {
|
|
|
2193
2200
|
output?: (string | any[])[];
|
|
2194
2201
|
experimental?: boolean;
|
|
2195
2202
|
name?: string;
|
|
2196
|
-
display_name?: string;
|
|
2197
2203
|
description?: string;
|
|
2204
|
+
display_name?: string;
|
|
2198
2205
|
output_is_list?: boolean[];
|
|
2199
2206
|
output_name?: string[];
|
|
2200
2207
|
output_tooltips?: string[];
|
|
@@ -2367,8 +2374,8 @@ export declare class ComfyApp {
|
|
|
2367
2374
|
output?: (string | any[])[];
|
|
2368
2375
|
experimental?: boolean;
|
|
2369
2376
|
name?: string;
|
|
2370
|
-
display_name?: string;
|
|
2371
2377
|
description?: string;
|
|
2378
|
+
display_name?: string;
|
|
2372
2379
|
output_is_list?: boolean[];
|
|
2373
2380
|
output_name?: string[];
|
|
2374
2381
|
output_tooltips?: string[];
|