@comfyorg/comfyui-frontend-types 1.41.13 → 1.41.14
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 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -641,6 +641,14 @@ declare class ChangeTracker {
|
|
|
641
641
|
*/
|
|
642
642
|
initialState: ComfyWorkflowJSON;
|
|
643
643
|
static MAX_HISTORY: number;
|
|
644
|
+
/**
|
|
645
|
+
* Guard flag to prevent checkState from running during loadGraphData.
|
|
646
|
+
* Between rootGraph.configure() and afterLoadNewGraph(), the rootGraph
|
|
647
|
+
* contains the NEW workflow's data while activeWorkflow still points to
|
|
648
|
+
* the OLD workflow. Any checkState call in that window would serialize
|
|
649
|
+
* the wrong graph into the old workflow's activeState, corrupting it.
|
|
650
|
+
*/
|
|
651
|
+
static isLoadingGraph: boolean;
|
|
644
652
|
/**
|
|
645
653
|
* The active state of the workflow.
|
|
646
654
|
*/
|
|
@@ -5017,7 +5025,6 @@ export declare class ComfyApp {
|
|
|
5017
5025
|
* Called when a mouse wheel event has to be processed
|
|
5018
5026
|
*/
|
|
5019
5027
|
processMouseWheel(e: WheelEvent): void;
|
|
5020
|
-
private _noItemsSelected;
|
|
5021
5028
|
/**
|
|
5022
5029
|
* process a key event
|
|
5023
5030
|
*/
|
|
@@ -8882,6 +8889,7 @@ export declare class ComfyApp {
|
|
|
8882
8889
|
private _addSubgraphInputListeners;
|
|
8883
8890
|
configure(info: ExportedSubgraphInstance): void;
|
|
8884
8891
|
_internalConfigureAfterSlots(): void;
|
|
8892
|
+
private _resolveInputWidget;
|
|
8885
8893
|
private _setWidget;
|
|
8886
8894
|
private _flushPendingPromotions;
|
|
8887
8895
|
onAdded(_graph: LGraph): void;
|
|
@@ -9487,18 +9495,18 @@ export declare class ComfyApp {
|
|
|
9487
9495
|
status: "running" | "completed" | "failed" | "created";
|
|
9488
9496
|
progress: number;
|
|
9489
9497
|
task_id: string;
|
|
9498
|
+
bytes_downloaded: number;
|
|
9490
9499
|
asset_name: string;
|
|
9491
9500
|
bytes_total: number;
|
|
9492
|
-
bytes_downloaded: number;
|
|
9493
9501
|
error?: string | undefined;
|
|
9494
9502
|
asset_id?: string | undefined;
|
|
9495
9503
|
}, {
|
|
9496
9504
|
status: "running" | "completed" | "failed" | "created";
|
|
9497
9505
|
progress: number;
|
|
9498
9506
|
task_id: string;
|
|
9507
|
+
bytes_downloaded: number;
|
|
9499
9508
|
asset_name: string;
|
|
9500
9509
|
bytes_total: number;
|
|
9501
|
-
bytes_downloaded: number;
|
|
9502
9510
|
error?: string | undefined;
|
|
9503
9511
|
asset_id?: string | undefined;
|
|
9504
9512
|
}>;
|