@comfyorg/comfyui-frontend-types 1.41.18 → 1.41.20

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.
Files changed (2) hide show
  1. package/index.d.ts +12 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -8862,10 +8862,15 @@ export declare class ComfyApp {
8862
8862
  * lifecycle to persist.
8863
8863
  */
8864
8864
  private _pendingPromotions;
8865
+ private _cacheVersion;
8866
+ private _linkedEntriesCache?;
8867
+ private _promotedViewsCache?;
8865
8868
  widgets: IBaseWidget[];
8866
- private _resolveLinkedPromotionByInputName;
8869
+ private _resolveLinkedPromotionBySubgraphInput;
8867
8870
  private _getLinkedPromotionEntries;
8871
+ private _hasMissingBoundSourceWidget;
8868
8872
  private _getPromotedViews;
8873
+ private _invalidatePromotedViewsCache;
8869
8874
  private _syncPromotions;
8870
8875
  private _buildPromotionReconcileState;
8871
8876
  private _buildPromotionPersistenceState;
@@ -8873,6 +8878,9 @@ export declare class ComfyApp {
8873
8878
  private _shouldPersistLinkedOnly;
8874
8879
  private _toPromotionEntries;
8875
8880
  private _getFallbackStoredEntries;
8881
+ private _pruneStaleAliasFallbackEntries;
8882
+ private _resolveConcretePromotionEntryKey;
8883
+ private _getConnectedPromotionEntryKeys;
8876
8884
  private _buildLinkedReconcileEntries;
8877
8885
  private _buildDisplayNameByViewKey;
8878
8886
  private _makePromotionEntryKey;
@@ -8887,6 +8895,7 @@ export declare class ComfyApp {
8887
8895
  subgraph: Subgraph, instanceData: ExportedSubgraphInstance);
8888
8896
  onTitleButtonClick(button: LGraphButton, canvas: LGraphCanvas): void;
8889
8897
  private _addSubgraphInputListeners;
8898
+ private _rebindInputSubgraphSlots;
8890
8899
  configure(info: ExportedSubgraphInstance): void;
8891
8900
  _internalConfigureAfterSlots(): void;
8892
8901
  private _resolveInputWidget;
@@ -8902,6 +8911,8 @@ export declare class ComfyApp {
8902
8911
  * @remarks Assertion is required to instantiate empty generic POJO.
8903
8912
  */
8904
8913
  addInput<TInput extends Partial<ISubgraphInput>>(name: string, type: ISlotType, inputProperties?: TInput): INodeInputSlot & TInput;
8914
+ getSlotFromWidget(widget: IBaseWidget | undefined): INodeInputSlot | undefined;
8915
+ getWidgetFromSlot(slot: INodeInputSlot): IBaseWidget | undefined;
8905
8916
  getInputLink(slot: number): LLink | null;
8906
8917
  /**
8907
8918
  * Finds the internal links connected to the given input slot inside the subgraph, and resolves the nodes / slots.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.41.18",
3
+ "version": "1.41.20",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"