@comfyorg/comfyui-frontend-types 1.13.2 → 1.13.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.
Files changed (2) hide show
  1. package/index.d.ts +6 -10
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -155,11 +155,7 @@ declare class ChangeTracker {
155
155
  declare type ClassList = string | string[] | Record<string, boolean>;
156
156
 
157
157
  declare type Clipspace = {
158
- widgets?: {
159
- type?: string;
160
- name?: string;
161
- value?: any;
162
- }[] | null;
158
+ widgets?: Pick<IWidget, 'type' | 'name' | 'value'>[] | null;
163
159
  imgs?: HTMLImageElement[] | null;
164
160
  original_imgs?: HTMLImageElement[] | null;
165
161
  images?: any[] | null;
@@ -496,7 +492,7 @@ export declare class ComfyApp {
496
492
  static onClipspaceEditorSave(): void;
497
493
  static onClipspaceEditorClosed(): void;
498
494
  static copyToClipspace(node: any): void;
499
- static pasteFromClipspace(node: any): void;
495
+ static pasteFromClipspace(node: LGraphNode): void;
500
496
  /**
501
497
  * Set up the app on the page
502
498
  */
@@ -10197,15 +10193,15 @@ export declare class ComfyApp {
10197
10193
  }, "strip", z.ZodTypeAny, {
10198
10194
  shift?: boolean;
10199
10195
  key?: string;
10200
- meta?: boolean;
10201
10196
  ctrl?: boolean;
10202
10197
  alt?: boolean;
10198
+ meta?: boolean;
10203
10199
  }, {
10204
10200
  shift?: boolean;
10205
10201
  key?: string;
10206
- meta?: boolean;
10207
10202
  ctrl?: boolean;
10208
10203
  alt?: boolean;
10204
+ meta?: boolean;
10209
10205
  }>;
10210
10206
  targetElementId: z.ZodOptional<z.ZodString>;
10211
10207
  }, "strip", z.ZodTypeAny, {
@@ -10213,9 +10209,9 @@ export declare class ComfyApp {
10213
10209
  combo?: {
10214
10210
  shift?: boolean;
10215
10211
  key?: string;
10216
- meta?: boolean;
10217
10212
  ctrl?: boolean;
10218
10213
  alt?: boolean;
10214
+ meta?: boolean;
10219
10215
  };
10220
10216
  targetElementId?: string;
10221
10217
  }, {
@@ -10223,9 +10219,9 @@ export declare class ComfyApp {
10223
10219
  combo?: {
10224
10220
  shift?: boolean;
10225
10221
  key?: string;
10226
- meta?: boolean;
10227
10222
  ctrl?: boolean;
10228
10223
  alt?: boolean;
10224
+ meta?: boolean;
10229
10225
  };
10230
10226
  targetElementId?: string;
10231
10227
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.13.2",
3
+ "version": "1.13.3",
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.10.0"
16
+ "@comfyorg/litegraph": "^0.10.2"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "vue": "^3.5.13",