@comfyorg/comfyui-frontend-types 1.16.2 → 1.16.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.
Files changed (2) hide show
  1. package/index.d.ts +7 -19
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -3834,13 +3834,12 @@ export declare class ComfyApp {
3834
3834
  deprecated: z.ZodOptional<z.ZodBoolean>;
3835
3835
  experimental: z.ZodOptional<z.ZodBoolean>;
3836
3836
  }, "strip", z.ZodTypeAny, {
3837
- description: string;
3838
3837
  name: string;
3838
+ description: string;
3839
3839
  category: string;
3840
3840
  display_name: string;
3841
3841
  output_node: boolean;
3842
3842
  python_module: string;
3843
- deprecated?: boolean | undefined;
3844
3843
  input?: {
3845
3844
  required?: Record<string, ["INT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3846
3845
  default: z.ZodOptional<z.ZodAny>;
@@ -4231,18 +4230,18 @@ export declare class ComfyApp {
4231
4230
  }, z.ZodTypeAny, "passthrough"> | undefined]> | undefined;
4232
4231
  } | undefined;
4233
4232
  output?: (string | (string | number)[])[] | undefined;
4233
+ deprecated?: boolean | undefined;
4234
4234
  experimental?: boolean | undefined;
4235
4235
  output_is_list?: boolean[] | undefined;
4236
4236
  output_name?: string[] | undefined;
4237
4237
  output_tooltips?: string[] | undefined;
4238
4238
  }, {
4239
- description: string;
4240
4239
  name: string;
4240
+ description: string;
4241
4241
  category: string;
4242
4242
  display_name: string;
4243
4243
  output_node: boolean;
4244
4244
  python_module: string;
4245
- deprecated?: boolean | undefined;
4246
4245
  input?: {
4247
4246
  required?: Record<string, ["INT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4248
4247
  default: z.ZodOptional<z.ZodAny>;
@@ -4633,6 +4632,7 @@ export declare class ComfyApp {
4633
4632
  }, z.ZodTypeAny, "passthrough"> | undefined]> | undefined;
4634
4633
  } | undefined;
4635
4634
  output?: (string | (string | number)[])[] | undefined;
4635
+ deprecated?: boolean | undefined;
4636
4636
  experimental?: boolean | undefined;
4637
4637
  output_is_list?: boolean[] | undefined;
4638
4638
  output_name?: string[] | undefined;
@@ -11304,6 +11304,9 @@ declare module '@comfyorg/litegraph/dist/types/widgets' {
11304
11304
  * Controls whether the widget's value is included in the API workflow/prompt.
11305
11305
  * - If false, the value will be excluded from the API workflow but still serialized as part of the graph state
11306
11306
  * - If true or undefined, the value will be included in both the API workflow and graph state
11307
+ * @default true
11308
+ * @use {@link IBaseWidget.serialize} if you don't want the widget value to be included in both
11309
+ * the API workflow and graph state.
11307
11310
  */
11308
11311
  serialize?: boolean
11309
11312
  /**
@@ -11314,21 +11317,6 @@ declare module '@comfyorg/litegraph/dist/types/widgets' {
11314
11317
  * The minimum size of the node if the widget is present.
11315
11318
  */
11316
11319
  minNodeSize?: Size
11317
- /**
11318
- * Whether the widget is optional.
11319
- */
11320
- inputIsOptional?: boolean
11321
- /**
11322
- * Whether the widget is forced to be an input.
11323
- */
11324
- forceInput?: boolean
11325
- /**
11326
- * Whether the widget defaults to input state. Can still be converted back
11327
- * to widget state.
11328
- * @deprecated Widget to input conversion is no longer necessary, as they co-exist now.
11329
- * This option no longer has any effect.
11330
- */
11331
- defaultInput?: boolean
11332
11320
  }
11333
11321
 
11334
11322
  interface IBaseWidget {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comfyorg/comfyui-frontend-types",
3
- "version": "1.16.2",
3
+ "version": "1.16.4",
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.13.0"
16
+ "@comfyorg/litegraph": "^0.13.1"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "vue": "^3.5.13",