@comfyorg/comfyui-frontend-types 1.15.1 → 1.15.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.
Files changed (2) hide show
  1. package/index.d.ts +3 -3
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -525,7 +525,7 @@ export declare class ComfyApp {
525
525
  getRandParam(): string;
526
526
  static onClipspaceEditorSave(): void;
527
527
  static onClipspaceEditorClosed(): void;
528
- static copyToClipspace(node: any): void;
528
+ static copyToClipspace(node: LGraphNode): void;
529
529
  static pasteFromClipspace(node: LGraphNode): void;
530
530
  /**
531
531
  * Set up the app on the page
@@ -561,8 +561,8 @@ export declare class ComfyApp {
561
561
  * @param {File} file
562
562
  */
563
563
  handleFile(file: File): Promise<void>;
564
- isApiJson(data: any): boolean;
565
- loadApiJson(apiData: any, fileName: string): void;
564
+ isApiJson(data: unknown): boolean;
565
+ loadApiJson(apiData: ComfyApiWorkflow, fileName: string): void;
566
566
  /**
567
567
  * Registers a Comfy web extension with the app
568
568
  * @param {ComfyExtension} extension
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.15.1",
3
+ "version": "1.15.2",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"