@comfyorg/comfyui-frontend-types 1.15.5 → 1.15.7
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 +12 -6
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -458,11 +458,6 @@ export declare class ComfyApp {
|
|
|
458
458
|
canvas: LGraphCanvas;
|
|
459
459
|
dragOverNode: LGraphNode | null;
|
|
460
460
|
canvasEl: HTMLCanvasElement;
|
|
461
|
-
lastNodeErrors: Record<NodeId, NodeError> | null;
|
|
462
|
-
/** @type {ExecutionErrorWsMessage} */
|
|
463
|
-
lastExecutionError: {
|
|
464
|
-
node_id?: NodeId;
|
|
465
|
-
} | null;
|
|
466
461
|
configuringGraph: boolean;
|
|
467
462
|
ctx: CanvasRenderingContext2D;
|
|
468
463
|
bodyTop: HTMLElement;
|
|
@@ -473,6 +468,16 @@ export declare class ComfyApp {
|
|
|
473
468
|
menu: ComfyAppMenu;
|
|
474
469
|
bypassBgColor: string;
|
|
475
470
|
openClipspace: () => void;
|
|
471
|
+
/**
|
|
472
|
+
* The node errors from the previous execution.
|
|
473
|
+
* @deprecated Use useExecutionStore().lastNodeErrors instead
|
|
474
|
+
*/
|
|
475
|
+
get lastNodeErrors(): Record<NodeId, NodeError> | null;
|
|
476
|
+
/**
|
|
477
|
+
* The error from the previous execution.
|
|
478
|
+
* @deprecated Use useExecutionStore().lastExecutionError instead
|
|
479
|
+
*/
|
|
480
|
+
get lastExecutionError(): ExecutionErrorWsMessage | null;
|
|
476
481
|
/**
|
|
477
482
|
* @deprecated Use useExecutionStore().executingNodeId instead
|
|
478
483
|
*/
|
|
@@ -541,9 +546,10 @@ export declare class ComfyApp {
|
|
|
541
546
|
registerNodeDef(nodeId: string, nodeDef: ComfyNodeDef): Promise<void>;
|
|
542
547
|
registerNodesFromDefs(defs: Record<string, ComfyNodeDef>): Promise<void>;
|
|
543
548
|
loadTemplateData(templateData: any): void;
|
|
544
|
-
loadGraphData(graphData?: ComfyWorkflowJSON, clean?: boolean, restore_view?: boolean, workflow?: string | null | ComfyWorkflow, { showMissingNodesDialog, showMissingModelsDialog }?: {
|
|
549
|
+
loadGraphData(graphData?: ComfyWorkflowJSON, clean?: boolean, restore_view?: boolean, workflow?: string | null | ComfyWorkflow, { showMissingNodesDialog, showMissingModelsDialog, checkForRerouteMigration }?: {
|
|
545
550
|
showMissingNodesDialog?: boolean | undefined;
|
|
546
551
|
showMissingModelsDialog?: boolean | undefined;
|
|
552
|
+
checkForRerouteMigration?: boolean | undefined;
|
|
547
553
|
}): Promise<void>;
|
|
548
554
|
/**
|
|
549
555
|
* Serializes a graph using preferred user settings.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@comfyorg/comfyui-frontend-types",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.7",
|
|
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.11.
|
|
16
|
+
"@comfyorg/litegraph": "^0.11.7"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
19
|
"vue": "^3.5.13",
|