@comfyorg/comfyui-frontend-types 1.5.3 → 1.5.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 +1 -2
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -388,7 +388,6 @@ export declare class ComfyApp {
|
|
|
388
388
|
_nodeOutputs: Record<string, any>;
|
|
389
389
|
nodePreviewImages: Record<string, typeof Image>;
|
|
390
390
|
graph: LGraph;
|
|
391
|
-
enableWorkflowViewRestore: any;
|
|
392
391
|
canvas: LGraphCanvas;
|
|
393
392
|
dragOverNode: LGraphNode | null;
|
|
394
393
|
canvasEl: HTMLCanvasElement;
|
|
@@ -1133,7 +1132,7 @@ export declare class ComfyApp {
|
|
|
1133
1132
|
|
|
1134
1133
|
declare interface SettingParams extends FormItem {
|
|
1135
1134
|
id: keyof Settings;
|
|
1136
|
-
defaultValue: any;
|
|
1135
|
+
defaultValue: any | (() => any);
|
|
1137
1136
|
onChange?: (newValue: any, oldValue?: any) => void;
|
|
1138
1137
|
category?: string[];
|
|
1139
1138
|
experimental?: boolean;
|