@comfyorg/comfyui-frontend-types 1.44.15 → 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 +5 -9
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9135,15 +9135,6 @@ export declare class ComfyApp {
|
|
|
9135
9135
|
onTitleButtonClick(button: LGraphButton, canvas: LGraphCanvas): void;
|
|
9136
9136
|
private _addSubgraphInputListeners;
|
|
9137
9137
|
private _rebindInputSubgraphSlots;
|
|
9138
|
-
/** Temporarily stored during configure for use by _internalConfigureAfterSlots */
|
|
9139
|
-
private _pendingWidgetsValues?;
|
|
9140
|
-
/**
|
|
9141
|
-
* Per-instance promoted widget values.
|
|
9142
|
-
* Multiple SubgraphNode instances share the same inner nodes, so
|
|
9143
|
-
* promoted widget values must be stored per-instance to avoid collisions.
|
|
9144
|
-
* Key: `${sourceNodeId}:${sourceWidgetName}`
|
|
9145
|
-
*/
|
|
9146
|
-
readonly _instanceWidgetValues: Map<string, unknown>;
|
|
9147
9138
|
configure(info: ExportedSubgraphInstance): void;
|
|
9148
9139
|
_internalConfigureAfterSlots(): void;
|
|
9149
9140
|
/**
|
|
@@ -9196,6 +9187,11 @@ export declare class ComfyApp {
|
|
|
9196
9187
|
ensureWidgetRemoved(widget: IBaseWidget): void;
|
|
9197
9188
|
onRemoved(): void;
|
|
9198
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
|
+
*/
|
|
9199
9195
|
serialize(): ISerialisedNode;
|
|
9200
9196
|
clone(): LGraphNode | null;
|
|
9201
9197
|
getSlotShape(slot: SubgraphInput, extraInput?: INodeInputSlot): RenderShape | undefined;
|