@comfyorg/comfyui-frontend-types 1.32.5 → 1.32.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 +19 -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';
|
|
@@ -20,6 +19,7 @@ import { LogsRawResponse } from '../schemas/apiSchema';
|
|
|
20
19
|
import { LogsWsMessage } from '../schemas/apiSchema';
|
|
21
20
|
import { NodeError } from '../schemas/apiSchema';
|
|
22
21
|
import { NodeId as NodeId_2 } from '../platform/workflow/validation/schemas/workflowSchema';
|
|
22
|
+
import { NotificationWsMessage } from '../schemas/apiSchema';
|
|
23
23
|
import { PendingTaskItem } from '../schemas/apiSchema';
|
|
24
24
|
import { ProgressStateWsMessage } from '../schemas/apiSchema';
|
|
25
25
|
import { ProgressTextWsMessage } from '../schemas/apiSchema';
|
|
@@ -117,6 +117,7 @@ declare interface BackendApiCalls {
|
|
|
117
117
|
executing: ExecutingWsMessage;
|
|
118
118
|
executed: ExecutedWsMessage;
|
|
119
119
|
status: StatusWsMessage;
|
|
120
|
+
notification: NotificationWsMessage;
|
|
120
121
|
execution_start: ExecutionStartWsMessage;
|
|
121
122
|
execution_success: ExecutionSuccessWsMessage;
|
|
122
123
|
execution_error: ExecutionErrorWsMessage;
|
|
@@ -136,7 +137,6 @@ declare interface BackendApiCalls {
|
|
|
136
137
|
};
|
|
137
138
|
progress_text: ProgressTextWsMessage;
|
|
138
139
|
progress_state: ProgressStateWsMessage;
|
|
139
|
-
display_component: DisplayComponentWsMessage;
|
|
140
140
|
feature_flags: FeatureFlagsWsMessage;
|
|
141
141
|
}
|
|
142
142
|
|
|
@@ -895,7 +895,9 @@ export declare class ComfyApi extends EventTarget {
|
|
|
895
895
|
* Gets the prompt execution history
|
|
896
896
|
* @returns Prompt history including node outputs
|
|
897
897
|
*/
|
|
898
|
-
getHistory(max_items?: number
|
|
898
|
+
getHistory(max_items?: number, options?: {
|
|
899
|
+
offset?: number;
|
|
900
|
+
}): Promise<{
|
|
899
901
|
History: HistoryTaskItem[];
|
|
900
902
|
}>;
|
|
901
903
|
/**
|
|
@@ -4218,6 +4220,7 @@ export declare class ComfyApp {
|
|
|
4218
4220
|
*/
|
|
4219
4221
|
private moveGroupChildren;
|
|
4220
4222
|
moveChildNodesInGroupVueMode(allItems: Set<Positionable>, deltaX: number, deltaY: number): void;
|
|
4223
|
+
repositionNodesVueMode(nodesToReposition: NewNodePosition[]): void;
|
|
4221
4224
|
}
|
|
4222
4225
|
|
|
4223
4226
|
declare interface LGraphCanvasEventMap {
|
|
@@ -6306,6 +6309,14 @@ export declare class ComfyApp {
|
|
|
6306
6309
|
[K in keyof T as T[K] extends never ? never : K]: T[K];
|
|
6307
6310
|
};
|
|
6308
6311
|
|
|
6312
|
+
declare interface NewNodePosition {
|
|
6313
|
+
node: LGraphNode;
|
|
6314
|
+
newPos: {
|
|
6315
|
+
x: number;
|
|
6316
|
+
y: number;
|
|
6317
|
+
};
|
|
6318
|
+
}
|
|
6319
|
+
|
|
6309
6320
|
export { NodeError }
|
|
6310
6321
|
|
|
6311
6322
|
/**
|
|
@@ -7599,6 +7610,11 @@ export declare class ComfyApp {
|
|
|
7599
7610
|
* Whether this template uses open source models. When false, indicates partner/API node templates.
|
|
7600
7611
|
*/
|
|
7601
7612
|
openSource?: boolean;
|
|
7613
|
+
/**
|
|
7614
|
+
* Array of custom node package IDs required for this template (from Custom Node Registry).
|
|
7615
|
+
* Templates with this field will be hidden on local installations temporarily.
|
|
7616
|
+
*/
|
|
7617
|
+
requiresCustomNodes?: string[];
|
|
7602
7618
|
}
|
|
7603
7619
|
|
|
7604
7620
|
export { TerminalSize }
|