@comfyorg/comfyui-frontend-types 1.43.1 → 1.43.3
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 +138 -31
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -2,12 +2,10 @@ 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 {
|
|
6
|
-
import { DOMWidget } from '../scripts/domWidget';
|
|
7
|
-
import { DOMWidgetOptions } from '../scripts/domWidget';
|
|
5
|
+
import { CurveData } from '../../../../components/curve/types';
|
|
8
6
|
import { IFuseOptions } from 'fuse.js';
|
|
9
|
-
import { ModelFile as ModelFile_2 } from '../../validation/schemas/workflowSchema';
|
|
10
7
|
import { NodeId as NodeId_2 } from '../platform/workflow/validation/schemas/workflowSchema';
|
|
8
|
+
import { NodeId as NodeId_3 } from '../workflow/validation/schemas/workflowSchema';
|
|
11
9
|
import { objectOutputType } from 'zod';
|
|
12
10
|
import { Ref } from 'vue';
|
|
13
11
|
import { ShallowRef } from 'vue';
|
|
@@ -145,6 +143,21 @@ declare interface BaseBottomPanelExtension {
|
|
|
145
143
|
targetPanel?: 'terminal' | 'shortcuts';
|
|
146
144
|
}
|
|
147
145
|
|
|
146
|
+
declare interface BaseDOMWidget<V extends object | string = object | string> extends IBaseWidget<V, string, DOMWidgetOptions<V>> {
|
|
147
|
+
type: string;
|
|
148
|
+
options: DOMWidgetOptions<V>;
|
|
149
|
+
value: V;
|
|
150
|
+
callback?: (value: V) => void;
|
|
151
|
+
/** The unique ID of the widget. */
|
|
152
|
+
readonly id: string;
|
|
153
|
+
/** The node that the widget belongs to. */
|
|
154
|
+
readonly node: LGraphNode;
|
|
155
|
+
/** Whether the widget is visible. */
|
|
156
|
+
isVisible(): boolean;
|
|
157
|
+
/** The margin of the widget. */
|
|
158
|
+
margin: number;
|
|
159
|
+
}
|
|
160
|
+
|
|
148
161
|
declare interface BaseExportedGraph {
|
|
149
162
|
/** Unique graph ID. Automatically generated if not provided. */
|
|
150
163
|
id: UUID;
|
|
@@ -1360,8 +1373,8 @@ export declare class ComfyApp {
|
|
|
1360
1373
|
}): void;
|
|
1361
1374
|
private showMissingNodesError;
|
|
1362
1375
|
loadGraphData(graphData?: ComfyWorkflowJSON, clean?: boolean, restore_view?: boolean, workflow?: string | null | ComfyWorkflow, options?: {
|
|
1363
|
-
|
|
1364
|
-
|
|
1376
|
+
showMissingNodes?: boolean;
|
|
1377
|
+
showMissingModels?: boolean;
|
|
1365
1378
|
checkForRerouteMigration?: boolean;
|
|
1366
1379
|
openSource?: WorkflowOpenSource;
|
|
1367
1380
|
deferWarnings?: boolean;
|
|
@@ -2084,10 +2097,11 @@ export declare class ComfyApp {
|
|
|
2084
2097
|
}, ZodTypeAny, "passthrough">> | undefined;
|
|
2085
2098
|
'Comfy.ConfirmClear'?: boolean | undefined;
|
|
2086
2099
|
'Comfy.DevMode'?: boolean | undefined;
|
|
2100
|
+
'Comfy.Appearance.DisableAnimations'?: boolean | undefined;
|
|
2087
2101
|
'Comfy.UI.TabBarLayout'?: "Default" | "Legacy" | undefined;
|
|
2088
|
-
'Comfy.Workflow.ShowMissingNodesWarning'?: boolean | undefined;
|
|
2089
2102
|
'Comfy.Workflow.ShowMissingModelsWarning'?: boolean | undefined;
|
|
2090
2103
|
'Comfy.Workflow.WarnBlueprintOverwrite'?: boolean | undefined;
|
|
2104
|
+
'Comfy.Desktop.CloudNotificationShown'?: boolean | undefined;
|
|
2091
2105
|
'Comfy.DisableFloatRounding'?: boolean | undefined;
|
|
2092
2106
|
'Comfy.DisableSliders'?: boolean | undefined;
|
|
2093
2107
|
'Comfy.DOMClippingEnabled'?: boolean | undefined;
|
|
@@ -2095,6 +2109,7 @@ export declare class ComfyApp {
|
|
|
2095
2109
|
'Comfy.EnableTooltips'?: boolean | undefined;
|
|
2096
2110
|
'Comfy.EnableWorkflowViewRestore'?: boolean | undefined;
|
|
2097
2111
|
'Comfy.FloatRoundingPrecision'?: number | undefined;
|
|
2112
|
+
'Comfy.Graph.AutoPanSpeed'?: number | undefined;
|
|
2098
2113
|
'Comfy.Graph.CanvasInfo'?: boolean | undefined;
|
|
2099
2114
|
'Comfy.Graph.CanvasMenu'?: boolean | undefined;
|
|
2100
2115
|
'Comfy.Graph.CtrlShiftZoom'?: boolean | undefined;
|
|
@@ -2180,6 +2195,7 @@ export declare class ComfyApp {
|
|
|
2180
2195
|
commandId: string;
|
|
2181
2196
|
targetElementId?: string | undefined;
|
|
2182
2197
|
}[] | undefined;
|
|
2198
|
+
'Comfy.Keybinding.CurrentPreset'?: string | undefined;
|
|
2183
2199
|
'Comfy.Extension.Disabled'?: string[] | undefined;
|
|
2184
2200
|
'Comfy.LinkRenderMode'?: number | undefined;
|
|
2185
2201
|
'Comfy.Node.AutoSnapLinkToSlot'?: boolean | undefined;
|
|
@@ -2212,6 +2228,7 @@ export declare class ComfyApp {
|
|
|
2212
2228
|
'Comfy.Canvas.LeftMouseClickBehavior'?: string | undefined;
|
|
2213
2229
|
'Comfy.Canvas.MouseWheelScroll'?: string | undefined;
|
|
2214
2230
|
'Comfy.VueNodes.Enabled'?: boolean | undefined;
|
|
2231
|
+
'Comfy.AppBuilder.VueNodeSwitchDismissed'?: boolean | undefined;
|
|
2215
2232
|
'Comfy.VueNodes.AutoScaleLayout'?: boolean | undefined;
|
|
2216
2233
|
'Comfy.Assets.UseAssetAPI'?: boolean | undefined;
|
|
2217
2234
|
'Comfy.Queue.QPOV2'?: boolean | undefined;
|
|
@@ -2666,9 +2683,43 @@ export declare class ComfyApp {
|
|
|
2666
2683
|
*/
|
|
2667
2684
|
declare function distance(a: Readonly<Point>, b: Readonly<Point>): number;
|
|
2668
2685
|
|
|
2669
|
-
|
|
2686
|
+
/**
|
|
2687
|
+
* A DOM widget that wraps a custom HTML element as a litegraph widget.
|
|
2688
|
+
*/
|
|
2689
|
+
export declare interface DOMWidget<T extends HTMLElement, V extends object | string> extends BaseDOMWidget<V> {
|
|
2690
|
+
element: T;
|
|
2691
|
+
/**
|
|
2692
|
+
* @deprecated Legacy property used by some extensions for customtext
|
|
2693
|
+
* (textarea) widgets. Use {@link element} instead as it provides the same
|
|
2694
|
+
* functionality and works for all DOMWidget types.
|
|
2695
|
+
*/
|
|
2696
|
+
inputEl?: T;
|
|
2697
|
+
}
|
|
2670
2698
|
|
|
2671
|
-
export
|
|
2699
|
+
export declare interface DOMWidgetOptions<V extends object | string> extends IWidgetOptions {
|
|
2700
|
+
/**
|
|
2701
|
+
* Whether to render a placeholder rectangle when zoomed out.
|
|
2702
|
+
*/
|
|
2703
|
+
hideOnZoom?: boolean;
|
|
2704
|
+
selectOn?: string[];
|
|
2705
|
+
onHide?: (widget: BaseDOMWidget<V>) => void;
|
|
2706
|
+
getValue?: () => V;
|
|
2707
|
+
setValue?: (value: V) => void;
|
|
2708
|
+
getMinHeight?: () => number;
|
|
2709
|
+
getMaxHeight?: () => number;
|
|
2710
|
+
getHeight?: () => string | number;
|
|
2711
|
+
onDraw?: (widget: BaseDOMWidget<V>) => void;
|
|
2712
|
+
margin?: number;
|
|
2713
|
+
/**
|
|
2714
|
+
* @deprecated Use `afterResize` instead. This callback is a legacy API
|
|
2715
|
+
* that fires before resize happens, but it is no longer supported. Now it
|
|
2716
|
+
* fires after resize happens.
|
|
2717
|
+
* The resize logic has been upstreamed to litegraph in
|
|
2718
|
+
* https://github.com/Comfy-Org/ComfyUI_frontend/pull/2557
|
|
2719
|
+
*/
|
|
2720
|
+
beforeResize?: (this: BaseDOMWidget<V>, node: LGraphNode) => void;
|
|
2721
|
+
afterResize?: (this: BaseDOMWidget<V>, node: LGraphNode) => void;
|
|
2722
|
+
}
|
|
2672
2723
|
|
|
2673
2724
|
declare class DragAndScale {
|
|
2674
2725
|
/**
|
|
@@ -3437,9 +3488,9 @@ export declare class ComfyApp {
|
|
|
3437
3488
|
height?: number | string;
|
|
3438
3489
|
}
|
|
3439
3490
|
|
|
3440
|
-
declare interface ICurveWidget extends IBaseWidget<
|
|
3491
|
+
declare interface ICurveWidget extends IBaseWidget<CurveData, 'curve'> {
|
|
3441
3492
|
type: 'curve';
|
|
3442
|
-
value:
|
|
3493
|
+
value: CurveData;
|
|
3443
3494
|
}
|
|
3444
3495
|
|
|
3445
3496
|
/**
|
|
@@ -4104,8 +4155,6 @@ export declare class ComfyApp {
|
|
|
4104
4155
|
static serialisedSchemaVersion: 1;
|
|
4105
4156
|
static STATUS_STOPPED: number;
|
|
4106
4157
|
static STATUS_RUNNING: number;
|
|
4107
|
-
/** Generates a unique string key for a link's connection tuple. */
|
|
4108
|
-
static _linkTupleKey(link: LLink): string;
|
|
4109
4158
|
/** List of LGraph properties that are manually handled by {@link LGraph.configure}. */
|
|
4110
4159
|
static readonly ConfigureProperties: Set<string>;
|
|
4111
4160
|
id: UUID;
|
|
@@ -4434,6 +4483,8 @@ export declare class ComfyApp {
|
|
|
4434
4483
|
* (origin_id, origin_slot, target_id, target_slot). Keeps the link
|
|
4435
4484
|
* referenced by input.link and removes orphaned duplicates from
|
|
4436
4485
|
* output.links and the graph's _links map.
|
|
4486
|
+
*
|
|
4487
|
+
* Three phases: group links by tuple, select the survivor, purge duplicates.
|
|
4437
4488
|
*/
|
|
4438
4489
|
_removeDuplicateLinks(): void;
|
|
4439
4490
|
/**
|
|
@@ -4645,6 +4696,7 @@ export declare class ComfyApp {
|
|
|
4645
4696
|
readonly pointer: CanvasPointer;
|
|
4646
4697
|
zoom_modify_alpha: boolean;
|
|
4647
4698
|
zoom_speed: number;
|
|
4699
|
+
auto_pan_speed: number;
|
|
4648
4700
|
node_title_color: string;
|
|
4649
4701
|
default_link_color: string;
|
|
4650
4702
|
default_connection_color: {
|
|
@@ -4756,6 +4808,8 @@ export declare class ComfyApp {
|
|
|
4756
4808
|
node_capturing_input?: LGraphNode | null;
|
|
4757
4809
|
highlighted_links: Dictionary<boolean>;
|
|
4758
4810
|
private _visibleReroutes;
|
|
4811
|
+
private _autoPan;
|
|
4812
|
+
private _ghostPointerHandler;
|
|
4759
4813
|
dirty_canvas: boolean;
|
|
4760
4814
|
dirty_bgcanvas: boolean;
|
|
4761
4815
|
/** A map of nodes that require selective-redraw */
|
|
@@ -5030,6 +5084,7 @@ export declare class ComfyApp {
|
|
|
5030
5084
|
* @param sticky If `true`, the item is added to the selection - see {@link processSelect}
|
|
5031
5085
|
*/
|
|
5032
5086
|
private _startDraggingItems;
|
|
5087
|
+
private _startNodeAutoPan;
|
|
5033
5088
|
/**
|
|
5034
5089
|
* Handles shared clean up and placement after items have been dragged.
|
|
5035
5090
|
* @param e The event that completed the drag, e.g. pointerup, pointermove
|
|
@@ -5273,7 +5328,9 @@ export declare class ComfyApp {
|
|
|
5273
5328
|
* @todo Update to align snapping with boundingRect
|
|
5274
5329
|
* @todo Shapes
|
|
5275
5330
|
*/
|
|
5276
|
-
drawSnapGuide(ctx: CanvasRenderingContext2D, item: Positionable, shape?: RenderShape
|
|
5331
|
+
drawSnapGuide(ctx: CanvasRenderingContext2D, item: Positionable, shape?: RenderShape, { offsetToSlot }?: {
|
|
5332
|
+
offsetToSlot?: boolean;
|
|
5333
|
+
}): void;
|
|
5277
5334
|
drawConnections(ctx: CanvasRenderingContext2D): void;
|
|
5278
5335
|
private getNodeModeAlpha;
|
|
5279
5336
|
private _renderFloatingLinks;
|
|
@@ -5956,6 +6013,14 @@ export declare class ComfyApp {
|
|
|
5956
6013
|
* @returns object or null { link: id, name: string, type: string or 0 }
|
|
5957
6014
|
*/
|
|
5958
6015
|
getInputInfo(slot: number): INodeInputSlot | null;
|
|
6016
|
+
/**
|
|
6017
|
+
* Resolves the output source for cross-graph virtual nodes (e.g. Set/Get),
|
|
6018
|
+
* bypassing {@link getInputLink} when the source lives in a different graph.
|
|
6019
|
+
*/
|
|
6020
|
+
resolveVirtualOutput?(slot: number): {
|
|
6021
|
+
node: LGraphNode;
|
|
6022
|
+
slot: number;
|
|
6023
|
+
} | undefined;
|
|
5959
6024
|
/**
|
|
5960
6025
|
* Returns the link info in the connection of an input slot
|
|
5961
6026
|
* @returns object or null
|
|
@@ -6099,7 +6164,6 @@ export declare class ComfyApp {
|
|
|
6099
6164
|
addCustomWidget<TPlainWidget extends IBaseWidget>(custom_widget: TPlainWidget): TPlainWidget | WidgetTypeMap[TPlainWidget['type']];
|
|
6100
6165
|
addTitleButton(options: LGraphButtonOptions): LGraphButton;
|
|
6101
6166
|
onTitleButtonClick(button: LGraphButton, canvas: LGraphCanvas): void;
|
|
6102
|
-
removeWidgetByName(name: string): void;
|
|
6103
6167
|
removeWidget(widget: IBaseWidget): void;
|
|
6104
6168
|
ensureWidgetRemoved(widget: IBaseWidget): void;
|
|
6105
6169
|
move(deltaX: number, deltaY: number): void;
|
|
@@ -7483,6 +7547,29 @@ export declare class ComfyApp {
|
|
|
7483
7547
|
/** The names of all (optional) methods and functions in T */
|
|
7484
7548
|
declare type MethodNames<T> = KeysOfType<T, ((...args: unknown[]) => unknown) | undefined>;
|
|
7485
7549
|
|
|
7550
|
+
/**
|
|
7551
|
+
* A single (node, widget, model) binding detected by the missing model pipeline.
|
|
7552
|
+
* The same model name may appear multiple times across different nodes.
|
|
7553
|
+
*/
|
|
7554
|
+
declare interface MissingModelCandidate {
|
|
7555
|
+
/** Undefined for workflow-level models not tied to a specific node. */
|
|
7556
|
+
nodeId?: NodeId_3;
|
|
7557
|
+
nodeType: string;
|
|
7558
|
+
widgetName: string;
|
|
7559
|
+
isAssetSupported: boolean;
|
|
7560
|
+
name: string;
|
|
7561
|
+
directory?: string;
|
|
7562
|
+
url?: string;
|
|
7563
|
+
hash?: string;
|
|
7564
|
+
hashType?: string;
|
|
7565
|
+
/**
|
|
7566
|
+
* - `true` — confirmed missing
|
|
7567
|
+
* - `false` — confirmed installed
|
|
7568
|
+
* - `undefined` — pending async verification (asset-supported nodes only)
|
|
7569
|
+
*/
|
|
7570
|
+
isMissing: boolean | undefined;
|
|
7571
|
+
}
|
|
7572
|
+
|
|
7486
7573
|
declare type MissingNodeType = string | {
|
|
7487
7574
|
type: string;
|
|
7488
7575
|
nodeId?: string | number;
|
|
@@ -7846,10 +7933,7 @@ export declare class ComfyApp {
|
|
|
7846
7933
|
|
|
7847
7934
|
declare interface PendingWarnings {
|
|
7848
7935
|
missingNodeTypes?: MissingNodeType[];
|
|
7849
|
-
|
|
7850
|
-
missingModels: ModelFile_2[];
|
|
7851
|
-
paths: Record<string, string[]>;
|
|
7852
|
-
};
|
|
7936
|
+
missingModelCandidates?: MissingModelCandidate[];
|
|
7853
7937
|
}
|
|
7854
7938
|
|
|
7855
7939
|
/**
|
|
@@ -8628,6 +8712,16 @@ export declare class ComfyApp {
|
|
|
8628
8712
|
getIoNodeOnPos(x: number, y: number): SubgraphInputNode | SubgraphOutputNode | undefined;
|
|
8629
8713
|
private _configureSubgraph;
|
|
8630
8714
|
configure(data: (ISerialisedGraph & ExportedSubgraph) | (SerialisableGraph & ExportedSubgraph), keep_old?: boolean): boolean | undefined;
|
|
8715
|
+
/**
|
|
8716
|
+
* Repairs SubgraphInput/Output `linkIds` that reference links removed
|
|
8717
|
+
* by `_removeDuplicateLinks` during `super.configure()`.
|
|
8718
|
+
*
|
|
8719
|
+
* For each stale link ID, finds the surviving link that connects to the
|
|
8720
|
+
* same IO node and slot index, and substitutes it.
|
|
8721
|
+
*/
|
|
8722
|
+
private _repairIOSlotLinkIds;
|
|
8723
|
+
private _repairSlotLinkIds;
|
|
8724
|
+
private _findLinkBySlot;
|
|
8631
8725
|
attachCanvas(canvas: LGraphCanvas): void;
|
|
8632
8726
|
addInput(name: string, type: string): SubgraphInput;
|
|
8633
8727
|
addOutput(name: string, type: string): SubgraphOutput;
|
|
@@ -8749,8 +8843,8 @@ export declare class ComfyApp {
|
|
|
8749
8843
|
declare interface SubgraphInputEventMap extends LGraphEventMap {
|
|
8750
8844
|
'input-connected': {
|
|
8751
8845
|
input: INodeInputSlot;
|
|
8752
|
-
widget
|
|
8753
|
-
node
|
|
8846
|
+
widget?: IBaseWidget;
|
|
8847
|
+
node?: LGraphNode;
|
|
8754
8848
|
};
|
|
8755
8849
|
'input-disconnected': {
|
|
8756
8850
|
input: SubgraphInput;
|
|
@@ -8928,6 +9022,7 @@ export declare class ComfyApp {
|
|
|
8928
9022
|
private _buildDisplayNameByViewKey;
|
|
8929
9023
|
private _makePromotionEntryKey;
|
|
8930
9024
|
private _makePromotionViewKey;
|
|
9025
|
+
private _serializeEntries;
|
|
8931
9026
|
private _resolveLegacyEntry;
|
|
8932
9027
|
/** Manages lifecycle of all subgraph event listeners */
|
|
8933
9028
|
private _eventAbortController;
|
|
@@ -8975,7 +9070,6 @@ export declare class ComfyApp {
|
|
|
8975
9070
|
private _clearDomOverrideForView;
|
|
8976
9071
|
private _removePromotedView;
|
|
8977
9072
|
removeWidget(widget: IBaseWidget): void;
|
|
8978
|
-
removeWidgetByName(name: string): void;
|
|
8979
9073
|
ensureWidgetRemoved(widget: IBaseWidget): void;
|
|
8980
9074
|
onRemoved(): void;
|
|
8981
9075
|
drawTitleBox(ctx: CanvasRenderingContext2D, { scale, low_quality, title_height, box_size }: DrawTitleBoxOptions): void;
|
|
@@ -8986,6 +9080,7 @@ export declare class ComfyApp {
|
|
|
8986
9080
|
*/
|
|
8987
9081
|
serialize(): ISerialisedNode;
|
|
8988
9082
|
clone(): LGraphNode | null;
|
|
9083
|
+
getSlotShape(slot: SubgraphInput, extraInput?: INodeInputSlot): RenderShape | undefined;
|
|
8989
9084
|
}
|
|
8990
9085
|
|
|
8991
9086
|
/**
|
|
@@ -15198,6 +15293,9 @@ export declare class ComfyApp {
|
|
|
15198
15293
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15199
15294
|
};
|
|
15200
15295
|
prompt_id?: string | undefined;
|
|
15296
|
+
exec_info?: {
|
|
15297
|
+
queue_remaining?: number | undefined;
|
|
15298
|
+
} | undefined;
|
|
15201
15299
|
node_errors?: Record<string | number, {
|
|
15202
15300
|
class_type: string;
|
|
15203
15301
|
errors: {
|
|
@@ -15210,9 +15308,6 @@ export declare class ComfyApp {
|
|
|
15210
15308
|
}[];
|
|
15211
15309
|
dependent_outputs: any[];
|
|
15212
15310
|
}> | undefined;
|
|
15213
|
-
exec_info?: {
|
|
15214
|
-
queue_remaining?: number | undefined;
|
|
15215
|
-
} | undefined;
|
|
15216
15311
|
}, {
|
|
15217
15312
|
error: string | {
|
|
15218
15313
|
type: string;
|
|
@@ -15223,6 +15318,9 @@ export declare class ComfyApp {
|
|
|
15223
15318
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
15224
15319
|
};
|
|
15225
15320
|
prompt_id?: string | undefined;
|
|
15321
|
+
exec_info?: {
|
|
15322
|
+
queue_remaining?: number | undefined;
|
|
15323
|
+
} | undefined;
|
|
15226
15324
|
node_errors?: Record<string | number, {
|
|
15227
15325
|
class_type: string;
|
|
15228
15326
|
errors: {
|
|
@@ -15235,9 +15333,6 @@ export declare class ComfyApp {
|
|
|
15235
15333
|
}[];
|
|
15236
15334
|
dependent_outputs: any[];
|
|
15237
15335
|
}> | undefined;
|
|
15238
|
-
exec_info?: {
|
|
15239
|
-
queue_remaining?: number | undefined;
|
|
15240
|
-
} | undefined;
|
|
15241
15336
|
}>;
|
|
15242
15337
|
|
|
15243
15338
|
/**
|
|
@@ -16594,10 +16689,11 @@ export declare class ComfyApp {
|
|
|
16594
16689
|
'Comfy.Canvas.BackgroundImage': z.ZodOptional<z.ZodString>;
|
|
16595
16690
|
'Comfy.ConfirmClear': z.ZodBoolean;
|
|
16596
16691
|
'Comfy.DevMode': z.ZodBoolean;
|
|
16692
|
+
'Comfy.Appearance.DisableAnimations': z.ZodBoolean;
|
|
16597
16693
|
'Comfy.UI.TabBarLayout': z.ZodEnum<["Default", "Legacy"]>;
|
|
16598
|
-
'Comfy.Workflow.ShowMissingNodesWarning': z.ZodBoolean;
|
|
16599
16694
|
'Comfy.Workflow.ShowMissingModelsWarning': z.ZodBoolean;
|
|
16600
16695
|
'Comfy.Workflow.WarnBlueprintOverwrite': z.ZodBoolean;
|
|
16696
|
+
'Comfy.Desktop.CloudNotificationShown': z.ZodBoolean;
|
|
16601
16697
|
'Comfy.DisableFloatRounding': z.ZodBoolean;
|
|
16602
16698
|
'Comfy.DisableSliders': z.ZodBoolean;
|
|
16603
16699
|
'Comfy.DOMClippingEnabled': z.ZodBoolean;
|
|
@@ -16605,6 +16701,7 @@ export declare class ComfyApp {
|
|
|
16605
16701
|
'Comfy.EnableTooltips': z.ZodBoolean;
|
|
16606
16702
|
'Comfy.EnableWorkflowViewRestore': z.ZodBoolean;
|
|
16607
16703
|
'Comfy.FloatRoundingPrecision': z.ZodNumber;
|
|
16704
|
+
'Comfy.Graph.AutoPanSpeed': z.ZodNumber;
|
|
16608
16705
|
'Comfy.Graph.CanvasInfo': z.ZodBoolean;
|
|
16609
16706
|
'Comfy.Graph.CanvasMenu': z.ZodBoolean;
|
|
16610
16707
|
'Comfy.Graph.CtrlShiftZoom': z.ZodBoolean;
|
|
@@ -16760,6 +16857,7 @@ export declare class ComfyApp {
|
|
|
16760
16857
|
commandId: string;
|
|
16761
16858
|
targetElementId?: string | undefined;
|
|
16762
16859
|
}>, "many">;
|
|
16860
|
+
'Comfy.Keybinding.CurrentPreset': z.ZodString;
|
|
16763
16861
|
'Comfy.Extension.Disabled': z.ZodArray<z.ZodString, "many">;
|
|
16764
16862
|
'Comfy.LinkRenderMode': z.ZodNumber;
|
|
16765
16863
|
'Comfy.Node.AutoSnapLinkToSlot': z.ZodBoolean;
|
|
@@ -16792,6 +16890,7 @@ export declare class ComfyApp {
|
|
|
16792
16890
|
'Comfy.Canvas.LeftMouseClickBehavior': z.ZodString;
|
|
16793
16891
|
'Comfy.Canvas.MouseWheelScroll': z.ZodString;
|
|
16794
16892
|
'Comfy.VueNodes.Enabled': z.ZodBoolean;
|
|
16893
|
+
'Comfy.AppBuilder.VueNodeSwitchDismissed': z.ZodBoolean;
|
|
16795
16894
|
'Comfy.VueNodes.AutoScaleLayout': z.ZodBoolean;
|
|
16796
16895
|
'Comfy.Assets.UseAssetAPI': z.ZodBoolean;
|
|
16797
16896
|
'Comfy.Queue.QPOV2': z.ZodBoolean;
|
|
@@ -17219,10 +17318,11 @@ export declare class ComfyApp {
|
|
|
17219
17318
|
}, z.ZodTypeAny, "passthrough">>;
|
|
17220
17319
|
'Comfy.ConfirmClear': boolean;
|
|
17221
17320
|
'Comfy.DevMode': boolean;
|
|
17321
|
+
'Comfy.Appearance.DisableAnimations': boolean;
|
|
17222
17322
|
'Comfy.UI.TabBarLayout': "Default" | "Legacy";
|
|
17223
|
-
'Comfy.Workflow.ShowMissingNodesWarning': boolean;
|
|
17224
17323
|
'Comfy.Workflow.ShowMissingModelsWarning': boolean;
|
|
17225
17324
|
'Comfy.Workflow.WarnBlueprintOverwrite': boolean;
|
|
17325
|
+
'Comfy.Desktop.CloudNotificationShown': boolean;
|
|
17226
17326
|
'Comfy.DisableFloatRounding': boolean;
|
|
17227
17327
|
'Comfy.DisableSliders': boolean;
|
|
17228
17328
|
'Comfy.DOMClippingEnabled': boolean;
|
|
@@ -17230,6 +17330,7 @@ export declare class ComfyApp {
|
|
|
17230
17330
|
'Comfy.EnableTooltips': boolean;
|
|
17231
17331
|
'Comfy.EnableWorkflowViewRestore': boolean;
|
|
17232
17332
|
'Comfy.FloatRoundingPrecision': number;
|
|
17333
|
+
'Comfy.Graph.AutoPanSpeed': number;
|
|
17233
17334
|
'Comfy.Graph.CanvasInfo': boolean;
|
|
17234
17335
|
'Comfy.Graph.CanvasMenu': boolean;
|
|
17235
17336
|
'Comfy.Graph.CtrlShiftZoom': boolean;
|
|
@@ -17315,6 +17416,7 @@ export declare class ComfyApp {
|
|
|
17315
17416
|
commandId: string;
|
|
17316
17417
|
targetElementId?: string | undefined;
|
|
17317
17418
|
}[];
|
|
17419
|
+
'Comfy.Keybinding.CurrentPreset': string;
|
|
17318
17420
|
'Comfy.Extension.Disabled': string[];
|
|
17319
17421
|
'Comfy.LinkRenderMode': number;
|
|
17320
17422
|
'Comfy.Node.AutoSnapLinkToSlot': boolean;
|
|
@@ -17347,6 +17449,7 @@ export declare class ComfyApp {
|
|
|
17347
17449
|
'Comfy.Canvas.LeftMouseClickBehavior': string;
|
|
17348
17450
|
'Comfy.Canvas.MouseWheelScroll': string;
|
|
17349
17451
|
'Comfy.VueNodes.Enabled': boolean;
|
|
17452
|
+
'Comfy.AppBuilder.VueNodeSwitchDismissed': boolean;
|
|
17350
17453
|
'Comfy.VueNodes.AutoScaleLayout': boolean;
|
|
17351
17454
|
'Comfy.Assets.UseAssetAPI': boolean;
|
|
17352
17455
|
'Comfy.Queue.QPOV2': boolean;
|
|
@@ -17771,10 +17874,11 @@ export declare class ComfyApp {
|
|
|
17771
17874
|
}, z.ZodTypeAny, "passthrough">>;
|
|
17772
17875
|
'Comfy.ConfirmClear': boolean;
|
|
17773
17876
|
'Comfy.DevMode': boolean;
|
|
17877
|
+
'Comfy.Appearance.DisableAnimations': boolean;
|
|
17774
17878
|
'Comfy.UI.TabBarLayout': "Default" | "Legacy";
|
|
17775
|
-
'Comfy.Workflow.ShowMissingNodesWarning': boolean;
|
|
17776
17879
|
'Comfy.Workflow.ShowMissingModelsWarning': boolean;
|
|
17777
17880
|
'Comfy.Workflow.WarnBlueprintOverwrite': boolean;
|
|
17881
|
+
'Comfy.Desktop.CloudNotificationShown': boolean;
|
|
17778
17882
|
'Comfy.DisableFloatRounding': boolean;
|
|
17779
17883
|
'Comfy.DisableSliders': boolean;
|
|
17780
17884
|
'Comfy.DOMClippingEnabled': boolean;
|
|
@@ -17782,6 +17886,7 @@ export declare class ComfyApp {
|
|
|
17782
17886
|
'Comfy.EnableTooltips': boolean;
|
|
17783
17887
|
'Comfy.EnableWorkflowViewRestore': boolean;
|
|
17784
17888
|
'Comfy.FloatRoundingPrecision': number;
|
|
17889
|
+
'Comfy.Graph.AutoPanSpeed': number;
|
|
17785
17890
|
'Comfy.Graph.CanvasInfo': boolean;
|
|
17786
17891
|
'Comfy.Graph.CanvasMenu': boolean;
|
|
17787
17892
|
'Comfy.Graph.CtrlShiftZoom': boolean;
|
|
@@ -17867,6 +17972,7 @@ export declare class ComfyApp {
|
|
|
17867
17972
|
commandId: string;
|
|
17868
17973
|
targetElementId?: string | undefined;
|
|
17869
17974
|
}[];
|
|
17975
|
+
'Comfy.Keybinding.CurrentPreset': string;
|
|
17870
17976
|
'Comfy.Extension.Disabled': string[];
|
|
17871
17977
|
'Comfy.LinkRenderMode': number;
|
|
17872
17978
|
'Comfy.Node.AutoSnapLinkToSlot': boolean;
|
|
@@ -17899,6 +18005,7 @@ export declare class ComfyApp {
|
|
|
17899
18005
|
'Comfy.Canvas.LeftMouseClickBehavior': string;
|
|
17900
18006
|
'Comfy.Canvas.MouseWheelScroll': string;
|
|
17901
18007
|
'Comfy.VueNodes.Enabled': boolean;
|
|
18008
|
+
'Comfy.AppBuilder.VueNodeSwitchDismissed': boolean;
|
|
17902
18009
|
'Comfy.VueNodes.AutoScaleLayout': boolean;
|
|
17903
18010
|
'Comfy.Assets.UseAssetAPI': boolean;
|
|
17904
18011
|
'Comfy.Queue.QPOV2': boolean;
|