@comfyorg/comfyui-frontend-types 1.43.16 → 1.43.17
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 +14 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { ComfyWorkflowJSON as ComfyWorkflowJSON_2 } from '../../validation/schem
|
|
|
4
4
|
import { Component } from 'vue';
|
|
5
5
|
import { CurveData } from '../../../../components/curve/types';
|
|
6
6
|
import { IFuseOptions } from 'fuse.js';
|
|
7
|
+
import { ModelFile as ModelFile_2 } from '../workflow/validation/schemas/workflowSchema';
|
|
7
8
|
import { NodeId as NodeId_2 } from '../platform/workflow/validation/schemas/workflowSchema';
|
|
8
9
|
import { NodeId as NodeId_3 } from '../workflow/validation/schemas/workflowSchema';
|
|
9
10
|
import { objectOutputType } from 'zod';
|
|
@@ -1378,9 +1379,9 @@ export declare class ComfyApp {
|
|
|
1378
1379
|
skipAssetScans?: boolean;
|
|
1379
1380
|
silentAssetErrors?: boolean;
|
|
1380
1381
|
}): Promise<void>;
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1382
|
+
refreshMissingModels(options?: {
|
|
1383
|
+
silent?: boolean;
|
|
1384
|
+
}): Promise<MissingModelPipelineResult>;
|
|
1384
1385
|
private cacheMediaCandidates;
|
|
1385
1386
|
private runMissingMediaPipeline;
|
|
1386
1387
|
graphToPrompt(graph?: LGraph): Promise<{
|
|
@@ -1429,6 +1430,10 @@ export declare class ComfyApp {
|
|
|
1429
1430
|
* @returns Array of context menu items from all extensions
|
|
1430
1431
|
*/
|
|
1431
1432
|
collectNodeMenuItems(node: LGraphNode): IContextMenuValue[];
|
|
1433
|
+
/**
|
|
1434
|
+
* Reload node definitions and refresh combo lists on all nodes.
|
|
1435
|
+
*/
|
|
1436
|
+
reloadNodeDefs(): Promise<void>;
|
|
1432
1437
|
/**
|
|
1433
1438
|
* Refresh combo list on whole nodes
|
|
1434
1439
|
*/
|
|
@@ -4811,6 +4816,7 @@ export declare class ComfyApp {
|
|
|
4811
4816
|
private _visibleReroutes;
|
|
4812
4817
|
private _autoPan;
|
|
4813
4818
|
private _ghostPointerHandler;
|
|
4819
|
+
private _ghostKeyHandler;
|
|
4814
4820
|
dirty_canvas: boolean;
|
|
4815
4821
|
dirty_bgcanvas: boolean;
|
|
4816
4822
|
/** A map of nodes that require selective-redraw */
|
|
@@ -7596,6 +7602,11 @@ export declare class ComfyApp {
|
|
|
7596
7602
|
isMissing: boolean | undefined;
|
|
7597
7603
|
}
|
|
7598
7604
|
|
|
7605
|
+
declare interface MissingModelPipelineResult {
|
|
7606
|
+
missingModels: ModelFile_2[];
|
|
7607
|
+
confirmedCandidates: MissingModelCandidate[];
|
|
7608
|
+
}
|
|
7609
|
+
|
|
7599
7610
|
declare type MissingNodeType = string | {
|
|
7600
7611
|
type: string;
|
|
7601
7612
|
nodeId?: string | number;
|