@comfyorg/comfyui-frontend-types 1.43.1 → 1.43.2
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 +34 -14
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,12 +2,12 @@ import { ComfyApiWorkflow } from '../platform/workflow/validation/schemas/workfl
|
|
|
2
2
|
import { ComfyWorkflowJSON } from '../platform/workflow/validation/schemas/workflowSchema';
|
|
3
3
|
import { ComfyWorkflowJSON as ComfyWorkflowJSON_2 } from '../../validation/schemas/workflowSchema';
|
|
4
4
|
import { Component } from 'vue';
|
|
5
|
-
import {
|
|
5
|
+
import { CurveData } from '../../../../components/curve/types';
|
|
6
6
|
import { DOMWidget } from '../scripts/domWidget';
|
|
7
7
|
import { DOMWidgetOptions } from '../scripts/domWidget';
|
|
8
8
|
import { IFuseOptions } from 'fuse.js';
|
|
9
|
-
import { ModelFile as ModelFile_2 } from '../../validation/schemas/workflowSchema';
|
|
10
9
|
import { NodeId as NodeId_2 } from '../platform/workflow/validation/schemas/workflowSchema';
|
|
10
|
+
import { NodeId as NodeId_3 } from '../workflow/validation/schemas/workflowSchema';
|
|
11
11
|
import { objectOutputType } from 'zod';
|
|
12
12
|
import { Ref } from 'vue';
|
|
13
13
|
import { ShallowRef } from 'vue';
|
|
@@ -1360,8 +1360,8 @@ export declare class ComfyApp {
|
|
|
1360
1360
|
}): void;
|
|
1361
1361
|
private showMissingNodesError;
|
|
1362
1362
|
loadGraphData(graphData?: ComfyWorkflowJSON, clean?: boolean, restore_view?: boolean, workflow?: string | null | ComfyWorkflow, options?: {
|
|
1363
|
-
|
|
1364
|
-
|
|
1363
|
+
showMissingNodes?: boolean;
|
|
1364
|
+
showMissingModels?: boolean;
|
|
1365
1365
|
checkForRerouteMigration?: boolean;
|
|
1366
1366
|
openSource?: WorkflowOpenSource;
|
|
1367
1367
|
deferWarnings?: boolean;
|
|
@@ -2085,9 +2085,9 @@ export declare class ComfyApp {
|
|
|
2085
2085
|
'Comfy.ConfirmClear'?: boolean | undefined;
|
|
2086
2086
|
'Comfy.DevMode'?: boolean | undefined;
|
|
2087
2087
|
'Comfy.UI.TabBarLayout'?: "Default" | "Legacy" | undefined;
|
|
2088
|
-
'Comfy.Workflow.ShowMissingNodesWarning'?: boolean | undefined;
|
|
2089
2088
|
'Comfy.Workflow.ShowMissingModelsWarning'?: boolean | undefined;
|
|
2090
2089
|
'Comfy.Workflow.WarnBlueprintOverwrite'?: boolean | undefined;
|
|
2090
|
+
'Comfy.Desktop.CloudNotificationShown'?: boolean | undefined;
|
|
2091
2091
|
'Comfy.DisableFloatRounding'?: boolean | undefined;
|
|
2092
2092
|
'Comfy.DisableSliders'?: boolean | undefined;
|
|
2093
2093
|
'Comfy.DOMClippingEnabled'?: boolean | undefined;
|
|
@@ -3437,9 +3437,9 @@ export declare class ComfyApp {
|
|
|
3437
3437
|
height?: number | string;
|
|
3438
3438
|
}
|
|
3439
3439
|
|
|
3440
|
-
declare interface ICurveWidget extends IBaseWidget<
|
|
3440
|
+
declare interface ICurveWidget extends IBaseWidget<CurveData, 'curve'> {
|
|
3441
3441
|
type: 'curve';
|
|
3442
|
-
value:
|
|
3442
|
+
value: CurveData;
|
|
3443
3443
|
}
|
|
3444
3444
|
|
|
3445
3445
|
/**
|
|
@@ -7483,6 +7483,29 @@ export declare class ComfyApp {
|
|
|
7483
7483
|
/** The names of all (optional) methods and functions in T */
|
|
7484
7484
|
declare type MethodNames<T> = KeysOfType<T, ((...args: unknown[]) => unknown) | undefined>;
|
|
7485
7485
|
|
|
7486
|
+
/**
|
|
7487
|
+
* A single (node, widget, model) binding detected by the missing model pipeline.
|
|
7488
|
+
* The same model name may appear multiple times across different nodes.
|
|
7489
|
+
*/
|
|
7490
|
+
declare interface MissingModelCandidate {
|
|
7491
|
+
/** Undefined for workflow-level models not tied to a specific node. */
|
|
7492
|
+
nodeId?: NodeId_3;
|
|
7493
|
+
nodeType: string;
|
|
7494
|
+
widgetName: string;
|
|
7495
|
+
isAssetSupported: boolean;
|
|
7496
|
+
name: string;
|
|
7497
|
+
directory?: string;
|
|
7498
|
+
url?: string;
|
|
7499
|
+
hash?: string;
|
|
7500
|
+
hashType?: string;
|
|
7501
|
+
/**
|
|
7502
|
+
* - `true` — confirmed missing
|
|
7503
|
+
* - `false` — confirmed installed
|
|
7504
|
+
* - `undefined` — pending async verification (asset-supported nodes only)
|
|
7505
|
+
*/
|
|
7506
|
+
isMissing: boolean | undefined;
|
|
7507
|
+
}
|
|
7508
|
+
|
|
7486
7509
|
declare type MissingNodeType = string | {
|
|
7487
7510
|
type: string;
|
|
7488
7511
|
nodeId?: string | number;
|
|
@@ -7846,10 +7869,7 @@ export declare class ComfyApp {
|
|
|
7846
7869
|
|
|
7847
7870
|
declare interface PendingWarnings {
|
|
7848
7871
|
missingNodeTypes?: MissingNodeType[];
|
|
7849
|
-
|
|
7850
|
-
missingModels: ModelFile_2[];
|
|
7851
|
-
paths: Record<string, string[]>;
|
|
7852
|
-
};
|
|
7872
|
+
missingModelCandidates?: MissingModelCandidate[];
|
|
7853
7873
|
}
|
|
7854
7874
|
|
|
7855
7875
|
/**
|
|
@@ -16595,9 +16615,9 @@ export declare class ComfyApp {
|
|
|
16595
16615
|
'Comfy.ConfirmClear': z.ZodBoolean;
|
|
16596
16616
|
'Comfy.DevMode': z.ZodBoolean;
|
|
16597
16617
|
'Comfy.UI.TabBarLayout': z.ZodEnum<["Default", "Legacy"]>;
|
|
16598
|
-
'Comfy.Workflow.ShowMissingNodesWarning': z.ZodBoolean;
|
|
16599
16618
|
'Comfy.Workflow.ShowMissingModelsWarning': z.ZodBoolean;
|
|
16600
16619
|
'Comfy.Workflow.WarnBlueprintOverwrite': z.ZodBoolean;
|
|
16620
|
+
'Comfy.Desktop.CloudNotificationShown': z.ZodBoolean;
|
|
16601
16621
|
'Comfy.DisableFloatRounding': z.ZodBoolean;
|
|
16602
16622
|
'Comfy.DisableSliders': z.ZodBoolean;
|
|
16603
16623
|
'Comfy.DOMClippingEnabled': z.ZodBoolean;
|
|
@@ -17220,9 +17240,9 @@ export declare class ComfyApp {
|
|
|
17220
17240
|
'Comfy.ConfirmClear': boolean;
|
|
17221
17241
|
'Comfy.DevMode': boolean;
|
|
17222
17242
|
'Comfy.UI.TabBarLayout': "Default" | "Legacy";
|
|
17223
|
-
'Comfy.Workflow.ShowMissingNodesWarning': boolean;
|
|
17224
17243
|
'Comfy.Workflow.ShowMissingModelsWarning': boolean;
|
|
17225
17244
|
'Comfy.Workflow.WarnBlueprintOverwrite': boolean;
|
|
17245
|
+
'Comfy.Desktop.CloudNotificationShown': boolean;
|
|
17226
17246
|
'Comfy.DisableFloatRounding': boolean;
|
|
17227
17247
|
'Comfy.DisableSliders': boolean;
|
|
17228
17248
|
'Comfy.DOMClippingEnabled': boolean;
|
|
@@ -17772,9 +17792,9 @@ export declare class ComfyApp {
|
|
|
17772
17792
|
'Comfy.ConfirmClear': boolean;
|
|
17773
17793
|
'Comfy.DevMode': boolean;
|
|
17774
17794
|
'Comfy.UI.TabBarLayout': "Default" | "Legacy";
|
|
17775
|
-
'Comfy.Workflow.ShowMissingNodesWarning': boolean;
|
|
17776
17795
|
'Comfy.Workflow.ShowMissingModelsWarning': boolean;
|
|
17777
17796
|
'Comfy.Workflow.WarnBlueprintOverwrite': boolean;
|
|
17797
|
+
'Comfy.Desktop.CloudNotificationShown': boolean;
|
|
17778
17798
|
'Comfy.DisableFloatRounding': boolean;
|
|
17779
17799
|
'Comfy.DisableSliders': boolean;
|
|
17780
17800
|
'Comfy.DOMClippingEnabled': boolean;
|