@comfyorg/comfyui-frontend-types 1.47.10 → 1.47.12
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 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1504,7 +1504,8 @@ export declare class ComfyApp {
|
|
|
1504
1504
|
workflow: ComfyWorkflowJSON;
|
|
1505
1505
|
output: ComfyApiWorkflow;
|
|
1506
1506
|
}>;
|
|
1507
|
-
queuePrompt(number: number, batchCount?: number,
|
|
1507
|
+
queuePrompt(number: number, batchCount?: number, options?: QueuePromptOptions_2): Promise<boolean>;
|
|
1508
|
+
queuePrompt(number: number, batchCount: number, queueNodeIds: NodeExecutionId[]): Promise<boolean>;
|
|
1508
1509
|
showErrorOnFileLoad(file: File): void;
|
|
1509
1510
|
/**
|
|
1510
1511
|
* Loads workflow data from the specified file
|
|
@@ -3180,6 +3181,10 @@ export declare class ComfyApp {
|
|
|
3180
3181
|
|
|
3181
3182
|
declare type ExecutionSuccessWsMessage = z.infer<typeof zExecutionSuccessWsMessage>;
|
|
3182
3183
|
|
|
3184
|
+
declare type ExecutionTriggerSource = (typeof executionTriggerSources)[number];
|
|
3185
|
+
|
|
3186
|
+
declare const executionTriggerSources: readonly ["button", "keybinding", "legacy_ui", "unknown", "linear", "auto_queue"];
|
|
3187
|
+
|
|
3183
3188
|
/**
|
|
3184
3189
|
* Defines a subgraph and its contents.
|
|
3185
3190
|
* Can be referenced multiple times in a schema.
|
|
@@ -8373,6 +8378,15 @@ export declare class ComfyApp {
|
|
|
8373
8378
|
previewMethod?: PreviewMethod;
|
|
8374
8379
|
}
|
|
8375
8380
|
|
|
8381
|
+
/**
|
|
8382
|
+
* Optional inputs to {@link ComfyApp.queuePrompt}. `intent` is telemetry
|
|
8383
|
+
* attribution only and never affects what gets executed.
|
|
8384
|
+
*/
|
|
8385
|
+
declare interface QueuePromptOptions_2 {
|
|
8386
|
+
queueNodeIds?: NodeExecutionId[];
|
|
8387
|
+
intent?: WorkflowQueueIntent;
|
|
8388
|
+
}
|
|
8389
|
+
|
|
8376
8390
|
declare interface RangeValue {
|
|
8377
8391
|
min: number;
|
|
8378
8392
|
max: number;
|
|
@@ -47117,6 +47131,10 @@ export declare class ComfyApp {
|
|
|
47117
47131
|
*/
|
|
47118
47132
|
declare type WorkflowOpenSource = NonNullable<WorkflowImportMetadata['open_source']>;
|
|
47119
47133
|
|
|
47134
|
+
declare interface WorkflowQueueIntent {
|
|
47135
|
+
trigger_source?: ExecutionTriggerSource;
|
|
47136
|
+
}
|
|
47137
|
+
|
|
47120
47138
|
declare interface WorkflowTemplates {
|
|
47121
47139
|
moduleName: string;
|
|
47122
47140
|
templates: TemplateInfo[];
|