@comfyorg/comfyui-frontend-types 1.44.14 → 1.44.16
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 +13 -16
- 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';
|
|
@@ -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;
|
|
@@ -9134,15 +9135,6 @@ export declare class ComfyApp {
|
|
|
9134
9135
|
onTitleButtonClick(button: LGraphButton, canvas: LGraphCanvas): void;
|
|
9135
9136
|
private _addSubgraphInputListeners;
|
|
9136
9137
|
private _rebindInputSubgraphSlots;
|
|
9137
|
-
/** Temporarily stored during configure for use by _internalConfigureAfterSlots */
|
|
9138
|
-
private _pendingWidgetsValues?;
|
|
9139
|
-
/**
|
|
9140
|
-
* Per-instance promoted widget values.
|
|
9141
|
-
* Multiple SubgraphNode instances share the same inner nodes, so
|
|
9142
|
-
* promoted widget values must be stored per-instance to avoid collisions.
|
|
9143
|
-
* Key: `${sourceNodeId}:${sourceWidgetName}`
|
|
9144
|
-
*/
|
|
9145
|
-
readonly _instanceWidgetValues: Map<string, unknown>;
|
|
9146
9138
|
configure(info: ExportedSubgraphInstance): void;
|
|
9147
9139
|
_internalConfigureAfterSlots(): void;
|
|
9148
9140
|
/**
|
|
@@ -9195,6 +9187,11 @@ export declare class ComfyApp {
|
|
|
9195
9187
|
ensureWidgetRemoved(widget: IBaseWidget): void;
|
|
9196
9188
|
onRemoved(): void;
|
|
9197
9189
|
drawTitleBox(ctx: CanvasRenderingContext2D, { scale, low_quality, title_height, box_size }: DrawTitleBoxOptions): void;
|
|
9190
|
+
/**
|
|
9191
|
+
* Synchronizes widget values from this SubgraphNode instance to the
|
|
9192
|
+
* corresponding widgets in the subgraph definition before serialization.
|
|
9193
|
+
* This ensures nested subgraph widget values are preserved when saving.
|
|
9194
|
+
*/
|
|
9198
9195
|
serialize(): ISerialisedNode;
|
|
9199
9196
|
clone(): LGraphNode | null;
|
|
9200
9197
|
getSlotShape(slot: SubgraphInput, extraInput?: INodeInputSlot): RenderShape | undefined;
|