@comfyorg/comfyui-frontend-types 1.43.14 → 1.43.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.
Files changed (2) hide show
  1. package/index.d.ts +27 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1372,13 +1372,16 @@ export declare class ComfyApp {
1372
1372
  }): void;
1373
1373
  private showMissingNodesError;
1374
1374
  loadGraphData(graphData?: ComfyWorkflowJSON, clean?: boolean, restore_view?: boolean, workflow?: string | null | ComfyWorkflow, options?: {
1375
- showMissingNodes?: boolean;
1376
- showMissingModels?: boolean;
1377
1375
  checkForRerouteMigration?: boolean;
1378
1376
  openSource?: WorkflowOpenSource;
1379
1377
  deferWarnings?: boolean;
1378
+ skipAssetScans?: boolean;
1379
+ silentAssetErrors?: boolean;
1380
1380
  }): Promise<void>;
1381
1381
  private runMissingModelPipeline;
1382
+ private cleanupPendingWarnings;
1383
+ private cacheModelCandidates;
1384
+ private cacheMediaCandidates;
1382
1385
  private runMissingMediaPipeline;
1383
1386
  graphToPrompt(graph?: LGraph): Promise<{
1384
1387
  workflow: ComfyWorkflowJSON;
@@ -7534,6 +7537,8 @@ export declare class ComfyApp {
7534
7537
  onClick(_options: WidgetEventOptions): void;
7535
7538
  }
7536
7539
 
7540
+ declare type MediaType = 'image' | 'video' | 'audio';
7541
+
7537
7542
  declare type MenuCommandGroup = {
7538
7543
  /**
7539
7544
  * The path to the menu group.
@@ -7549,6 +7554,25 @@ export declare class ComfyApp {
7549
7554
  /** The names of all (optional) methods and functions in T */
7550
7555
  declare type MethodNames<T> = KeysOfType<T, ((...args: unknown[]) => unknown) | undefined>;
7551
7556
 
7557
+ /**
7558
+ * A single (node, widget, media file) binding detected by the missing media pipeline.
7559
+ * The same file name may appear multiple times across different nodes.
7560
+ */
7561
+ declare interface MissingMediaCandidate {
7562
+ nodeId: NodeId_3;
7563
+ nodeType: string;
7564
+ widgetName: string;
7565
+ mediaType: MediaType;
7566
+ /** Display name (plain filename for OSS, asset hash for cloud). */
7567
+ name: string;
7568
+ /**
7569
+ * - `true` — confirmed missing
7570
+ * - `false` — confirmed present
7571
+ * - `undefined` — pending async verification (cloud only)
7572
+ */
7573
+ isMissing: boolean | undefined;
7574
+ }
7575
+
7552
7576
  /**
7553
7577
  * A single (node, widget, model) binding detected by the missing model pipeline.
7554
7578
  * The same model name may appear multiple times across different nodes.
@@ -7936,6 +7960,7 @@ export declare class ComfyApp {
7936
7960
  declare interface PendingWarnings {
7937
7961
  missingNodeTypes?: MissingNodeType[];
7938
7962
  missingModelCandidates?: MissingModelCandidate[];
7963
+ missingMediaCandidates?: MissingMediaCandidate[];
7939
7964
  }
7940
7965
 
7941
7966
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.43.14",
3
+ "version": "1.43.16",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"