@comfyorg/comfyui-frontend-types 1.44.13 → 1.44.15
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 +9 -8
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { Component } from 'vue';
|
|
|
5
5
|
import { ComputedRef } from 'vue';
|
|
6
6
|
import { CurveData } from '../../../../components/curve/types';
|
|
7
7
|
import { IFuseOptions } from 'fuse.js';
|
|
8
|
-
import { ModelFile as ModelFile_2 } from '../
|
|
8
|
+
import { ModelFile as ModelFile_2 } from '../workflow/validation/schemas/workflowSchema';
|
|
9
9
|
import { NodeId as NodeId_2 } from '../platform/workflow/validation/schemas/workflowSchema';
|
|
10
10
|
import { NodeId as NodeId_3 } from '../workflow/validation/schemas/workflowSchema';
|
|
11
11
|
import { NodeId as NodeId_4 } from '../../validation/schemas/workflowSchema';
|
|
@@ -1161,7 +1161,7 @@ export declare class ComfyApp {
|
|
|
1161
1161
|
/** Whether the root graph has been initialized. Safe to check without triggering error logs. */
|
|
1162
1162
|
get isGraphReady(): boolean;
|
|
1163
1163
|
canvas: LGraphCanvas;
|
|
1164
|
-
dragOverNode: LGraphNode | null;
|
|
1164
|
+
dragOverNode: Pick<LGraphNode, 'onDragDrop' | 'id'> | null;
|
|
1165
1165
|
readonly canvasElRef: ShallowRef<HTMLCanvasElement | undefined, HTMLCanvasElement | undefined>;
|
|
1166
1166
|
get canvasEl(): HTMLCanvasElement;
|
|
1167
1167
|
private configuringGraphLevel;
|
|
@@ -1392,14 +1392,9 @@ export declare class ComfyApp {
|
|
|
1392
1392
|
skipAssetScans?: boolean;
|
|
1393
1393
|
silentAssetErrors?: boolean;
|
|
1394
1394
|
}): Promise<void>;
|
|
1395
|
-
private runMissingModelPipeline;
|
|
1396
1395
|
refreshMissingModels(options?: {
|
|
1397
1396
|
silent?: boolean;
|
|
1398
|
-
}): Promise<
|
|
1399
|
-
missingModels: ModelFile_2[];
|
|
1400
|
-
confirmedCandidates: MissingModelCandidate[];
|
|
1401
|
-
}>;
|
|
1402
|
-
private cacheModelCandidates;
|
|
1397
|
+
}): Promise<MissingModelPipelineResult>;
|
|
1403
1398
|
private cacheMediaCandidates;
|
|
1404
1399
|
private runMissingMediaPipeline;
|
|
1405
1400
|
graphToPrompt(graph?: LGraph): Promise<{
|
|
@@ -4858,6 +4853,7 @@ export declare class ComfyApp {
|
|
|
4858
4853
|
private _visibleReroutes;
|
|
4859
4854
|
private _autoPan;
|
|
4860
4855
|
private _ghostPointerHandler;
|
|
4856
|
+
private _ghostKeyHandler;
|
|
4861
4857
|
dirty_canvas: boolean;
|
|
4862
4858
|
dirty_bgcanvas: boolean;
|
|
4863
4859
|
/** A map of nodes that require selective-redraw */
|
|
@@ -7648,6 +7644,11 @@ export declare class ComfyApp {
|
|
|
7648
7644
|
isMissing: boolean | undefined;
|
|
7649
7645
|
}
|
|
7650
7646
|
|
|
7647
|
+
declare interface MissingModelPipelineResult {
|
|
7648
|
+
missingModels: ModelFile_2[];
|
|
7649
|
+
confirmedCandidates: MissingModelCandidate[];
|
|
7650
|
+
}
|
|
7651
|
+
|
|
7651
7652
|
declare type MissingNodeType = string | {
|
|
7652
7653
|
type: string;
|
|
7653
7654
|
nodeId?: string | number;
|