@comfyorg/comfyui-frontend-types 1.44.2 → 1.44.4
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 -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;
|
|
@@ -7548,6 +7551,8 @@ export declare class ComfyApp {
|
|
|
7548
7551
|
onClick(_options: WidgetEventOptions): void;
|
|
7549
7552
|
}
|
|
7550
7553
|
|
|
7554
|
+
declare type MediaType = 'image' | 'video' | 'audio';
|
|
7555
|
+
|
|
7551
7556
|
declare type MenuCommandGroup = {
|
|
7552
7557
|
/**
|
|
7553
7558
|
* The path to the menu group.
|
|
@@ -7563,6 +7568,25 @@ export declare class ComfyApp {
|
|
|
7563
7568
|
/** The names of all (optional) methods and functions in T */
|
|
7564
7569
|
declare type MethodNames<T> = KeysOfType<T, ((...args: unknown[]) => unknown) | undefined>;
|
|
7565
7570
|
|
|
7571
|
+
/**
|
|
7572
|
+
* A single (node, widget, media file) binding detected by the missing media pipeline.
|
|
7573
|
+
* The same file name may appear multiple times across different nodes.
|
|
7574
|
+
*/
|
|
7575
|
+
declare interface MissingMediaCandidate {
|
|
7576
|
+
nodeId: NodeId_3;
|
|
7577
|
+
nodeType: string;
|
|
7578
|
+
widgetName: string;
|
|
7579
|
+
mediaType: MediaType;
|
|
7580
|
+
/** Display name (plain filename for OSS, asset hash for cloud). */
|
|
7581
|
+
name: string;
|
|
7582
|
+
/**
|
|
7583
|
+
* - `true` — confirmed missing
|
|
7584
|
+
* - `false` — confirmed present
|
|
7585
|
+
* - `undefined` — pending async verification (cloud only)
|
|
7586
|
+
*/
|
|
7587
|
+
isMissing: boolean | undefined;
|
|
7588
|
+
}
|
|
7589
|
+
|
|
7566
7590
|
/**
|
|
7567
7591
|
* A single (node, widget, model) binding detected by the missing model pipeline.
|
|
7568
7592
|
* The same model name may appear multiple times across different nodes.
|
|
@@ -7950,6 +7974,7 @@ export declare class ComfyApp {
|
|
|
7950
7974
|
declare interface PendingWarnings {
|
|
7951
7975
|
missingNodeTypes?: MissingNodeType[];
|
|
7952
7976
|
missingModelCandidates?: MissingModelCandidate[];
|
|
7977
|
+
missingMediaCandidates?: MissingMediaCandidate[];
|
|
7953
7978
|
}
|
|
7954
7979
|
|
|
7955
7980
|
/**
|