@comfyorg/comfyui-frontend-types 1.18.6 → 1.19.0

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 -0
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -527,6 +527,12 @@ export declare class ComfyApp {
527
527
  constructor();
528
528
  get nodeOutputs(): Record<string, any>;
529
529
  set nodeOutputs(value: Record<string, any>);
530
+ /**
531
+ * If the user has specified a preferred format to receive preview images in,
532
+ * this function will return that format as a url query param.
533
+ * If the node's outputs are not images, this param should not be used, as it will
534
+ * force the server to load the output file as an image.
535
+ */
530
536
  getPreviewFormatParam(): string;
531
537
  getRandParam(): string;
532
538
  static onClipspaceEditorSave(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.18.6",
3
+ "version": "1.19.0",
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.15.0-0"
16
+ "@comfyorg/litegraph": "^0.15.0-1"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "vue": "^3.5.13",