@comfyorg/comfyui-frontend-types 1.15.4 → 1.15.5
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 +14 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -6,11 +6,10 @@ import { ComputedOptions } from 'vue';
|
|
|
6
6
|
import { DebuggerEvent } from 'vue';
|
|
7
7
|
import { default as default_2 } from '../components/dialog/content/LoadWorkflowWarning.vue';
|
|
8
8
|
import { default as default_3 } from '../components/dialog/content/MissingModelsWarning.vue';
|
|
9
|
-
import { default as default_4 } from '../components/
|
|
10
|
-
import { default as default_5 } from '../components/
|
|
11
|
-
import { default as default_6 } from '../components/dialog/content/
|
|
12
|
-
import { default as default_7 } from '../components/dialog/content/
|
|
13
|
-
import { default as default_8 } from '../components/dialog/content/ManagerProgressDialogContent.vue';
|
|
9
|
+
import { default as default_4 } from '../components/templates/TemplateWorkflowsContent.vue';
|
|
10
|
+
import { default as default_5 } from '../components/dialog/content/IssueReportDialogContent.vue';
|
|
11
|
+
import { default as default_6 } from '../components/dialog/content/manager/ManagerDialogContent.vue';
|
|
12
|
+
import { default as default_7 } from '../components/dialog/content/ManagerProgressDialogContent.vue';
|
|
14
13
|
import { DialogPassThroughMethodOptions } from 'primevue';
|
|
15
14
|
import { DialogPassThroughOptionType } from 'primevue';
|
|
16
15
|
import { DialogSharedPassThroughMethodOptions } from 'primevue';
|
|
@@ -45,6 +44,7 @@ import { MethodOptions } from 'vue';
|
|
|
45
44
|
import { MissingHandler } from 'vue-i18n';
|
|
46
45
|
import { NavigationGuard } from 'vue-router';
|
|
47
46
|
import { NavigationGuardWithThis } from 'vue-router';
|
|
47
|
+
import { NodeError } from '../schemas/apiSchema';
|
|
48
48
|
import { PendingTaskItem } from '../schemas/apiSchema';
|
|
49
49
|
import { PluralizationRules } from '@intlify/core-base';
|
|
50
50
|
import { Positionable } from '@comfyorg/litegraph/dist/interfaces';
|
|
@@ -267,9 +267,10 @@ export declare class ComfyApi extends EventTarget {
|
|
|
267
267
|
validate?: boolean;
|
|
268
268
|
}): Promise<Record<string, ComfyNodeDef>>;
|
|
269
269
|
/**
|
|
270
|
-
*
|
|
270
|
+
* Queues a prompt to be executed
|
|
271
271
|
* @param {number} number The index at which to queue the prompt, passing -1 will insert the prompt at the front of the queue
|
|
272
272
|
* @param {object} prompt The prompt data to queue
|
|
273
|
+
* @throws {PromptExecutionError} If the prompt fails to execute
|
|
273
274
|
*/
|
|
274
275
|
queuePrompt(number: number, { output, workflow }: {
|
|
275
276
|
output: Record<number, any>;
|
|
@@ -457,7 +458,7 @@ export declare class ComfyApp {
|
|
|
457
458
|
canvas: LGraphCanvas;
|
|
458
459
|
dragOverNode: LGraphNode | null;
|
|
459
460
|
canvasEl: HTMLCanvasElement;
|
|
460
|
-
lastNodeErrors:
|
|
461
|
+
lastNodeErrors: Record<NodeId, NodeError> | null;
|
|
461
462
|
/** @type {ExecutionErrorWsMessage} */
|
|
462
463
|
lastExecutionError: {
|
|
463
464
|
node_id?: NodeId;
|
|
@@ -1141,12 +1142,12 @@ export declare class ComfyApp {
|
|
|
1141
1142
|
showMissingModelsWarning: (props: InstanceType<typeof default_3>["$props"]) => void;
|
|
1142
1143
|
showSettingsDialog: (panel?: "about" | "keybinding" | "extension" | "server-config") => void;
|
|
1143
1144
|
showAboutDialog: () => void;
|
|
1144
|
-
showExecutionErrorDialog: (
|
|
1145
|
-
showTemplateWorkflowsDialog: (props?: InstanceType<typeof
|
|
1146
|
-
showIssueReportDialog: (props: InstanceType<typeof
|
|
1147
|
-
showManagerDialog: (props?: InstanceType<typeof
|
|
1145
|
+
showExecutionErrorDialog: (executionError: ExecutionErrorWsMessage) => void;
|
|
1146
|
+
showTemplateWorkflowsDialog: (props?: InstanceType<typeof default_4>["$props"]) => void;
|
|
1147
|
+
showIssueReportDialog: (props: InstanceType<typeof default_5>["$props"]) => void;
|
|
1148
|
+
showManagerDialog: (props?: InstanceType<typeof default_6>["$props"]) => void;
|
|
1148
1149
|
showManagerProgressDialog: (options?: {
|
|
1149
|
-
props?: InstanceType<typeof
|
|
1150
|
+
props?: InstanceType<typeof default_7>["$props"];
|
|
1150
1151
|
}) => {
|
|
1151
1152
|
key: string;
|
|
1152
1153
|
visible: boolean;
|
|
@@ -1744,7 +1745,7 @@ export declare class ComfyApp {
|
|
|
1744
1745
|
};
|
|
1745
1746
|
showErrorDialog: (error: unknown, options?: {
|
|
1746
1747
|
title?: string;
|
|
1747
|
-
|
|
1748
|
+
reportType?: string;
|
|
1748
1749
|
}) => void;
|
|
1749
1750
|
prompt: ({ title, message, defaultValue }: {
|
|
1750
1751
|
title: string;
|