@comfyorg/comfyui-frontend-types 1.41.8 → 1.41.9
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 +27 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2121,6 +2121,7 @@ export declare class ComfyApp {
|
|
|
2121
2121
|
'Comfy.QueueButton.BatchCountLimit'?: number | undefined;
|
|
2122
2122
|
'Comfy.Queue.MaxHistoryItems'?: number | undefined;
|
|
2123
2123
|
'Comfy.Queue.History.Expanded'?: boolean | undefined;
|
|
2124
|
+
'Comfy.WorkflowActions.SeenItems'?: string[] | undefined;
|
|
2124
2125
|
'Comfy.Keybinding.UnsetBindings'?: {
|
|
2125
2126
|
combo: {
|
|
2126
2127
|
key: string;
|
|
@@ -8830,8 +8831,28 @@ export declare class ComfyApp {
|
|
|
8830
8831
|
get displayType(): string;
|
|
8831
8832
|
isSubgraphNode(): this is SubgraphNode;
|
|
8832
8833
|
private _promotedViewManager;
|
|
8834
|
+
/**
|
|
8835
|
+
* Promotions buffered before this node is attached to a graph (`id === -1`).
|
|
8836
|
+
* They are flushed in `_flushPendingPromotions()` from `_setWidget()` and
|
|
8837
|
+
* `onAdded()`, so construction-time promotions require normal add-to-graph
|
|
8838
|
+
* lifecycle to persist.
|
|
8839
|
+
*/
|
|
8840
|
+
private _pendingPromotions;
|
|
8833
8841
|
widgets: IBaseWidget[];
|
|
8842
|
+
private _resolveLinkedPromotionByInputName;
|
|
8843
|
+
private _getLinkedPromotionEntries;
|
|
8834
8844
|
private _getPromotedViews;
|
|
8845
|
+
private _syncPromotions;
|
|
8846
|
+
private _buildPromotionReconcileState;
|
|
8847
|
+
private _buildPromotionPersistenceState;
|
|
8848
|
+
private _collectLinkedAndFallbackEntries;
|
|
8849
|
+
private _shouldPersistLinkedOnly;
|
|
8850
|
+
private _toPromotionEntries;
|
|
8851
|
+
private _getFallbackStoredEntries;
|
|
8852
|
+
private _buildLinkedReconcileEntries;
|
|
8853
|
+
private _buildDisplayNameByViewKey;
|
|
8854
|
+
private _makePromotionEntryKey;
|
|
8855
|
+
private _makePromotionViewKey;
|
|
8835
8856
|
private _resolveLegacyEntry;
|
|
8836
8857
|
/** Manages lifecycle of all subgraph event listeners */
|
|
8837
8858
|
private _eventAbortController;
|
|
@@ -8845,6 +8866,8 @@ export declare class ComfyApp {
|
|
|
8845
8866
|
configure(info: ExportedSubgraphInstance): void;
|
|
8846
8867
|
_internalConfigureAfterSlots(): void;
|
|
8847
8868
|
private _setWidget;
|
|
8869
|
+
private _flushPendingPromotions;
|
|
8870
|
+
onAdded(_graph: LGraph): void;
|
|
8848
8871
|
/**
|
|
8849
8872
|
* Ensures the subgraph slot is in the params before adding the input as normal.
|
|
8850
8873
|
* @param name The name of the input slot.
|
|
@@ -8871,6 +8894,7 @@ export declare class ComfyApp {
|
|
|
8871
8894
|
/* Excluded from this release type: getInnerNodes */
|
|
8872
8895
|
/** Clear the DOM position override for a promoted view's interior widget. */
|
|
8873
8896
|
private _clearDomOverrideForView;
|
|
8897
|
+
private _removePromotedView;
|
|
8874
8898
|
removeWidget(widget: IBaseWidget): void;
|
|
8875
8899
|
removeWidgetByName(name: string): void;
|
|
8876
8900
|
ensureWidgetRemoved(widget: IBaseWidget): void;
|
|
@@ -16432,6 +16456,7 @@ export declare class ComfyApp {
|
|
|
16432
16456
|
'Comfy.QueueButton.BatchCountLimit': z.ZodNumber;
|
|
16433
16457
|
'Comfy.Queue.MaxHistoryItems': z.ZodNumber;
|
|
16434
16458
|
'Comfy.Queue.History.Expanded': z.ZodBoolean;
|
|
16459
|
+
'Comfy.WorkflowActions.SeenItems': z.ZodArray<z.ZodString, "many">;
|
|
16435
16460
|
'Comfy.Keybinding.UnsetBindings': z.ZodArray<z.ZodObject<{
|
|
16436
16461
|
commandId: z.ZodString;
|
|
16437
16462
|
combo: z.ZodObject<{
|
|
@@ -17048,6 +17073,7 @@ export declare class ComfyApp {
|
|
|
17048
17073
|
'Comfy.QueueButton.BatchCountLimit': number;
|
|
17049
17074
|
'Comfy.Queue.MaxHistoryItems': number;
|
|
17050
17075
|
'Comfy.Queue.History.Expanded': boolean;
|
|
17076
|
+
'Comfy.WorkflowActions.SeenItems': string[];
|
|
17051
17077
|
'Comfy.Keybinding.UnsetBindings': {
|
|
17052
17078
|
combo: {
|
|
17053
17079
|
key: string;
|
|
@@ -17597,6 +17623,7 @@ export declare class ComfyApp {
|
|
|
17597
17623
|
'Comfy.QueueButton.BatchCountLimit': number;
|
|
17598
17624
|
'Comfy.Queue.MaxHistoryItems': number;
|
|
17599
17625
|
'Comfy.Queue.History.Expanded': boolean;
|
|
17626
|
+
'Comfy.WorkflowActions.SeenItems': string[];
|
|
17600
17627
|
'Comfy.Keybinding.UnsetBindings': {
|
|
17601
17628
|
combo: {
|
|
17602
17629
|
key: string;
|