@comfyorg/comfyui-frontend-types 1.32.5 → 1.32.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 +17 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -3,7 +3,6 @@ import { ComfyWorkflowJSON } from '../platform/workflow/validation/schemas/workf
|
|
|
3
3
|
import { ComfyWorkflowJSON as ComfyWorkflowJSON_2 } from '../../validation/schemas/workflowSchema';
|
|
4
4
|
import { Component } from 'vue';
|
|
5
5
|
import { DeviceStats } from '../schemas/apiSchema';
|
|
6
|
-
import { DisplayComponentWsMessage } from '../schemas/apiSchema';
|
|
7
6
|
import { EmbeddingsResponse } from '../schemas/apiSchema';
|
|
8
7
|
import { ExecutedWsMessage } from '../schemas/apiSchema';
|
|
9
8
|
import { ExecutingWsMessage } from '../schemas/apiSchema';
|
|
@@ -136,7 +135,6 @@ declare interface BackendApiCalls {
|
|
|
136
135
|
};
|
|
137
136
|
progress_text: ProgressTextWsMessage;
|
|
138
137
|
progress_state: ProgressStateWsMessage;
|
|
139
|
-
display_component: DisplayComponentWsMessage;
|
|
140
138
|
feature_flags: FeatureFlagsWsMessage;
|
|
141
139
|
}
|
|
142
140
|
|
|
@@ -895,7 +893,9 @@ export declare class ComfyApi extends EventTarget {
|
|
|
895
893
|
* Gets the prompt execution history
|
|
896
894
|
* @returns Prompt history including node outputs
|
|
897
895
|
*/
|
|
898
|
-
getHistory(max_items?: number
|
|
896
|
+
getHistory(max_items?: number, options?: {
|
|
897
|
+
offset?: number;
|
|
898
|
+
}): Promise<{
|
|
899
899
|
History: HistoryTaskItem[];
|
|
900
900
|
}>;
|
|
901
901
|
/**
|
|
@@ -4218,6 +4218,7 @@ export declare class ComfyApp {
|
|
|
4218
4218
|
*/
|
|
4219
4219
|
private moveGroupChildren;
|
|
4220
4220
|
moveChildNodesInGroupVueMode(allItems: Set<Positionable>, deltaX: number, deltaY: number): void;
|
|
4221
|
+
repositionNodesVueMode(nodesToReposition: NewNodePosition[]): void;
|
|
4221
4222
|
}
|
|
4222
4223
|
|
|
4223
4224
|
declare interface LGraphCanvasEventMap {
|
|
@@ -6306,6 +6307,14 @@ export declare class ComfyApp {
|
|
|
6306
6307
|
[K in keyof T as T[K] extends never ? never : K]: T[K];
|
|
6307
6308
|
};
|
|
6308
6309
|
|
|
6310
|
+
declare interface NewNodePosition {
|
|
6311
|
+
node: LGraphNode;
|
|
6312
|
+
newPos: {
|
|
6313
|
+
x: number;
|
|
6314
|
+
y: number;
|
|
6315
|
+
};
|
|
6316
|
+
}
|
|
6317
|
+
|
|
6309
6318
|
export { NodeError }
|
|
6310
6319
|
|
|
6311
6320
|
/**
|
|
@@ -7599,6 +7608,11 @@ export declare class ComfyApp {
|
|
|
7599
7608
|
* Whether this template uses open source models. When false, indicates partner/API node templates.
|
|
7600
7609
|
*/
|
|
7601
7610
|
openSource?: boolean;
|
|
7611
|
+
/**
|
|
7612
|
+
* Array of custom node package IDs required for this template (from Custom Node Registry).
|
|
7613
|
+
* Templates with this field will be hidden on local installations temporarily.
|
|
7614
|
+
*/
|
|
7615
|
+
requiresCustomNodes?: string[];
|
|
7602
7616
|
}
|
|
7603
7617
|
|
|
7604
7618
|
export { TerminalSize }
|