@comfyorg/comfyui-frontend-types 1.15.0 → 1.15.1

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 +6 -2
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -555,12 +555,12 @@ export declare class ComfyApp {
555
555
  output: ComfyApiWorkflow;
556
556
  }>;
557
557
  queuePrompt(number: number, batchCount?: number): Promise<boolean>;
558
- showErrorOnFileLoad(file: any): void;
558
+ showErrorOnFileLoad(file: File): void;
559
559
  /**
560
560
  * Loads workflow data from the specified file
561
561
  * @param {File} file
562
562
  */
563
- handleFile(file: any): Promise<void>;
563
+ handleFile(file: File): Promise<void>;
564
564
  isApiJson(data: any): boolean;
565
565
  loadApiJson(apiData: any, fileName: string): void;
566
566
  /**
@@ -1742,6 +1742,10 @@ export declare class ComfyApp {
1742
1742
  } | undefined;
1743
1743
  };
1744
1744
  };
1745
+ showErrorDialog: (error: unknown, options?: {
1746
+ title?: string;
1747
+ errorType?: string;
1748
+ }) => void;
1745
1749
  prompt: ({ title, message, defaultValue }: {
1746
1750
  title: string;
1747
1751
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.15.0",
3
+ "version": "1.15.1",
4
4
  "types": "./index.d.ts",
5
5
  "files": [
6
6
  "index.d.ts"
@@ -13,7 +13,7 @@
13
13
  "description": "TypeScript definitions for @comfyorg/comfyui-frontend",
14
14
  "license": "GPL-3.0-only",
15
15
  "dependencies": {
16
- "@comfyorg/litegraph": "^0.11.0-2"
16
+ "@comfyorg/litegraph": "^0.11.2"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "vue": "^3.5.13",