@comfyorg/comfyui-frontend-types 1.14.0 → 1.14.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 +2058 -1415
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -1,10 +1,20 @@
1
+ import { ButtonPassThroughOptionType } from 'primevue';
1
2
  import { Component } from 'vue';
3
+ import { ComponentProvideOptions } from 'vue';
4
+ import { ComponentPublicInstance } from 'vue';
5
+ import { ComputedOptions } from 'vue';
6
+ import { DebuggerEvent } from 'vue';
2
7
  import { default as default_2 } from '../components/dialog/content/LoadWorkflowWarning.vue';
3
8
  import { default as default_3 } from '../components/dialog/content/MissingModelsWarning.vue';
4
9
  import { default as default_4 } from '../components/dialog/content/ExecutionErrorDialogContent.vue';
5
10
  import { default as default_5 } from '../components/templates/TemplateWorkflowsContent.vue';
6
11
  import { default as default_6 } from '../components/dialog/content/IssueReportDialogContent.vue';
7
12
  import { default as default_7 } from '../components/dialog/content/manager/ManagerDialogContent.vue';
13
+ import { default as default_8 } from '../components/dialog/content/ManagerProgressDialogContent.vue';
14
+ import { DialogPassThroughMethodOptions } from 'primevue';
15
+ import { DialogPassThroughOptionType } from 'primevue';
16
+ import { DialogSharedPassThroughMethodOptions } from 'primevue';
17
+ import { Directive } from 'vue';
8
18
  import { EmbeddingsResponse } from '../schemas/apiSchema';
9
19
  import { ExecutedWsMessage } from '../schemas/apiSchema';
10
20
  import { ExecutingWsMessage } from '../schemas/apiSchema';
@@ -14,28 +24,52 @@ import { ExecutionInterruptedWsMessage } from '../schemas/apiSchema';
14
24
  import { ExecutionStartWsMessage } from '../schemas/apiSchema';
15
25
  import { ExecutionSuccessWsMessage } from '../schemas/apiSchema';
16
26
  import { ExtensionsResponse } from '../schemas/apiSchema';
27
+ import { FunctionalComponent } from 'vue';
17
28
  import { HistoryTaskItem } from '../schemas/apiSchema';
29
+ import { IntlDateTimeFormat } from 'vue-i18n';
30
+ import { IntlNumberFormat } from 'vue-i18n';
18
31
  import { ISerialisedGraph } from '@comfyorg/litegraph';
19
32
  import { IWidget } from '@comfyorg/litegraph';
20
33
  import { LGraph } from '@comfyorg/litegraph';
21
34
  import { LGraphCanvas } from '@comfyorg/litegraph';
22
35
  import { LGraphNode } from '@comfyorg/litegraph';
36
+ import { LinkedModifiers } from 'vue-i18n';
37
+ import { Locale } from 'vue-i18n';
38
+ import { LocaleMessage } from '@intlify/core-base';
39
+ import { LocaleMessages } from 'vue-i18n';
23
40
  import { LogsRawResponse } from '../schemas/apiSchema';
24
41
  import { LogsWsMessage } from '../schemas/apiSchema';
42
+ import { LooseRequired } from '@vue/shared';
43
+ import { MessageResolver } from 'vue-i18n';
44
+ import { MethodOptions } from 'vue';
45
+ import { MissingHandler } from 'vue-i18n';
46
+ import { NavigationGuard } from 'vue-router';
47
+ import { NavigationGuardWithThis } from 'vue-router';
25
48
  import { PendingTaskItem } from '../schemas/apiSchema';
49
+ import { PluralizationRules } from '@intlify/core-base';
26
50
  import { Positionable } from '@comfyorg/litegraph/dist/interfaces';
51
+ import { PostTranslationHandler } from 'vue-i18n';
27
52
  import { ProgressWsMessage } from '../schemas/apiSchema';
28
53
  import { PromptResponse } from '../schemas/apiSchema';
54
+ import { RenderFunction } from 'vue';
29
55
  import { RunningTaskItem } from '../schemas/apiSchema';
30
56
  import { Settings } from '../schemas/apiSchema';
31
57
  import { Settings as Settings_2 } from '../../schemas/apiSchema';
32
58
  import { Settings as Settings_3 } from '../../../schemas/apiSchema';
59
+ import { Slot } from 'vue';
33
60
  import { StatusWsMessage } from '../schemas/apiSchema';
34
61
  import { StatusWsMessageStatus } from '../schemas/apiSchema';
35
62
  import { SystemStats } from '../schemas/apiSchema';
63
+ import { TransitionProps } from 'vue';
64
+ import { TypesConfig } from 'vue-router';
36
65
  import { User } from '../schemas/apiSchema';
37
66
  import { UserDataFullInfo } from '../schemas/apiSchema';
38
67
  import { Vector2 } from '@comfyorg/litegraph';
68
+ import { VNode } from 'vue';
69
+ import { VueMessageType } from 'vue-i18n';
70
+ import { WarnHtmlInMessageLevel } from 'vue-i18n';
71
+ import { WatchCallback } from 'vue';
72
+ import { WatchOptions } from 'vue';
39
73
  import { z } from 'zod';
40
74
 
41
75
  declare interface AboutPageBadge {
@@ -143,11 +177,11 @@ declare class ChangeTracker {
143
177
  updateState(source: ComfyWorkflowJSON[], target: ComfyWorkflowJSON[]): Promise<void>;
144
178
  undo(): Promise<void>;
145
179
  redo(): Promise<void>;
146
- undoRedo(e: KeyboardEvent): Promise<boolean>;
180
+ undoRedo(e: KeyboardEvent): Promise<true | undefined>;
147
181
  beforeChange(): void;
148
182
  afterChange(): void;
149
183
  static init(app: ComfyApp): void;
150
- static bindInput(app: ComfyApp, activeEl: Element | null): boolean;
184
+ static bindInput(_app: ComfyApp, activeEl: Element | null): boolean;
151
185
  static graphEqual(a: ComfyWorkflowJSON, b: ComfyWorkflowJSON): boolean;
152
186
  private static graphDiff;
153
187
  }
@@ -411,8 +445,8 @@ export declare class ComfyApp {
411
445
  */
412
446
  static clipspace: Clipspace | null;
413
447
  static clipspace_invalidate_handler: (() => void) | null;
414
- static open_maskeditor: any;
415
- static clipspace_return_node: any;
448
+ static open_maskeditor: null;
449
+ static clipspace_return_node: null;
416
450
  vueAppReady: boolean;
417
451
  api: ComfyApi;
418
452
  ui: ComfyUI;
@@ -468,11 +502,11 @@ export declare class ComfyApp {
468
502
  * @deprecated Use useExecutionStore().executingNodeProgress instead
469
503
  */
470
504
  get progress(): {
471
- value?: number;
472
- max?: number;
473
- prompt_id?: string;
474
- node?: string | number;
475
- };
505
+ value: number;
506
+ max: number;
507
+ prompt_id: string;
508
+ node: string | number;
509
+ } | null;
476
510
  /**
477
511
  * @deprecated Use {@link isImageNode} from @/utils/litegraphUtil instead
478
512
  */
@@ -507,8 +541,8 @@ export declare class ComfyApp {
507
541
  registerNodesFromDefs(defs: Record<string, ComfyNodeDef>): Promise<void>;
508
542
  loadTemplateData(templateData: any): void;
509
543
  loadGraphData(graphData?: ComfyWorkflowJSON, clean?: boolean, restore_view?: boolean, workflow?: string | null | ComfyWorkflow, { showMissingNodesDialog, showMissingModelsDialog }?: {
510
- showMissingNodesDialog?: boolean;
511
- showMissingModelsDialog?: boolean;
544
+ showMissingNodesDialog?: boolean | undefined;
545
+ showMissingModelsDialog?: boolean | undefined;
512
546
  }): Promise<void>;
513
547
  /**
514
548
  * Serializes a graph using preferred user settings.
@@ -589,7 +623,7 @@ export declare class ComfyApp {
589
623
  constructor(...buttons: (HTMLElement | ComfyButton)[]);
590
624
  insert(button: ComfyButton, index: number): void;
591
625
  append(button: ComfyButton): void;
592
- remove(indexOrButton: ComfyButton | number): (HTMLElement | ComfyButton)[];
626
+ remove(indexOrButton: ComfyButton | number): (HTMLElement | ComfyButton)[] | undefined;
593
627
  update(): void;
594
628
  }
595
629
 
@@ -630,7 +664,7 @@ export declare class ComfyApp {
630
664
  #private;
631
665
  element: T;
632
666
  textElement: HTMLElement;
633
- constructor(type?: string, buttons?: any);
667
+ constructor(type?: string, buttons?: null);
634
668
  createButtons(): HTMLButtonElement[];
635
669
  close(): void;
636
670
  show(html: any): void;
@@ -1111,6 +1145,603 @@ export declare class ComfyApp {
1111
1145
  showTemplateWorkflowsDialog: (props?: InstanceType<typeof default_5>["$props"]) => void;
1112
1146
  showIssueReportDialog: (props: InstanceType<typeof default_6>["$props"]) => void;
1113
1147
  showManagerDialog: (props?: InstanceType<typeof default_7>["$props"]) => void;
1148
+ showManagerProgressDialog: (options?: {
1149
+ props?: InstanceType<typeof default_8>["$props"];
1150
+ }) => {
1151
+ key: string;
1152
+ visible: boolean;
1153
+ title?: string;
1154
+ headerComponent?: FunctionalComponent<any, {}, any, {}> | {
1155
+ new (...args: any[]): any;
1156
+ __isFragment?: never;
1157
+ __isTeleport?: never;
1158
+ __isSuspense?: never;
1159
+ } | {
1160
+ [x: string]: any;
1161
+ setup?: ((this: void, props: LooseRequired<any>, ctx: {
1162
+ attrs: {
1163
+ [x: string]: unknown;
1164
+ };
1165
+ slots: Readonly<{
1166
+ [name: string]: Slot<any> | undefined;
1167
+ }>;
1168
+ emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
1169
+ expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
1170
+ }) => Promise<any> | any | RenderFunction | void) | undefined;
1171
+ name?: string;
1172
+ template?: string | object;
1173
+ render?: Function;
1174
+ components?: Record<string, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>> | undefined;
1175
+ directives?: Record<string, Directive<any, any, string, string>> | undefined;
1176
+ inheritAttrs?: boolean;
1177
+ emits?: any;
1178
+ slots?: {} | undefined;
1179
+ expose?: string[] | undefined;
1180
+ serverPrefetch?: (() => void | Promise<any>) | undefined;
1181
+ compilerOptions?: {
1182
+ isCustomElement?: (tag: string) => boolean;
1183
+ whitespace?: "preserve" | "condense";
1184
+ comments?: boolean;
1185
+ delimiters?: [string, string];
1186
+ } | undefined;
1187
+ call?: (this: unknown, ...args: unknown[]) => never;
1188
+ __isFragment?: never;
1189
+ __isTeleport?: never;
1190
+ __isSuspense?: never;
1191
+ __defaults?: {} | undefined;
1192
+ compatConfig?: {
1193
+ GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
1194
+ GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
1195
+ GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
1196
+ GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
1197
+ GLOBAL_SET?: boolean | "suppress-warning" | undefined;
1198
+ GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
1199
+ GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
1200
+ GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
1201
+ CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
1202
+ CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
1203
+ CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
1204
+ CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
1205
+ CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
1206
+ CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
1207
+ CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
1208
+ INSTANCE_SET?: boolean | "suppress-warning" | undefined;
1209
+ INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
1210
+ INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
1211
+ INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
1212
+ INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
1213
+ INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
1214
+ INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
1215
+ INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
1216
+ INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
1217
+ OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
1218
+ OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
1219
+ OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
1220
+ OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
1221
+ WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
1222
+ PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
1223
+ V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
1224
+ CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
1225
+ ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
1226
+ ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
1227
+ TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
1228
+ TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
1229
+ COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
1230
+ COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
1231
+ COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
1232
+ RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
1233
+ FILTERS?: boolean | "suppress-warning" | undefined;
1234
+ PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
1235
+ MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3);
1236
+ } | undefined;
1237
+ data?: ((this: any, vm: any) => any) | undefined;
1238
+ computed?: ComputedOptions | undefined;
1239
+ methods?: MethodOptions | undefined;
1240
+ watch?: {
1241
+ [x: string]: (string | WatchCallback | ({
1242
+ handler: WatchCallback | string;
1243
+ } & WatchOptions<boolean>)) | (string | WatchCallback | ({
1244
+ handler: WatchCallback | string;
1245
+ } & WatchOptions<boolean>))[];
1246
+ };
1247
+ provide?: ComponentProvideOptions | undefined;
1248
+ inject?: {} | string[] | undefined;
1249
+ filters?: Record<string, Function>;
1250
+ mixins?: any[] | undefined;
1251
+ extends?: any;
1252
+ beforeCreate?: (() => void) | undefined;
1253
+ created?: (() => void) | undefined;
1254
+ beforeMount?: (() => void) | undefined;
1255
+ mounted?: (() => void) | undefined;
1256
+ beforeUpdate?: (() => void) | undefined;
1257
+ updated?: (() => void) | undefined;
1258
+ activated?: (() => void) | undefined;
1259
+ deactivated?: (() => void) | undefined;
1260
+ beforeDestroy?: (() => void) | undefined;
1261
+ beforeUnmount?: (() => void) | undefined;
1262
+ destroyed?: (() => void) | undefined;
1263
+ unmounted?: (() => void) | undefined;
1264
+ renderTracked?: (e: DebuggerEvent) => void;
1265
+ renderTriggered?: (e: DebuggerEvent) => void;
1266
+ errorCaptured?: (err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void;
1267
+ delimiters?: [string, string];
1268
+ __differentiator?: string | number | symbol | undefined;
1269
+ __isBuiltIn?: boolean;
1270
+ __file?: string;
1271
+ __name?: string;
1272
+ i18n?: {
1273
+ locale?: string | undefined;
1274
+ fallbackLocale?: string | false | string[] | {
1275
+ [x: string]: string[];
1276
+ } | undefined;
1277
+ messages?: {
1278
+ [x: string]: LocaleMessage<VueMessageType>;
1279
+ } | undefined;
1280
+ flatJson?: boolean | undefined;
1281
+ datetimeFormats?: {
1282
+ [x: string]: IntlDateTimeFormat;
1283
+ } | undefined;
1284
+ numberFormats?: {
1285
+ [x: string]: IntlNumberFormat;
1286
+ } | undefined;
1287
+ availableLocales?: Locale[];
1288
+ modifiers?: LinkedModifiers<VueMessageType> | undefined;
1289
+ formatter?: {
1290
+ interpolate: (message: string, values: any, path: string) => Array<any> | null;
1291
+ } | undefined;
1292
+ missing?: MissingHandler | undefined;
1293
+ fallbackRoot?: boolean | undefined;
1294
+ silentTranslationWarn?: boolean | RegExp | undefined;
1295
+ silentFallbackWarn?: boolean | RegExp | undefined;
1296
+ formatFallbackMessages?: boolean | undefined;
1297
+ preserveDirectiveContent?: boolean;
1298
+ warnHtmlInMessage?: WarnHtmlInMessageLevel;
1299
+ escapeParameterHtml?: boolean | undefined;
1300
+ sharedMessages?: LocaleMessages<VueMessageType>;
1301
+ pluralizationRules?: PluralizationRules | undefined;
1302
+ postTranslation?: PostTranslationHandler<VueMessageType> | undefined;
1303
+ sync?: boolean;
1304
+ messageResolver?: MessageResolver;
1305
+ } | undefined;
1306
+ __i18n?: {
1307
+ locale: Locale;
1308
+ resource: LocaleMessages<VueMessageType>;
1309
+ }[] | undefined;
1310
+ __INTLIFY_META__?: string;
1311
+ beforeRouteEnter?: TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : NavigationGuardWithThis<undefined>;
1312
+ beforeRouteUpdate?: TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : NavigationGuard;
1313
+ beforeRouteLeave?: TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : NavigationGuard;
1314
+ } | undefined;
1315
+ component: FunctionalComponent<any, {}, any, {}> | {
1316
+ new (...args: any[]): any;
1317
+ __isFragment?: never;
1318
+ __isTeleport?: never;
1319
+ __isSuspense?: never;
1320
+ } | {
1321
+ [x: string]: any;
1322
+ setup?: ((this: void, props: LooseRequired<any>, ctx: {
1323
+ attrs: {
1324
+ [x: string]: unknown;
1325
+ };
1326
+ slots: Readonly<{
1327
+ [name: string]: Slot<any> | undefined;
1328
+ }>;
1329
+ emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
1330
+ expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
1331
+ }) => Promise<any> | any | RenderFunction | void) | undefined;
1332
+ name?: string;
1333
+ template?: string | object;
1334
+ render?: Function;
1335
+ components?: Record<string, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>> | undefined;
1336
+ directives?: Record<string, Directive<any, any, string, string>> | undefined;
1337
+ inheritAttrs?: boolean;
1338
+ emits?: any;
1339
+ slots?: {} | undefined;
1340
+ expose?: string[] | undefined;
1341
+ serverPrefetch?: (() => void | Promise<any>) | undefined;
1342
+ compilerOptions?: {
1343
+ isCustomElement?: (tag: string) => boolean;
1344
+ whitespace?: "preserve" | "condense";
1345
+ comments?: boolean;
1346
+ delimiters?: [string, string];
1347
+ } | undefined;
1348
+ call?: (this: unknown, ...args: unknown[]) => never;
1349
+ __isFragment?: never;
1350
+ __isTeleport?: never;
1351
+ __isSuspense?: never;
1352
+ __defaults?: {} | undefined;
1353
+ compatConfig?: {
1354
+ GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
1355
+ GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
1356
+ GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
1357
+ GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
1358
+ GLOBAL_SET?: boolean | "suppress-warning" | undefined;
1359
+ GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
1360
+ GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
1361
+ GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
1362
+ CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
1363
+ CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
1364
+ CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
1365
+ CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
1366
+ CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
1367
+ CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
1368
+ CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
1369
+ INSTANCE_SET?: boolean | "suppress-warning" | undefined;
1370
+ INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
1371
+ INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
1372
+ INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
1373
+ INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
1374
+ INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
1375
+ INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
1376
+ INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
1377
+ INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
1378
+ OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
1379
+ OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
1380
+ OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
1381
+ OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
1382
+ WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
1383
+ PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
1384
+ V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
1385
+ CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
1386
+ ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
1387
+ ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
1388
+ TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
1389
+ TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
1390
+ COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
1391
+ COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
1392
+ COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
1393
+ RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
1394
+ FILTERS?: boolean | "suppress-warning" | undefined;
1395
+ PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
1396
+ MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3);
1397
+ } | undefined;
1398
+ data?: ((this: any, vm: any) => any) | undefined;
1399
+ computed?: ComputedOptions | undefined;
1400
+ methods?: MethodOptions | undefined;
1401
+ watch?: {
1402
+ [x: string]: (string | WatchCallback | ({
1403
+ handler: WatchCallback | string;
1404
+ } & WatchOptions<boolean>)) | (string | WatchCallback | ({
1405
+ handler: WatchCallback | string;
1406
+ } & WatchOptions<boolean>))[];
1407
+ };
1408
+ provide?: ComponentProvideOptions | undefined;
1409
+ inject?: {} | string[] | undefined;
1410
+ filters?: Record<string, Function>;
1411
+ mixins?: any[] | undefined;
1412
+ extends?: any;
1413
+ beforeCreate?: (() => void) | undefined;
1414
+ created?: (() => void) | undefined;
1415
+ beforeMount?: (() => void) | undefined;
1416
+ mounted?: (() => void) | undefined;
1417
+ beforeUpdate?: (() => void) | undefined;
1418
+ updated?: (() => void) | undefined;
1419
+ activated?: (() => void) | undefined;
1420
+ deactivated?: (() => void) | undefined;
1421
+ beforeDestroy?: (() => void) | undefined;
1422
+ beforeUnmount?: (() => void) | undefined;
1423
+ destroyed?: (() => void) | undefined;
1424
+ unmounted?: (() => void) | undefined;
1425
+ renderTracked?: (e: DebuggerEvent) => void;
1426
+ renderTriggered?: (e: DebuggerEvent) => void;
1427
+ errorCaptured?: (err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void;
1428
+ delimiters?: [string, string];
1429
+ __differentiator?: string | number | symbol | undefined;
1430
+ __isBuiltIn?: boolean;
1431
+ __file?: string;
1432
+ __name?: string;
1433
+ i18n?: {
1434
+ locale?: string | undefined;
1435
+ fallbackLocale?: string | false | string[] | {
1436
+ [x: string]: string[];
1437
+ } | undefined;
1438
+ messages?: {
1439
+ [x: string]: LocaleMessage<VueMessageType>;
1440
+ } | undefined;
1441
+ flatJson?: boolean | undefined;
1442
+ datetimeFormats?: {
1443
+ [x: string]: IntlDateTimeFormat;
1444
+ } | undefined;
1445
+ numberFormats?: {
1446
+ [x: string]: IntlNumberFormat;
1447
+ } | undefined;
1448
+ availableLocales?: Locale[];
1449
+ modifiers?: LinkedModifiers<VueMessageType> | undefined;
1450
+ formatter?: {
1451
+ interpolate: (message: string, values: any, path: string) => Array<any> | null;
1452
+ } | undefined;
1453
+ missing?: MissingHandler | undefined;
1454
+ fallbackRoot?: boolean | undefined;
1455
+ silentTranslationWarn?: boolean | RegExp | undefined;
1456
+ silentFallbackWarn?: boolean | RegExp | undefined;
1457
+ formatFallbackMessages?: boolean | undefined;
1458
+ preserveDirectiveContent?: boolean;
1459
+ warnHtmlInMessage?: WarnHtmlInMessageLevel;
1460
+ escapeParameterHtml?: boolean | undefined;
1461
+ sharedMessages?: LocaleMessages<VueMessageType>;
1462
+ pluralizationRules?: PluralizationRules | undefined;
1463
+ postTranslation?: PostTranslationHandler<VueMessageType> | undefined;
1464
+ sync?: boolean;
1465
+ messageResolver?: MessageResolver;
1466
+ } | undefined;
1467
+ __i18n?: {
1468
+ locale: Locale;
1469
+ resource: LocaleMessages<VueMessageType>;
1470
+ }[] | undefined;
1471
+ __INTLIFY_META__?: string;
1472
+ beforeRouteEnter?: TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : NavigationGuardWithThis<undefined>;
1473
+ beforeRouteUpdate?: TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : NavigationGuard;
1474
+ beforeRouteLeave?: TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : NavigationGuard;
1475
+ };
1476
+ contentProps: Record<string, any>;
1477
+ footerComponent?: FunctionalComponent<any, {}, any, {}> | {
1478
+ new (...args: any[]): any;
1479
+ __isFragment?: never;
1480
+ __isTeleport?: never;
1481
+ __isSuspense?: never;
1482
+ } | {
1483
+ [x: string]: any;
1484
+ setup?: ((this: void, props: LooseRequired<any>, ctx: {
1485
+ attrs: {
1486
+ [x: string]: unknown;
1487
+ };
1488
+ slots: Readonly<{
1489
+ [name: string]: Slot<any> | undefined;
1490
+ }>;
1491
+ emit: ((event: unknown, ...args: any[]) => void) | ((event: string, ...args: any[]) => void);
1492
+ expose: <Exposed extends Record<string, any> = Record<string, any>>(exposed?: Exposed) => void;
1493
+ }) => Promise<any> | any | RenderFunction | void) | undefined;
1494
+ name?: string;
1495
+ template?: string | object;
1496
+ render?: Function;
1497
+ components?: Record<string, Component<any, any, any, ComputedOptions, MethodOptions, {}, any>> | undefined;
1498
+ directives?: Record<string, Directive<any, any, string, string>> | undefined;
1499
+ inheritAttrs?: boolean;
1500
+ emits?: any;
1501
+ slots?: {} | undefined;
1502
+ expose?: string[] | undefined;
1503
+ serverPrefetch?: (() => void | Promise<any>) | undefined;
1504
+ compilerOptions?: {
1505
+ isCustomElement?: (tag: string) => boolean;
1506
+ whitespace?: "preserve" | "condense";
1507
+ comments?: boolean;
1508
+ delimiters?: [string, string];
1509
+ } | undefined;
1510
+ call?: (this: unknown, ...args: unknown[]) => never;
1511
+ __isFragment?: never;
1512
+ __isTeleport?: never;
1513
+ __isSuspense?: never;
1514
+ __defaults?: {} | undefined;
1515
+ compatConfig?: {
1516
+ GLOBAL_MOUNT?: boolean | "suppress-warning" | undefined;
1517
+ GLOBAL_MOUNT_CONTAINER?: boolean | "suppress-warning" | undefined;
1518
+ GLOBAL_EXTEND?: boolean | "suppress-warning" | undefined;
1519
+ GLOBAL_PROTOTYPE?: boolean | "suppress-warning" | undefined;
1520
+ GLOBAL_SET?: boolean | "suppress-warning" | undefined;
1521
+ GLOBAL_DELETE?: boolean | "suppress-warning" | undefined;
1522
+ GLOBAL_OBSERVABLE?: boolean | "suppress-warning" | undefined;
1523
+ GLOBAL_PRIVATE_UTIL?: boolean | "suppress-warning" | undefined;
1524
+ CONFIG_SILENT?: boolean | "suppress-warning" | undefined;
1525
+ CONFIG_DEVTOOLS?: boolean | "suppress-warning" | undefined;
1526
+ CONFIG_KEY_CODES?: boolean | "suppress-warning" | undefined;
1527
+ CONFIG_PRODUCTION_TIP?: boolean | "suppress-warning" | undefined;
1528
+ CONFIG_IGNORED_ELEMENTS?: boolean | "suppress-warning" | undefined;
1529
+ CONFIG_WHITESPACE?: boolean | "suppress-warning" | undefined;
1530
+ CONFIG_OPTION_MERGE_STRATS?: boolean | "suppress-warning" | undefined;
1531
+ INSTANCE_SET?: boolean | "suppress-warning" | undefined;
1532
+ INSTANCE_DELETE?: boolean | "suppress-warning" | undefined;
1533
+ INSTANCE_DESTROY?: boolean | "suppress-warning" | undefined;
1534
+ INSTANCE_EVENT_EMITTER?: boolean | "suppress-warning" | undefined;
1535
+ INSTANCE_EVENT_HOOKS?: boolean | "suppress-warning" | undefined;
1536
+ INSTANCE_CHILDREN?: boolean | "suppress-warning" | undefined;
1537
+ INSTANCE_LISTENERS?: boolean | "suppress-warning" | undefined;
1538
+ INSTANCE_SCOPED_SLOTS?: boolean | "suppress-warning" | undefined;
1539
+ INSTANCE_ATTRS_CLASS_STYLE?: boolean | "suppress-warning" | undefined;
1540
+ OPTIONS_DATA_FN?: boolean | "suppress-warning" | undefined;
1541
+ OPTIONS_DATA_MERGE?: boolean | "suppress-warning" | undefined;
1542
+ OPTIONS_BEFORE_DESTROY?: boolean | "suppress-warning" | undefined;
1543
+ OPTIONS_DESTROYED?: boolean | "suppress-warning" | undefined;
1544
+ WATCH_ARRAY?: boolean | "suppress-warning" | undefined;
1545
+ PROPS_DEFAULT_THIS?: boolean | "suppress-warning" | undefined;
1546
+ V_ON_KEYCODE_MODIFIER?: boolean | "suppress-warning" | undefined;
1547
+ CUSTOM_DIR?: boolean | "suppress-warning" | undefined;
1548
+ ATTR_FALSE_VALUE?: boolean | "suppress-warning" | undefined;
1549
+ ATTR_ENUMERATED_COERCION?: boolean | "suppress-warning" | undefined;
1550
+ TRANSITION_CLASSES?: boolean | "suppress-warning" | undefined;
1551
+ TRANSITION_GROUP_ROOT?: boolean | "suppress-warning" | undefined;
1552
+ COMPONENT_ASYNC?: boolean | "suppress-warning" | undefined;
1553
+ COMPONENT_FUNCTIONAL?: boolean | "suppress-warning" | undefined;
1554
+ COMPONENT_V_MODEL?: boolean | "suppress-warning" | undefined;
1555
+ RENDER_FUNCTION?: boolean | "suppress-warning" | undefined;
1556
+ FILTERS?: boolean | "suppress-warning" | undefined;
1557
+ PRIVATE_APIS?: boolean | "suppress-warning" | undefined;
1558
+ MODE?: 2 | 3 | ((comp: Component | null) => 2 | 3);
1559
+ } | undefined;
1560
+ data?: ((this: any, vm: any) => any) | undefined;
1561
+ computed?: ComputedOptions | undefined;
1562
+ methods?: MethodOptions | undefined;
1563
+ watch?: {
1564
+ [x: string]: (string | WatchCallback | ({
1565
+ handler: WatchCallback | string;
1566
+ } & WatchOptions<boolean>)) | (string | WatchCallback | ({
1567
+ handler: WatchCallback | string;
1568
+ } & WatchOptions<boolean>))[];
1569
+ };
1570
+ provide?: ComponentProvideOptions | undefined;
1571
+ inject?: {} | string[] | undefined;
1572
+ filters?: Record<string, Function>;
1573
+ mixins?: any[] | undefined;
1574
+ extends?: any;
1575
+ beforeCreate?: (() => void) | undefined;
1576
+ created?: (() => void) | undefined;
1577
+ beforeMount?: (() => void) | undefined;
1578
+ mounted?: (() => void) | undefined;
1579
+ beforeUpdate?: (() => void) | undefined;
1580
+ updated?: (() => void) | undefined;
1581
+ activated?: (() => void) | undefined;
1582
+ deactivated?: (() => void) | undefined;
1583
+ beforeDestroy?: (() => void) | undefined;
1584
+ beforeUnmount?: (() => void) | undefined;
1585
+ destroyed?: (() => void) | undefined;
1586
+ unmounted?: (() => void) | undefined;
1587
+ renderTracked?: (e: DebuggerEvent) => void;
1588
+ renderTriggered?: (e: DebuggerEvent) => void;
1589
+ errorCaptured?: (err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void;
1590
+ delimiters?: [string, string];
1591
+ __differentiator?: string | number | symbol | undefined;
1592
+ __isBuiltIn?: boolean;
1593
+ __file?: string;
1594
+ __name?: string;
1595
+ i18n?: {
1596
+ locale?: string | undefined;
1597
+ fallbackLocale?: string | false | string[] | {
1598
+ [x: string]: string[];
1599
+ } | undefined;
1600
+ messages?: {
1601
+ [x: string]: LocaleMessage<VueMessageType>;
1602
+ } | undefined;
1603
+ flatJson?: boolean | undefined;
1604
+ datetimeFormats?: {
1605
+ [x: string]: IntlDateTimeFormat;
1606
+ } | undefined;
1607
+ numberFormats?: {
1608
+ [x: string]: IntlNumberFormat;
1609
+ } | undefined;
1610
+ availableLocales?: Locale[];
1611
+ modifiers?: LinkedModifiers<VueMessageType> | undefined;
1612
+ formatter?: {
1613
+ interpolate: (message: string, values: any, path: string) => Array<any> | null;
1614
+ } | undefined;
1615
+ missing?: MissingHandler | undefined;
1616
+ fallbackRoot?: boolean | undefined;
1617
+ silentTranslationWarn?: boolean | RegExp | undefined;
1618
+ silentFallbackWarn?: boolean | RegExp | undefined;
1619
+ formatFallbackMessages?: boolean | undefined;
1620
+ preserveDirectiveContent?: boolean;
1621
+ warnHtmlInMessage?: WarnHtmlInMessageLevel;
1622
+ escapeParameterHtml?: boolean | undefined;
1623
+ sharedMessages?: LocaleMessages<VueMessageType>;
1624
+ pluralizationRules?: PluralizationRules | undefined;
1625
+ postTranslation?: PostTranslationHandler<VueMessageType> | undefined;
1626
+ sync?: boolean;
1627
+ messageResolver?: MessageResolver;
1628
+ } | undefined;
1629
+ __i18n?: {
1630
+ locale: Locale;
1631
+ resource: LocaleMessages<VueMessageType>;
1632
+ }[] | undefined;
1633
+ __INTLIFY_META__?: string;
1634
+ beforeRouteEnter?: TypesConfig extends Record<"beforeRouteEnter", infer T> ? T : NavigationGuardWithThis<undefined>;
1635
+ beforeRouteUpdate?: TypesConfig extends Record<"beforeRouteUpdate", infer T> ? T : NavigationGuard;
1636
+ beforeRouteLeave?: TypesConfig extends Record<"beforeRouteLeave", infer T> ? T : NavigationGuard;
1637
+ } | undefined;
1638
+ dialogComponentProps: {
1639
+ key?: PropertyKey;
1640
+ ref?: any;
1641
+ ref_for?: boolean;
1642
+ ref_key?: string;
1643
+ onVnodeBeforeMount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1644
+ onVnodeMounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1645
+ onVnodeBeforeUpdate?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
1646
+ onVnodeUpdated?: ((vnode: VNode, oldVNode: VNode) => void) | ((vnode: VNode, oldVNode: VNode) => void)[];
1647
+ onVnodeBeforeUnmount?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1648
+ onVnodeUnmounted?: ((vnode: VNode) => void) | ((vnode: VNode) => void)[];
1649
+ class?: unknown;
1650
+ style?: unknown;
1651
+ maximizable?: boolean;
1652
+ maximized?: boolean;
1653
+ onClose?: () => void;
1654
+ closable?: boolean;
1655
+ modal?: boolean;
1656
+ position?: "left" | "top" | "right" | "bottom" | "center" | "topleft" | "topright" | "bottomleft" | "bottomright";
1657
+ pt?: {
1658
+ root?: DialogPassThroughOptionType<any>;
1659
+ header?: DialogPassThroughOptionType<any>;
1660
+ title?: DialogPassThroughOptionType<any>;
1661
+ headerActions?: DialogPassThroughOptionType<any>;
1662
+ pcMaximizeButton?: {
1663
+ root?: ButtonPassThroughOptionType<DialogSharedPassThroughMethodOptions>;
1664
+ loadingIcon?: ButtonPassThroughOptionType<DialogSharedPassThroughMethodOptions>;
1665
+ icon?: ButtonPassThroughOptionType<DialogSharedPassThroughMethodOptions>;
1666
+ label?: ButtonPassThroughOptionType<DialogSharedPassThroughMethodOptions>;
1667
+ pcBadge?: ButtonPassThroughOptionType<DialogSharedPassThroughMethodOptions>;
1668
+ hooks?: {
1669
+ onBeforeCreate?: (() => void) | undefined;
1670
+ onCreated?: (() => void) | undefined;
1671
+ onBeforeMount?: (() => void) | undefined;
1672
+ onMounted?: (() => void) | undefined;
1673
+ onBeforeUpdate?: (() => void) | undefined;
1674
+ onUpdated?: (() => void) | undefined;
1675
+ onBeforeUnmount?: (() => void) | undefined;
1676
+ onUnmounted?: (() => void) | undefined;
1677
+ } | undefined;
1678
+ } | undefined;
1679
+ pcCloseButton?: {
1680
+ root?: ButtonPassThroughOptionType<DialogSharedPassThroughMethodOptions>;
1681
+ loadingIcon?: ButtonPassThroughOptionType<DialogSharedPassThroughMethodOptions>;
1682
+ icon?: ButtonPassThroughOptionType<DialogSharedPassThroughMethodOptions>;
1683
+ label?: ButtonPassThroughOptionType<DialogSharedPassThroughMethodOptions>;
1684
+ pcBadge?: ButtonPassThroughOptionType<DialogSharedPassThroughMethodOptions>;
1685
+ hooks?: {
1686
+ onBeforeCreate?: (() => void) | undefined;
1687
+ onCreated?: (() => void) | undefined;
1688
+ onBeforeMount?: (() => void) | undefined;
1689
+ onMounted?: (() => void) | undefined;
1690
+ onBeforeUpdate?: (() => void) | undefined;
1691
+ onUpdated?: (() => void) | undefined;
1692
+ onBeforeUnmount?: (() => void) | undefined;
1693
+ onUnmounted?: (() => void) | undefined;
1694
+ } | undefined;
1695
+ } | undefined;
1696
+ content?: DialogPassThroughOptionType<any>;
1697
+ footer?: DialogPassThroughOptionType<any>;
1698
+ mask?: DialogPassThroughOptionType<any>;
1699
+ hooks?: {
1700
+ onBeforeCreate?: (() => void) | undefined;
1701
+ onCreated?: (() => void) | undefined;
1702
+ onBeforeMount?: (() => void) | undefined;
1703
+ onMounted?: (() => void) | undefined;
1704
+ onBeforeUpdate?: (() => void) | undefined;
1705
+ onUpdated?: (() => void) | undefined;
1706
+ onBeforeUnmount?: (() => void) | undefined;
1707
+ onUnmounted?: (() => void) | undefined;
1708
+ } | undefined;
1709
+ transition?: ((options: DialogPassThroughMethodOptions<any>) => TransitionProps) | {
1710
+ name?: string;
1711
+ type?: "animation" | "transition";
1712
+ css?: boolean;
1713
+ duration?: number | {
1714
+ enter: number;
1715
+ leave: number;
1716
+ } | undefined;
1717
+ enterFromClass?: string;
1718
+ enterActiveClass?: string;
1719
+ enterToClass?: string;
1720
+ appearFromClass?: string;
1721
+ appearActiveClass?: string;
1722
+ appearToClass?: string;
1723
+ leaveFromClass?: string;
1724
+ leaveActiveClass?: string;
1725
+ leaveToClass?: string;
1726
+ mode?: "in-out" | "out-in" | "default";
1727
+ appear?: boolean;
1728
+ persisted?: boolean;
1729
+ onBeforeEnter?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
1730
+ onEnter?: (((el: Element, done: () => void) => void) | ((el: Element, done: () => void) => void)[]) | undefined;
1731
+ onAfterEnter?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
1732
+ onEnterCancelled?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
1733
+ onBeforeLeave?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
1734
+ onLeave?: (((el: Element, done: () => void) => void) | ((el: Element, done: () => void) => void)[]) | undefined;
1735
+ onAfterLeave?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
1736
+ onLeaveCancelled?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
1737
+ onBeforeAppear?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
1738
+ onAppear?: (((el: Element, done: () => void) => void) | ((el: Element, done: () => void) => void)[]) | undefined;
1739
+ onAfterAppear?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
1740
+ onAppearCancelled?: (((el: Element) => void) | ((el: Element) => void)[]) | undefined;
1741
+ } | undefined;
1742
+ } | undefined;
1743
+ };
1744
+ };
1114
1745
  prompt: ({ title, message, defaultValue }: {
1115
1746
  title: string;
1116
1747
  message: string;
@@ -1227,21 +1858,21 @@ export declare class ComfyApp {
1227
1858
  _meta: z.ZodObject<{
1228
1859
  title: z.ZodString;
1229
1860
  }, "strip", z.ZodTypeAny, {
1230
- title?: string;
1861
+ title: string;
1231
1862
  }, {
1232
- title?: string;
1863
+ title: string;
1233
1864
  }>;
1234
1865
  }, "strip", z.ZodTypeAny, {
1235
- inputs?: Record<string, any>;
1236
- class_type?: string;
1237
- _meta?: {
1238
- title?: string;
1866
+ inputs: Record<string, any>;
1867
+ class_type: string;
1868
+ _meta: {
1869
+ title: string;
1239
1870
  };
1240
1871
  }, {
1241
- inputs?: Record<string, any>;
1242
- class_type?: string;
1243
- _meta?: {
1244
- title?: string;
1872
+ inputs: Record<string, any>;
1873
+ class_type: string;
1874
+ _meta: {
1875
+ title: string;
1245
1876
  };
1246
1877
  }>>;
1247
1878
 
@@ -1484,34 +2115,34 @@ export declare class ComfyApp {
1484
2115
  timeout: z.ZodOptional<z.ZodNumber>;
1485
2116
  max_retries: z.ZodOptional<z.ZodNumber>;
1486
2117
  }, "strip", z.ZodTypeAny, {
1487
- refresh?: number;
1488
- route?: string;
1489
- response_key?: string;
1490
- query_params?: Record<string, string>;
1491
- refresh_button?: boolean;
1492
- control_after_refresh?: "first" | "last";
1493
- timeout?: number;
1494
- max_retries?: number;
2118
+ route: string;
2119
+ refresh?: number | undefined;
2120
+ response_key?: string | undefined;
2121
+ query_params?: Record<string, string> | undefined;
2122
+ refresh_button?: boolean | undefined;
2123
+ control_after_refresh?: "first" | "last" | undefined;
2124
+ timeout?: number | undefined;
2125
+ max_retries?: number | undefined;
1495
2126
  }, {
1496
- refresh?: number;
1497
- route?: string;
1498
- response_key?: string;
1499
- query_params?: Record<string, string>;
1500
- refresh_button?: boolean;
1501
- control_after_refresh?: "first" | "last";
1502
- timeout?: number;
1503
- max_retries?: number;
2127
+ route: string;
2128
+ refresh?: number | undefined;
2129
+ response_key?: string | undefined;
2130
+ query_params?: Record<string, string> | undefined;
2131
+ refresh_button?: boolean | undefined;
2132
+ control_after_refresh?: "first" | "last" | undefined;
2133
+ timeout?: number | undefined;
2134
+ max_retries?: number | undefined;
1504
2135
  }>>;
1505
2136
  /** Whether the widget is a multi-select widget. */
1506
2137
  multi_select: z.ZodOptional<z.ZodObject<{
1507
2138
  placeholder: z.ZodOptional<z.ZodString>;
1508
2139
  chip: z.ZodOptional<z.ZodBoolean>;
1509
2140
  }, "strip", z.ZodTypeAny, {
1510
- placeholder?: string;
1511
- chip?: boolean;
2141
+ placeholder?: string | undefined;
2142
+ chip?: boolean | undefined;
1512
2143
  }, {
1513
- placeholder?: string;
1514
- chip?: boolean;
2144
+ placeholder?: string | undefined;
2145
+ chip?: boolean | undefined;
1515
2146
  }>>;
1516
2147
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
1517
2148
  default: z.ZodOptional<z.ZodAny>;
@@ -1540,34 +2171,34 @@ export declare class ComfyApp {
1540
2171
  timeout: z.ZodOptional<z.ZodNumber>;
1541
2172
  max_retries: z.ZodOptional<z.ZodNumber>;
1542
2173
  }, "strip", z.ZodTypeAny, {
1543
- refresh?: number;
1544
- route?: string;
1545
- response_key?: string;
1546
- query_params?: Record<string, string>;
1547
- refresh_button?: boolean;
1548
- control_after_refresh?: "first" | "last";
1549
- timeout?: number;
1550
- max_retries?: number;
2174
+ route: string;
2175
+ refresh?: number | undefined;
2176
+ response_key?: string | undefined;
2177
+ query_params?: Record<string, string> | undefined;
2178
+ refresh_button?: boolean | undefined;
2179
+ control_after_refresh?: "first" | "last" | undefined;
2180
+ timeout?: number | undefined;
2181
+ max_retries?: number | undefined;
1551
2182
  }, {
1552
- refresh?: number;
1553
- route?: string;
1554
- response_key?: string;
1555
- query_params?: Record<string, string>;
1556
- refresh_button?: boolean;
1557
- control_after_refresh?: "first" | "last";
1558
- timeout?: number;
1559
- max_retries?: number;
2183
+ route: string;
2184
+ refresh?: number | undefined;
2185
+ response_key?: string | undefined;
2186
+ query_params?: Record<string, string> | undefined;
2187
+ refresh_button?: boolean | undefined;
2188
+ control_after_refresh?: "first" | "last" | undefined;
2189
+ timeout?: number | undefined;
2190
+ max_retries?: number | undefined;
1560
2191
  }>>;
1561
2192
  /** Whether the widget is a multi-select widget. */
1562
2193
  multi_select: z.ZodOptional<z.ZodObject<{
1563
2194
  placeholder: z.ZodOptional<z.ZodString>;
1564
2195
  chip: z.ZodOptional<z.ZodBoolean>;
1565
2196
  }, "strip", z.ZodTypeAny, {
1566
- placeholder?: string;
1567
- chip?: boolean;
2197
+ placeholder?: string | undefined;
2198
+ chip?: boolean | undefined;
1568
2199
  }, {
1569
- placeholder?: string;
1570
- chip?: boolean;
2200
+ placeholder?: string | undefined;
2201
+ chip?: boolean | undefined;
1571
2202
  }>>;
1572
2203
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
1573
2204
  default: z.ZodOptional<z.ZodAny>;
@@ -1596,34 +2227,34 @@ export declare class ComfyApp {
1596
2227
  timeout: z.ZodOptional<z.ZodNumber>;
1597
2228
  max_retries: z.ZodOptional<z.ZodNumber>;
1598
2229
  }, "strip", z.ZodTypeAny, {
1599
- refresh?: number;
1600
- route?: string;
1601
- response_key?: string;
1602
- query_params?: Record<string, string>;
1603
- refresh_button?: boolean;
1604
- control_after_refresh?: "first" | "last";
1605
- timeout?: number;
1606
- max_retries?: number;
2230
+ route: string;
2231
+ refresh?: number | undefined;
2232
+ response_key?: string | undefined;
2233
+ query_params?: Record<string, string> | undefined;
2234
+ refresh_button?: boolean | undefined;
2235
+ control_after_refresh?: "first" | "last" | undefined;
2236
+ timeout?: number | undefined;
2237
+ max_retries?: number | undefined;
1607
2238
  }, {
1608
- refresh?: number;
1609
- route?: string;
1610
- response_key?: string;
1611
- query_params?: Record<string, string>;
1612
- refresh_button?: boolean;
1613
- control_after_refresh?: "first" | "last";
1614
- timeout?: number;
1615
- max_retries?: number;
2239
+ route: string;
2240
+ refresh?: number | undefined;
2241
+ response_key?: string | undefined;
2242
+ query_params?: Record<string, string> | undefined;
2243
+ refresh_button?: boolean | undefined;
2244
+ control_after_refresh?: "first" | "last" | undefined;
2245
+ timeout?: number | undefined;
2246
+ max_retries?: number | undefined;
1616
2247
  }>>;
1617
2248
  /** Whether the widget is a multi-select widget. */
1618
2249
  multi_select: z.ZodOptional<z.ZodObject<{
1619
2250
  placeholder: z.ZodOptional<z.ZodString>;
1620
2251
  chip: z.ZodOptional<z.ZodBoolean>;
1621
2252
  }, "strip", z.ZodTypeAny, {
1622
- placeholder?: string;
1623
- chip?: boolean;
2253
+ placeholder?: string | undefined;
2254
+ chip?: boolean | undefined;
1624
2255
  }, {
1625
- placeholder?: string;
1626
- chip?: boolean;
2256
+ placeholder?: string | undefined;
2257
+ chip?: boolean | undefined;
1627
2258
  }>>;
1628
2259
  }>, z.ZodTypeAny, "passthrough">>>], null>, z.ZodTuple<[z.ZodLiteral<"COMBO">, z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1629
2260
  default: z.ZodOptional<z.ZodAny>;
@@ -1652,34 +2283,34 @@ export declare class ComfyApp {
1652
2283
  timeout: z.ZodOptional<z.ZodNumber>;
1653
2284
  max_retries: z.ZodOptional<z.ZodNumber>;
1654
2285
  }, "strip", z.ZodTypeAny, {
1655
- refresh?: number;
1656
- route?: string;
1657
- response_key?: string;
1658
- query_params?: Record<string, string>;
1659
- refresh_button?: boolean;
1660
- control_after_refresh?: "first" | "last";
1661
- timeout?: number;
1662
- max_retries?: number;
2286
+ route: string;
2287
+ refresh?: number | undefined;
2288
+ response_key?: string | undefined;
2289
+ query_params?: Record<string, string> | undefined;
2290
+ refresh_button?: boolean | undefined;
2291
+ control_after_refresh?: "first" | "last" | undefined;
2292
+ timeout?: number | undefined;
2293
+ max_retries?: number | undefined;
1663
2294
  }, {
1664
- refresh?: number;
1665
- route?: string;
1666
- response_key?: string;
1667
- query_params?: Record<string, string>;
1668
- refresh_button?: boolean;
1669
- control_after_refresh?: "first" | "last";
1670
- timeout?: number;
1671
- max_retries?: number;
2295
+ route: string;
2296
+ refresh?: number | undefined;
2297
+ response_key?: string | undefined;
2298
+ query_params?: Record<string, string> | undefined;
2299
+ refresh_button?: boolean | undefined;
2300
+ control_after_refresh?: "first" | "last" | undefined;
2301
+ timeout?: number | undefined;
2302
+ max_retries?: number | undefined;
1672
2303
  }>>;
1673
2304
  /** Whether the widget is a multi-select widget. */
1674
2305
  multi_select: z.ZodOptional<z.ZodObject<{
1675
2306
  placeholder: z.ZodOptional<z.ZodString>;
1676
2307
  chip: z.ZodOptional<z.ZodBoolean>;
1677
2308
  }, "strip", z.ZodTypeAny, {
1678
- placeholder?: string;
1679
- chip?: boolean;
2309
+ placeholder?: string | undefined;
2310
+ chip?: boolean | undefined;
1680
2311
  }, {
1681
- placeholder?: string;
1682
- chip?: boolean;
2312
+ placeholder?: string | undefined;
2313
+ chip?: boolean | undefined;
1683
2314
  }>>;
1684
2315
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
1685
2316
  default: z.ZodOptional<z.ZodAny>;
@@ -1708,34 +2339,34 @@ export declare class ComfyApp {
1708
2339
  timeout: z.ZodOptional<z.ZodNumber>;
1709
2340
  max_retries: z.ZodOptional<z.ZodNumber>;
1710
2341
  }, "strip", z.ZodTypeAny, {
1711
- refresh?: number;
1712
- route?: string;
1713
- response_key?: string;
1714
- query_params?: Record<string, string>;
1715
- refresh_button?: boolean;
1716
- control_after_refresh?: "first" | "last";
1717
- timeout?: number;
1718
- max_retries?: number;
2342
+ route: string;
2343
+ refresh?: number | undefined;
2344
+ response_key?: string | undefined;
2345
+ query_params?: Record<string, string> | undefined;
2346
+ refresh_button?: boolean | undefined;
2347
+ control_after_refresh?: "first" | "last" | undefined;
2348
+ timeout?: number | undefined;
2349
+ max_retries?: number | undefined;
1719
2350
  }, {
1720
- refresh?: number;
1721
- route?: string;
1722
- response_key?: string;
1723
- query_params?: Record<string, string>;
1724
- refresh_button?: boolean;
1725
- control_after_refresh?: "first" | "last";
1726
- timeout?: number;
1727
- max_retries?: number;
2351
+ route: string;
2352
+ refresh?: number | undefined;
2353
+ response_key?: string | undefined;
2354
+ query_params?: Record<string, string> | undefined;
2355
+ refresh_button?: boolean | undefined;
2356
+ control_after_refresh?: "first" | "last" | undefined;
2357
+ timeout?: number | undefined;
2358
+ max_retries?: number | undefined;
1728
2359
  }>>;
1729
2360
  /** Whether the widget is a multi-select widget. */
1730
2361
  multi_select: z.ZodOptional<z.ZodObject<{
1731
2362
  placeholder: z.ZodOptional<z.ZodString>;
1732
2363
  chip: z.ZodOptional<z.ZodBoolean>;
1733
2364
  }, "strip", z.ZodTypeAny, {
1734
- placeholder?: string;
1735
- chip?: boolean;
2365
+ placeholder?: string | undefined;
2366
+ chip?: boolean | undefined;
1736
2367
  }, {
1737
- placeholder?: string;
1738
- chip?: boolean;
2368
+ placeholder?: string | undefined;
2369
+ chip?: boolean | undefined;
1739
2370
  }>>;
1740
2371
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
1741
2372
  default: z.ZodOptional<z.ZodAny>;
@@ -1764,34 +2395,34 @@ export declare class ComfyApp {
1764
2395
  timeout: z.ZodOptional<z.ZodNumber>;
1765
2396
  max_retries: z.ZodOptional<z.ZodNumber>;
1766
2397
  }, "strip", z.ZodTypeAny, {
1767
- refresh?: number;
1768
- route?: string;
1769
- response_key?: string;
1770
- query_params?: Record<string, string>;
1771
- refresh_button?: boolean;
1772
- control_after_refresh?: "first" | "last";
1773
- timeout?: number;
1774
- max_retries?: number;
2398
+ route: string;
2399
+ refresh?: number | undefined;
2400
+ response_key?: string | undefined;
2401
+ query_params?: Record<string, string> | undefined;
2402
+ refresh_button?: boolean | undefined;
2403
+ control_after_refresh?: "first" | "last" | undefined;
2404
+ timeout?: number | undefined;
2405
+ max_retries?: number | undefined;
1775
2406
  }, {
1776
- refresh?: number;
1777
- route?: string;
1778
- response_key?: string;
1779
- query_params?: Record<string, string>;
1780
- refresh_button?: boolean;
1781
- control_after_refresh?: "first" | "last";
1782
- timeout?: number;
1783
- max_retries?: number;
2407
+ route: string;
2408
+ refresh?: number | undefined;
2409
+ response_key?: string | undefined;
2410
+ query_params?: Record<string, string> | undefined;
2411
+ refresh_button?: boolean | undefined;
2412
+ control_after_refresh?: "first" | "last" | undefined;
2413
+ timeout?: number | undefined;
2414
+ max_retries?: number | undefined;
1784
2415
  }>>;
1785
2416
  /** Whether the widget is a multi-select widget. */
1786
2417
  multi_select: z.ZodOptional<z.ZodObject<{
1787
2418
  placeholder: z.ZodOptional<z.ZodString>;
1788
2419
  chip: z.ZodOptional<z.ZodBoolean>;
1789
2420
  }, "strip", z.ZodTypeAny, {
1790
- placeholder?: string;
1791
- chip?: boolean;
2421
+ placeholder?: string | undefined;
2422
+ chip?: boolean | undefined;
1792
2423
  }, {
1793
- placeholder?: string;
1794
- chip?: boolean;
2424
+ placeholder?: string | undefined;
2425
+ chip?: boolean | undefined;
1795
2426
  }>>;
1796
2427
  }>, z.ZodTypeAny, "passthrough">>>], null>, z.ZodTuple<[z.ZodEffects<z.ZodString, string, string>, z.ZodOptional<z.ZodObject<{
1797
2428
  default: z.ZodOptional<z.ZodAny>;
@@ -2061,34 +2692,34 @@ export declare class ComfyApp {
2061
2692
  timeout: z.ZodOptional<z.ZodNumber>;
2062
2693
  max_retries: z.ZodOptional<z.ZodNumber>;
2063
2694
  }, "strip", z.ZodTypeAny, {
2064
- refresh?: number;
2065
- route?: string;
2066
- response_key?: string;
2067
- query_params?: Record<string, string>;
2068
- refresh_button?: boolean;
2069
- control_after_refresh?: "first" | "last";
2070
- timeout?: number;
2071
- max_retries?: number;
2695
+ route: string;
2696
+ refresh?: number | undefined;
2697
+ response_key?: string | undefined;
2698
+ query_params?: Record<string, string> | undefined;
2699
+ refresh_button?: boolean | undefined;
2700
+ control_after_refresh?: "first" | "last" | undefined;
2701
+ timeout?: number | undefined;
2702
+ max_retries?: number | undefined;
2072
2703
  }, {
2073
- refresh?: number;
2074
- route?: string;
2075
- response_key?: string;
2076
- query_params?: Record<string, string>;
2077
- refresh_button?: boolean;
2078
- control_after_refresh?: "first" | "last";
2079
- timeout?: number;
2080
- max_retries?: number;
2704
+ route: string;
2705
+ refresh?: number | undefined;
2706
+ response_key?: string | undefined;
2707
+ query_params?: Record<string, string> | undefined;
2708
+ refresh_button?: boolean | undefined;
2709
+ control_after_refresh?: "first" | "last" | undefined;
2710
+ timeout?: number | undefined;
2711
+ max_retries?: number | undefined;
2081
2712
  }>>;
2082
2713
  /** Whether the widget is a multi-select widget. */
2083
2714
  multi_select: z.ZodOptional<z.ZodObject<{
2084
2715
  placeholder: z.ZodOptional<z.ZodString>;
2085
2716
  chip: z.ZodOptional<z.ZodBoolean>;
2086
2717
  }, "strip", z.ZodTypeAny, {
2087
- placeholder?: string;
2088
- chip?: boolean;
2718
+ placeholder?: string | undefined;
2719
+ chip?: boolean | undefined;
2089
2720
  }, {
2090
- placeholder?: string;
2091
- chip?: boolean;
2721
+ placeholder?: string | undefined;
2722
+ chip?: boolean | undefined;
2092
2723
  }>>;
2093
2724
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
2094
2725
  default: z.ZodOptional<z.ZodAny>;
@@ -2117,34 +2748,34 @@ export declare class ComfyApp {
2117
2748
  timeout: z.ZodOptional<z.ZodNumber>;
2118
2749
  max_retries: z.ZodOptional<z.ZodNumber>;
2119
2750
  }, "strip", z.ZodTypeAny, {
2120
- refresh?: number;
2121
- route?: string;
2122
- response_key?: string;
2123
- query_params?: Record<string, string>;
2124
- refresh_button?: boolean;
2125
- control_after_refresh?: "first" | "last";
2126
- timeout?: number;
2127
- max_retries?: number;
2751
+ route: string;
2752
+ refresh?: number | undefined;
2753
+ response_key?: string | undefined;
2754
+ query_params?: Record<string, string> | undefined;
2755
+ refresh_button?: boolean | undefined;
2756
+ control_after_refresh?: "first" | "last" | undefined;
2757
+ timeout?: number | undefined;
2758
+ max_retries?: number | undefined;
2128
2759
  }, {
2129
- refresh?: number;
2130
- route?: string;
2131
- response_key?: string;
2132
- query_params?: Record<string, string>;
2133
- refresh_button?: boolean;
2134
- control_after_refresh?: "first" | "last";
2135
- timeout?: number;
2136
- max_retries?: number;
2760
+ route: string;
2761
+ refresh?: number | undefined;
2762
+ response_key?: string | undefined;
2763
+ query_params?: Record<string, string> | undefined;
2764
+ refresh_button?: boolean | undefined;
2765
+ control_after_refresh?: "first" | "last" | undefined;
2766
+ timeout?: number | undefined;
2767
+ max_retries?: number | undefined;
2137
2768
  }>>;
2138
2769
  /** Whether the widget is a multi-select widget. */
2139
2770
  multi_select: z.ZodOptional<z.ZodObject<{
2140
2771
  placeholder: z.ZodOptional<z.ZodString>;
2141
2772
  chip: z.ZodOptional<z.ZodBoolean>;
2142
2773
  }, "strip", z.ZodTypeAny, {
2143
- placeholder?: string;
2144
- chip?: boolean;
2774
+ placeholder?: string | undefined;
2775
+ chip?: boolean | undefined;
2145
2776
  }, {
2146
- placeholder?: string;
2147
- chip?: boolean;
2777
+ placeholder?: string | undefined;
2778
+ chip?: boolean | undefined;
2148
2779
  }>>;
2149
2780
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
2150
2781
  default: z.ZodOptional<z.ZodAny>;
@@ -2173,34 +2804,34 @@ export declare class ComfyApp {
2173
2804
  timeout: z.ZodOptional<z.ZodNumber>;
2174
2805
  max_retries: z.ZodOptional<z.ZodNumber>;
2175
2806
  }, "strip", z.ZodTypeAny, {
2176
- refresh?: number;
2177
- route?: string;
2178
- response_key?: string;
2179
- query_params?: Record<string, string>;
2180
- refresh_button?: boolean;
2181
- control_after_refresh?: "first" | "last";
2182
- timeout?: number;
2183
- max_retries?: number;
2807
+ route: string;
2808
+ refresh?: number | undefined;
2809
+ response_key?: string | undefined;
2810
+ query_params?: Record<string, string> | undefined;
2811
+ refresh_button?: boolean | undefined;
2812
+ control_after_refresh?: "first" | "last" | undefined;
2813
+ timeout?: number | undefined;
2814
+ max_retries?: number | undefined;
2184
2815
  }, {
2185
- refresh?: number;
2186
- route?: string;
2187
- response_key?: string;
2188
- query_params?: Record<string, string>;
2189
- refresh_button?: boolean;
2190
- control_after_refresh?: "first" | "last";
2191
- timeout?: number;
2192
- max_retries?: number;
2816
+ route: string;
2817
+ refresh?: number | undefined;
2818
+ response_key?: string | undefined;
2819
+ query_params?: Record<string, string> | undefined;
2820
+ refresh_button?: boolean | undefined;
2821
+ control_after_refresh?: "first" | "last" | undefined;
2822
+ timeout?: number | undefined;
2823
+ max_retries?: number | undefined;
2193
2824
  }>>;
2194
2825
  /** Whether the widget is a multi-select widget. */
2195
2826
  multi_select: z.ZodOptional<z.ZodObject<{
2196
2827
  placeholder: z.ZodOptional<z.ZodString>;
2197
2828
  chip: z.ZodOptional<z.ZodBoolean>;
2198
2829
  }, "strip", z.ZodTypeAny, {
2199
- placeholder?: string;
2200
- chip?: boolean;
2830
+ placeholder?: string | undefined;
2831
+ chip?: boolean | undefined;
2201
2832
  }, {
2202
- placeholder?: string;
2203
- chip?: boolean;
2833
+ placeholder?: string | undefined;
2834
+ chip?: boolean | undefined;
2204
2835
  }>>;
2205
2836
  }>, z.ZodTypeAny, "passthrough">>>], null>, z.ZodTuple<[z.ZodLiteral<"COMBO">, z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
2206
2837
  default: z.ZodOptional<z.ZodAny>;
@@ -2229,34 +2860,34 @@ export declare class ComfyApp {
2229
2860
  timeout: z.ZodOptional<z.ZodNumber>;
2230
2861
  max_retries: z.ZodOptional<z.ZodNumber>;
2231
2862
  }, "strip", z.ZodTypeAny, {
2232
- refresh?: number;
2233
- route?: string;
2234
- response_key?: string;
2235
- query_params?: Record<string, string>;
2236
- refresh_button?: boolean;
2237
- control_after_refresh?: "first" | "last";
2238
- timeout?: number;
2239
- max_retries?: number;
2863
+ route: string;
2864
+ refresh?: number | undefined;
2865
+ response_key?: string | undefined;
2866
+ query_params?: Record<string, string> | undefined;
2867
+ refresh_button?: boolean | undefined;
2868
+ control_after_refresh?: "first" | "last" | undefined;
2869
+ timeout?: number | undefined;
2870
+ max_retries?: number | undefined;
2240
2871
  }, {
2241
- refresh?: number;
2242
- route?: string;
2243
- response_key?: string;
2244
- query_params?: Record<string, string>;
2245
- refresh_button?: boolean;
2246
- control_after_refresh?: "first" | "last";
2247
- timeout?: number;
2248
- max_retries?: number;
2872
+ route: string;
2873
+ refresh?: number | undefined;
2874
+ response_key?: string | undefined;
2875
+ query_params?: Record<string, string> | undefined;
2876
+ refresh_button?: boolean | undefined;
2877
+ control_after_refresh?: "first" | "last" | undefined;
2878
+ timeout?: number | undefined;
2879
+ max_retries?: number | undefined;
2249
2880
  }>>;
2250
2881
  /** Whether the widget is a multi-select widget. */
2251
2882
  multi_select: z.ZodOptional<z.ZodObject<{
2252
2883
  placeholder: z.ZodOptional<z.ZodString>;
2253
2884
  chip: z.ZodOptional<z.ZodBoolean>;
2254
2885
  }, "strip", z.ZodTypeAny, {
2255
- placeholder?: string;
2256
- chip?: boolean;
2886
+ placeholder?: string | undefined;
2887
+ chip?: boolean | undefined;
2257
2888
  }, {
2258
- placeholder?: string;
2259
- chip?: boolean;
2889
+ placeholder?: string | undefined;
2890
+ chip?: boolean | undefined;
2260
2891
  }>>;
2261
2892
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
2262
2893
  default: z.ZodOptional<z.ZodAny>;
@@ -2285,34 +2916,34 @@ export declare class ComfyApp {
2285
2916
  timeout: z.ZodOptional<z.ZodNumber>;
2286
2917
  max_retries: z.ZodOptional<z.ZodNumber>;
2287
2918
  }, "strip", z.ZodTypeAny, {
2288
- refresh?: number;
2289
- route?: string;
2290
- response_key?: string;
2291
- query_params?: Record<string, string>;
2292
- refresh_button?: boolean;
2293
- control_after_refresh?: "first" | "last";
2294
- timeout?: number;
2295
- max_retries?: number;
2919
+ route: string;
2920
+ refresh?: number | undefined;
2921
+ response_key?: string | undefined;
2922
+ query_params?: Record<string, string> | undefined;
2923
+ refresh_button?: boolean | undefined;
2924
+ control_after_refresh?: "first" | "last" | undefined;
2925
+ timeout?: number | undefined;
2926
+ max_retries?: number | undefined;
2296
2927
  }, {
2297
- refresh?: number;
2298
- route?: string;
2299
- response_key?: string;
2300
- query_params?: Record<string, string>;
2301
- refresh_button?: boolean;
2302
- control_after_refresh?: "first" | "last";
2303
- timeout?: number;
2304
- max_retries?: number;
2928
+ route: string;
2929
+ refresh?: number | undefined;
2930
+ response_key?: string | undefined;
2931
+ query_params?: Record<string, string> | undefined;
2932
+ refresh_button?: boolean | undefined;
2933
+ control_after_refresh?: "first" | "last" | undefined;
2934
+ timeout?: number | undefined;
2935
+ max_retries?: number | undefined;
2305
2936
  }>>;
2306
2937
  /** Whether the widget is a multi-select widget. */
2307
2938
  multi_select: z.ZodOptional<z.ZodObject<{
2308
2939
  placeholder: z.ZodOptional<z.ZodString>;
2309
2940
  chip: z.ZodOptional<z.ZodBoolean>;
2310
2941
  }, "strip", z.ZodTypeAny, {
2311
- placeholder?: string;
2312
- chip?: boolean;
2942
+ placeholder?: string | undefined;
2943
+ chip?: boolean | undefined;
2313
2944
  }, {
2314
- placeholder?: string;
2315
- chip?: boolean;
2945
+ placeholder?: string | undefined;
2946
+ chip?: boolean | undefined;
2316
2947
  }>>;
2317
2948
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
2318
2949
  default: z.ZodOptional<z.ZodAny>;
@@ -2341,34 +2972,34 @@ export declare class ComfyApp {
2341
2972
  timeout: z.ZodOptional<z.ZodNumber>;
2342
2973
  max_retries: z.ZodOptional<z.ZodNumber>;
2343
2974
  }, "strip", z.ZodTypeAny, {
2344
- refresh?: number;
2345
- route?: string;
2346
- response_key?: string;
2347
- query_params?: Record<string, string>;
2348
- refresh_button?: boolean;
2349
- control_after_refresh?: "first" | "last";
2350
- timeout?: number;
2351
- max_retries?: number;
2975
+ route: string;
2976
+ refresh?: number | undefined;
2977
+ response_key?: string | undefined;
2978
+ query_params?: Record<string, string> | undefined;
2979
+ refresh_button?: boolean | undefined;
2980
+ control_after_refresh?: "first" | "last" | undefined;
2981
+ timeout?: number | undefined;
2982
+ max_retries?: number | undefined;
2352
2983
  }, {
2353
- refresh?: number;
2354
- route?: string;
2355
- response_key?: string;
2356
- query_params?: Record<string, string>;
2357
- refresh_button?: boolean;
2358
- control_after_refresh?: "first" | "last";
2359
- timeout?: number;
2360
- max_retries?: number;
2984
+ route: string;
2985
+ refresh?: number | undefined;
2986
+ response_key?: string | undefined;
2987
+ query_params?: Record<string, string> | undefined;
2988
+ refresh_button?: boolean | undefined;
2989
+ control_after_refresh?: "first" | "last" | undefined;
2990
+ timeout?: number | undefined;
2991
+ max_retries?: number | undefined;
2361
2992
  }>>;
2362
2993
  /** Whether the widget is a multi-select widget. */
2363
2994
  multi_select: z.ZodOptional<z.ZodObject<{
2364
2995
  placeholder: z.ZodOptional<z.ZodString>;
2365
2996
  chip: z.ZodOptional<z.ZodBoolean>;
2366
2997
  }, "strip", z.ZodTypeAny, {
2367
- placeholder?: string;
2368
- chip?: boolean;
2998
+ placeholder?: string | undefined;
2999
+ chip?: boolean | undefined;
2369
3000
  }, {
2370
- placeholder?: string;
2371
- chip?: boolean;
3001
+ placeholder?: string | undefined;
3002
+ chip?: boolean | undefined;
2372
3003
  }>>;
2373
3004
  }>, z.ZodTypeAny, "passthrough">>>], null>, z.ZodTuple<[z.ZodEffects<z.ZodString, string, string>, z.ZodOptional<z.ZodObject<{
2374
3005
  default: z.ZodOptional<z.ZodAny>;
@@ -2425,7 +3056,7 @@ export declare class ComfyApp {
2425
3056
  * of `control_after_generate`.
2426
3057
  */
2427
3058
  control_after_generate: z.ZodOptional<z.ZodBoolean>;
2428
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3059
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2429
3060
  default: z.ZodOptional<z.ZodAny>;
2430
3061
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2431
3062
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2443,7 +3074,7 @@ export declare class ComfyApp {
2443
3074
  display: z.ZodOptional<z.ZodEnum<["slider", "number", "knob"]>>;
2444
3075
  }>, {
2445
3076
  round: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>;
2446
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["BOOLEAN", z.objectOutputType<z.objectUtil.extendShape<{
3077
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["BOOLEAN", z.objectOutputType<z.objectUtil.extendShape<{
2447
3078
  default: z.ZodOptional<z.ZodAny>;
2448
3079
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2449
3080
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2457,7 +3088,7 @@ export declare class ComfyApp {
2457
3088
  label_on: z.ZodOptional<z.ZodString>;
2458
3089
  label_off: z.ZodOptional<z.ZodString>;
2459
3090
  default: z.ZodOptional<z.ZodBoolean>;
2460
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["STRING", z.objectOutputType<z.objectUtil.extendShape<{
3091
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["STRING", z.objectOutputType<z.objectUtil.extendShape<{
2461
3092
  default: z.ZodOptional<z.ZodAny>;
2462
3093
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2463
3094
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2473,7 +3104,7 @@ export declare class ComfyApp {
2473
3104
  dynamicPrompts: z.ZodOptional<z.ZodBoolean>;
2474
3105
  defaultVal: z.ZodOptional<z.ZodString>;
2475
3106
  placeholder: z.ZodOptional<z.ZodString>;
2476
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [(string | number)[], z.objectOutputType<z.objectUtil.extendShape<{
3107
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [(string | number)[], z.objectOutputType<z.objectUtil.extendShape<{
2477
3108
  default: z.ZodOptional<z.ZodAny>;
2478
3109
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2479
3110
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2500,36 +3131,36 @@ export declare class ComfyApp {
2500
3131
  timeout: z.ZodOptional<z.ZodNumber>;
2501
3132
  max_retries: z.ZodOptional<z.ZodNumber>;
2502
3133
  }, "strip", z.ZodTypeAny, {
2503
- refresh?: number;
2504
- route?: string;
2505
- response_key?: string;
2506
- query_params?: Record<string, string>;
2507
- refresh_button?: boolean;
2508
- control_after_refresh?: "first" | "last";
2509
- timeout?: number;
2510
- max_retries?: number;
3134
+ route: string;
3135
+ refresh?: number | undefined;
3136
+ response_key?: string | undefined;
3137
+ query_params?: Record<string, string> | undefined;
3138
+ refresh_button?: boolean | undefined;
3139
+ control_after_refresh?: "first" | "last" | undefined;
3140
+ timeout?: number | undefined;
3141
+ max_retries?: number | undefined;
2511
3142
  }, {
2512
- refresh?: number;
2513
- route?: string;
2514
- response_key?: string;
2515
- query_params?: Record<string, string>;
2516
- refresh_button?: boolean;
2517
- control_after_refresh?: "first" | "last";
2518
- timeout?: number;
2519
- max_retries?: number;
3143
+ route: string;
3144
+ refresh?: number | undefined;
3145
+ response_key?: string | undefined;
3146
+ query_params?: Record<string, string> | undefined;
3147
+ refresh_button?: boolean | undefined;
3148
+ control_after_refresh?: "first" | "last" | undefined;
3149
+ timeout?: number | undefined;
3150
+ max_retries?: number | undefined;
2520
3151
  }>>;
2521
3152
  /** Whether the widget is a multi-select widget. */
2522
3153
  multi_select: z.ZodOptional<z.ZodObject<{
2523
3154
  placeholder: z.ZodOptional<z.ZodString>;
2524
3155
  chip: z.ZodOptional<z.ZodBoolean>;
2525
3156
  }, "strip", z.ZodTypeAny, {
2526
- placeholder?: string;
2527
- chip?: boolean;
3157
+ placeholder?: string | undefined;
3158
+ chip?: boolean | undefined;
2528
3159
  }, {
2529
- placeholder?: string;
2530
- chip?: boolean;
3160
+ placeholder?: string | undefined;
3161
+ chip?: boolean | undefined;
2531
3162
  }>>;
2532
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
3163
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
2533
3164
  default: z.ZodOptional<z.ZodAny>;
2534
3165
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2535
3166
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2556,36 +3187,36 @@ export declare class ComfyApp {
2556
3187
  timeout: z.ZodOptional<z.ZodNumber>;
2557
3188
  max_retries: z.ZodOptional<z.ZodNumber>;
2558
3189
  }, "strip", z.ZodTypeAny, {
2559
- refresh?: number;
2560
- route?: string;
2561
- response_key?: string;
2562
- query_params?: Record<string, string>;
2563
- refresh_button?: boolean;
2564
- control_after_refresh?: "first" | "last";
2565
- timeout?: number;
2566
- max_retries?: number;
3190
+ route: string;
3191
+ refresh?: number | undefined;
3192
+ response_key?: string | undefined;
3193
+ query_params?: Record<string, string> | undefined;
3194
+ refresh_button?: boolean | undefined;
3195
+ control_after_refresh?: "first" | "last" | undefined;
3196
+ timeout?: number | undefined;
3197
+ max_retries?: number | undefined;
2567
3198
  }, {
2568
- refresh?: number;
2569
- route?: string;
2570
- response_key?: string;
2571
- query_params?: Record<string, string>;
2572
- refresh_button?: boolean;
2573
- control_after_refresh?: "first" | "last";
2574
- timeout?: number;
2575
- max_retries?: number;
3199
+ route: string;
3200
+ refresh?: number | undefined;
3201
+ response_key?: string | undefined;
3202
+ query_params?: Record<string, string> | undefined;
3203
+ refresh_button?: boolean | undefined;
3204
+ control_after_refresh?: "first" | "last" | undefined;
3205
+ timeout?: number | undefined;
3206
+ max_retries?: number | undefined;
2576
3207
  }>>;
2577
3208
  /** Whether the widget is a multi-select widget. */
2578
3209
  multi_select: z.ZodOptional<z.ZodObject<{
2579
3210
  placeholder: z.ZodOptional<z.ZodString>;
2580
3211
  chip: z.ZodOptional<z.ZodBoolean>;
2581
3212
  }, "strip", z.ZodTypeAny, {
2582
- placeholder?: string;
2583
- chip?: boolean;
3213
+ placeholder?: string | undefined;
3214
+ chip?: boolean | undefined;
2584
3215
  }, {
2585
- placeholder?: string;
2586
- chip?: boolean;
3216
+ placeholder?: string | undefined;
3217
+ chip?: boolean | undefined;
2587
3218
  }>>;
2588
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, z.objectOutputType<{
3219
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [string, z.objectOutputType<{
2589
3220
  default: z.ZodOptional<z.ZodAny>;
2590
3221
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2591
3222
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2595,8 +3226,8 @@ export declare class ComfyApp {
2595
3226
  /** Backend-only properties. */
2596
3227
  rawLink: z.ZodOptional<z.ZodBoolean>;
2597
3228
  lazy: z.ZodOptional<z.ZodBoolean>;
2598
- }, z.ZodTypeAny, "passthrough">, ...unknown[]]>;
2599
- hidden?: Record<string, any>;
3229
+ }, z.ZodTypeAny, "passthrough"> | undefined]> | undefined;
3230
+ hidden?: Record<string, any> | undefined;
2600
3231
  optional?: Record<string, ["INT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2601
3232
  default: z.ZodOptional<z.ZodAny>;
2602
3233
  defaultInput: z.ZodOptional<z.ZodBoolean>;
@@ -2619,7 +3250,7 @@ export declare class ComfyApp {
2619
3250
  * of `control_after_generate`.
2620
3251
  */
2621
3252
  control_after_generate: z.ZodOptional<z.ZodBoolean>;
2622
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3253
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2623
3254
  default: z.ZodOptional<z.ZodAny>;
2624
3255
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2625
3256
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2637,7 +3268,7 @@ export declare class ComfyApp {
2637
3268
  display: z.ZodOptional<z.ZodEnum<["slider", "number", "knob"]>>;
2638
3269
  }>, {
2639
3270
  round: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>;
2640
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["BOOLEAN", z.objectOutputType<z.objectUtil.extendShape<{
3271
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["BOOLEAN", z.objectOutputType<z.objectUtil.extendShape<{
2641
3272
  default: z.ZodOptional<z.ZodAny>;
2642
3273
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2643
3274
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2651,7 +3282,7 @@ export declare class ComfyApp {
2651
3282
  label_on: z.ZodOptional<z.ZodString>;
2652
3283
  label_off: z.ZodOptional<z.ZodString>;
2653
3284
  default: z.ZodOptional<z.ZodBoolean>;
2654
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["STRING", z.objectOutputType<z.objectUtil.extendShape<{
3285
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["STRING", z.objectOutputType<z.objectUtil.extendShape<{
2655
3286
  default: z.ZodOptional<z.ZodAny>;
2656
3287
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2657
3288
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2667,7 +3298,7 @@ export declare class ComfyApp {
2667
3298
  dynamicPrompts: z.ZodOptional<z.ZodBoolean>;
2668
3299
  defaultVal: z.ZodOptional<z.ZodString>;
2669
3300
  placeholder: z.ZodOptional<z.ZodString>;
2670
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [(string | number)[], z.objectOutputType<z.objectUtil.extendShape<{
3301
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [(string | number)[], z.objectOutputType<z.objectUtil.extendShape<{
2671
3302
  default: z.ZodOptional<z.ZodAny>;
2672
3303
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2673
3304
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2694,36 +3325,36 @@ export declare class ComfyApp {
2694
3325
  timeout: z.ZodOptional<z.ZodNumber>;
2695
3326
  max_retries: z.ZodOptional<z.ZodNumber>;
2696
3327
  }, "strip", z.ZodTypeAny, {
2697
- refresh?: number;
2698
- route?: string;
2699
- response_key?: string;
2700
- query_params?: Record<string, string>;
2701
- refresh_button?: boolean;
2702
- control_after_refresh?: "first" | "last";
2703
- timeout?: number;
2704
- max_retries?: number;
3328
+ route: string;
3329
+ refresh?: number | undefined;
3330
+ response_key?: string | undefined;
3331
+ query_params?: Record<string, string> | undefined;
3332
+ refresh_button?: boolean | undefined;
3333
+ control_after_refresh?: "first" | "last" | undefined;
3334
+ timeout?: number | undefined;
3335
+ max_retries?: number | undefined;
2705
3336
  }, {
2706
- refresh?: number;
2707
- route?: string;
2708
- response_key?: string;
2709
- query_params?: Record<string, string>;
2710
- refresh_button?: boolean;
2711
- control_after_refresh?: "first" | "last";
2712
- timeout?: number;
2713
- max_retries?: number;
3337
+ route: string;
3338
+ refresh?: number | undefined;
3339
+ response_key?: string | undefined;
3340
+ query_params?: Record<string, string> | undefined;
3341
+ refresh_button?: boolean | undefined;
3342
+ control_after_refresh?: "first" | "last" | undefined;
3343
+ timeout?: number | undefined;
3344
+ max_retries?: number | undefined;
2714
3345
  }>>;
2715
3346
  /** Whether the widget is a multi-select widget. */
2716
3347
  multi_select: z.ZodOptional<z.ZodObject<{
2717
3348
  placeholder: z.ZodOptional<z.ZodString>;
2718
3349
  chip: z.ZodOptional<z.ZodBoolean>;
2719
3350
  }, "strip", z.ZodTypeAny, {
2720
- placeholder?: string;
2721
- chip?: boolean;
3351
+ placeholder?: string | undefined;
3352
+ chip?: boolean | undefined;
2722
3353
  }, {
2723
- placeholder?: string;
2724
- chip?: boolean;
3354
+ placeholder?: string | undefined;
3355
+ chip?: boolean | undefined;
2725
3356
  }>>;
2726
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
3357
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
2727
3358
  default: z.ZodOptional<z.ZodAny>;
2728
3359
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2729
3360
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2750,36 +3381,36 @@ export declare class ComfyApp {
2750
3381
  timeout: z.ZodOptional<z.ZodNumber>;
2751
3382
  max_retries: z.ZodOptional<z.ZodNumber>;
2752
3383
  }, "strip", z.ZodTypeAny, {
2753
- refresh?: number;
2754
- route?: string;
2755
- response_key?: string;
2756
- query_params?: Record<string, string>;
2757
- refresh_button?: boolean;
2758
- control_after_refresh?: "first" | "last";
2759
- timeout?: number;
2760
- max_retries?: number;
3384
+ route: string;
3385
+ refresh?: number | undefined;
3386
+ response_key?: string | undefined;
3387
+ query_params?: Record<string, string> | undefined;
3388
+ refresh_button?: boolean | undefined;
3389
+ control_after_refresh?: "first" | "last" | undefined;
3390
+ timeout?: number | undefined;
3391
+ max_retries?: number | undefined;
2761
3392
  }, {
2762
- refresh?: number;
2763
- route?: string;
2764
- response_key?: string;
2765
- query_params?: Record<string, string>;
2766
- refresh_button?: boolean;
2767
- control_after_refresh?: "first" | "last";
2768
- timeout?: number;
2769
- max_retries?: number;
3393
+ route: string;
3394
+ refresh?: number | undefined;
3395
+ response_key?: string | undefined;
3396
+ query_params?: Record<string, string> | undefined;
3397
+ refresh_button?: boolean | undefined;
3398
+ control_after_refresh?: "first" | "last" | undefined;
3399
+ timeout?: number | undefined;
3400
+ max_retries?: number | undefined;
2770
3401
  }>>;
2771
3402
  /** Whether the widget is a multi-select widget. */
2772
3403
  multi_select: z.ZodOptional<z.ZodObject<{
2773
3404
  placeholder: z.ZodOptional<z.ZodString>;
2774
3405
  chip: z.ZodOptional<z.ZodBoolean>;
2775
3406
  }, "strip", z.ZodTypeAny, {
2776
- placeholder?: string;
2777
- chip?: boolean;
3407
+ placeholder?: string | undefined;
3408
+ chip?: boolean | undefined;
2778
3409
  }, {
2779
- placeholder?: string;
2780
- chip?: boolean;
3410
+ placeholder?: string | undefined;
3411
+ chip?: boolean | undefined;
2781
3412
  }>>;
2782
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, z.objectOutputType<{
3413
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [string, z.objectOutputType<{
2783
3414
  default: z.ZodOptional<z.ZodAny>;
2784
3415
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2785
3416
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2789,7 +3420,7 @@ export declare class ComfyApp {
2789
3420
  /** Backend-only properties. */
2790
3421
  rawLink: z.ZodOptional<z.ZodBoolean>;
2791
3422
  lazy: z.ZodOptional<z.ZodBoolean>;
2792
- }, z.ZodTypeAny, "passthrough">, ...unknown[]]>;
3423
+ }, z.ZodTypeAny, "passthrough"> | undefined]> | undefined;
2793
3424
  }, {
2794
3425
  required?: Record<string, ["INT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2795
3426
  default: z.ZodOptional<z.ZodAny>;
@@ -2813,7 +3444,7 @@ export declare class ComfyApp {
2813
3444
  * of `control_after_generate`.
2814
3445
  */
2815
3446
  control_after_generate: z.ZodOptional<z.ZodBoolean>;
2816
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3447
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2817
3448
  default: z.ZodOptional<z.ZodAny>;
2818
3449
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2819
3450
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2831,7 +3462,7 @@ export declare class ComfyApp {
2831
3462
  display: z.ZodOptional<z.ZodEnum<["slider", "number", "knob"]>>;
2832
3463
  }>, {
2833
3464
  round: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>;
2834
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["BOOLEAN", z.objectInputType<z.objectUtil.extendShape<{
3465
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["BOOLEAN", z.objectInputType<z.objectUtil.extendShape<{
2835
3466
  default: z.ZodOptional<z.ZodAny>;
2836
3467
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2837
3468
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2845,7 +3476,7 @@ export declare class ComfyApp {
2845
3476
  label_on: z.ZodOptional<z.ZodString>;
2846
3477
  label_off: z.ZodOptional<z.ZodString>;
2847
3478
  default: z.ZodOptional<z.ZodBoolean>;
2848
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["STRING", z.objectInputType<z.objectUtil.extendShape<{
3479
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["STRING", z.objectInputType<z.objectUtil.extendShape<{
2849
3480
  default: z.ZodOptional<z.ZodAny>;
2850
3481
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2851
3482
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2861,7 +3492,7 @@ export declare class ComfyApp {
2861
3492
  dynamicPrompts: z.ZodOptional<z.ZodBoolean>;
2862
3493
  defaultVal: z.ZodOptional<z.ZodString>;
2863
3494
  placeholder: z.ZodOptional<z.ZodString>;
2864
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [(string | number)[], z.objectInputType<z.objectUtil.extendShape<{
3495
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [(string | number)[], z.objectInputType<z.objectUtil.extendShape<{
2865
3496
  default: z.ZodOptional<z.ZodAny>;
2866
3497
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2867
3498
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2888,36 +3519,36 @@ export declare class ComfyApp {
2888
3519
  timeout: z.ZodOptional<z.ZodNumber>;
2889
3520
  max_retries: z.ZodOptional<z.ZodNumber>;
2890
3521
  }, "strip", z.ZodTypeAny, {
2891
- refresh?: number;
2892
- route?: string;
2893
- response_key?: string;
2894
- query_params?: Record<string, string>;
2895
- refresh_button?: boolean;
2896
- control_after_refresh?: "first" | "last";
2897
- timeout?: number;
2898
- max_retries?: number;
3522
+ route: string;
3523
+ refresh?: number | undefined;
3524
+ response_key?: string | undefined;
3525
+ query_params?: Record<string, string> | undefined;
3526
+ refresh_button?: boolean | undefined;
3527
+ control_after_refresh?: "first" | "last" | undefined;
3528
+ timeout?: number | undefined;
3529
+ max_retries?: number | undefined;
2899
3530
  }, {
2900
- refresh?: number;
2901
- route?: string;
2902
- response_key?: string;
2903
- query_params?: Record<string, string>;
2904
- refresh_button?: boolean;
2905
- control_after_refresh?: "first" | "last";
2906
- timeout?: number;
2907
- max_retries?: number;
3531
+ route: string;
3532
+ refresh?: number | undefined;
3533
+ response_key?: string | undefined;
3534
+ query_params?: Record<string, string> | undefined;
3535
+ refresh_button?: boolean | undefined;
3536
+ control_after_refresh?: "first" | "last" | undefined;
3537
+ timeout?: number | undefined;
3538
+ max_retries?: number | undefined;
2908
3539
  }>>;
2909
3540
  /** Whether the widget is a multi-select widget. */
2910
3541
  multi_select: z.ZodOptional<z.ZodObject<{
2911
3542
  placeholder: z.ZodOptional<z.ZodString>;
2912
3543
  chip: z.ZodOptional<z.ZodBoolean>;
2913
3544
  }, "strip", z.ZodTypeAny, {
2914
- placeholder?: string;
2915
- chip?: boolean;
3545
+ placeholder?: string | undefined;
3546
+ chip?: boolean | undefined;
2916
3547
  }, {
2917
- placeholder?: string;
2918
- chip?: boolean;
3548
+ placeholder?: string | undefined;
3549
+ chip?: boolean | undefined;
2919
3550
  }>>;
2920
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
3551
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
2921
3552
  default: z.ZodOptional<z.ZodAny>;
2922
3553
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2923
3554
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2944,36 +3575,36 @@ export declare class ComfyApp {
2944
3575
  timeout: z.ZodOptional<z.ZodNumber>;
2945
3576
  max_retries: z.ZodOptional<z.ZodNumber>;
2946
3577
  }, "strip", z.ZodTypeAny, {
2947
- refresh?: number;
2948
- route?: string;
2949
- response_key?: string;
2950
- query_params?: Record<string, string>;
2951
- refresh_button?: boolean;
2952
- control_after_refresh?: "first" | "last";
2953
- timeout?: number;
2954
- max_retries?: number;
3578
+ route: string;
3579
+ refresh?: number | undefined;
3580
+ response_key?: string | undefined;
3581
+ query_params?: Record<string, string> | undefined;
3582
+ refresh_button?: boolean | undefined;
3583
+ control_after_refresh?: "first" | "last" | undefined;
3584
+ timeout?: number | undefined;
3585
+ max_retries?: number | undefined;
2955
3586
  }, {
2956
- refresh?: number;
2957
- route?: string;
2958
- response_key?: string;
2959
- query_params?: Record<string, string>;
2960
- refresh_button?: boolean;
2961
- control_after_refresh?: "first" | "last";
2962
- timeout?: number;
2963
- max_retries?: number;
3587
+ route: string;
3588
+ refresh?: number | undefined;
3589
+ response_key?: string | undefined;
3590
+ query_params?: Record<string, string> | undefined;
3591
+ refresh_button?: boolean | undefined;
3592
+ control_after_refresh?: "first" | "last" | undefined;
3593
+ timeout?: number | undefined;
3594
+ max_retries?: number | undefined;
2964
3595
  }>>;
2965
3596
  /** Whether the widget is a multi-select widget. */
2966
3597
  multi_select: z.ZodOptional<z.ZodObject<{
2967
3598
  placeholder: z.ZodOptional<z.ZodString>;
2968
3599
  chip: z.ZodOptional<z.ZodBoolean>;
2969
3600
  }, "strip", z.ZodTypeAny, {
2970
- placeholder?: string;
2971
- chip?: boolean;
3601
+ placeholder?: string | undefined;
3602
+ chip?: boolean | undefined;
2972
3603
  }, {
2973
- placeholder?: string;
2974
- chip?: boolean;
3604
+ placeholder?: string | undefined;
3605
+ chip?: boolean | undefined;
2975
3606
  }>>;
2976
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, z.objectInputType<{
3607
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [string, z.objectInputType<{
2977
3608
  default: z.ZodOptional<z.ZodAny>;
2978
3609
  defaultInput: z.ZodOptional<z.ZodBoolean>;
2979
3610
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -2983,8 +3614,8 @@ export declare class ComfyApp {
2983
3614
  /** Backend-only properties. */
2984
3615
  rawLink: z.ZodOptional<z.ZodBoolean>;
2985
3616
  lazy: z.ZodOptional<z.ZodBoolean>;
2986
- }, z.ZodTypeAny, "passthrough">, ...unknown[]]>;
2987
- hidden?: Record<string, any>;
3617
+ }, z.ZodTypeAny, "passthrough"> | undefined]> | undefined;
3618
+ hidden?: Record<string, any> | undefined;
2988
3619
  optional?: Record<string, ["INT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2989
3620
  default: z.ZodOptional<z.ZodAny>;
2990
3621
  defaultInput: z.ZodOptional<z.ZodBoolean>;
@@ -3007,7 +3638,7 @@ export declare class ComfyApp {
3007
3638
  * of `control_after_generate`.
3008
3639
  */
3009
3640
  control_after_generate: z.ZodOptional<z.ZodBoolean>;
3010
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3641
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3011
3642
  default: z.ZodOptional<z.ZodAny>;
3012
3643
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3013
3644
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3025,7 +3656,7 @@ export declare class ComfyApp {
3025
3656
  display: z.ZodOptional<z.ZodEnum<["slider", "number", "knob"]>>;
3026
3657
  }>, {
3027
3658
  round: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>;
3028
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["BOOLEAN", z.objectInputType<z.objectUtil.extendShape<{
3659
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["BOOLEAN", z.objectInputType<z.objectUtil.extendShape<{
3029
3660
  default: z.ZodOptional<z.ZodAny>;
3030
3661
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3031
3662
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3039,7 +3670,7 @@ export declare class ComfyApp {
3039
3670
  label_on: z.ZodOptional<z.ZodString>;
3040
3671
  label_off: z.ZodOptional<z.ZodString>;
3041
3672
  default: z.ZodOptional<z.ZodBoolean>;
3042
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["STRING", z.objectInputType<z.objectUtil.extendShape<{
3673
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["STRING", z.objectInputType<z.objectUtil.extendShape<{
3043
3674
  default: z.ZodOptional<z.ZodAny>;
3044
3675
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3045
3676
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3055,7 +3686,7 @@ export declare class ComfyApp {
3055
3686
  dynamicPrompts: z.ZodOptional<z.ZodBoolean>;
3056
3687
  defaultVal: z.ZodOptional<z.ZodString>;
3057
3688
  placeholder: z.ZodOptional<z.ZodString>;
3058
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [(string | number)[], z.objectInputType<z.objectUtil.extendShape<{
3689
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [(string | number)[], z.objectInputType<z.objectUtil.extendShape<{
3059
3690
  default: z.ZodOptional<z.ZodAny>;
3060
3691
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3061
3692
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3082,36 +3713,36 @@ export declare class ComfyApp {
3082
3713
  timeout: z.ZodOptional<z.ZodNumber>;
3083
3714
  max_retries: z.ZodOptional<z.ZodNumber>;
3084
3715
  }, "strip", z.ZodTypeAny, {
3085
- refresh?: number;
3086
- route?: string;
3087
- response_key?: string;
3088
- query_params?: Record<string, string>;
3089
- refresh_button?: boolean;
3090
- control_after_refresh?: "first" | "last";
3091
- timeout?: number;
3092
- max_retries?: number;
3716
+ route: string;
3717
+ refresh?: number | undefined;
3718
+ response_key?: string | undefined;
3719
+ query_params?: Record<string, string> | undefined;
3720
+ refresh_button?: boolean | undefined;
3721
+ control_after_refresh?: "first" | "last" | undefined;
3722
+ timeout?: number | undefined;
3723
+ max_retries?: number | undefined;
3093
3724
  }, {
3094
- refresh?: number;
3095
- route?: string;
3096
- response_key?: string;
3097
- query_params?: Record<string, string>;
3098
- refresh_button?: boolean;
3099
- control_after_refresh?: "first" | "last";
3100
- timeout?: number;
3101
- max_retries?: number;
3725
+ route: string;
3726
+ refresh?: number | undefined;
3727
+ response_key?: string | undefined;
3728
+ query_params?: Record<string, string> | undefined;
3729
+ refresh_button?: boolean | undefined;
3730
+ control_after_refresh?: "first" | "last" | undefined;
3731
+ timeout?: number | undefined;
3732
+ max_retries?: number | undefined;
3102
3733
  }>>;
3103
3734
  /** Whether the widget is a multi-select widget. */
3104
3735
  multi_select: z.ZodOptional<z.ZodObject<{
3105
3736
  placeholder: z.ZodOptional<z.ZodString>;
3106
3737
  chip: z.ZodOptional<z.ZodBoolean>;
3107
3738
  }, "strip", z.ZodTypeAny, {
3108
- placeholder?: string;
3109
- chip?: boolean;
3739
+ placeholder?: string | undefined;
3740
+ chip?: boolean | undefined;
3110
3741
  }, {
3111
- placeholder?: string;
3112
- chip?: boolean;
3742
+ placeholder?: string | undefined;
3743
+ chip?: boolean | undefined;
3113
3744
  }>>;
3114
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
3745
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
3115
3746
  default: z.ZodOptional<z.ZodAny>;
3116
3747
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3117
3748
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3138,36 +3769,36 @@ export declare class ComfyApp {
3138
3769
  timeout: z.ZodOptional<z.ZodNumber>;
3139
3770
  max_retries: z.ZodOptional<z.ZodNumber>;
3140
3771
  }, "strip", z.ZodTypeAny, {
3141
- refresh?: number;
3142
- route?: string;
3143
- response_key?: string;
3144
- query_params?: Record<string, string>;
3145
- refresh_button?: boolean;
3146
- control_after_refresh?: "first" | "last";
3147
- timeout?: number;
3148
- max_retries?: number;
3772
+ route: string;
3773
+ refresh?: number | undefined;
3774
+ response_key?: string | undefined;
3775
+ query_params?: Record<string, string> | undefined;
3776
+ refresh_button?: boolean | undefined;
3777
+ control_after_refresh?: "first" | "last" | undefined;
3778
+ timeout?: number | undefined;
3779
+ max_retries?: number | undefined;
3149
3780
  }, {
3150
- refresh?: number;
3151
- route?: string;
3152
- response_key?: string;
3153
- query_params?: Record<string, string>;
3154
- refresh_button?: boolean;
3155
- control_after_refresh?: "first" | "last";
3156
- timeout?: number;
3157
- max_retries?: number;
3781
+ route: string;
3782
+ refresh?: number | undefined;
3783
+ response_key?: string | undefined;
3784
+ query_params?: Record<string, string> | undefined;
3785
+ refresh_button?: boolean | undefined;
3786
+ control_after_refresh?: "first" | "last" | undefined;
3787
+ timeout?: number | undefined;
3788
+ max_retries?: number | undefined;
3158
3789
  }>>;
3159
3790
  /** Whether the widget is a multi-select widget. */
3160
3791
  multi_select: z.ZodOptional<z.ZodObject<{
3161
3792
  placeholder: z.ZodOptional<z.ZodString>;
3162
3793
  chip: z.ZodOptional<z.ZodBoolean>;
3163
3794
  }, "strip", z.ZodTypeAny, {
3164
- placeholder?: string;
3165
- chip?: boolean;
3795
+ placeholder?: string | undefined;
3796
+ chip?: boolean | undefined;
3166
3797
  }, {
3167
- placeholder?: string;
3168
- chip?: boolean;
3798
+ placeholder?: string | undefined;
3799
+ chip?: boolean | undefined;
3169
3800
  }>>;
3170
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, z.objectInputType<{
3801
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [string, z.objectInputType<{
3171
3802
  default: z.ZodOptional<z.ZodAny>;
3172
3803
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3173
3804
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3177,7 +3808,7 @@ export declare class ComfyApp {
3177
3808
  /** Backend-only properties. */
3178
3809
  rawLink: z.ZodOptional<z.ZodBoolean>;
3179
3810
  lazy: z.ZodOptional<z.ZodBoolean>;
3180
- }, z.ZodTypeAny, "passthrough">, ...unknown[]]>;
3811
+ }, z.ZodTypeAny, "passthrough"> | undefined]> | undefined;
3181
3812
  }>>;
3182
3813
  output: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>, "many">>;
3183
3814
  output_is_list: z.ZodOptional<z.ZodArray<z.ZodBoolean, "many">>;
@@ -3192,7 +3823,13 @@ export declare class ComfyApp {
3192
3823
  deprecated: z.ZodOptional<z.ZodBoolean>;
3193
3824
  experimental: z.ZodOptional<z.ZodBoolean>;
3194
3825
  }, "strip", z.ZodTypeAny, {
3195
- deprecated?: boolean;
3826
+ description: string;
3827
+ name: string;
3828
+ category: string;
3829
+ display_name: string;
3830
+ output_node: boolean;
3831
+ python_module: string;
3832
+ deprecated?: boolean | undefined;
3196
3833
  input?: {
3197
3834
  required?: Record<string, ["INT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3198
3835
  default: z.ZodOptional<z.ZodAny>;
@@ -3216,7 +3853,7 @@ export declare class ComfyApp {
3216
3853
  * of `control_after_generate`.
3217
3854
  */
3218
3855
  control_after_generate: z.ZodOptional<z.ZodBoolean>;
3219
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3856
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3220
3857
  default: z.ZodOptional<z.ZodAny>;
3221
3858
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3222
3859
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3234,7 +3871,7 @@ export declare class ComfyApp {
3234
3871
  display: z.ZodOptional<z.ZodEnum<["slider", "number", "knob"]>>;
3235
3872
  }>, {
3236
3873
  round: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>;
3237
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["BOOLEAN", z.objectOutputType<z.objectUtil.extendShape<{
3874
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["BOOLEAN", z.objectOutputType<z.objectUtil.extendShape<{
3238
3875
  default: z.ZodOptional<z.ZodAny>;
3239
3876
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3240
3877
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3248,7 +3885,7 @@ export declare class ComfyApp {
3248
3885
  label_on: z.ZodOptional<z.ZodString>;
3249
3886
  label_off: z.ZodOptional<z.ZodString>;
3250
3887
  default: z.ZodOptional<z.ZodBoolean>;
3251
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["STRING", z.objectOutputType<z.objectUtil.extendShape<{
3888
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["STRING", z.objectOutputType<z.objectUtil.extendShape<{
3252
3889
  default: z.ZodOptional<z.ZodAny>;
3253
3890
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3254
3891
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3264,7 +3901,7 @@ export declare class ComfyApp {
3264
3901
  dynamicPrompts: z.ZodOptional<z.ZodBoolean>;
3265
3902
  defaultVal: z.ZodOptional<z.ZodString>;
3266
3903
  placeholder: z.ZodOptional<z.ZodString>;
3267
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [(string | number)[], z.objectOutputType<z.objectUtil.extendShape<{
3904
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [(string | number)[], z.objectOutputType<z.objectUtil.extendShape<{
3268
3905
  default: z.ZodOptional<z.ZodAny>;
3269
3906
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3270
3907
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3291,36 +3928,36 @@ export declare class ComfyApp {
3291
3928
  timeout: z.ZodOptional<z.ZodNumber>;
3292
3929
  max_retries: z.ZodOptional<z.ZodNumber>;
3293
3930
  }, "strip", z.ZodTypeAny, {
3294
- refresh?: number;
3295
- route?: string;
3296
- response_key?: string;
3297
- query_params?: Record<string, string>;
3298
- refresh_button?: boolean;
3299
- control_after_refresh?: "first" | "last";
3300
- timeout?: number;
3301
- max_retries?: number;
3931
+ route: string;
3932
+ refresh?: number | undefined;
3933
+ response_key?: string | undefined;
3934
+ query_params?: Record<string, string> | undefined;
3935
+ refresh_button?: boolean | undefined;
3936
+ control_after_refresh?: "first" | "last" | undefined;
3937
+ timeout?: number | undefined;
3938
+ max_retries?: number | undefined;
3302
3939
  }, {
3303
- refresh?: number;
3304
- route?: string;
3305
- response_key?: string;
3306
- query_params?: Record<string, string>;
3307
- refresh_button?: boolean;
3308
- control_after_refresh?: "first" | "last";
3309
- timeout?: number;
3310
- max_retries?: number;
3940
+ route: string;
3941
+ refresh?: number | undefined;
3942
+ response_key?: string | undefined;
3943
+ query_params?: Record<string, string> | undefined;
3944
+ refresh_button?: boolean | undefined;
3945
+ control_after_refresh?: "first" | "last" | undefined;
3946
+ timeout?: number | undefined;
3947
+ max_retries?: number | undefined;
3311
3948
  }>>;
3312
3949
  /** Whether the widget is a multi-select widget. */
3313
3950
  multi_select: z.ZodOptional<z.ZodObject<{
3314
3951
  placeholder: z.ZodOptional<z.ZodString>;
3315
3952
  chip: z.ZodOptional<z.ZodBoolean>;
3316
3953
  }, "strip", z.ZodTypeAny, {
3317
- placeholder?: string;
3318
- chip?: boolean;
3954
+ placeholder?: string | undefined;
3955
+ chip?: boolean | undefined;
3319
3956
  }, {
3320
- placeholder?: string;
3321
- chip?: boolean;
3957
+ placeholder?: string | undefined;
3958
+ chip?: boolean | undefined;
3322
3959
  }>>;
3323
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
3960
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
3324
3961
  default: z.ZodOptional<z.ZodAny>;
3325
3962
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3326
3963
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3347,36 +3984,36 @@ export declare class ComfyApp {
3347
3984
  timeout: z.ZodOptional<z.ZodNumber>;
3348
3985
  max_retries: z.ZodOptional<z.ZodNumber>;
3349
3986
  }, "strip", z.ZodTypeAny, {
3350
- refresh?: number;
3351
- route?: string;
3352
- response_key?: string;
3353
- query_params?: Record<string, string>;
3354
- refresh_button?: boolean;
3355
- control_after_refresh?: "first" | "last";
3356
- timeout?: number;
3357
- max_retries?: number;
3987
+ route: string;
3988
+ refresh?: number | undefined;
3989
+ response_key?: string | undefined;
3990
+ query_params?: Record<string, string> | undefined;
3991
+ refresh_button?: boolean | undefined;
3992
+ control_after_refresh?: "first" | "last" | undefined;
3993
+ timeout?: number | undefined;
3994
+ max_retries?: number | undefined;
3358
3995
  }, {
3359
- refresh?: number;
3360
- route?: string;
3361
- response_key?: string;
3362
- query_params?: Record<string, string>;
3363
- refresh_button?: boolean;
3364
- control_after_refresh?: "first" | "last";
3365
- timeout?: number;
3366
- max_retries?: number;
3996
+ route: string;
3997
+ refresh?: number | undefined;
3998
+ response_key?: string | undefined;
3999
+ query_params?: Record<string, string> | undefined;
4000
+ refresh_button?: boolean | undefined;
4001
+ control_after_refresh?: "first" | "last" | undefined;
4002
+ timeout?: number | undefined;
4003
+ max_retries?: number | undefined;
3367
4004
  }>>;
3368
4005
  /** Whether the widget is a multi-select widget. */
3369
4006
  multi_select: z.ZodOptional<z.ZodObject<{
3370
4007
  placeholder: z.ZodOptional<z.ZodString>;
3371
4008
  chip: z.ZodOptional<z.ZodBoolean>;
3372
4009
  }, "strip", z.ZodTypeAny, {
3373
- placeholder?: string;
3374
- chip?: boolean;
4010
+ placeholder?: string | undefined;
4011
+ chip?: boolean | undefined;
3375
4012
  }, {
3376
- placeholder?: string;
3377
- chip?: boolean;
4013
+ placeholder?: string | undefined;
4014
+ chip?: boolean | undefined;
3378
4015
  }>>;
3379
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, z.objectOutputType<{
4016
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [string, z.objectOutputType<{
3380
4017
  default: z.ZodOptional<z.ZodAny>;
3381
4018
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3382
4019
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3386,8 +4023,8 @@ export declare class ComfyApp {
3386
4023
  /** Backend-only properties. */
3387
4024
  rawLink: z.ZodOptional<z.ZodBoolean>;
3388
4025
  lazy: z.ZodOptional<z.ZodBoolean>;
3389
- }, z.ZodTypeAny, "passthrough">, ...unknown[]]>;
3390
- hidden?: Record<string, any>;
4026
+ }, z.ZodTypeAny, "passthrough"> | undefined]> | undefined;
4027
+ hidden?: Record<string, any> | undefined;
3391
4028
  optional?: Record<string, ["INT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3392
4029
  default: z.ZodOptional<z.ZodAny>;
3393
4030
  defaultInput: z.ZodOptional<z.ZodBoolean>;
@@ -3410,7 +4047,7 @@ export declare class ComfyApp {
3410
4047
  * of `control_after_generate`.
3411
4048
  */
3412
4049
  control_after_generate: z.ZodOptional<z.ZodBoolean>;
3413
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4050
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3414
4051
  default: z.ZodOptional<z.ZodAny>;
3415
4052
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3416
4053
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3428,7 +4065,7 @@ export declare class ComfyApp {
3428
4065
  display: z.ZodOptional<z.ZodEnum<["slider", "number", "knob"]>>;
3429
4066
  }>, {
3430
4067
  round: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>;
3431
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["BOOLEAN", z.objectOutputType<z.objectUtil.extendShape<{
4068
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["BOOLEAN", z.objectOutputType<z.objectUtil.extendShape<{
3432
4069
  default: z.ZodOptional<z.ZodAny>;
3433
4070
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3434
4071
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3442,7 +4079,7 @@ export declare class ComfyApp {
3442
4079
  label_on: z.ZodOptional<z.ZodString>;
3443
4080
  label_off: z.ZodOptional<z.ZodString>;
3444
4081
  default: z.ZodOptional<z.ZodBoolean>;
3445
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["STRING", z.objectOutputType<z.objectUtil.extendShape<{
4082
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["STRING", z.objectOutputType<z.objectUtil.extendShape<{
3446
4083
  default: z.ZodOptional<z.ZodAny>;
3447
4084
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3448
4085
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3458,7 +4095,7 @@ export declare class ComfyApp {
3458
4095
  dynamicPrompts: z.ZodOptional<z.ZodBoolean>;
3459
4096
  defaultVal: z.ZodOptional<z.ZodString>;
3460
4097
  placeholder: z.ZodOptional<z.ZodString>;
3461
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [(string | number)[], z.objectOutputType<z.objectUtil.extendShape<{
4098
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [(string | number)[], z.objectOutputType<z.objectUtil.extendShape<{
3462
4099
  default: z.ZodOptional<z.ZodAny>;
3463
4100
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3464
4101
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3485,36 +4122,36 @@ export declare class ComfyApp {
3485
4122
  timeout: z.ZodOptional<z.ZodNumber>;
3486
4123
  max_retries: z.ZodOptional<z.ZodNumber>;
3487
4124
  }, "strip", z.ZodTypeAny, {
3488
- refresh?: number;
3489
- route?: string;
3490
- response_key?: string;
3491
- query_params?: Record<string, string>;
3492
- refresh_button?: boolean;
3493
- control_after_refresh?: "first" | "last";
3494
- timeout?: number;
3495
- max_retries?: number;
4125
+ route: string;
4126
+ refresh?: number | undefined;
4127
+ response_key?: string | undefined;
4128
+ query_params?: Record<string, string> | undefined;
4129
+ refresh_button?: boolean | undefined;
4130
+ control_after_refresh?: "first" | "last" | undefined;
4131
+ timeout?: number | undefined;
4132
+ max_retries?: number | undefined;
3496
4133
  }, {
3497
- refresh?: number;
3498
- route?: string;
3499
- response_key?: string;
3500
- query_params?: Record<string, string>;
3501
- refresh_button?: boolean;
3502
- control_after_refresh?: "first" | "last";
3503
- timeout?: number;
3504
- max_retries?: number;
4134
+ route: string;
4135
+ refresh?: number | undefined;
4136
+ response_key?: string | undefined;
4137
+ query_params?: Record<string, string> | undefined;
4138
+ refresh_button?: boolean | undefined;
4139
+ control_after_refresh?: "first" | "last" | undefined;
4140
+ timeout?: number | undefined;
4141
+ max_retries?: number | undefined;
3505
4142
  }>>;
3506
4143
  /** Whether the widget is a multi-select widget. */
3507
4144
  multi_select: z.ZodOptional<z.ZodObject<{
3508
4145
  placeholder: z.ZodOptional<z.ZodString>;
3509
4146
  chip: z.ZodOptional<z.ZodBoolean>;
3510
4147
  }, "strip", z.ZodTypeAny, {
3511
- placeholder?: string;
3512
- chip?: boolean;
4148
+ placeholder?: string | undefined;
4149
+ chip?: boolean | undefined;
3513
4150
  }, {
3514
- placeholder?: string;
3515
- chip?: boolean;
4151
+ placeholder?: string | undefined;
4152
+ chip?: boolean | undefined;
3516
4153
  }>>;
3517
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
4154
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
3518
4155
  default: z.ZodOptional<z.ZodAny>;
3519
4156
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3520
4157
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3541,36 +4178,36 @@ export declare class ComfyApp {
3541
4178
  timeout: z.ZodOptional<z.ZodNumber>;
3542
4179
  max_retries: z.ZodOptional<z.ZodNumber>;
3543
4180
  }, "strip", z.ZodTypeAny, {
3544
- refresh?: number;
3545
- route?: string;
3546
- response_key?: string;
3547
- query_params?: Record<string, string>;
3548
- refresh_button?: boolean;
3549
- control_after_refresh?: "first" | "last";
3550
- timeout?: number;
3551
- max_retries?: number;
4181
+ route: string;
4182
+ refresh?: number | undefined;
4183
+ response_key?: string | undefined;
4184
+ query_params?: Record<string, string> | undefined;
4185
+ refresh_button?: boolean | undefined;
4186
+ control_after_refresh?: "first" | "last" | undefined;
4187
+ timeout?: number | undefined;
4188
+ max_retries?: number | undefined;
3552
4189
  }, {
3553
- refresh?: number;
3554
- route?: string;
3555
- response_key?: string;
3556
- query_params?: Record<string, string>;
3557
- refresh_button?: boolean;
3558
- control_after_refresh?: "first" | "last";
3559
- timeout?: number;
3560
- max_retries?: number;
4190
+ route: string;
4191
+ refresh?: number | undefined;
4192
+ response_key?: string | undefined;
4193
+ query_params?: Record<string, string> | undefined;
4194
+ refresh_button?: boolean | undefined;
4195
+ control_after_refresh?: "first" | "last" | undefined;
4196
+ timeout?: number | undefined;
4197
+ max_retries?: number | undefined;
3561
4198
  }>>;
3562
4199
  /** Whether the widget is a multi-select widget. */
3563
4200
  multi_select: z.ZodOptional<z.ZodObject<{
3564
4201
  placeholder: z.ZodOptional<z.ZodString>;
3565
4202
  chip: z.ZodOptional<z.ZodBoolean>;
3566
4203
  }, "strip", z.ZodTypeAny, {
3567
- placeholder?: string;
3568
- chip?: boolean;
4204
+ placeholder?: string | undefined;
4205
+ chip?: boolean | undefined;
3569
4206
  }, {
3570
- placeholder?: string;
3571
- chip?: boolean;
4207
+ placeholder?: string | undefined;
4208
+ chip?: boolean | undefined;
3572
4209
  }>>;
3573
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, z.objectOutputType<{
4210
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [string, z.objectOutputType<{
3574
4211
  default: z.ZodOptional<z.ZodAny>;
3575
4212
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3576
4213
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3580,21 +4217,21 @@ export declare class ComfyApp {
3580
4217
  /** Backend-only properties. */
3581
4218
  rawLink: z.ZodOptional<z.ZodBoolean>;
3582
4219
  lazy: z.ZodOptional<z.ZodBoolean>;
3583
- }, z.ZodTypeAny, "passthrough">, ...unknown[]]>;
3584
- };
3585
- output?: (string | (string | number)[])[];
3586
- experimental?: boolean;
3587
- description?: string;
3588
- name?: string;
3589
- category?: string;
3590
- display_name?: string;
3591
- output_is_list?: boolean[];
3592
- output_name?: string[];
3593
- output_tooltips?: string[];
3594
- output_node?: boolean;
3595
- python_module?: string;
4220
+ }, z.ZodTypeAny, "passthrough"> | undefined]> | undefined;
4221
+ } | undefined;
4222
+ output?: (string | (string | number)[])[] | undefined;
4223
+ experimental?: boolean | undefined;
4224
+ output_is_list?: boolean[] | undefined;
4225
+ output_name?: string[] | undefined;
4226
+ output_tooltips?: string[] | undefined;
3596
4227
  }, {
3597
- deprecated?: boolean;
4228
+ description: string;
4229
+ name: string;
4230
+ category: string;
4231
+ display_name: string;
4232
+ output_node: boolean;
4233
+ python_module: string;
4234
+ deprecated?: boolean | undefined;
3598
4235
  input?: {
3599
4236
  required?: Record<string, ["INT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3600
4237
  default: z.ZodOptional<z.ZodAny>;
@@ -3618,7 +4255,7 @@ export declare class ComfyApp {
3618
4255
  * of `control_after_generate`.
3619
4256
  */
3620
4257
  control_after_generate: z.ZodOptional<z.ZodBoolean>;
3621
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4258
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3622
4259
  default: z.ZodOptional<z.ZodAny>;
3623
4260
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3624
4261
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3636,7 +4273,7 @@ export declare class ComfyApp {
3636
4273
  display: z.ZodOptional<z.ZodEnum<["slider", "number", "knob"]>>;
3637
4274
  }>, {
3638
4275
  round: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>;
3639
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["BOOLEAN", z.objectInputType<z.objectUtil.extendShape<{
4276
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["BOOLEAN", z.objectInputType<z.objectUtil.extendShape<{
3640
4277
  default: z.ZodOptional<z.ZodAny>;
3641
4278
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3642
4279
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3650,7 +4287,7 @@ export declare class ComfyApp {
3650
4287
  label_on: z.ZodOptional<z.ZodString>;
3651
4288
  label_off: z.ZodOptional<z.ZodString>;
3652
4289
  default: z.ZodOptional<z.ZodBoolean>;
3653
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["STRING", z.objectInputType<z.objectUtil.extendShape<{
4290
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["STRING", z.objectInputType<z.objectUtil.extendShape<{
3654
4291
  default: z.ZodOptional<z.ZodAny>;
3655
4292
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3656
4293
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3666,7 +4303,7 @@ export declare class ComfyApp {
3666
4303
  dynamicPrompts: z.ZodOptional<z.ZodBoolean>;
3667
4304
  defaultVal: z.ZodOptional<z.ZodString>;
3668
4305
  placeholder: z.ZodOptional<z.ZodString>;
3669
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [(string | number)[], z.objectInputType<z.objectUtil.extendShape<{
4306
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [(string | number)[], z.objectInputType<z.objectUtil.extendShape<{
3670
4307
  default: z.ZodOptional<z.ZodAny>;
3671
4308
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3672
4309
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3693,36 +4330,36 @@ export declare class ComfyApp {
3693
4330
  timeout: z.ZodOptional<z.ZodNumber>;
3694
4331
  max_retries: z.ZodOptional<z.ZodNumber>;
3695
4332
  }, "strip", z.ZodTypeAny, {
3696
- refresh?: number;
3697
- route?: string;
3698
- response_key?: string;
3699
- query_params?: Record<string, string>;
3700
- refresh_button?: boolean;
3701
- control_after_refresh?: "first" | "last";
3702
- timeout?: number;
3703
- max_retries?: number;
4333
+ route: string;
4334
+ refresh?: number | undefined;
4335
+ response_key?: string | undefined;
4336
+ query_params?: Record<string, string> | undefined;
4337
+ refresh_button?: boolean | undefined;
4338
+ control_after_refresh?: "first" | "last" | undefined;
4339
+ timeout?: number | undefined;
4340
+ max_retries?: number | undefined;
3704
4341
  }, {
3705
- refresh?: number;
3706
- route?: string;
3707
- response_key?: string;
3708
- query_params?: Record<string, string>;
3709
- refresh_button?: boolean;
3710
- control_after_refresh?: "first" | "last";
3711
- timeout?: number;
3712
- max_retries?: number;
4342
+ route: string;
4343
+ refresh?: number | undefined;
4344
+ response_key?: string | undefined;
4345
+ query_params?: Record<string, string> | undefined;
4346
+ refresh_button?: boolean | undefined;
4347
+ control_after_refresh?: "first" | "last" | undefined;
4348
+ timeout?: number | undefined;
4349
+ max_retries?: number | undefined;
3713
4350
  }>>;
3714
4351
  /** Whether the widget is a multi-select widget. */
3715
4352
  multi_select: z.ZodOptional<z.ZodObject<{
3716
4353
  placeholder: z.ZodOptional<z.ZodString>;
3717
4354
  chip: z.ZodOptional<z.ZodBoolean>;
3718
4355
  }, "strip", z.ZodTypeAny, {
3719
- placeholder?: string;
3720
- chip?: boolean;
4356
+ placeholder?: string | undefined;
4357
+ chip?: boolean | undefined;
3721
4358
  }, {
3722
- placeholder?: string;
3723
- chip?: boolean;
4359
+ placeholder?: string | undefined;
4360
+ chip?: boolean | undefined;
3724
4361
  }>>;
3725
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
4362
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
3726
4363
  default: z.ZodOptional<z.ZodAny>;
3727
4364
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3728
4365
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3749,36 +4386,36 @@ export declare class ComfyApp {
3749
4386
  timeout: z.ZodOptional<z.ZodNumber>;
3750
4387
  max_retries: z.ZodOptional<z.ZodNumber>;
3751
4388
  }, "strip", z.ZodTypeAny, {
3752
- refresh?: number;
3753
- route?: string;
3754
- response_key?: string;
3755
- query_params?: Record<string, string>;
3756
- refresh_button?: boolean;
3757
- control_after_refresh?: "first" | "last";
3758
- timeout?: number;
3759
- max_retries?: number;
4389
+ route: string;
4390
+ refresh?: number | undefined;
4391
+ response_key?: string | undefined;
4392
+ query_params?: Record<string, string> | undefined;
4393
+ refresh_button?: boolean | undefined;
4394
+ control_after_refresh?: "first" | "last" | undefined;
4395
+ timeout?: number | undefined;
4396
+ max_retries?: number | undefined;
3760
4397
  }, {
3761
- refresh?: number;
3762
- route?: string;
3763
- response_key?: string;
3764
- query_params?: Record<string, string>;
3765
- refresh_button?: boolean;
3766
- control_after_refresh?: "first" | "last";
3767
- timeout?: number;
3768
- max_retries?: number;
4398
+ route: string;
4399
+ refresh?: number | undefined;
4400
+ response_key?: string | undefined;
4401
+ query_params?: Record<string, string> | undefined;
4402
+ refresh_button?: boolean | undefined;
4403
+ control_after_refresh?: "first" | "last" | undefined;
4404
+ timeout?: number | undefined;
4405
+ max_retries?: number | undefined;
3769
4406
  }>>;
3770
4407
  /** Whether the widget is a multi-select widget. */
3771
4408
  multi_select: z.ZodOptional<z.ZodObject<{
3772
4409
  placeholder: z.ZodOptional<z.ZodString>;
3773
4410
  chip: z.ZodOptional<z.ZodBoolean>;
3774
4411
  }, "strip", z.ZodTypeAny, {
3775
- placeholder?: string;
3776
- chip?: boolean;
4412
+ placeholder?: string | undefined;
4413
+ chip?: boolean | undefined;
3777
4414
  }, {
3778
- placeholder?: string;
3779
- chip?: boolean;
4415
+ placeholder?: string | undefined;
4416
+ chip?: boolean | undefined;
3780
4417
  }>>;
3781
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, z.objectInputType<{
4418
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [string, z.objectInputType<{
3782
4419
  default: z.ZodOptional<z.ZodAny>;
3783
4420
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3784
4421
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3788,8 +4425,8 @@ export declare class ComfyApp {
3788
4425
  /** Backend-only properties. */
3789
4426
  rawLink: z.ZodOptional<z.ZodBoolean>;
3790
4427
  lazy: z.ZodOptional<z.ZodBoolean>;
3791
- }, z.ZodTypeAny, "passthrough">, ...unknown[]]>;
3792
- hidden?: Record<string, any>;
4428
+ }, z.ZodTypeAny, "passthrough"> | undefined]> | undefined;
4429
+ hidden?: Record<string, any> | undefined;
3793
4430
  optional?: Record<string, ["INT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3794
4431
  default: z.ZodOptional<z.ZodAny>;
3795
4432
  defaultInput: z.ZodOptional<z.ZodBoolean>;
@@ -3812,7 +4449,7 @@ export declare class ComfyApp {
3812
4449
  * of `control_after_generate`.
3813
4450
  */
3814
4451
  control_after_generate: z.ZodOptional<z.ZodBoolean>;
3815
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4452
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3816
4453
  default: z.ZodOptional<z.ZodAny>;
3817
4454
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3818
4455
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3830,7 +4467,7 @@ export declare class ComfyApp {
3830
4467
  display: z.ZodOptional<z.ZodEnum<["slider", "number", "knob"]>>;
3831
4468
  }>, {
3832
4469
  round: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<false>]>>;
3833
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["BOOLEAN", z.objectInputType<z.objectUtil.extendShape<{
4470
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["BOOLEAN", z.objectInputType<z.objectUtil.extendShape<{
3834
4471
  default: z.ZodOptional<z.ZodAny>;
3835
4472
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3836
4473
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3844,7 +4481,7 @@ export declare class ComfyApp {
3844
4481
  label_on: z.ZodOptional<z.ZodString>;
3845
4482
  label_off: z.ZodOptional<z.ZodString>;
3846
4483
  default: z.ZodOptional<z.ZodBoolean>;
3847
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["STRING", z.objectInputType<z.objectUtil.extendShape<{
4484
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["STRING", z.objectInputType<z.objectUtil.extendShape<{
3848
4485
  default: z.ZodOptional<z.ZodAny>;
3849
4486
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3850
4487
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3860,7 +4497,7 @@ export declare class ComfyApp {
3860
4497
  dynamicPrompts: z.ZodOptional<z.ZodBoolean>;
3861
4498
  defaultVal: z.ZodOptional<z.ZodString>;
3862
4499
  placeholder: z.ZodOptional<z.ZodString>;
3863
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [(string | number)[], z.objectInputType<z.objectUtil.extendShape<{
4500
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [(string | number)[], z.objectInputType<z.objectUtil.extendShape<{
3864
4501
  default: z.ZodOptional<z.ZodAny>;
3865
4502
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3866
4503
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3887,36 +4524,36 @@ export declare class ComfyApp {
3887
4524
  timeout: z.ZodOptional<z.ZodNumber>;
3888
4525
  max_retries: z.ZodOptional<z.ZodNumber>;
3889
4526
  }, "strip", z.ZodTypeAny, {
3890
- refresh?: number;
3891
- route?: string;
3892
- response_key?: string;
3893
- query_params?: Record<string, string>;
3894
- refresh_button?: boolean;
3895
- control_after_refresh?: "first" | "last";
3896
- timeout?: number;
3897
- max_retries?: number;
4527
+ route: string;
4528
+ refresh?: number | undefined;
4529
+ response_key?: string | undefined;
4530
+ query_params?: Record<string, string> | undefined;
4531
+ refresh_button?: boolean | undefined;
4532
+ control_after_refresh?: "first" | "last" | undefined;
4533
+ timeout?: number | undefined;
4534
+ max_retries?: number | undefined;
3898
4535
  }, {
3899
- refresh?: number;
3900
- route?: string;
3901
- response_key?: string;
3902
- query_params?: Record<string, string>;
3903
- refresh_button?: boolean;
3904
- control_after_refresh?: "first" | "last";
3905
- timeout?: number;
3906
- max_retries?: number;
4536
+ route: string;
4537
+ refresh?: number | undefined;
4538
+ response_key?: string | undefined;
4539
+ query_params?: Record<string, string> | undefined;
4540
+ refresh_button?: boolean | undefined;
4541
+ control_after_refresh?: "first" | "last" | undefined;
4542
+ timeout?: number | undefined;
4543
+ max_retries?: number | undefined;
3907
4544
  }>>;
3908
4545
  /** Whether the widget is a multi-select widget. */
3909
4546
  multi_select: z.ZodOptional<z.ZodObject<{
3910
4547
  placeholder: z.ZodOptional<z.ZodString>;
3911
4548
  chip: z.ZodOptional<z.ZodBoolean>;
3912
4549
  }, "strip", z.ZodTypeAny, {
3913
- placeholder?: string;
3914
- chip?: boolean;
4550
+ placeholder?: string | undefined;
4551
+ chip?: boolean | undefined;
3915
4552
  }, {
3916
- placeholder?: string;
3917
- chip?: boolean;
4553
+ placeholder?: string | undefined;
4554
+ chip?: boolean | undefined;
3918
4555
  }>>;
3919
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
4556
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
3920
4557
  default: z.ZodOptional<z.ZodAny>;
3921
4558
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3922
4559
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3943,36 +4580,36 @@ export declare class ComfyApp {
3943
4580
  timeout: z.ZodOptional<z.ZodNumber>;
3944
4581
  max_retries: z.ZodOptional<z.ZodNumber>;
3945
4582
  }, "strip", z.ZodTypeAny, {
3946
- refresh?: number;
3947
- route?: string;
3948
- response_key?: string;
3949
- query_params?: Record<string, string>;
3950
- refresh_button?: boolean;
3951
- control_after_refresh?: "first" | "last";
3952
- timeout?: number;
3953
- max_retries?: number;
4583
+ route: string;
4584
+ refresh?: number | undefined;
4585
+ response_key?: string | undefined;
4586
+ query_params?: Record<string, string> | undefined;
4587
+ refresh_button?: boolean | undefined;
4588
+ control_after_refresh?: "first" | "last" | undefined;
4589
+ timeout?: number | undefined;
4590
+ max_retries?: number | undefined;
3954
4591
  }, {
3955
- refresh?: number;
3956
- route?: string;
3957
- response_key?: string;
3958
- query_params?: Record<string, string>;
3959
- refresh_button?: boolean;
3960
- control_after_refresh?: "first" | "last";
3961
- timeout?: number;
3962
- max_retries?: number;
4592
+ route: string;
4593
+ refresh?: number | undefined;
4594
+ response_key?: string | undefined;
4595
+ query_params?: Record<string, string> | undefined;
4596
+ refresh_button?: boolean | undefined;
4597
+ control_after_refresh?: "first" | "last" | undefined;
4598
+ timeout?: number | undefined;
4599
+ max_retries?: number | undefined;
3963
4600
  }>>;
3964
4601
  /** Whether the widget is a multi-select widget. */
3965
4602
  multi_select: z.ZodOptional<z.ZodObject<{
3966
4603
  placeholder: z.ZodOptional<z.ZodString>;
3967
4604
  chip: z.ZodOptional<z.ZodBoolean>;
3968
4605
  }, "strip", z.ZodTypeAny, {
3969
- placeholder?: string;
3970
- chip?: boolean;
4606
+ placeholder?: string | undefined;
4607
+ chip?: boolean | undefined;
3971
4608
  }, {
3972
- placeholder?: string;
3973
- chip?: boolean;
4609
+ placeholder?: string | undefined;
4610
+ chip?: boolean | undefined;
3974
4611
  }>>;
3975
- }>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, z.objectInputType<{
4612
+ }>, z.ZodTypeAny, "passthrough"> | undefined] | [string, z.objectInputType<{
3976
4613
  default: z.ZodOptional<z.ZodAny>;
3977
4614
  defaultInput: z.ZodOptional<z.ZodBoolean>;
3978
4615
  forceInput: z.ZodOptional<z.ZodBoolean>;
@@ -3982,23 +4619,19 @@ export declare class ComfyApp {
3982
4619
  /** Backend-only properties. */
3983
4620
  rawLink: z.ZodOptional<z.ZodBoolean>;
3984
4621
  lazy: z.ZodOptional<z.ZodBoolean>;
3985
- }, z.ZodTypeAny, "passthrough">, ...unknown[]]>;
3986
- };
3987
- output?: (string | (string | number)[])[];
3988
- experimental?: boolean;
3989
- description?: string;
3990
- name?: string;
3991
- category?: string;
3992
- display_name?: string;
3993
- output_is_list?: boolean[];
3994
- output_name?: string[];
3995
- output_tooltips?: string[];
3996
- output_node?: boolean;
3997
- python_module?: string;
4622
+ }, z.ZodTypeAny, "passthrough"> | undefined]> | undefined;
4623
+ } | undefined;
4624
+ output?: (string | (string | number)[])[] | undefined;
4625
+ experimental?: boolean | undefined;
4626
+ output_is_list?: boolean[] | undefined;
4627
+ output_name?: string[] | undefined;
4628
+ output_tooltips?: string[] | undefined;
3998
4629
  }>;
3999
4630
 
4000
4631
  /** Schema version 0.4 */
4001
4632
  declare const zComfyWorkflow: z.ZodObject<{
4633
+ id: z.ZodOptional<z.ZodString>;
4634
+ revision: z.ZodOptional<z.ZodNumber>;
4002
4635
  last_node_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4003
4636
  last_link_id: z.ZodNumber;
4004
4637
  nodes: z.ZodArray<z.ZodObject<{
@@ -4095,17 +4728,17 @@ export declare class ComfyApp {
4095
4728
  hash_type: z.ZodOptional<z.ZodString>;
4096
4729
  directory: z.ZodString;
4097
4730
  }, "strip", z.ZodTypeAny, {
4098
- name?: string;
4099
- url?: string;
4100
- hash?: string;
4101
- hash_type?: string;
4102
- directory?: string;
4731
+ name: string;
4732
+ url: string;
4733
+ directory: string;
4734
+ hash?: string | undefined;
4735
+ hash_type?: string | undefined;
4103
4736
  }, {
4104
- name?: string;
4105
- url?: string;
4106
- hash?: string;
4107
- hash_type?: string;
4108
- directory?: string;
4737
+ name: string;
4738
+ url: string;
4739
+ directory: string;
4740
+ hash?: string | undefined;
4741
+ hash_type?: string | undefined;
4109
4742
  }>, "many">>;
4110
4743
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4111
4744
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -4119,17 +4752,17 @@ export declare class ComfyApp {
4119
4752
  hash_type: z.ZodOptional<z.ZodString>;
4120
4753
  directory: z.ZodString;
4121
4754
  }, "strip", z.ZodTypeAny, {
4122
- name?: string;
4123
- url?: string;
4124
- hash?: string;
4125
- hash_type?: string;
4126
- directory?: string;
4755
+ name: string;
4756
+ url: string;
4757
+ directory: string;
4758
+ hash?: string | undefined;
4759
+ hash_type?: string | undefined;
4127
4760
  }, {
4128
- name?: string;
4129
- url?: string;
4130
- hash?: string;
4131
- hash_type?: string;
4132
- directory?: string;
4761
+ name: string;
4762
+ url: string;
4763
+ directory: string;
4764
+ hash?: string | undefined;
4765
+ hash_type?: string | undefined;
4133
4766
  }>, "many">>;
4134
4767
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4135
4768
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -4143,17 +4776,17 @@ export declare class ComfyApp {
4143
4776
  hash_type: z.ZodOptional<z.ZodString>;
4144
4777
  directory: z.ZodString;
4145
4778
  }, "strip", z.ZodTypeAny, {
4146
- name?: string;
4147
- url?: string;
4148
- hash?: string;
4149
- hash_type?: string;
4150
- directory?: string;
4779
+ name: string;
4780
+ url: string;
4781
+ directory: string;
4782
+ hash?: string | undefined;
4783
+ hash_type?: string | undefined;
4151
4784
  }, {
4152
- name?: string;
4153
- url?: string;
4154
- hash?: string;
4155
- hash_type?: string;
4156
- directory?: string;
4785
+ name: string;
4786
+ url: string;
4787
+ directory: string;
4788
+ hash?: string | undefined;
4789
+ hash_type?: string | undefined;
4157
4790
  }>, "many">>;
4158
4791
  }, z.ZodTypeAny, "passthrough">>;
4159
4792
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -4253,17 +4886,17 @@ export declare class ComfyApp {
4253
4886
  hash_type: z.ZodOptional<z.ZodString>;
4254
4887
  directory: z.ZodString;
4255
4888
  }, "strip", z.ZodTypeAny, {
4256
- name?: string;
4257
- url?: string;
4258
- hash?: string;
4259
- hash_type?: string;
4260
- directory?: string;
4889
+ name: string;
4890
+ url: string;
4891
+ directory: string;
4892
+ hash?: string | undefined;
4893
+ hash_type?: string | undefined;
4261
4894
  }, {
4262
- name?: string;
4263
- url?: string;
4264
- hash?: string;
4265
- hash_type?: string;
4266
- directory?: string;
4895
+ name: string;
4896
+ url: string;
4897
+ directory: string;
4898
+ hash?: string | undefined;
4899
+ hash_type?: string | undefined;
4267
4900
  }>, "many">>;
4268
4901
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4269
4902
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -4277,17 +4910,17 @@ export declare class ComfyApp {
4277
4910
  hash_type: z.ZodOptional<z.ZodString>;
4278
4911
  directory: z.ZodString;
4279
4912
  }, "strip", z.ZodTypeAny, {
4280
- name?: string;
4281
- url?: string;
4282
- hash?: string;
4283
- hash_type?: string;
4284
- directory?: string;
4913
+ name: string;
4914
+ url: string;
4915
+ directory: string;
4916
+ hash?: string | undefined;
4917
+ hash_type?: string | undefined;
4285
4918
  }, {
4286
- name?: string;
4287
- url?: string;
4288
- hash?: string;
4289
- hash_type?: string;
4290
- directory?: string;
4919
+ name: string;
4920
+ url: string;
4921
+ directory: string;
4922
+ hash?: string | undefined;
4923
+ hash_type?: string | undefined;
4291
4924
  }>, "many">>;
4292
4925
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4293
4926
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -4301,17 +4934,17 @@ export declare class ComfyApp {
4301
4934
  hash_type: z.ZodOptional<z.ZodString>;
4302
4935
  directory: z.ZodString;
4303
4936
  }, "strip", z.ZodTypeAny, {
4304
- name?: string;
4305
- url?: string;
4306
- hash?: string;
4307
- hash_type?: string;
4308
- directory?: string;
4937
+ name: string;
4938
+ url: string;
4939
+ directory: string;
4940
+ hash?: string | undefined;
4941
+ hash_type?: string | undefined;
4309
4942
  }, {
4310
- name?: string;
4311
- url?: string;
4312
- hash?: string;
4313
- hash_type?: string;
4314
- directory?: string;
4943
+ name: string;
4944
+ url: string;
4945
+ directory: string;
4946
+ hash?: string | undefined;
4947
+ hash_type?: string | undefined;
4315
4948
  }>, "many">>;
4316
4949
  }, z.ZodTypeAny, "passthrough">>;
4317
4950
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -4411,17 +5044,17 @@ export declare class ComfyApp {
4411
5044
  hash_type: z.ZodOptional<z.ZodString>;
4412
5045
  directory: z.ZodString;
4413
5046
  }, "strip", z.ZodTypeAny, {
4414
- name?: string;
4415
- url?: string;
4416
- hash?: string;
4417
- hash_type?: string;
4418
- directory?: string;
5047
+ name: string;
5048
+ url: string;
5049
+ directory: string;
5050
+ hash?: string | undefined;
5051
+ hash_type?: string | undefined;
4419
5052
  }, {
4420
- name?: string;
4421
- url?: string;
4422
- hash?: string;
4423
- hash_type?: string;
4424
- directory?: string;
5053
+ name: string;
5054
+ url: string;
5055
+ directory: string;
5056
+ hash?: string | undefined;
5057
+ hash_type?: string | undefined;
4425
5058
  }>, "many">>;
4426
5059
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
4427
5060
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -4435,17 +5068,17 @@ export declare class ComfyApp {
4435
5068
  hash_type: z.ZodOptional<z.ZodString>;
4436
5069
  directory: z.ZodString;
4437
5070
  }, "strip", z.ZodTypeAny, {
4438
- name?: string;
4439
- url?: string;
4440
- hash?: string;
4441
- hash_type?: string;
4442
- directory?: string;
5071
+ name: string;
5072
+ url: string;
5073
+ directory: string;
5074
+ hash?: string | undefined;
5075
+ hash_type?: string | undefined;
4443
5076
  }, {
4444
- name?: string;
4445
- url?: string;
4446
- hash?: string;
4447
- hash_type?: string;
4448
- directory?: string;
5077
+ name: string;
5078
+ url: string;
5079
+ directory: string;
5080
+ hash?: string | undefined;
5081
+ hash_type?: string | undefined;
4449
5082
  }>, "many">>;
4450
5083
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
4451
5084
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -4459,17 +5092,17 @@ export declare class ComfyApp {
4459
5092
  hash_type: z.ZodOptional<z.ZodString>;
4460
5093
  directory: z.ZodString;
4461
5094
  }, "strip", z.ZodTypeAny, {
4462
- name?: string;
4463
- url?: string;
4464
- hash?: string;
4465
- hash_type?: string;
4466
- directory?: string;
5095
+ name: string;
5096
+ url: string;
5097
+ directory: string;
5098
+ hash?: string | undefined;
5099
+ hash_type?: string | undefined;
4467
5100
  }, {
4468
- name?: string;
4469
- url?: string;
4470
- hash?: string;
4471
- hash_type?: string;
4472
- directory?: string;
5101
+ name: string;
5102
+ url: string;
5103
+ directory: string;
5104
+ hash?: string | undefined;
5105
+ hash_type?: string | undefined;
4473
5106
  }>, "many">>;
4474
5107
  }, z.ZodTypeAny, "passthrough">>;
4475
5108
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -4942,19 +5575,21 @@ export declare class ComfyApp {
4942
5575
  hash_type: z.ZodOptional<z.ZodString>;
4943
5576
  directory: z.ZodString;
4944
5577
  }, "strip", z.ZodTypeAny, {
4945
- name?: string;
4946
- url?: string;
4947
- hash?: string;
4948
- hash_type?: string;
4949
- directory?: string;
5578
+ name: string;
5579
+ url: string;
5580
+ directory: string;
5581
+ hash?: string | undefined;
5582
+ hash_type?: string | undefined;
4950
5583
  }, {
4951
- name?: string;
4952
- url?: string;
4953
- hash?: string;
4954
- hash_type?: string;
4955
- directory?: string;
5584
+ name: string;
5585
+ url: string;
5586
+ directory: string;
5587
+ hash?: string | undefined;
5588
+ hash_type?: string | undefined;
4956
5589
  }>, "many">>;
4957
5590
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5591
+ id: z.ZodOptional<z.ZodString>;
5592
+ revision: z.ZodOptional<z.ZodNumber>;
4958
5593
  last_node_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
4959
5594
  last_link_id: z.ZodNumber;
4960
5595
  nodes: z.ZodArray<z.ZodObject<{
@@ -5051,17 +5686,17 @@ export declare class ComfyApp {
5051
5686
  hash_type: z.ZodOptional<z.ZodString>;
5052
5687
  directory: z.ZodString;
5053
5688
  }, "strip", z.ZodTypeAny, {
5054
- name?: string;
5055
- url?: string;
5056
- hash?: string;
5057
- hash_type?: string;
5058
- directory?: string;
5689
+ name: string;
5690
+ url: string;
5691
+ directory: string;
5692
+ hash?: string | undefined;
5693
+ hash_type?: string | undefined;
5059
5694
  }, {
5060
- name?: string;
5061
- url?: string;
5062
- hash?: string;
5063
- hash_type?: string;
5064
- directory?: string;
5695
+ name: string;
5696
+ url: string;
5697
+ directory: string;
5698
+ hash?: string | undefined;
5699
+ hash_type?: string | undefined;
5065
5700
  }>, "many">>;
5066
5701
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5067
5702
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -5075,17 +5710,17 @@ export declare class ComfyApp {
5075
5710
  hash_type: z.ZodOptional<z.ZodString>;
5076
5711
  directory: z.ZodString;
5077
5712
  }, "strip", z.ZodTypeAny, {
5078
- name?: string;
5079
- url?: string;
5080
- hash?: string;
5081
- hash_type?: string;
5082
- directory?: string;
5713
+ name: string;
5714
+ url: string;
5715
+ directory: string;
5716
+ hash?: string | undefined;
5717
+ hash_type?: string | undefined;
5083
5718
  }, {
5084
- name?: string;
5085
- url?: string;
5086
- hash?: string;
5087
- hash_type?: string;
5088
- directory?: string;
5719
+ name: string;
5720
+ url: string;
5721
+ directory: string;
5722
+ hash?: string | undefined;
5723
+ hash_type?: string | undefined;
5089
5724
  }>, "many">>;
5090
5725
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5091
5726
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -5099,17 +5734,17 @@ export declare class ComfyApp {
5099
5734
  hash_type: z.ZodOptional<z.ZodString>;
5100
5735
  directory: z.ZodString;
5101
5736
  }, "strip", z.ZodTypeAny, {
5102
- name?: string;
5103
- url?: string;
5104
- hash?: string;
5105
- hash_type?: string;
5106
- directory?: string;
5737
+ name: string;
5738
+ url: string;
5739
+ directory: string;
5740
+ hash?: string | undefined;
5741
+ hash_type?: string | undefined;
5107
5742
  }, {
5108
- name?: string;
5109
- url?: string;
5110
- hash?: string;
5111
- hash_type?: string;
5112
- directory?: string;
5743
+ name: string;
5744
+ url: string;
5745
+ directory: string;
5746
+ hash?: string | undefined;
5747
+ hash_type?: string | undefined;
5113
5748
  }>, "many">>;
5114
5749
  }, z.ZodTypeAny, "passthrough">>;
5115
5750
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -5209,17 +5844,17 @@ export declare class ComfyApp {
5209
5844
  hash_type: z.ZodOptional<z.ZodString>;
5210
5845
  directory: z.ZodString;
5211
5846
  }, "strip", z.ZodTypeAny, {
5212
- name?: string;
5213
- url?: string;
5214
- hash?: string;
5215
- hash_type?: string;
5216
- directory?: string;
5847
+ name: string;
5848
+ url: string;
5849
+ directory: string;
5850
+ hash?: string | undefined;
5851
+ hash_type?: string | undefined;
5217
5852
  }, {
5218
- name?: string;
5219
- url?: string;
5220
- hash?: string;
5221
- hash_type?: string;
5222
- directory?: string;
5853
+ name: string;
5854
+ url: string;
5855
+ directory: string;
5856
+ hash?: string | undefined;
5857
+ hash_type?: string | undefined;
5223
5858
  }>, "many">>;
5224
5859
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5225
5860
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -5233,17 +5868,17 @@ export declare class ComfyApp {
5233
5868
  hash_type: z.ZodOptional<z.ZodString>;
5234
5869
  directory: z.ZodString;
5235
5870
  }, "strip", z.ZodTypeAny, {
5236
- name?: string;
5237
- url?: string;
5238
- hash?: string;
5239
- hash_type?: string;
5240
- directory?: string;
5871
+ name: string;
5872
+ url: string;
5873
+ directory: string;
5874
+ hash?: string | undefined;
5875
+ hash_type?: string | undefined;
5241
5876
  }, {
5242
- name?: string;
5243
- url?: string;
5244
- hash?: string;
5245
- hash_type?: string;
5246
- directory?: string;
5877
+ name: string;
5878
+ url: string;
5879
+ directory: string;
5880
+ hash?: string | undefined;
5881
+ hash_type?: string | undefined;
5247
5882
  }>, "many">>;
5248
5883
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5249
5884
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -5257,17 +5892,17 @@ export declare class ComfyApp {
5257
5892
  hash_type: z.ZodOptional<z.ZodString>;
5258
5893
  directory: z.ZodString;
5259
5894
  }, "strip", z.ZodTypeAny, {
5260
- name?: string;
5261
- url?: string;
5262
- hash?: string;
5263
- hash_type?: string;
5264
- directory?: string;
5895
+ name: string;
5896
+ url: string;
5897
+ directory: string;
5898
+ hash?: string | undefined;
5899
+ hash_type?: string | undefined;
5265
5900
  }, {
5266
- name?: string;
5267
- url?: string;
5268
- hash?: string;
5269
- hash_type?: string;
5270
- directory?: string;
5901
+ name: string;
5902
+ url: string;
5903
+ directory: string;
5904
+ hash?: string | undefined;
5905
+ hash_type?: string | undefined;
5271
5906
  }>, "many">>;
5272
5907
  }, z.ZodTypeAny, "passthrough">>;
5273
5908
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -5367,17 +6002,17 @@ export declare class ComfyApp {
5367
6002
  hash_type: z.ZodOptional<z.ZodString>;
5368
6003
  directory: z.ZodString;
5369
6004
  }, "strip", z.ZodTypeAny, {
5370
- name?: string;
5371
- url?: string;
5372
- hash?: string;
5373
- hash_type?: string;
5374
- directory?: string;
6005
+ name: string;
6006
+ url: string;
6007
+ directory: string;
6008
+ hash?: string | undefined;
6009
+ hash_type?: string | undefined;
5375
6010
  }, {
5376
- name?: string;
5377
- url?: string;
5378
- hash?: string;
5379
- hash_type?: string;
5380
- directory?: string;
6011
+ name: string;
6012
+ url: string;
6013
+ directory: string;
6014
+ hash?: string | undefined;
6015
+ hash_type?: string | undefined;
5381
6016
  }>, "many">>;
5382
6017
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
5383
6018
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -5391,17 +6026,17 @@ export declare class ComfyApp {
5391
6026
  hash_type: z.ZodOptional<z.ZodString>;
5392
6027
  directory: z.ZodString;
5393
6028
  }, "strip", z.ZodTypeAny, {
5394
- name?: string;
5395
- url?: string;
5396
- hash?: string;
5397
- hash_type?: string;
5398
- directory?: string;
6029
+ name: string;
6030
+ url: string;
6031
+ directory: string;
6032
+ hash?: string | undefined;
6033
+ hash_type?: string | undefined;
5399
6034
  }, {
5400
- name?: string;
5401
- url?: string;
5402
- hash?: string;
5403
- hash_type?: string;
5404
- directory?: string;
6035
+ name: string;
6036
+ url: string;
6037
+ directory: string;
6038
+ hash?: string | undefined;
6039
+ hash_type?: string | undefined;
5405
6040
  }>, "many">>;
5406
6041
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
5407
6042
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -5415,17 +6050,17 @@ export declare class ComfyApp {
5415
6050
  hash_type: z.ZodOptional<z.ZodString>;
5416
6051
  directory: z.ZodString;
5417
6052
  }, "strip", z.ZodTypeAny, {
5418
- name?: string;
5419
- url?: string;
5420
- hash?: string;
5421
- hash_type?: string;
5422
- directory?: string;
6053
+ name: string;
6054
+ url: string;
6055
+ directory: string;
6056
+ hash?: string | undefined;
6057
+ hash_type?: string | undefined;
5423
6058
  }, {
5424
- name?: string;
5425
- url?: string;
5426
- hash?: string;
5427
- hash_type?: string;
5428
- directory?: string;
6059
+ name: string;
6060
+ url: string;
6061
+ directory: string;
6062
+ hash?: string | undefined;
6063
+ hash_type?: string | undefined;
5429
6064
  }>, "many">>;
5430
6065
  }, z.ZodTypeAny, "passthrough">>;
5431
6066
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -5898,19 +6533,21 @@ export declare class ComfyApp {
5898
6533
  hash_type: z.ZodOptional<z.ZodString>;
5899
6534
  directory: z.ZodString;
5900
6535
  }, "strip", z.ZodTypeAny, {
5901
- name?: string;
5902
- url?: string;
5903
- hash?: string;
5904
- hash_type?: string;
5905
- directory?: string;
6536
+ name: string;
6537
+ url: string;
6538
+ directory: string;
6539
+ hash?: string | undefined;
6540
+ hash_type?: string | undefined;
5906
6541
  }, {
5907
- name?: string;
5908
- url?: string;
5909
- hash?: string;
5910
- hash_type?: string;
5911
- directory?: string;
6542
+ name: string;
6543
+ url: string;
6544
+ directory: string;
6545
+ hash?: string | undefined;
6546
+ hash_type?: string | undefined;
5912
6547
  }>, "many">>;
5913
6548
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6549
+ id: z.ZodOptional<z.ZodString>;
6550
+ revision: z.ZodOptional<z.ZodNumber>;
5914
6551
  last_node_id: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
5915
6552
  last_link_id: z.ZodNumber;
5916
6553
  nodes: z.ZodArray<z.ZodObject<{
@@ -6007,17 +6644,17 @@ export declare class ComfyApp {
6007
6644
  hash_type: z.ZodOptional<z.ZodString>;
6008
6645
  directory: z.ZodString;
6009
6646
  }, "strip", z.ZodTypeAny, {
6010
- name?: string;
6011
- url?: string;
6012
- hash?: string;
6013
- hash_type?: string;
6014
- directory?: string;
6647
+ name: string;
6648
+ url: string;
6649
+ directory: string;
6650
+ hash?: string | undefined;
6651
+ hash_type?: string | undefined;
6015
6652
  }, {
6016
- name?: string;
6017
- url?: string;
6018
- hash?: string;
6019
- hash_type?: string;
6020
- directory?: string;
6653
+ name: string;
6654
+ url: string;
6655
+ directory: string;
6656
+ hash?: string | undefined;
6657
+ hash_type?: string | undefined;
6021
6658
  }>, "many">>;
6022
6659
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6023
6660
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -6031,17 +6668,17 @@ export declare class ComfyApp {
6031
6668
  hash_type: z.ZodOptional<z.ZodString>;
6032
6669
  directory: z.ZodString;
6033
6670
  }, "strip", z.ZodTypeAny, {
6034
- name?: string;
6035
- url?: string;
6036
- hash?: string;
6037
- hash_type?: string;
6038
- directory?: string;
6671
+ name: string;
6672
+ url: string;
6673
+ directory: string;
6674
+ hash?: string | undefined;
6675
+ hash_type?: string | undefined;
6039
6676
  }, {
6040
- name?: string;
6041
- url?: string;
6042
- hash?: string;
6043
- hash_type?: string;
6044
- directory?: string;
6677
+ name: string;
6678
+ url: string;
6679
+ directory: string;
6680
+ hash?: string | undefined;
6681
+ hash_type?: string | undefined;
6045
6682
  }>, "many">>;
6046
6683
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6047
6684
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -6055,17 +6692,17 @@ export declare class ComfyApp {
6055
6692
  hash_type: z.ZodOptional<z.ZodString>;
6056
6693
  directory: z.ZodString;
6057
6694
  }, "strip", z.ZodTypeAny, {
6058
- name?: string;
6059
- url?: string;
6060
- hash?: string;
6061
- hash_type?: string;
6062
- directory?: string;
6695
+ name: string;
6696
+ url: string;
6697
+ directory: string;
6698
+ hash?: string | undefined;
6699
+ hash_type?: string | undefined;
6063
6700
  }, {
6064
- name?: string;
6065
- url?: string;
6066
- hash?: string;
6067
- hash_type?: string;
6068
- directory?: string;
6701
+ name: string;
6702
+ url: string;
6703
+ directory: string;
6704
+ hash?: string | undefined;
6705
+ hash_type?: string | undefined;
6069
6706
  }>, "many">>;
6070
6707
  }, z.ZodTypeAny, "passthrough">>;
6071
6708
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -6165,17 +6802,17 @@ export declare class ComfyApp {
6165
6802
  hash_type: z.ZodOptional<z.ZodString>;
6166
6803
  directory: z.ZodString;
6167
6804
  }, "strip", z.ZodTypeAny, {
6168
- name?: string;
6169
- url?: string;
6170
- hash?: string;
6171
- hash_type?: string;
6172
- directory?: string;
6805
+ name: string;
6806
+ url: string;
6807
+ directory: string;
6808
+ hash?: string | undefined;
6809
+ hash_type?: string | undefined;
6173
6810
  }, {
6174
- name?: string;
6175
- url?: string;
6176
- hash?: string;
6177
- hash_type?: string;
6178
- directory?: string;
6811
+ name: string;
6812
+ url: string;
6813
+ directory: string;
6814
+ hash?: string | undefined;
6815
+ hash_type?: string | undefined;
6179
6816
  }>, "many">>;
6180
6817
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6181
6818
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -6189,17 +6826,17 @@ export declare class ComfyApp {
6189
6826
  hash_type: z.ZodOptional<z.ZodString>;
6190
6827
  directory: z.ZodString;
6191
6828
  }, "strip", z.ZodTypeAny, {
6192
- name?: string;
6193
- url?: string;
6194
- hash?: string;
6195
- hash_type?: string;
6196
- directory?: string;
6829
+ name: string;
6830
+ url: string;
6831
+ directory: string;
6832
+ hash?: string | undefined;
6833
+ hash_type?: string | undefined;
6197
6834
  }, {
6198
- name?: string;
6199
- url?: string;
6200
- hash?: string;
6201
- hash_type?: string;
6202
- directory?: string;
6835
+ name: string;
6836
+ url: string;
6837
+ directory: string;
6838
+ hash?: string | undefined;
6839
+ hash_type?: string | undefined;
6203
6840
  }>, "many">>;
6204
6841
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6205
6842
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -6213,17 +6850,17 @@ export declare class ComfyApp {
6213
6850
  hash_type: z.ZodOptional<z.ZodString>;
6214
6851
  directory: z.ZodString;
6215
6852
  }, "strip", z.ZodTypeAny, {
6216
- name?: string;
6217
- url?: string;
6218
- hash?: string;
6219
- hash_type?: string;
6220
- directory?: string;
6853
+ name: string;
6854
+ url: string;
6855
+ directory: string;
6856
+ hash?: string | undefined;
6857
+ hash_type?: string | undefined;
6221
6858
  }, {
6222
- name?: string;
6223
- url?: string;
6224
- hash?: string;
6225
- hash_type?: string;
6226
- directory?: string;
6859
+ name: string;
6860
+ url: string;
6861
+ directory: string;
6862
+ hash?: string | undefined;
6863
+ hash_type?: string | undefined;
6227
6864
  }>, "many">>;
6228
6865
  }, z.ZodTypeAny, "passthrough">>;
6229
6866
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -6323,17 +6960,17 @@ export declare class ComfyApp {
6323
6960
  hash_type: z.ZodOptional<z.ZodString>;
6324
6961
  directory: z.ZodString;
6325
6962
  }, "strip", z.ZodTypeAny, {
6326
- name?: string;
6327
- url?: string;
6328
- hash?: string;
6329
- hash_type?: string;
6330
- directory?: string;
6963
+ name: string;
6964
+ url: string;
6965
+ directory: string;
6966
+ hash?: string | undefined;
6967
+ hash_type?: string | undefined;
6331
6968
  }, {
6332
- name?: string;
6333
- url?: string;
6334
- hash?: string;
6335
- hash_type?: string;
6336
- directory?: string;
6969
+ name: string;
6970
+ url: string;
6971
+ directory: string;
6972
+ hash?: string | undefined;
6973
+ hash_type?: string | undefined;
6337
6974
  }>, "many">>;
6338
6975
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
6339
6976
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -6347,17 +6984,17 @@ export declare class ComfyApp {
6347
6984
  hash_type: z.ZodOptional<z.ZodString>;
6348
6985
  directory: z.ZodString;
6349
6986
  }, "strip", z.ZodTypeAny, {
6350
- name?: string;
6351
- url?: string;
6352
- hash?: string;
6353
- hash_type?: string;
6354
- directory?: string;
6987
+ name: string;
6988
+ url: string;
6989
+ directory: string;
6990
+ hash?: string | undefined;
6991
+ hash_type?: string | undefined;
6355
6992
  }, {
6356
- name?: string;
6357
- url?: string;
6358
- hash?: string;
6359
- hash_type?: string;
6360
- directory?: string;
6993
+ name: string;
6994
+ url: string;
6995
+ directory: string;
6996
+ hash?: string | undefined;
6997
+ hash_type?: string | undefined;
6361
6998
  }>, "many">>;
6362
6999
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
6363
7000
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -6371,17 +7008,17 @@ export declare class ComfyApp {
6371
7008
  hash_type: z.ZodOptional<z.ZodString>;
6372
7009
  directory: z.ZodString;
6373
7010
  }, "strip", z.ZodTypeAny, {
6374
- name?: string;
6375
- url?: string;
6376
- hash?: string;
6377
- hash_type?: string;
6378
- directory?: string;
7011
+ name: string;
7012
+ url: string;
7013
+ directory: string;
7014
+ hash?: string | undefined;
7015
+ hash_type?: string | undefined;
6379
7016
  }, {
6380
- name?: string;
6381
- url?: string;
6382
- hash?: string;
6383
- hash_type?: string;
6384
- directory?: string;
7017
+ name: string;
7018
+ url: string;
7019
+ directory: string;
7020
+ hash?: string | undefined;
7021
+ hash_type?: string | undefined;
6385
7022
  }>, "many">>;
6386
7023
  }, z.ZodTypeAny, "passthrough">>;
6387
7024
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -6854,22 +7491,24 @@ export declare class ComfyApp {
6854
7491
  hash_type: z.ZodOptional<z.ZodString>;
6855
7492
  directory: z.ZodString;
6856
7493
  }, "strip", z.ZodTypeAny, {
6857
- name?: string;
6858
- url?: string;
6859
- hash?: string;
6860
- hash_type?: string;
6861
- directory?: string;
7494
+ name: string;
7495
+ url: string;
7496
+ directory: string;
7497
+ hash?: string | undefined;
7498
+ hash_type?: string | undefined;
6862
7499
  }, {
6863
- name?: string;
6864
- url?: string;
6865
- hash?: string;
6866
- hash_type?: string;
6867
- directory?: string;
7500
+ name: string;
7501
+ url: string;
7502
+ directory: string;
7503
+ hash?: string | undefined;
7504
+ hash_type?: string | undefined;
6868
7505
  }>, "many">>;
6869
7506
  }, z.ZodTypeAny, "passthrough">>;
6870
7507
 
6871
7508
  /** Schema version 1 */
6872
7509
  declare const zComfyWorkflow1: z.ZodObject<{
7510
+ id: z.ZodOptional<z.ZodString>;
7511
+ revision: z.ZodOptional<z.ZodNumber>;
6873
7512
  version: z.ZodLiteral<1>;
6874
7513
  config: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6875
7514
  links_ontop: z.ZodOptional<z.ZodBoolean>;
@@ -7010,17 +7649,17 @@ export declare class ComfyApp {
7010
7649
  hash_type: z.ZodOptional<z.ZodString>;
7011
7650
  directory: z.ZodString;
7012
7651
  }, "strip", z.ZodTypeAny, {
7013
- name?: string;
7014
- url?: string;
7015
- hash?: string;
7016
- hash_type?: string;
7017
- directory?: string;
7652
+ name: string;
7653
+ url: string;
7654
+ directory: string;
7655
+ hash?: string | undefined;
7656
+ hash_type?: string | undefined;
7018
7657
  }, {
7019
- name?: string;
7020
- url?: string;
7021
- hash?: string;
7022
- hash_type?: string;
7023
- directory?: string;
7658
+ name: string;
7659
+ url: string;
7660
+ directory: string;
7661
+ hash?: string | undefined;
7662
+ hash_type?: string | undefined;
7024
7663
  }>, "many">>;
7025
7664
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7026
7665
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -7034,17 +7673,17 @@ export declare class ComfyApp {
7034
7673
  hash_type: z.ZodOptional<z.ZodString>;
7035
7674
  directory: z.ZodString;
7036
7675
  }, "strip", z.ZodTypeAny, {
7037
- name?: string;
7038
- url?: string;
7039
- hash?: string;
7040
- hash_type?: string;
7041
- directory?: string;
7676
+ name: string;
7677
+ url: string;
7678
+ directory: string;
7679
+ hash?: string | undefined;
7680
+ hash_type?: string | undefined;
7042
7681
  }, {
7043
- name?: string;
7044
- url?: string;
7045
- hash?: string;
7046
- hash_type?: string;
7047
- directory?: string;
7682
+ name: string;
7683
+ url: string;
7684
+ directory: string;
7685
+ hash?: string | undefined;
7686
+ hash_type?: string | undefined;
7048
7687
  }>, "many">>;
7049
7688
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7050
7689
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -7058,17 +7697,17 @@ export declare class ComfyApp {
7058
7697
  hash_type: z.ZodOptional<z.ZodString>;
7059
7698
  directory: z.ZodString;
7060
7699
  }, "strip", z.ZodTypeAny, {
7061
- name?: string;
7062
- url?: string;
7063
- hash?: string;
7064
- hash_type?: string;
7065
- directory?: string;
7700
+ name: string;
7701
+ url: string;
7702
+ directory: string;
7703
+ hash?: string | undefined;
7704
+ hash_type?: string | undefined;
7066
7705
  }, {
7067
- name?: string;
7068
- url?: string;
7069
- hash?: string;
7070
- hash_type?: string;
7071
- directory?: string;
7706
+ name: string;
7707
+ url: string;
7708
+ directory: string;
7709
+ hash?: string | undefined;
7710
+ hash_type?: string | undefined;
7072
7711
  }>, "many">>;
7073
7712
  }, z.ZodTypeAny, "passthrough">>;
7074
7713
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -7168,17 +7807,17 @@ export declare class ComfyApp {
7168
7807
  hash_type: z.ZodOptional<z.ZodString>;
7169
7808
  directory: z.ZodString;
7170
7809
  }, "strip", z.ZodTypeAny, {
7171
- name?: string;
7172
- url?: string;
7173
- hash?: string;
7174
- hash_type?: string;
7175
- directory?: string;
7810
+ name: string;
7811
+ url: string;
7812
+ directory: string;
7813
+ hash?: string | undefined;
7814
+ hash_type?: string | undefined;
7176
7815
  }, {
7177
- name?: string;
7178
- url?: string;
7179
- hash?: string;
7180
- hash_type?: string;
7181
- directory?: string;
7816
+ name: string;
7817
+ url: string;
7818
+ directory: string;
7819
+ hash?: string | undefined;
7820
+ hash_type?: string | undefined;
7182
7821
  }>, "many">>;
7183
7822
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7184
7823
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -7192,17 +7831,17 @@ export declare class ComfyApp {
7192
7831
  hash_type: z.ZodOptional<z.ZodString>;
7193
7832
  directory: z.ZodString;
7194
7833
  }, "strip", z.ZodTypeAny, {
7195
- name?: string;
7196
- url?: string;
7197
- hash?: string;
7198
- hash_type?: string;
7199
- directory?: string;
7834
+ name: string;
7835
+ url: string;
7836
+ directory: string;
7837
+ hash?: string | undefined;
7838
+ hash_type?: string | undefined;
7200
7839
  }, {
7201
- name?: string;
7202
- url?: string;
7203
- hash?: string;
7204
- hash_type?: string;
7205
- directory?: string;
7840
+ name: string;
7841
+ url: string;
7842
+ directory: string;
7843
+ hash?: string | undefined;
7844
+ hash_type?: string | undefined;
7206
7845
  }>, "many">>;
7207
7846
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7208
7847
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -7216,17 +7855,17 @@ export declare class ComfyApp {
7216
7855
  hash_type: z.ZodOptional<z.ZodString>;
7217
7856
  directory: z.ZodString;
7218
7857
  }, "strip", z.ZodTypeAny, {
7219
- name?: string;
7220
- url?: string;
7221
- hash?: string;
7222
- hash_type?: string;
7223
- directory?: string;
7858
+ name: string;
7859
+ url: string;
7860
+ directory: string;
7861
+ hash?: string | undefined;
7862
+ hash_type?: string | undefined;
7224
7863
  }, {
7225
- name?: string;
7226
- url?: string;
7227
- hash?: string;
7228
- hash_type?: string;
7229
- directory?: string;
7864
+ name: string;
7865
+ url: string;
7866
+ directory: string;
7867
+ hash?: string | undefined;
7868
+ hash_type?: string | undefined;
7230
7869
  }>, "many">>;
7231
7870
  }, z.ZodTypeAny, "passthrough">>;
7232
7871
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -7326,17 +7965,17 @@ export declare class ComfyApp {
7326
7965
  hash_type: z.ZodOptional<z.ZodString>;
7327
7966
  directory: z.ZodString;
7328
7967
  }, "strip", z.ZodTypeAny, {
7329
- name?: string;
7330
- url?: string;
7331
- hash?: string;
7332
- hash_type?: string;
7333
- directory?: string;
7968
+ name: string;
7969
+ url: string;
7970
+ directory: string;
7971
+ hash?: string | undefined;
7972
+ hash_type?: string | undefined;
7334
7973
  }, {
7335
- name?: string;
7336
- url?: string;
7337
- hash?: string;
7338
- hash_type?: string;
7339
- directory?: string;
7974
+ name: string;
7975
+ url: string;
7976
+ directory: string;
7977
+ hash?: string | undefined;
7978
+ hash_type?: string | undefined;
7340
7979
  }>, "many">>;
7341
7980
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
7342
7981
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -7350,17 +7989,17 @@ export declare class ComfyApp {
7350
7989
  hash_type: z.ZodOptional<z.ZodString>;
7351
7990
  directory: z.ZodString;
7352
7991
  }, "strip", z.ZodTypeAny, {
7353
- name?: string;
7354
- url?: string;
7355
- hash?: string;
7356
- hash_type?: string;
7357
- directory?: string;
7992
+ name: string;
7993
+ url: string;
7994
+ directory: string;
7995
+ hash?: string | undefined;
7996
+ hash_type?: string | undefined;
7358
7997
  }, {
7359
- name?: string;
7360
- url?: string;
7361
- hash?: string;
7362
- hash_type?: string;
7363
- directory?: string;
7998
+ name: string;
7999
+ url: string;
8000
+ directory: string;
8001
+ hash?: string | undefined;
8002
+ hash_type?: string | undefined;
7364
8003
  }>, "many">>;
7365
8004
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
7366
8005
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -7374,17 +8013,17 @@ export declare class ComfyApp {
7374
8013
  hash_type: z.ZodOptional<z.ZodString>;
7375
8014
  directory: z.ZodString;
7376
8015
  }, "strip", z.ZodTypeAny, {
7377
- name?: string;
7378
- url?: string;
7379
- hash?: string;
7380
- hash_type?: string;
7381
- directory?: string;
8016
+ name: string;
8017
+ url: string;
8018
+ directory: string;
8019
+ hash?: string | undefined;
8020
+ hash_type?: string | undefined;
7382
8021
  }, {
7383
- name?: string;
7384
- url?: string;
7385
- hash?: string;
7386
- hash_type?: string;
7387
- directory?: string;
8022
+ name: string;
8023
+ url: string;
8024
+ directory: string;
8025
+ hash?: string | undefined;
8026
+ hash_type?: string | undefined;
7388
8027
  }>, "many">>;
7389
8028
  }, z.ZodTypeAny, "passthrough">>;
7390
8029
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -7903,19 +8542,21 @@ export declare class ComfyApp {
7903
8542
  hash_type: z.ZodOptional<z.ZodString>;
7904
8543
  directory: z.ZodString;
7905
8544
  }, "strip", z.ZodTypeAny, {
7906
- name?: string;
7907
- url?: string;
7908
- hash?: string;
7909
- hash_type?: string;
7910
- directory?: string;
8545
+ name: string;
8546
+ url: string;
8547
+ directory: string;
8548
+ hash?: string | undefined;
8549
+ hash_type?: string | undefined;
7911
8550
  }, {
7912
- name?: string;
7913
- url?: string;
7914
- hash?: string;
7915
- hash_type?: string;
7916
- directory?: string;
8551
+ name: string;
8552
+ url: string;
8553
+ directory: string;
8554
+ hash?: string | undefined;
8555
+ hash_type?: string | undefined;
7917
8556
  }>, "many">>;
7918
8557
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8558
+ id: z.ZodOptional<z.ZodString>;
8559
+ revision: z.ZodOptional<z.ZodNumber>;
7919
8560
  version: z.ZodLiteral<1>;
7920
8561
  config: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7921
8562
  links_ontop: z.ZodOptional<z.ZodBoolean>;
@@ -8056,17 +8697,17 @@ export declare class ComfyApp {
8056
8697
  hash_type: z.ZodOptional<z.ZodString>;
8057
8698
  directory: z.ZodString;
8058
8699
  }, "strip", z.ZodTypeAny, {
8059
- name?: string;
8060
- url?: string;
8061
- hash?: string;
8062
- hash_type?: string;
8063
- directory?: string;
8700
+ name: string;
8701
+ url: string;
8702
+ directory: string;
8703
+ hash?: string | undefined;
8704
+ hash_type?: string | undefined;
8064
8705
  }, {
8065
- name?: string;
8066
- url?: string;
8067
- hash?: string;
8068
- hash_type?: string;
8069
- directory?: string;
8706
+ name: string;
8707
+ url: string;
8708
+ directory: string;
8709
+ hash?: string | undefined;
8710
+ hash_type?: string | undefined;
8070
8711
  }>, "many">>;
8071
8712
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8072
8713
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -8080,17 +8721,17 @@ export declare class ComfyApp {
8080
8721
  hash_type: z.ZodOptional<z.ZodString>;
8081
8722
  directory: z.ZodString;
8082
8723
  }, "strip", z.ZodTypeAny, {
8083
- name?: string;
8084
- url?: string;
8085
- hash?: string;
8086
- hash_type?: string;
8087
- directory?: string;
8724
+ name: string;
8725
+ url: string;
8726
+ directory: string;
8727
+ hash?: string | undefined;
8728
+ hash_type?: string | undefined;
8088
8729
  }, {
8089
- name?: string;
8090
- url?: string;
8091
- hash?: string;
8092
- hash_type?: string;
8093
- directory?: string;
8730
+ name: string;
8731
+ url: string;
8732
+ directory: string;
8733
+ hash?: string | undefined;
8734
+ hash_type?: string | undefined;
8094
8735
  }>, "many">>;
8095
8736
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8096
8737
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -8104,17 +8745,17 @@ export declare class ComfyApp {
8104
8745
  hash_type: z.ZodOptional<z.ZodString>;
8105
8746
  directory: z.ZodString;
8106
8747
  }, "strip", z.ZodTypeAny, {
8107
- name?: string;
8108
- url?: string;
8109
- hash?: string;
8110
- hash_type?: string;
8111
- directory?: string;
8748
+ name: string;
8749
+ url: string;
8750
+ directory: string;
8751
+ hash?: string | undefined;
8752
+ hash_type?: string | undefined;
8112
8753
  }, {
8113
- name?: string;
8114
- url?: string;
8115
- hash?: string;
8116
- hash_type?: string;
8117
- directory?: string;
8754
+ name: string;
8755
+ url: string;
8756
+ directory: string;
8757
+ hash?: string | undefined;
8758
+ hash_type?: string | undefined;
8118
8759
  }>, "many">>;
8119
8760
  }, z.ZodTypeAny, "passthrough">>;
8120
8761
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -8214,17 +8855,17 @@ export declare class ComfyApp {
8214
8855
  hash_type: z.ZodOptional<z.ZodString>;
8215
8856
  directory: z.ZodString;
8216
8857
  }, "strip", z.ZodTypeAny, {
8217
- name?: string;
8218
- url?: string;
8219
- hash?: string;
8220
- hash_type?: string;
8221
- directory?: string;
8858
+ name: string;
8859
+ url: string;
8860
+ directory: string;
8861
+ hash?: string | undefined;
8862
+ hash_type?: string | undefined;
8222
8863
  }, {
8223
- name?: string;
8224
- url?: string;
8225
- hash?: string;
8226
- hash_type?: string;
8227
- directory?: string;
8864
+ name: string;
8865
+ url: string;
8866
+ directory: string;
8867
+ hash?: string | undefined;
8868
+ hash_type?: string | undefined;
8228
8869
  }>, "many">>;
8229
8870
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8230
8871
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -8238,17 +8879,17 @@ export declare class ComfyApp {
8238
8879
  hash_type: z.ZodOptional<z.ZodString>;
8239
8880
  directory: z.ZodString;
8240
8881
  }, "strip", z.ZodTypeAny, {
8241
- name?: string;
8242
- url?: string;
8243
- hash?: string;
8244
- hash_type?: string;
8245
- directory?: string;
8882
+ name: string;
8883
+ url: string;
8884
+ directory: string;
8885
+ hash?: string | undefined;
8886
+ hash_type?: string | undefined;
8246
8887
  }, {
8247
- name?: string;
8248
- url?: string;
8249
- hash?: string;
8250
- hash_type?: string;
8251
- directory?: string;
8888
+ name: string;
8889
+ url: string;
8890
+ directory: string;
8891
+ hash?: string | undefined;
8892
+ hash_type?: string | undefined;
8252
8893
  }>, "many">>;
8253
8894
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8254
8895
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -8262,17 +8903,17 @@ export declare class ComfyApp {
8262
8903
  hash_type: z.ZodOptional<z.ZodString>;
8263
8904
  directory: z.ZodString;
8264
8905
  }, "strip", z.ZodTypeAny, {
8265
- name?: string;
8266
- url?: string;
8267
- hash?: string;
8268
- hash_type?: string;
8269
- directory?: string;
8906
+ name: string;
8907
+ url: string;
8908
+ directory: string;
8909
+ hash?: string | undefined;
8910
+ hash_type?: string | undefined;
8270
8911
  }, {
8271
- name?: string;
8272
- url?: string;
8273
- hash?: string;
8274
- hash_type?: string;
8275
- directory?: string;
8912
+ name: string;
8913
+ url: string;
8914
+ directory: string;
8915
+ hash?: string | undefined;
8916
+ hash_type?: string | undefined;
8276
8917
  }>, "many">>;
8277
8918
  }, z.ZodTypeAny, "passthrough">>;
8278
8919
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -8372,17 +9013,17 @@ export declare class ComfyApp {
8372
9013
  hash_type: z.ZodOptional<z.ZodString>;
8373
9014
  directory: z.ZodString;
8374
9015
  }, "strip", z.ZodTypeAny, {
8375
- name?: string;
8376
- url?: string;
8377
- hash?: string;
8378
- hash_type?: string;
8379
- directory?: string;
9016
+ name: string;
9017
+ url: string;
9018
+ directory: string;
9019
+ hash?: string | undefined;
9020
+ hash_type?: string | undefined;
8380
9021
  }, {
8381
- name?: string;
8382
- url?: string;
8383
- hash?: string;
8384
- hash_type?: string;
8385
- directory?: string;
9022
+ name: string;
9023
+ url: string;
9024
+ directory: string;
9025
+ hash?: string | undefined;
9026
+ hash_type?: string | undefined;
8386
9027
  }>, "many">>;
8387
9028
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
8388
9029
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -8396,17 +9037,17 @@ export declare class ComfyApp {
8396
9037
  hash_type: z.ZodOptional<z.ZodString>;
8397
9038
  directory: z.ZodString;
8398
9039
  }, "strip", z.ZodTypeAny, {
8399
- name?: string;
8400
- url?: string;
8401
- hash?: string;
8402
- hash_type?: string;
8403
- directory?: string;
9040
+ name: string;
9041
+ url: string;
9042
+ directory: string;
9043
+ hash?: string | undefined;
9044
+ hash_type?: string | undefined;
8404
9045
  }, {
8405
- name?: string;
8406
- url?: string;
8407
- hash?: string;
8408
- hash_type?: string;
8409
- directory?: string;
9046
+ name: string;
9047
+ url: string;
9048
+ directory: string;
9049
+ hash?: string | undefined;
9050
+ hash_type?: string | undefined;
8410
9051
  }>, "many">>;
8411
9052
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
8412
9053
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -8420,17 +9061,17 @@ export declare class ComfyApp {
8420
9061
  hash_type: z.ZodOptional<z.ZodString>;
8421
9062
  directory: z.ZodString;
8422
9063
  }, "strip", z.ZodTypeAny, {
8423
- name?: string;
8424
- url?: string;
8425
- hash?: string;
8426
- hash_type?: string;
8427
- directory?: string;
9064
+ name: string;
9065
+ url: string;
9066
+ directory: string;
9067
+ hash?: string | undefined;
9068
+ hash_type?: string | undefined;
8428
9069
  }, {
8429
- name?: string;
8430
- url?: string;
8431
- hash?: string;
8432
- hash_type?: string;
8433
- directory?: string;
9070
+ name: string;
9071
+ url: string;
9072
+ directory: string;
9073
+ hash?: string | undefined;
9074
+ hash_type?: string | undefined;
8434
9075
  }>, "many">>;
8435
9076
  }, z.ZodTypeAny, "passthrough">>;
8436
9077
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -8949,19 +9590,21 @@ export declare class ComfyApp {
8949
9590
  hash_type: z.ZodOptional<z.ZodString>;
8950
9591
  directory: z.ZodString;
8951
9592
  }, "strip", z.ZodTypeAny, {
8952
- name?: string;
8953
- url?: string;
8954
- hash?: string;
8955
- hash_type?: string;
8956
- directory?: string;
9593
+ name: string;
9594
+ url: string;
9595
+ directory: string;
9596
+ hash?: string | undefined;
9597
+ hash_type?: string | undefined;
8957
9598
  }, {
8958
- name?: string;
8959
- url?: string;
8960
- hash?: string;
8961
- hash_type?: string;
8962
- directory?: string;
9599
+ name: string;
9600
+ url: string;
9601
+ directory: string;
9602
+ hash?: string | undefined;
9603
+ hash_type?: string | undefined;
8963
9604
  }>, "many">>;
8964
9605
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
9606
+ id: z.ZodOptional<z.ZodString>;
9607
+ revision: z.ZodOptional<z.ZodNumber>;
8965
9608
  version: z.ZodLiteral<1>;
8966
9609
  config: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8967
9610
  links_ontop: z.ZodOptional<z.ZodBoolean>;
@@ -9102,17 +9745,17 @@ export declare class ComfyApp {
9102
9745
  hash_type: z.ZodOptional<z.ZodString>;
9103
9746
  directory: z.ZodString;
9104
9747
  }, "strip", z.ZodTypeAny, {
9105
- name?: string;
9106
- url?: string;
9107
- hash?: string;
9108
- hash_type?: string;
9109
- directory?: string;
9748
+ name: string;
9749
+ url: string;
9750
+ directory: string;
9751
+ hash?: string | undefined;
9752
+ hash_type?: string | undefined;
9110
9753
  }, {
9111
- name?: string;
9112
- url?: string;
9113
- hash?: string;
9114
- hash_type?: string;
9115
- directory?: string;
9754
+ name: string;
9755
+ url: string;
9756
+ directory: string;
9757
+ hash?: string | undefined;
9758
+ hash_type?: string | undefined;
9116
9759
  }>, "many">>;
9117
9760
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9118
9761
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -9126,17 +9769,17 @@ export declare class ComfyApp {
9126
9769
  hash_type: z.ZodOptional<z.ZodString>;
9127
9770
  directory: z.ZodString;
9128
9771
  }, "strip", z.ZodTypeAny, {
9129
- name?: string;
9130
- url?: string;
9131
- hash?: string;
9132
- hash_type?: string;
9133
- directory?: string;
9772
+ name: string;
9773
+ url: string;
9774
+ directory: string;
9775
+ hash?: string | undefined;
9776
+ hash_type?: string | undefined;
9134
9777
  }, {
9135
- name?: string;
9136
- url?: string;
9137
- hash?: string;
9138
- hash_type?: string;
9139
- directory?: string;
9778
+ name: string;
9779
+ url: string;
9780
+ directory: string;
9781
+ hash?: string | undefined;
9782
+ hash_type?: string | undefined;
9140
9783
  }>, "many">>;
9141
9784
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
9142
9785
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -9150,17 +9793,17 @@ export declare class ComfyApp {
9150
9793
  hash_type: z.ZodOptional<z.ZodString>;
9151
9794
  directory: z.ZodString;
9152
9795
  }, "strip", z.ZodTypeAny, {
9153
- name?: string;
9154
- url?: string;
9155
- hash?: string;
9156
- hash_type?: string;
9157
- directory?: string;
9796
+ name: string;
9797
+ url: string;
9798
+ directory: string;
9799
+ hash?: string | undefined;
9800
+ hash_type?: string | undefined;
9158
9801
  }, {
9159
- name?: string;
9160
- url?: string;
9161
- hash?: string;
9162
- hash_type?: string;
9163
- directory?: string;
9802
+ name: string;
9803
+ url: string;
9804
+ directory: string;
9805
+ hash?: string | undefined;
9806
+ hash_type?: string | undefined;
9164
9807
  }>, "many">>;
9165
9808
  }, z.ZodTypeAny, "passthrough">>;
9166
9809
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -9260,17 +9903,17 @@ export declare class ComfyApp {
9260
9903
  hash_type: z.ZodOptional<z.ZodString>;
9261
9904
  directory: z.ZodString;
9262
9905
  }, "strip", z.ZodTypeAny, {
9263
- name?: string;
9264
- url?: string;
9265
- hash?: string;
9266
- hash_type?: string;
9267
- directory?: string;
9906
+ name: string;
9907
+ url: string;
9908
+ directory: string;
9909
+ hash?: string | undefined;
9910
+ hash_type?: string | undefined;
9268
9911
  }, {
9269
- name?: string;
9270
- url?: string;
9271
- hash?: string;
9272
- hash_type?: string;
9273
- directory?: string;
9912
+ name: string;
9913
+ url: string;
9914
+ directory: string;
9915
+ hash?: string | undefined;
9916
+ hash_type?: string | undefined;
9274
9917
  }>, "many">>;
9275
9918
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9276
9919
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -9284,17 +9927,17 @@ export declare class ComfyApp {
9284
9927
  hash_type: z.ZodOptional<z.ZodString>;
9285
9928
  directory: z.ZodString;
9286
9929
  }, "strip", z.ZodTypeAny, {
9287
- name?: string;
9288
- url?: string;
9289
- hash?: string;
9290
- hash_type?: string;
9291
- directory?: string;
9930
+ name: string;
9931
+ url: string;
9932
+ directory: string;
9933
+ hash?: string | undefined;
9934
+ hash_type?: string | undefined;
9292
9935
  }, {
9293
- name?: string;
9294
- url?: string;
9295
- hash?: string;
9296
- hash_type?: string;
9297
- directory?: string;
9936
+ name: string;
9937
+ url: string;
9938
+ directory: string;
9939
+ hash?: string | undefined;
9940
+ hash_type?: string | undefined;
9298
9941
  }>, "many">>;
9299
9942
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
9300
9943
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -9308,17 +9951,17 @@ export declare class ComfyApp {
9308
9951
  hash_type: z.ZodOptional<z.ZodString>;
9309
9952
  directory: z.ZodString;
9310
9953
  }, "strip", z.ZodTypeAny, {
9311
- name?: string;
9312
- url?: string;
9313
- hash?: string;
9314
- hash_type?: string;
9315
- directory?: string;
9954
+ name: string;
9955
+ url: string;
9956
+ directory: string;
9957
+ hash?: string | undefined;
9958
+ hash_type?: string | undefined;
9316
9959
  }, {
9317
- name?: string;
9318
- url?: string;
9319
- hash?: string;
9320
- hash_type?: string;
9321
- directory?: string;
9960
+ name: string;
9961
+ url: string;
9962
+ directory: string;
9963
+ hash?: string | undefined;
9964
+ hash_type?: string | undefined;
9322
9965
  }>, "many">>;
9323
9966
  }, z.ZodTypeAny, "passthrough">>;
9324
9967
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -9418,17 +10061,17 @@ export declare class ComfyApp {
9418
10061
  hash_type: z.ZodOptional<z.ZodString>;
9419
10062
  directory: z.ZodString;
9420
10063
  }, "strip", z.ZodTypeAny, {
9421
- name?: string;
9422
- url?: string;
9423
- hash?: string;
9424
- hash_type?: string;
9425
- directory?: string;
10064
+ name: string;
10065
+ url: string;
10066
+ directory: string;
10067
+ hash?: string | undefined;
10068
+ hash_type?: string | undefined;
9426
10069
  }, {
9427
- name?: string;
9428
- url?: string;
9429
- hash?: string;
9430
- hash_type?: string;
9431
- directory?: string;
10070
+ name: string;
10071
+ url: string;
10072
+ directory: string;
10073
+ hash?: string | undefined;
10074
+ hash_type?: string | undefined;
9432
10075
  }>, "many">>;
9433
10076
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
9434
10077
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -9442,17 +10085,17 @@ export declare class ComfyApp {
9442
10085
  hash_type: z.ZodOptional<z.ZodString>;
9443
10086
  directory: z.ZodString;
9444
10087
  }, "strip", z.ZodTypeAny, {
9445
- name?: string;
9446
- url?: string;
9447
- hash?: string;
9448
- hash_type?: string;
9449
- directory?: string;
10088
+ name: string;
10089
+ url: string;
10090
+ directory: string;
10091
+ hash?: string | undefined;
10092
+ hash_type?: string | undefined;
9450
10093
  }, {
9451
- name?: string;
9452
- url?: string;
9453
- hash?: string;
9454
- hash_type?: string;
9455
- directory?: string;
10094
+ name: string;
10095
+ url: string;
10096
+ directory: string;
10097
+ hash?: string | undefined;
10098
+ hash_type?: string | undefined;
9456
10099
  }>, "many">>;
9457
10100
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
9458
10101
  "Node name for S&R": z.ZodOptional<z.ZodString>;
@@ -9466,17 +10109,17 @@ export declare class ComfyApp {
9466
10109
  hash_type: z.ZodOptional<z.ZodString>;
9467
10110
  directory: z.ZodString;
9468
10111
  }, "strip", z.ZodTypeAny, {
9469
- name?: string;
9470
- url?: string;
9471
- hash?: string;
9472
- hash_type?: string;
9473
- directory?: string;
10112
+ name: string;
10113
+ url: string;
10114
+ directory: string;
10115
+ hash?: string | undefined;
10116
+ hash_type?: string | undefined;
9474
10117
  }, {
9475
- name?: string;
9476
- url?: string;
9477
- hash?: string;
9478
- hash_type?: string;
9479
- directory?: string;
10118
+ name: string;
10119
+ url: string;
10120
+ directory: string;
10121
+ hash?: string | undefined;
10122
+ hash_type?: string | undefined;
9480
10123
  }>, "many">>;
9481
10124
  }, z.ZodTypeAny, "passthrough">>;
9482
10125
  widgets_values: z.ZodOptional<z.ZodUnion<[z.ZodArray<z.ZodAny, "many">, z.ZodRecord<z.ZodString, z.ZodAny>]>>;
@@ -9995,17 +10638,17 @@ export declare class ComfyApp {
9995
10638
  hash_type: z.ZodOptional<z.ZodString>;
9996
10639
  directory: z.ZodString;
9997
10640
  }, "strip", z.ZodTypeAny, {
9998
- name?: string;
9999
- url?: string;
10000
- hash?: string;
10001
- hash_type?: string;
10002
- directory?: string;
10641
+ name: string;
10642
+ url: string;
10643
+ directory: string;
10644
+ hash?: string | undefined;
10645
+ hash_type?: string | undefined;
10003
10646
  }, {
10004
- name?: string;
10005
- url?: string;
10006
- hash?: string;
10007
- hash_type?: string;
10008
- directory?: string;
10647
+ name: string;
10648
+ url: string;
10649
+ directory: string;
10650
+ hash?: string | undefined;
10651
+ hash_type?: string | undefined;
10009
10652
  }>, "many">>;
10010
10653
  }, z.ZodTypeAny, "passthrough">>;
10011
10654
 
@@ -10246,34 +10889,34 @@ export declare class ComfyApp {
10246
10889
  timeout: z.ZodOptional<z.ZodNumber>;
10247
10890
  max_retries: z.ZodOptional<z.ZodNumber>;
10248
10891
  }, "strip", z.ZodTypeAny, {
10249
- refresh?: number;
10250
- route?: string;
10251
- response_key?: string;
10252
- query_params?: Record<string, string>;
10253
- refresh_button?: boolean;
10254
- control_after_refresh?: "first" | "last";
10255
- timeout?: number;
10256
- max_retries?: number;
10892
+ route: string;
10893
+ refresh?: number | undefined;
10894
+ response_key?: string | undefined;
10895
+ query_params?: Record<string, string> | undefined;
10896
+ refresh_button?: boolean | undefined;
10897
+ control_after_refresh?: "first" | "last" | undefined;
10898
+ timeout?: number | undefined;
10899
+ max_retries?: number | undefined;
10257
10900
  }, {
10258
- refresh?: number;
10259
- route?: string;
10260
- response_key?: string;
10261
- query_params?: Record<string, string>;
10262
- refresh_button?: boolean;
10263
- control_after_refresh?: "first" | "last";
10264
- timeout?: number;
10265
- max_retries?: number;
10901
+ route: string;
10902
+ refresh?: number | undefined;
10903
+ response_key?: string | undefined;
10904
+ query_params?: Record<string, string> | undefined;
10905
+ refresh_button?: boolean | undefined;
10906
+ control_after_refresh?: "first" | "last" | undefined;
10907
+ timeout?: number | undefined;
10908
+ max_retries?: number | undefined;
10266
10909
  }>>;
10267
10910
  /** Whether the widget is a multi-select widget. */
10268
10911
  multi_select: z.ZodOptional<z.ZodObject<{
10269
10912
  placeholder: z.ZodOptional<z.ZodString>;
10270
10913
  chip: z.ZodOptional<z.ZodBoolean>;
10271
10914
  }, "strip", z.ZodTypeAny, {
10272
- placeholder?: string;
10273
- chip?: boolean;
10915
+ placeholder?: string | undefined;
10916
+ chip?: boolean | undefined;
10274
10917
  }, {
10275
- placeholder?: string;
10276
- chip?: boolean;
10918
+ placeholder?: string | undefined;
10919
+ chip?: boolean | undefined;
10277
10920
  }>>;
10278
10921
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
10279
10922
  default: z.ZodOptional<z.ZodAny>;
@@ -10302,34 +10945,34 @@ export declare class ComfyApp {
10302
10945
  timeout: z.ZodOptional<z.ZodNumber>;
10303
10946
  max_retries: z.ZodOptional<z.ZodNumber>;
10304
10947
  }, "strip", z.ZodTypeAny, {
10305
- refresh?: number;
10306
- route?: string;
10307
- response_key?: string;
10308
- query_params?: Record<string, string>;
10309
- refresh_button?: boolean;
10310
- control_after_refresh?: "first" | "last";
10311
- timeout?: number;
10312
- max_retries?: number;
10948
+ route: string;
10949
+ refresh?: number | undefined;
10950
+ response_key?: string | undefined;
10951
+ query_params?: Record<string, string> | undefined;
10952
+ refresh_button?: boolean | undefined;
10953
+ control_after_refresh?: "first" | "last" | undefined;
10954
+ timeout?: number | undefined;
10955
+ max_retries?: number | undefined;
10313
10956
  }, {
10314
- refresh?: number;
10315
- route?: string;
10316
- response_key?: string;
10317
- query_params?: Record<string, string>;
10318
- refresh_button?: boolean;
10319
- control_after_refresh?: "first" | "last";
10320
- timeout?: number;
10321
- max_retries?: number;
10957
+ route: string;
10958
+ refresh?: number | undefined;
10959
+ response_key?: string | undefined;
10960
+ query_params?: Record<string, string> | undefined;
10961
+ refresh_button?: boolean | undefined;
10962
+ control_after_refresh?: "first" | "last" | undefined;
10963
+ timeout?: number | undefined;
10964
+ max_retries?: number | undefined;
10322
10965
  }>>;
10323
10966
  /** Whether the widget is a multi-select widget. */
10324
10967
  multi_select: z.ZodOptional<z.ZodObject<{
10325
10968
  placeholder: z.ZodOptional<z.ZodString>;
10326
10969
  chip: z.ZodOptional<z.ZodBoolean>;
10327
10970
  }, "strip", z.ZodTypeAny, {
10328
- placeholder?: string;
10329
- chip?: boolean;
10971
+ placeholder?: string | undefined;
10972
+ chip?: boolean | undefined;
10330
10973
  }, {
10331
- placeholder?: string;
10332
- chip?: boolean;
10974
+ placeholder?: string | undefined;
10975
+ chip?: boolean | undefined;
10333
10976
  }>>;
10334
10977
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
10335
10978
  default: z.ZodOptional<z.ZodAny>;
@@ -10358,34 +11001,34 @@ export declare class ComfyApp {
10358
11001
  timeout: z.ZodOptional<z.ZodNumber>;
10359
11002
  max_retries: z.ZodOptional<z.ZodNumber>;
10360
11003
  }, "strip", z.ZodTypeAny, {
10361
- refresh?: number;
10362
- route?: string;
10363
- response_key?: string;
10364
- query_params?: Record<string, string>;
10365
- refresh_button?: boolean;
10366
- control_after_refresh?: "first" | "last";
10367
- timeout?: number;
10368
- max_retries?: number;
11004
+ route: string;
11005
+ refresh?: number | undefined;
11006
+ response_key?: string | undefined;
11007
+ query_params?: Record<string, string> | undefined;
11008
+ refresh_button?: boolean | undefined;
11009
+ control_after_refresh?: "first" | "last" | undefined;
11010
+ timeout?: number | undefined;
11011
+ max_retries?: number | undefined;
10369
11012
  }, {
10370
- refresh?: number;
10371
- route?: string;
10372
- response_key?: string;
10373
- query_params?: Record<string, string>;
10374
- refresh_button?: boolean;
10375
- control_after_refresh?: "first" | "last";
10376
- timeout?: number;
10377
- max_retries?: number;
11013
+ route: string;
11014
+ refresh?: number | undefined;
11015
+ response_key?: string | undefined;
11016
+ query_params?: Record<string, string> | undefined;
11017
+ refresh_button?: boolean | undefined;
11018
+ control_after_refresh?: "first" | "last" | undefined;
11019
+ timeout?: number | undefined;
11020
+ max_retries?: number | undefined;
10378
11021
  }>>;
10379
11022
  /** Whether the widget is a multi-select widget. */
10380
11023
  multi_select: z.ZodOptional<z.ZodObject<{
10381
11024
  placeholder: z.ZodOptional<z.ZodString>;
10382
11025
  chip: z.ZodOptional<z.ZodBoolean>;
10383
11026
  }, "strip", z.ZodTypeAny, {
10384
- placeholder?: string;
10385
- chip?: boolean;
11027
+ placeholder?: string | undefined;
11028
+ chip?: boolean | undefined;
10386
11029
  }, {
10387
- placeholder?: string;
10388
- chip?: boolean;
11030
+ placeholder?: string | undefined;
11031
+ chip?: boolean | undefined;
10389
11032
  }>>;
10390
11033
  }>, z.ZodTypeAny, "passthrough">>>], null>, z.ZodTuple<[z.ZodLiteral<"COMBO">, z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
10391
11034
  default: z.ZodOptional<z.ZodAny>;
@@ -10414,34 +11057,34 @@ export declare class ComfyApp {
10414
11057
  timeout: z.ZodOptional<z.ZodNumber>;
10415
11058
  max_retries: z.ZodOptional<z.ZodNumber>;
10416
11059
  }, "strip", z.ZodTypeAny, {
10417
- refresh?: number;
10418
- route?: string;
10419
- response_key?: string;
10420
- query_params?: Record<string, string>;
10421
- refresh_button?: boolean;
10422
- control_after_refresh?: "first" | "last";
10423
- timeout?: number;
10424
- max_retries?: number;
11060
+ route: string;
11061
+ refresh?: number | undefined;
11062
+ response_key?: string | undefined;
11063
+ query_params?: Record<string, string> | undefined;
11064
+ refresh_button?: boolean | undefined;
11065
+ control_after_refresh?: "first" | "last" | undefined;
11066
+ timeout?: number | undefined;
11067
+ max_retries?: number | undefined;
10425
11068
  }, {
10426
- refresh?: number;
10427
- route?: string;
10428
- response_key?: string;
10429
- query_params?: Record<string, string>;
10430
- refresh_button?: boolean;
10431
- control_after_refresh?: "first" | "last";
10432
- timeout?: number;
10433
- max_retries?: number;
11069
+ route: string;
11070
+ refresh?: number | undefined;
11071
+ response_key?: string | undefined;
11072
+ query_params?: Record<string, string> | undefined;
11073
+ refresh_button?: boolean | undefined;
11074
+ control_after_refresh?: "first" | "last" | undefined;
11075
+ timeout?: number | undefined;
11076
+ max_retries?: number | undefined;
10434
11077
  }>>;
10435
11078
  /** Whether the widget is a multi-select widget. */
10436
11079
  multi_select: z.ZodOptional<z.ZodObject<{
10437
11080
  placeholder: z.ZodOptional<z.ZodString>;
10438
11081
  chip: z.ZodOptional<z.ZodBoolean>;
10439
11082
  }, "strip", z.ZodTypeAny, {
10440
- placeholder?: string;
10441
- chip?: boolean;
11083
+ placeholder?: string | undefined;
11084
+ chip?: boolean | undefined;
10442
11085
  }, {
10443
- placeholder?: string;
10444
- chip?: boolean;
11086
+ placeholder?: string | undefined;
11087
+ chip?: boolean | undefined;
10445
11088
  }>>;
10446
11089
  }>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
10447
11090
  default: z.ZodOptional<z.ZodAny>;
@@ -10470,34 +11113,34 @@ export declare class ComfyApp {
10470
11113
  timeout: z.ZodOptional<z.ZodNumber>;
10471
11114
  max_retries: z.ZodOptional<z.ZodNumber>;
10472
11115
  }, "strip", z.ZodTypeAny, {
10473
- refresh?: number;
10474
- route?: string;
10475
- response_key?: string;
10476
- query_params?: Record<string, string>;
10477
- refresh_button?: boolean;
10478
- control_after_refresh?: "first" | "last";
10479
- timeout?: number;
10480
- max_retries?: number;
11116
+ route: string;
11117
+ refresh?: number | undefined;
11118
+ response_key?: string | undefined;
11119
+ query_params?: Record<string, string> | undefined;
11120
+ refresh_button?: boolean | undefined;
11121
+ control_after_refresh?: "first" | "last" | undefined;
11122
+ timeout?: number | undefined;
11123
+ max_retries?: number | undefined;
10481
11124
  }, {
10482
- refresh?: number;
10483
- route?: string;
10484
- response_key?: string;
10485
- query_params?: Record<string, string>;
10486
- refresh_button?: boolean;
10487
- control_after_refresh?: "first" | "last";
10488
- timeout?: number;
10489
- max_retries?: number;
11125
+ route: string;
11126
+ refresh?: number | undefined;
11127
+ response_key?: string | undefined;
11128
+ query_params?: Record<string, string> | undefined;
11129
+ refresh_button?: boolean | undefined;
11130
+ control_after_refresh?: "first" | "last" | undefined;
11131
+ timeout?: number | undefined;
11132
+ max_retries?: number | undefined;
10490
11133
  }>>;
10491
11134
  /** Whether the widget is a multi-select widget. */
10492
11135
  multi_select: z.ZodOptional<z.ZodObject<{
10493
11136
  placeholder: z.ZodOptional<z.ZodString>;
10494
11137
  chip: z.ZodOptional<z.ZodBoolean>;
10495
11138
  }, "strip", z.ZodTypeAny, {
10496
- placeholder?: string;
10497
- chip?: boolean;
11139
+ placeholder?: string | undefined;
11140
+ chip?: boolean | undefined;
10498
11141
  }, {
10499
- placeholder?: string;
10500
- chip?: boolean;
11142
+ placeholder?: string | undefined;
11143
+ chip?: boolean | undefined;
10501
11144
  }>>;
10502
11145
  }>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
10503
11146
  default: z.ZodOptional<z.ZodAny>;
@@ -10526,34 +11169,34 @@ export declare class ComfyApp {
10526
11169
  timeout: z.ZodOptional<z.ZodNumber>;
10527
11170
  max_retries: z.ZodOptional<z.ZodNumber>;
10528
11171
  }, "strip", z.ZodTypeAny, {
10529
- refresh?: number;
10530
- route?: string;
10531
- response_key?: string;
10532
- query_params?: Record<string, string>;
10533
- refresh_button?: boolean;
10534
- control_after_refresh?: "first" | "last";
10535
- timeout?: number;
10536
- max_retries?: number;
11172
+ route: string;
11173
+ refresh?: number | undefined;
11174
+ response_key?: string | undefined;
11175
+ query_params?: Record<string, string> | undefined;
11176
+ refresh_button?: boolean | undefined;
11177
+ control_after_refresh?: "first" | "last" | undefined;
11178
+ timeout?: number | undefined;
11179
+ max_retries?: number | undefined;
10537
11180
  }, {
10538
- refresh?: number;
10539
- route?: string;
10540
- response_key?: string;
10541
- query_params?: Record<string, string>;
10542
- refresh_button?: boolean;
10543
- control_after_refresh?: "first" | "last";
10544
- timeout?: number;
10545
- max_retries?: number;
11181
+ route: string;
11182
+ refresh?: number | undefined;
11183
+ response_key?: string | undefined;
11184
+ query_params?: Record<string, string> | undefined;
11185
+ refresh_button?: boolean | undefined;
11186
+ control_after_refresh?: "first" | "last" | undefined;
11187
+ timeout?: number | undefined;
11188
+ max_retries?: number | undefined;
10546
11189
  }>>;
10547
11190
  /** Whether the widget is a multi-select widget. */
10548
11191
  multi_select: z.ZodOptional<z.ZodObject<{
10549
11192
  placeholder: z.ZodOptional<z.ZodString>;
10550
11193
  chip: z.ZodOptional<z.ZodBoolean>;
10551
11194
  }, "strip", z.ZodTypeAny, {
10552
- placeholder?: string;
10553
- chip?: boolean;
11195
+ placeholder?: string | undefined;
11196
+ chip?: boolean | undefined;
10554
11197
  }, {
10555
- placeholder?: string;
10556
- chip?: boolean;
11198
+ placeholder?: string | undefined;
11199
+ chip?: boolean | undefined;
10557
11200
  }>>;
10558
11201
  }>, z.ZodTypeAny, "passthrough">>>], null>, z.ZodTuple<[z.ZodEffects<z.ZodString, string, string>, z.ZodOptional<z.ZodObject<{
10559
11202
  default: z.ZodOptional<z.ZodAny>;
@@ -10596,39 +11239,39 @@ export declare class ComfyApp {
10596
11239
  shift: z.ZodOptional<z.ZodBoolean>;
10597
11240
  meta: z.ZodOptional<z.ZodBoolean>;
10598
11241
  }, "strip", z.ZodTypeAny, {
10599
- shift?: boolean;
10600
- key?: string;
10601
- ctrl?: boolean;
10602
- alt?: boolean;
10603
- meta?: boolean;
11242
+ key: string;
11243
+ shift?: boolean | undefined;
11244
+ ctrl?: boolean | undefined;
11245
+ alt?: boolean | undefined;
11246
+ meta?: boolean | undefined;
10604
11247
  }, {
10605
- shift?: boolean;
10606
- key?: string;
10607
- ctrl?: boolean;
10608
- alt?: boolean;
10609
- meta?: boolean;
11248
+ key: string;
11249
+ shift?: boolean | undefined;
11250
+ ctrl?: boolean | undefined;
11251
+ alt?: boolean | undefined;
11252
+ meta?: boolean | undefined;
10610
11253
  }>;
10611
11254
  targetElementId: z.ZodOptional<z.ZodString>;
10612
11255
  }, "strip", z.ZodTypeAny, {
10613
- commandId?: string;
10614
- combo?: {
10615
- shift?: boolean;
10616
- key?: string;
10617
- ctrl?: boolean;
10618
- alt?: boolean;
10619
- meta?: boolean;
11256
+ commandId: string;
11257
+ combo: {
11258
+ key: string;
11259
+ shift?: boolean | undefined;
11260
+ ctrl?: boolean | undefined;
11261
+ alt?: boolean | undefined;
11262
+ meta?: boolean | undefined;
10620
11263
  };
10621
- targetElementId?: string;
11264
+ targetElementId?: string | undefined;
10622
11265
  }, {
10623
- commandId?: string;
10624
- combo?: {
10625
- shift?: boolean;
10626
- key?: string;
10627
- ctrl?: boolean;
10628
- alt?: boolean;
10629
- meta?: boolean;
11266
+ commandId: string;
11267
+ combo: {
11268
+ key: string;
11269
+ shift?: boolean | undefined;
11270
+ ctrl?: boolean | undefined;
11271
+ alt?: boolean | undefined;
11272
+ meta?: boolean | undefined;
10630
11273
  };
10631
- targetElementId?: string;
11274
+ targetElementId?: string | undefined;
10632
11275
  }>;
10633
11276
 
10634
11277
  declare const zNodeId: z.ZodUnion<[z.ZodNumber, z.ZodString]>;