@comfyorg/comfyui-frontend-types 1.9.12 → 1.9.14
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.
- package/index.d.ts +531 -3
- package/package.json +2 -2
package/index.d.ts
CHANGED
|
@@ -838,7 +838,7 @@ export declare class ComfyApp {
|
|
|
838
838
|
setStatus(status: StatusWsMessageStatus | null): void;
|
|
839
839
|
}
|
|
840
840
|
|
|
841
|
-
declare type ComfyWidgetConstructor = (node: LGraphNode, inputName: string, inputData: InputSpec, app
|
|
841
|
+
declare type ComfyWidgetConstructor = (node: LGraphNode, inputName: string, inputData: InputSpec, app: ComfyApp, widgetName?: string) => {
|
|
842
842
|
widget: IWidget;
|
|
843
843
|
minWidth?: number;
|
|
844
844
|
minHeight?: number;
|
|
@@ -1125,15 +1125,16 @@ export declare class ComfyApp {
|
|
|
1125
1125
|
message: string;
|
|
1126
1126
|
defaultValue?: string;
|
|
1127
1127
|
}) => Promise<string | null>;
|
|
1128
|
-
confirm: ({ title, message, type, itemList }: {
|
|
1128
|
+
confirm: ({ title, message, type, itemList, hint }: {
|
|
1129
1129
|
/** Dialog heading */
|
|
1130
1130
|
title: string;
|
|
1131
1131
|
/** The main message body */
|
|
1132
1132
|
message: string;
|
|
1133
1133
|
/** Pre-configured dialog type */
|
|
1134
1134
|
type?: ConfirmationDialogType;
|
|
1135
|
-
/** Displayed as an
|
|
1135
|
+
/** Displayed as an unordered list immediately below the message body */
|
|
1136
1136
|
itemList?: string[];
|
|
1137
|
+
hint?: string;
|
|
1137
1138
|
}) => Promise<boolean | null>;
|
|
1138
1139
|
};
|
|
1139
1140
|
|
|
@@ -1243,6 +1244,11 @@ export declare class ComfyApp {
|
|
|
1243
1244
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1244
1245
|
step: z.ZodOptional<z.ZodNumber>;
|
|
1245
1246
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
1247
|
+
/**
|
|
1248
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
1249
|
+
* of `control_after_generate`.
|
|
1250
|
+
*/
|
|
1251
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1246
1252
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
1247
1253
|
default: z.ZodOptional<z.ZodAny>;
|
|
1248
1254
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1257,6 +1263,11 @@ export declare class ComfyApp {
|
|
|
1257
1263
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1258
1264
|
step: z.ZodOptional<z.ZodNumber>;
|
|
1259
1265
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
1266
|
+
/**
|
|
1267
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
1268
|
+
* of `control_after_generate`.
|
|
1269
|
+
*/
|
|
1270
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1260
1271
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
1261
1272
|
default: z.ZodOptional<z.ZodAny>;
|
|
1262
1273
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1271,6 +1282,11 @@ export declare class ComfyApp {
|
|
|
1271
1282
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1272
1283
|
step: z.ZodOptional<z.ZodNumber>;
|
|
1273
1284
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
1285
|
+
/**
|
|
1286
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
1287
|
+
* of `control_after_generate`.
|
|
1288
|
+
*/
|
|
1289
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1274
1290
|
}>, z.ZodTypeAny, "passthrough">>], null>, z.ZodEffects<z.ZodTuple<[z.ZodLiteral<"INT">], null>, ("INT" | {})[], ["INT", ...unknown[]]>, ...z.ZodEffects<z.ZodLiteral<"INT">, any[], "INT">[]]>, z.ZodUnion<[z.ZodTuple<[z.ZodLiteral<"FLOAT">, z.ZodObject<z.objectUtil.extendShape<{
|
|
1275
1291
|
default: z.ZodOptional<z.ZodAny>;
|
|
1276
1292
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1412,21 +1428,34 @@ export declare class ComfyApp {
|
|
|
1412
1428
|
}, {
|
|
1413
1429
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1414
1430
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
1431
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1415
1432
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1416
1433
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1417
1434
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1418
1435
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1419
1436
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1437
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
1438
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
1439
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1440
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1420
1441
|
}, "strip", z.ZodTypeAny, {
|
|
1421
1442
|
refresh?: number;
|
|
1422
1443
|
route?: string;
|
|
1423
1444
|
response_key?: string;
|
|
1424
1445
|
query_params?: Record<string, string>;
|
|
1446
|
+
refresh_button?: boolean;
|
|
1447
|
+
control_after_refresh?: "first" | "last";
|
|
1448
|
+
timeout?: number;
|
|
1449
|
+
max_retries?: number;
|
|
1425
1450
|
}, {
|
|
1426
1451
|
refresh?: number;
|
|
1427
1452
|
route?: string;
|
|
1428
1453
|
response_key?: string;
|
|
1429
1454
|
query_params?: Record<string, string>;
|
|
1455
|
+
refresh_button?: boolean;
|
|
1456
|
+
control_after_refresh?: "first" | "last";
|
|
1457
|
+
timeout?: number;
|
|
1458
|
+
max_retries?: number;
|
|
1430
1459
|
}>>;
|
|
1431
1460
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
1432
1461
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1440,21 +1469,34 @@ export declare class ComfyApp {
|
|
|
1440
1469
|
}, {
|
|
1441
1470
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1442
1471
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
1472
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1443
1473
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1444
1474
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1445
1475
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1446
1476
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1447
1477
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1478
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
1479
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
1480
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1481
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1448
1482
|
}, "strip", z.ZodTypeAny, {
|
|
1449
1483
|
refresh?: number;
|
|
1450
1484
|
route?: string;
|
|
1451
1485
|
response_key?: string;
|
|
1452
1486
|
query_params?: Record<string, string>;
|
|
1487
|
+
refresh_button?: boolean;
|
|
1488
|
+
control_after_refresh?: "first" | "last";
|
|
1489
|
+
timeout?: number;
|
|
1490
|
+
max_retries?: number;
|
|
1453
1491
|
}, {
|
|
1454
1492
|
refresh?: number;
|
|
1455
1493
|
route?: string;
|
|
1456
1494
|
response_key?: string;
|
|
1457
1495
|
query_params?: Record<string, string>;
|
|
1496
|
+
refresh_button?: boolean;
|
|
1497
|
+
control_after_refresh?: "first" | "last";
|
|
1498
|
+
timeout?: number;
|
|
1499
|
+
max_retries?: number;
|
|
1458
1500
|
}>>;
|
|
1459
1501
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
1460
1502
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1468,21 +1510,34 @@ export declare class ComfyApp {
|
|
|
1468
1510
|
}, {
|
|
1469
1511
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1470
1512
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
1513
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1471
1514
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1472
1515
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1473
1516
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1474
1517
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1475
1518
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1519
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
1520
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
1521
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1522
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1476
1523
|
}, "strip", z.ZodTypeAny, {
|
|
1477
1524
|
refresh?: number;
|
|
1478
1525
|
route?: string;
|
|
1479
1526
|
response_key?: string;
|
|
1480
1527
|
query_params?: Record<string, string>;
|
|
1528
|
+
refresh_button?: boolean;
|
|
1529
|
+
control_after_refresh?: "first" | "last";
|
|
1530
|
+
timeout?: number;
|
|
1531
|
+
max_retries?: number;
|
|
1481
1532
|
}, {
|
|
1482
1533
|
refresh?: number;
|
|
1483
1534
|
route?: string;
|
|
1484
1535
|
response_key?: string;
|
|
1485
1536
|
query_params?: Record<string, string>;
|
|
1537
|
+
refresh_button?: boolean;
|
|
1538
|
+
control_after_refresh?: "first" | "last";
|
|
1539
|
+
timeout?: number;
|
|
1540
|
+
max_retries?: number;
|
|
1486
1541
|
}>>;
|
|
1487
1542
|
}>, z.ZodTypeAny, "passthrough">>], null>, z.ZodEffects<z.ZodTuple<[z.ZodArray<z.ZodAny, "many">], null>, (any[] | {})[], [any[], ...unknown[]]>, ...z.ZodEffects<z.ZodArray<z.ZodAny, "many">, any[], any[]>[]]>, z.ZodUnion<[z.ZodTuple<[z.ZodLiteral<"COMBO">, z.ZodObject<z.objectUtil.extendShape<{
|
|
1488
1543
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1496,21 +1551,34 @@ export declare class ComfyApp {
|
|
|
1496
1551
|
}, {
|
|
1497
1552
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1498
1553
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
1554
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1499
1555
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1500
1556
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1501
1557
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1502
1558
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1503
1559
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1560
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
1561
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
1562
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1563
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1504
1564
|
}, "strip", z.ZodTypeAny, {
|
|
1505
1565
|
refresh?: number;
|
|
1506
1566
|
route?: string;
|
|
1507
1567
|
response_key?: string;
|
|
1508
1568
|
query_params?: Record<string, string>;
|
|
1569
|
+
refresh_button?: boolean;
|
|
1570
|
+
control_after_refresh?: "first" | "last";
|
|
1571
|
+
timeout?: number;
|
|
1572
|
+
max_retries?: number;
|
|
1509
1573
|
}, {
|
|
1510
1574
|
refresh?: number;
|
|
1511
1575
|
route?: string;
|
|
1512
1576
|
response_key?: string;
|
|
1513
1577
|
query_params?: Record<string, string>;
|
|
1578
|
+
refresh_button?: boolean;
|
|
1579
|
+
control_after_refresh?: "first" | "last";
|
|
1580
|
+
timeout?: number;
|
|
1581
|
+
max_retries?: number;
|
|
1514
1582
|
}>>;
|
|
1515
1583
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
1516
1584
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1524,21 +1592,34 @@ export declare class ComfyApp {
|
|
|
1524
1592
|
}, {
|
|
1525
1593
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1526
1594
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
1595
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1527
1596
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1528
1597
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1529
1598
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1530
1599
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1531
1600
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1601
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
1602
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
1603
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1604
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1532
1605
|
}, "strip", z.ZodTypeAny, {
|
|
1533
1606
|
refresh?: number;
|
|
1534
1607
|
route?: string;
|
|
1535
1608
|
response_key?: string;
|
|
1536
1609
|
query_params?: Record<string, string>;
|
|
1610
|
+
refresh_button?: boolean;
|
|
1611
|
+
control_after_refresh?: "first" | "last";
|
|
1612
|
+
timeout?: number;
|
|
1613
|
+
max_retries?: number;
|
|
1537
1614
|
}, {
|
|
1538
1615
|
refresh?: number;
|
|
1539
1616
|
route?: string;
|
|
1540
1617
|
response_key?: string;
|
|
1541
1618
|
query_params?: Record<string, string>;
|
|
1619
|
+
refresh_button?: boolean;
|
|
1620
|
+
control_after_refresh?: "first" | "last";
|
|
1621
|
+
timeout?: number;
|
|
1622
|
+
max_retries?: number;
|
|
1542
1623
|
}>>;
|
|
1543
1624
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
1544
1625
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1552,21 +1633,34 @@ export declare class ComfyApp {
|
|
|
1552
1633
|
}, {
|
|
1553
1634
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1554
1635
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
1636
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1555
1637
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1556
1638
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1557
1639
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1558
1640
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1559
1641
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1642
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
1643
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
1644
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1645
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1560
1646
|
}, "strip", z.ZodTypeAny, {
|
|
1561
1647
|
refresh?: number;
|
|
1562
1648
|
route?: string;
|
|
1563
1649
|
response_key?: string;
|
|
1564
1650
|
query_params?: Record<string, string>;
|
|
1651
|
+
refresh_button?: boolean;
|
|
1652
|
+
control_after_refresh?: "first" | "last";
|
|
1653
|
+
timeout?: number;
|
|
1654
|
+
max_retries?: number;
|
|
1565
1655
|
}, {
|
|
1566
1656
|
refresh?: number;
|
|
1567
1657
|
route?: string;
|
|
1568
1658
|
response_key?: string;
|
|
1569
1659
|
query_params?: Record<string, string>;
|
|
1660
|
+
refresh_button?: boolean;
|
|
1661
|
+
control_after_refresh?: "first" | "last";
|
|
1662
|
+
timeout?: number;
|
|
1663
|
+
max_retries?: number;
|
|
1570
1664
|
}>>;
|
|
1571
1665
|
}>, z.ZodTypeAny, "passthrough">>], null>, z.ZodEffects<z.ZodTuple<[z.ZodLiteral<"COMBO">], null>, ("COMBO" | {})[], ["COMBO", ...unknown[]]>, ...z.ZodEffects<z.ZodLiteral<"COMBO">, any[], "COMBO">[]]>, z.ZodUnion<[z.ZodTuple<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
1572
1666
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1610,6 +1704,11 @@ export declare class ComfyApp {
|
|
|
1610
1704
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1611
1705
|
step: z.ZodOptional<z.ZodNumber>;
|
|
1612
1706
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
1707
|
+
/**
|
|
1708
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
1709
|
+
* of `control_after_generate`.
|
|
1710
|
+
*/
|
|
1711
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1613
1712
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
1614
1713
|
default: z.ZodOptional<z.ZodAny>;
|
|
1615
1714
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1624,6 +1723,11 @@ export declare class ComfyApp {
|
|
|
1624
1723
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1625
1724
|
step: z.ZodOptional<z.ZodNumber>;
|
|
1626
1725
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
1726
|
+
/**
|
|
1727
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
1728
|
+
* of `control_after_generate`.
|
|
1729
|
+
*/
|
|
1730
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1627
1731
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
1628
1732
|
default: z.ZodOptional<z.ZodAny>;
|
|
1629
1733
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1638,6 +1742,11 @@ export declare class ComfyApp {
|
|
|
1638
1742
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1639
1743
|
step: z.ZodOptional<z.ZodNumber>;
|
|
1640
1744
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
1745
|
+
/**
|
|
1746
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
1747
|
+
* of `control_after_generate`.
|
|
1748
|
+
*/
|
|
1749
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1641
1750
|
}>, z.ZodTypeAny, "passthrough">>], null>, z.ZodEffects<z.ZodTuple<[z.ZodLiteral<"INT">], null>, ("INT" | {})[], ["INT", ...unknown[]]>, ...z.ZodEffects<z.ZodLiteral<"INT">, any[], "INT">[]]>, z.ZodUnion<[z.ZodTuple<[z.ZodLiteral<"FLOAT">, z.ZodObject<z.objectUtil.extendShape<{
|
|
1642
1751
|
default: z.ZodOptional<z.ZodAny>;
|
|
1643
1752
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1779,21 +1888,34 @@ export declare class ComfyApp {
|
|
|
1779
1888
|
}, {
|
|
1780
1889
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1781
1890
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
1891
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1782
1892
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1783
1893
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1784
1894
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1785
1895
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1786
1896
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1897
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
1898
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
1899
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1900
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1787
1901
|
}, "strip", z.ZodTypeAny, {
|
|
1788
1902
|
refresh?: number;
|
|
1789
1903
|
route?: string;
|
|
1790
1904
|
response_key?: string;
|
|
1791
1905
|
query_params?: Record<string, string>;
|
|
1906
|
+
refresh_button?: boolean;
|
|
1907
|
+
control_after_refresh?: "first" | "last";
|
|
1908
|
+
timeout?: number;
|
|
1909
|
+
max_retries?: number;
|
|
1792
1910
|
}, {
|
|
1793
1911
|
refresh?: number;
|
|
1794
1912
|
route?: string;
|
|
1795
1913
|
response_key?: string;
|
|
1796
1914
|
query_params?: Record<string, string>;
|
|
1915
|
+
refresh_button?: boolean;
|
|
1916
|
+
control_after_refresh?: "first" | "last";
|
|
1917
|
+
timeout?: number;
|
|
1918
|
+
max_retries?: number;
|
|
1797
1919
|
}>>;
|
|
1798
1920
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
1799
1921
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1807,21 +1929,34 @@ export declare class ComfyApp {
|
|
|
1807
1929
|
}, {
|
|
1808
1930
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1809
1931
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
1932
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1810
1933
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1811
1934
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1812
1935
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1813
1936
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1814
1937
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1938
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
1939
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
1940
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1941
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1815
1942
|
}, "strip", z.ZodTypeAny, {
|
|
1816
1943
|
refresh?: number;
|
|
1817
1944
|
route?: string;
|
|
1818
1945
|
response_key?: string;
|
|
1819
1946
|
query_params?: Record<string, string>;
|
|
1947
|
+
refresh_button?: boolean;
|
|
1948
|
+
control_after_refresh?: "first" | "last";
|
|
1949
|
+
timeout?: number;
|
|
1950
|
+
max_retries?: number;
|
|
1820
1951
|
}, {
|
|
1821
1952
|
refresh?: number;
|
|
1822
1953
|
route?: string;
|
|
1823
1954
|
response_key?: string;
|
|
1824
1955
|
query_params?: Record<string, string>;
|
|
1956
|
+
refresh_button?: boolean;
|
|
1957
|
+
control_after_refresh?: "first" | "last";
|
|
1958
|
+
timeout?: number;
|
|
1959
|
+
max_retries?: number;
|
|
1825
1960
|
}>>;
|
|
1826
1961
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
1827
1962
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1835,21 +1970,34 @@ export declare class ComfyApp {
|
|
|
1835
1970
|
}, {
|
|
1836
1971
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1837
1972
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
1973
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1838
1974
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1839
1975
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1840
1976
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1841
1977
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1842
1978
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1979
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
1980
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
1981
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
1982
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1843
1983
|
}, "strip", z.ZodTypeAny, {
|
|
1844
1984
|
refresh?: number;
|
|
1845
1985
|
route?: string;
|
|
1846
1986
|
response_key?: string;
|
|
1847
1987
|
query_params?: Record<string, string>;
|
|
1988
|
+
refresh_button?: boolean;
|
|
1989
|
+
control_after_refresh?: "first" | "last";
|
|
1990
|
+
timeout?: number;
|
|
1991
|
+
max_retries?: number;
|
|
1848
1992
|
}, {
|
|
1849
1993
|
refresh?: number;
|
|
1850
1994
|
route?: string;
|
|
1851
1995
|
response_key?: string;
|
|
1852
1996
|
query_params?: Record<string, string>;
|
|
1997
|
+
refresh_button?: boolean;
|
|
1998
|
+
control_after_refresh?: "first" | "last";
|
|
1999
|
+
timeout?: number;
|
|
2000
|
+
max_retries?: number;
|
|
1853
2001
|
}>>;
|
|
1854
2002
|
}>, z.ZodTypeAny, "passthrough">>], null>, z.ZodEffects<z.ZodTuple<[z.ZodArray<z.ZodAny, "many">], null>, (any[] | {})[], [any[], ...unknown[]]>, ...z.ZodEffects<z.ZodArray<z.ZodAny, "many">, any[], any[]>[]]>, z.ZodUnion<[z.ZodTuple<[z.ZodLiteral<"COMBO">, z.ZodObject<z.objectUtil.extendShape<{
|
|
1855
2003
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1863,21 +2011,34 @@ export declare class ComfyApp {
|
|
|
1863
2011
|
}, {
|
|
1864
2012
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1865
2013
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2014
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1866
2015
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1867
2016
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1868
2017
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1869
2018
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1870
2019
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2020
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2021
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2022
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2023
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1871
2024
|
}, "strip", z.ZodTypeAny, {
|
|
1872
2025
|
refresh?: number;
|
|
1873
2026
|
route?: string;
|
|
1874
2027
|
response_key?: string;
|
|
1875
2028
|
query_params?: Record<string, string>;
|
|
2029
|
+
refresh_button?: boolean;
|
|
2030
|
+
control_after_refresh?: "first" | "last";
|
|
2031
|
+
timeout?: number;
|
|
2032
|
+
max_retries?: number;
|
|
1876
2033
|
}, {
|
|
1877
2034
|
refresh?: number;
|
|
1878
2035
|
route?: string;
|
|
1879
2036
|
response_key?: string;
|
|
1880
2037
|
query_params?: Record<string, string>;
|
|
2038
|
+
refresh_button?: boolean;
|
|
2039
|
+
control_after_refresh?: "first" | "last";
|
|
2040
|
+
timeout?: number;
|
|
2041
|
+
max_retries?: number;
|
|
1881
2042
|
}>>;
|
|
1882
2043
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
1883
2044
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1891,21 +2052,34 @@ export declare class ComfyApp {
|
|
|
1891
2052
|
}, {
|
|
1892
2053
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1893
2054
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2055
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1894
2056
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1895
2057
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1896
2058
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1897
2059
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1898
2060
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2061
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2062
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2063
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2064
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1899
2065
|
}, "strip", z.ZodTypeAny, {
|
|
1900
2066
|
refresh?: number;
|
|
1901
2067
|
route?: string;
|
|
1902
2068
|
response_key?: string;
|
|
1903
2069
|
query_params?: Record<string, string>;
|
|
2070
|
+
refresh_button?: boolean;
|
|
2071
|
+
control_after_refresh?: "first" | "last";
|
|
2072
|
+
timeout?: number;
|
|
2073
|
+
max_retries?: number;
|
|
1904
2074
|
}, {
|
|
1905
2075
|
refresh?: number;
|
|
1906
2076
|
route?: string;
|
|
1907
2077
|
response_key?: string;
|
|
1908
2078
|
query_params?: Record<string, string>;
|
|
2079
|
+
refresh_button?: boolean;
|
|
2080
|
+
control_after_refresh?: "first" | "last";
|
|
2081
|
+
timeout?: number;
|
|
2082
|
+
max_retries?: number;
|
|
1909
2083
|
}>>;
|
|
1910
2084
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
1911
2085
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1919,21 +2093,34 @@ export declare class ComfyApp {
|
|
|
1919
2093
|
}, {
|
|
1920
2094
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1921
2095
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2096
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
1922
2097
|
remote: z.ZodOptional<z.ZodObject<{
|
|
1923
2098
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
1924
2099
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
1925
2100
|
response_key: z.ZodOptional<z.ZodString>;
|
|
1926
2101
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2102
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2103
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2104
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2105
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
1927
2106
|
}, "strip", z.ZodTypeAny, {
|
|
1928
2107
|
refresh?: number;
|
|
1929
2108
|
route?: string;
|
|
1930
2109
|
response_key?: string;
|
|
1931
2110
|
query_params?: Record<string, string>;
|
|
2111
|
+
refresh_button?: boolean;
|
|
2112
|
+
control_after_refresh?: "first" | "last";
|
|
2113
|
+
timeout?: number;
|
|
2114
|
+
max_retries?: number;
|
|
1932
2115
|
}, {
|
|
1933
2116
|
refresh?: number;
|
|
1934
2117
|
route?: string;
|
|
1935
2118
|
response_key?: string;
|
|
1936
2119
|
query_params?: Record<string, string>;
|
|
2120
|
+
refresh_button?: boolean;
|
|
2121
|
+
control_after_refresh?: "first" | "last";
|
|
2122
|
+
timeout?: number;
|
|
2123
|
+
max_retries?: number;
|
|
1937
2124
|
}>>;
|
|
1938
2125
|
}>, z.ZodTypeAny, "passthrough">>], null>, z.ZodEffects<z.ZodTuple<[z.ZodLiteral<"COMBO">], null>, ("COMBO" | {})[], ["COMBO", ...unknown[]]>, ...z.ZodEffects<z.ZodLiteral<"COMBO">, any[], "COMBO">[]]>, z.ZodUnion<[z.ZodTuple<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
1939
2126
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -1979,6 +2166,11 @@ export declare class ComfyApp {
|
|
|
1979
2166
|
max: z.ZodOptional<z.ZodNumber>;
|
|
1980
2167
|
step: z.ZodOptional<z.ZodNumber>;
|
|
1981
2168
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
2169
|
+
/**
|
|
2170
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
2171
|
+
* of `control_after_generate`.
|
|
2172
|
+
*/
|
|
2173
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
1982
2174
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<{
|
|
1983
2175
|
default: z.ZodOptional<z.ZodAny>;
|
|
1984
2176
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2034,21 +2226,34 @@ export declare class ComfyApp {
|
|
|
2034
2226
|
}, {
|
|
2035
2227
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2036
2228
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2229
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2037
2230
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2038
2231
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2039
2232
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2040
2233
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2041
2234
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2235
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2236
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2237
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2238
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2042
2239
|
}, "strip", z.ZodTypeAny, {
|
|
2043
2240
|
refresh?: number;
|
|
2044
2241
|
route?: string;
|
|
2045
2242
|
response_key?: string;
|
|
2046
2243
|
query_params?: Record<string, string>;
|
|
2244
|
+
refresh_button?: boolean;
|
|
2245
|
+
control_after_refresh?: "first" | "last";
|
|
2246
|
+
timeout?: number;
|
|
2247
|
+
max_retries?: number;
|
|
2047
2248
|
}, {
|
|
2048
2249
|
refresh?: number;
|
|
2049
2250
|
route?: string;
|
|
2050
2251
|
response_key?: string;
|
|
2051
2252
|
query_params?: Record<string, string>;
|
|
2253
|
+
refresh_button?: boolean;
|
|
2254
|
+
control_after_refresh?: "first" | "last";
|
|
2255
|
+
timeout?: number;
|
|
2256
|
+
max_retries?: number;
|
|
2052
2257
|
}>>;
|
|
2053
2258
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
|
|
2054
2259
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2062,21 +2267,34 @@ export declare class ComfyApp {
|
|
|
2062
2267
|
}, {
|
|
2063
2268
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2064
2269
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2270
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2065
2271
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2066
2272
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2067
2273
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2068
2274
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2069
2275
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2276
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2277
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2278
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2279
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2070
2280
|
}, "strip", z.ZodTypeAny, {
|
|
2071
2281
|
refresh?: number;
|
|
2072
2282
|
route?: string;
|
|
2073
2283
|
response_key?: string;
|
|
2074
2284
|
query_params?: Record<string, string>;
|
|
2285
|
+
refresh_button?: boolean;
|
|
2286
|
+
control_after_refresh?: "first" | "last";
|
|
2287
|
+
timeout?: number;
|
|
2288
|
+
max_retries?: number;
|
|
2075
2289
|
}, {
|
|
2076
2290
|
refresh?: number;
|
|
2077
2291
|
route?: string;
|
|
2078
2292
|
response_key?: string;
|
|
2079
2293
|
query_params?: Record<string, string>;
|
|
2294
|
+
refresh_button?: boolean;
|
|
2295
|
+
control_after_refresh?: "first" | "last";
|
|
2296
|
+
timeout?: number;
|
|
2297
|
+
max_retries?: number;
|
|
2080
2298
|
}>>;
|
|
2081
2299
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | (string | {})[] | [string, z.objectOutputType<{
|
|
2082
2300
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2103,6 +2321,11 @@ export declare class ComfyApp {
|
|
|
2103
2321
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2104
2322
|
step: z.ZodOptional<z.ZodNumber>;
|
|
2105
2323
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
2324
|
+
/**
|
|
2325
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
2326
|
+
* of `control_after_generate`.
|
|
2327
|
+
*/
|
|
2328
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2106
2329
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<{
|
|
2107
2330
|
default: z.ZodOptional<z.ZodAny>;
|
|
2108
2331
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2158,21 +2381,34 @@ export declare class ComfyApp {
|
|
|
2158
2381
|
}, {
|
|
2159
2382
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2160
2383
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2384
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2161
2385
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2162
2386
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2163
2387
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2164
2388
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2165
2389
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2390
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2391
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2392
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2393
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2166
2394
|
}, "strip", z.ZodTypeAny, {
|
|
2167
2395
|
refresh?: number;
|
|
2168
2396
|
route?: string;
|
|
2169
2397
|
response_key?: string;
|
|
2170
2398
|
query_params?: Record<string, string>;
|
|
2399
|
+
refresh_button?: boolean;
|
|
2400
|
+
control_after_refresh?: "first" | "last";
|
|
2401
|
+
timeout?: number;
|
|
2402
|
+
max_retries?: number;
|
|
2171
2403
|
}, {
|
|
2172
2404
|
refresh?: number;
|
|
2173
2405
|
route?: string;
|
|
2174
2406
|
response_key?: string;
|
|
2175
2407
|
query_params?: Record<string, string>;
|
|
2408
|
+
refresh_button?: boolean;
|
|
2409
|
+
control_after_refresh?: "first" | "last";
|
|
2410
|
+
timeout?: number;
|
|
2411
|
+
max_retries?: number;
|
|
2176
2412
|
}>>;
|
|
2177
2413
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
|
|
2178
2414
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2186,21 +2422,34 @@ export declare class ComfyApp {
|
|
|
2186
2422
|
}, {
|
|
2187
2423
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2188
2424
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2425
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2189
2426
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2190
2427
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2191
2428
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2192
2429
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2193
2430
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2431
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2432
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2433
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2434
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2194
2435
|
}, "strip", z.ZodTypeAny, {
|
|
2195
2436
|
refresh?: number;
|
|
2196
2437
|
route?: string;
|
|
2197
2438
|
response_key?: string;
|
|
2198
2439
|
query_params?: Record<string, string>;
|
|
2440
|
+
refresh_button?: boolean;
|
|
2441
|
+
control_after_refresh?: "first" | "last";
|
|
2442
|
+
timeout?: number;
|
|
2443
|
+
max_retries?: number;
|
|
2199
2444
|
}, {
|
|
2200
2445
|
refresh?: number;
|
|
2201
2446
|
route?: string;
|
|
2202
2447
|
response_key?: string;
|
|
2203
2448
|
query_params?: Record<string, string>;
|
|
2449
|
+
refresh_button?: boolean;
|
|
2450
|
+
control_after_refresh?: "first" | "last";
|
|
2451
|
+
timeout?: number;
|
|
2452
|
+
max_retries?: number;
|
|
2204
2453
|
}>>;
|
|
2205
2454
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | (string | {})[] | [string, z.objectOutputType<{
|
|
2206
2455
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2227,6 +2476,11 @@ export declare class ComfyApp {
|
|
|
2227
2476
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2228
2477
|
step: z.ZodOptional<z.ZodNumber>;
|
|
2229
2478
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
2479
|
+
/**
|
|
2480
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
2481
|
+
* of `control_after_generate`.
|
|
2482
|
+
*/
|
|
2483
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2230
2484
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<{
|
|
2231
2485
|
default: z.ZodOptional<z.ZodAny>;
|
|
2232
2486
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2282,21 +2536,34 @@ export declare class ComfyApp {
|
|
|
2282
2536
|
}, {
|
|
2283
2537
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2284
2538
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2539
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2285
2540
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2286
2541
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2287
2542
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2288
2543
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2289
2544
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2545
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2546
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2547
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2548
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2290
2549
|
}, "strip", z.ZodTypeAny, {
|
|
2291
2550
|
refresh?: number;
|
|
2292
2551
|
route?: string;
|
|
2293
2552
|
response_key?: string;
|
|
2294
2553
|
query_params?: Record<string, string>;
|
|
2554
|
+
refresh_button?: boolean;
|
|
2555
|
+
control_after_refresh?: "first" | "last";
|
|
2556
|
+
timeout?: number;
|
|
2557
|
+
max_retries?: number;
|
|
2295
2558
|
}, {
|
|
2296
2559
|
refresh?: number;
|
|
2297
2560
|
route?: string;
|
|
2298
2561
|
response_key?: string;
|
|
2299
2562
|
query_params?: Record<string, string>;
|
|
2563
|
+
refresh_button?: boolean;
|
|
2564
|
+
control_after_refresh?: "first" | "last";
|
|
2565
|
+
timeout?: number;
|
|
2566
|
+
max_retries?: number;
|
|
2300
2567
|
}>>;
|
|
2301
2568
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
|
|
2302
2569
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2310,21 +2577,34 @@ export declare class ComfyApp {
|
|
|
2310
2577
|
}, {
|
|
2311
2578
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2312
2579
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2580
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2313
2581
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2314
2582
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2315
2583
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2316
2584
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2317
2585
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2586
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2587
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2588
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2589
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2318
2590
|
}, "strip", z.ZodTypeAny, {
|
|
2319
2591
|
refresh?: number;
|
|
2320
2592
|
route?: string;
|
|
2321
2593
|
response_key?: string;
|
|
2322
2594
|
query_params?: Record<string, string>;
|
|
2595
|
+
refresh_button?: boolean;
|
|
2596
|
+
control_after_refresh?: "first" | "last";
|
|
2597
|
+
timeout?: number;
|
|
2598
|
+
max_retries?: number;
|
|
2323
2599
|
}, {
|
|
2324
2600
|
refresh?: number;
|
|
2325
2601
|
route?: string;
|
|
2326
2602
|
response_key?: string;
|
|
2327
2603
|
query_params?: Record<string, string>;
|
|
2604
|
+
refresh_button?: boolean;
|
|
2605
|
+
control_after_refresh?: "first" | "last";
|
|
2606
|
+
timeout?: number;
|
|
2607
|
+
max_retries?: number;
|
|
2328
2608
|
}>>;
|
|
2329
2609
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, ...unknown[]] | [string, z.objectInputType<{
|
|
2330
2610
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2351,6 +2631,11 @@ export declare class ComfyApp {
|
|
|
2351
2631
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2352
2632
|
step: z.ZodOptional<z.ZodNumber>;
|
|
2353
2633
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
2634
|
+
/**
|
|
2635
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
2636
|
+
* of `control_after_generate`.
|
|
2637
|
+
*/
|
|
2638
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2354
2639
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<{
|
|
2355
2640
|
default: z.ZodOptional<z.ZodAny>;
|
|
2356
2641
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2406,21 +2691,34 @@ export declare class ComfyApp {
|
|
|
2406
2691
|
}, {
|
|
2407
2692
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2408
2693
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2694
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2409
2695
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2410
2696
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2411
2697
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2412
2698
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2413
2699
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2700
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2701
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2702
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2703
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2414
2704
|
}, "strip", z.ZodTypeAny, {
|
|
2415
2705
|
refresh?: number;
|
|
2416
2706
|
route?: string;
|
|
2417
2707
|
response_key?: string;
|
|
2418
2708
|
query_params?: Record<string, string>;
|
|
2709
|
+
refresh_button?: boolean;
|
|
2710
|
+
control_after_refresh?: "first" | "last";
|
|
2711
|
+
timeout?: number;
|
|
2712
|
+
max_retries?: number;
|
|
2419
2713
|
}, {
|
|
2420
2714
|
refresh?: number;
|
|
2421
2715
|
route?: string;
|
|
2422
2716
|
response_key?: string;
|
|
2423
2717
|
query_params?: Record<string, string>;
|
|
2718
|
+
refresh_button?: boolean;
|
|
2719
|
+
control_after_refresh?: "first" | "last";
|
|
2720
|
+
timeout?: number;
|
|
2721
|
+
max_retries?: number;
|
|
2424
2722
|
}>>;
|
|
2425
2723
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
|
|
2426
2724
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2434,21 +2732,34 @@ export declare class ComfyApp {
|
|
|
2434
2732
|
}, {
|
|
2435
2733
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2436
2734
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2735
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2437
2736
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2438
2737
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2439
2738
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2440
2739
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2441
2740
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2741
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2742
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2743
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2744
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2442
2745
|
}, "strip", z.ZodTypeAny, {
|
|
2443
2746
|
refresh?: number;
|
|
2444
2747
|
route?: string;
|
|
2445
2748
|
response_key?: string;
|
|
2446
2749
|
query_params?: Record<string, string>;
|
|
2750
|
+
refresh_button?: boolean;
|
|
2751
|
+
control_after_refresh?: "first" | "last";
|
|
2752
|
+
timeout?: number;
|
|
2753
|
+
max_retries?: number;
|
|
2447
2754
|
}, {
|
|
2448
2755
|
refresh?: number;
|
|
2449
2756
|
route?: string;
|
|
2450
2757
|
response_key?: string;
|
|
2451
2758
|
query_params?: Record<string, string>;
|
|
2759
|
+
refresh_button?: boolean;
|
|
2760
|
+
control_after_refresh?: "first" | "last";
|
|
2761
|
+
timeout?: number;
|
|
2762
|
+
max_retries?: number;
|
|
2452
2763
|
}>>;
|
|
2453
2764
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, ...unknown[]] | [string, z.objectInputType<{
|
|
2454
2765
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2490,6 +2801,11 @@ export declare class ComfyApp {
|
|
|
2490
2801
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2491
2802
|
step: z.ZodOptional<z.ZodNumber>;
|
|
2492
2803
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
2804
|
+
/**
|
|
2805
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
2806
|
+
* of `control_after_generate`.
|
|
2807
|
+
*/
|
|
2808
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2493
2809
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<{
|
|
2494
2810
|
default: z.ZodOptional<z.ZodAny>;
|
|
2495
2811
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2545,21 +2861,34 @@ export declare class ComfyApp {
|
|
|
2545
2861
|
}, {
|
|
2546
2862
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2547
2863
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2864
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2548
2865
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2549
2866
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2550
2867
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2551
2868
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2552
2869
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2870
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2871
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2872
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2873
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2553
2874
|
}, "strip", z.ZodTypeAny, {
|
|
2554
2875
|
refresh?: number;
|
|
2555
2876
|
route?: string;
|
|
2556
2877
|
response_key?: string;
|
|
2557
2878
|
query_params?: Record<string, string>;
|
|
2879
|
+
refresh_button?: boolean;
|
|
2880
|
+
control_after_refresh?: "first" | "last";
|
|
2881
|
+
timeout?: number;
|
|
2882
|
+
max_retries?: number;
|
|
2558
2883
|
}, {
|
|
2559
2884
|
refresh?: number;
|
|
2560
2885
|
route?: string;
|
|
2561
2886
|
response_key?: string;
|
|
2562
2887
|
query_params?: Record<string, string>;
|
|
2888
|
+
refresh_button?: boolean;
|
|
2889
|
+
control_after_refresh?: "first" | "last";
|
|
2890
|
+
timeout?: number;
|
|
2891
|
+
max_retries?: number;
|
|
2563
2892
|
}>>;
|
|
2564
2893
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
|
|
2565
2894
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2573,21 +2902,34 @@ export declare class ComfyApp {
|
|
|
2573
2902
|
}, {
|
|
2574
2903
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2575
2904
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
2905
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2576
2906
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2577
2907
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2578
2908
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2579
2909
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2580
2910
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
2911
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
2912
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
2913
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
2914
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2581
2915
|
}, "strip", z.ZodTypeAny, {
|
|
2582
2916
|
refresh?: number;
|
|
2583
2917
|
route?: string;
|
|
2584
2918
|
response_key?: string;
|
|
2585
2919
|
query_params?: Record<string, string>;
|
|
2920
|
+
refresh_button?: boolean;
|
|
2921
|
+
control_after_refresh?: "first" | "last";
|
|
2922
|
+
timeout?: number;
|
|
2923
|
+
max_retries?: number;
|
|
2586
2924
|
}, {
|
|
2587
2925
|
refresh?: number;
|
|
2588
2926
|
route?: string;
|
|
2589
2927
|
response_key?: string;
|
|
2590
2928
|
query_params?: Record<string, string>;
|
|
2929
|
+
refresh_button?: boolean;
|
|
2930
|
+
control_after_refresh?: "first" | "last";
|
|
2931
|
+
timeout?: number;
|
|
2932
|
+
max_retries?: number;
|
|
2591
2933
|
}>>;
|
|
2592
2934
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | (string | {})[] | [string, z.objectOutputType<{
|
|
2593
2935
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2614,6 +2956,11 @@ export declare class ComfyApp {
|
|
|
2614
2956
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2615
2957
|
step: z.ZodOptional<z.ZodNumber>;
|
|
2616
2958
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
2959
|
+
/**
|
|
2960
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
2961
|
+
* of `control_after_generate`.
|
|
2962
|
+
*/
|
|
2963
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2617
2964
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectOutputType<z.objectUtil.extendShape<{
|
|
2618
2965
|
default: z.ZodOptional<z.ZodAny>;
|
|
2619
2966
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2669,21 +3016,34 @@ export declare class ComfyApp {
|
|
|
2669
3016
|
}, {
|
|
2670
3017
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2671
3018
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
3019
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2672
3020
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2673
3021
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2674
3022
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2675
3023
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2676
3024
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3025
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
3026
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
3027
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
3028
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2677
3029
|
}, "strip", z.ZodTypeAny, {
|
|
2678
3030
|
refresh?: number;
|
|
2679
3031
|
route?: string;
|
|
2680
3032
|
response_key?: string;
|
|
2681
3033
|
query_params?: Record<string, string>;
|
|
3034
|
+
refresh_button?: boolean;
|
|
3035
|
+
control_after_refresh?: "first" | "last";
|
|
3036
|
+
timeout?: number;
|
|
3037
|
+
max_retries?: number;
|
|
2682
3038
|
}, {
|
|
2683
3039
|
refresh?: number;
|
|
2684
3040
|
route?: string;
|
|
2685
3041
|
response_key?: string;
|
|
2686
3042
|
query_params?: Record<string, string>;
|
|
3043
|
+
refresh_button?: boolean;
|
|
3044
|
+
control_after_refresh?: "first" | "last";
|
|
3045
|
+
timeout?: number;
|
|
3046
|
+
max_retries?: number;
|
|
2687
3047
|
}>>;
|
|
2688
3048
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectOutputType<z.objectUtil.extendShape<{
|
|
2689
3049
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2697,21 +3057,34 @@ export declare class ComfyApp {
|
|
|
2697
3057
|
}, {
|
|
2698
3058
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2699
3059
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
3060
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2700
3061
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2701
3062
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2702
3063
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2703
3064
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2704
3065
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3066
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
3067
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
3068
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
3069
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2705
3070
|
}, "strip", z.ZodTypeAny, {
|
|
2706
3071
|
refresh?: number;
|
|
2707
3072
|
route?: string;
|
|
2708
3073
|
response_key?: string;
|
|
2709
3074
|
query_params?: Record<string, string>;
|
|
3075
|
+
refresh_button?: boolean;
|
|
3076
|
+
control_after_refresh?: "first" | "last";
|
|
3077
|
+
timeout?: number;
|
|
3078
|
+
max_retries?: number;
|
|
2710
3079
|
}, {
|
|
2711
3080
|
refresh?: number;
|
|
2712
3081
|
route?: string;
|
|
2713
3082
|
response_key?: string;
|
|
2714
3083
|
query_params?: Record<string, string>;
|
|
3084
|
+
refresh_button?: boolean;
|
|
3085
|
+
control_after_refresh?: "first" | "last";
|
|
3086
|
+
timeout?: number;
|
|
3087
|
+
max_retries?: number;
|
|
2715
3088
|
}>>;
|
|
2716
3089
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | (string | {})[] | [string, z.objectOutputType<{
|
|
2717
3090
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2752,6 +3125,11 @@ export declare class ComfyApp {
|
|
|
2752
3125
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2753
3126
|
step: z.ZodOptional<z.ZodNumber>;
|
|
2754
3127
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
3128
|
+
/**
|
|
3129
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
3130
|
+
* of `control_after_generate`.
|
|
3131
|
+
*/
|
|
3132
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2755
3133
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<{
|
|
2756
3134
|
default: z.ZodOptional<z.ZodAny>;
|
|
2757
3135
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2807,21 +3185,34 @@ export declare class ComfyApp {
|
|
|
2807
3185
|
}, {
|
|
2808
3186
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2809
3187
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
3188
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2810
3189
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2811
3190
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2812
3191
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2813
3192
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2814
3193
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3194
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
3195
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
3196
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
3197
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2815
3198
|
}, "strip", z.ZodTypeAny, {
|
|
2816
3199
|
refresh?: number;
|
|
2817
3200
|
route?: string;
|
|
2818
3201
|
response_key?: string;
|
|
2819
3202
|
query_params?: Record<string, string>;
|
|
3203
|
+
refresh_button?: boolean;
|
|
3204
|
+
control_after_refresh?: "first" | "last";
|
|
3205
|
+
timeout?: number;
|
|
3206
|
+
max_retries?: number;
|
|
2820
3207
|
}, {
|
|
2821
3208
|
refresh?: number;
|
|
2822
3209
|
route?: string;
|
|
2823
3210
|
response_key?: string;
|
|
2824
3211
|
query_params?: Record<string, string>;
|
|
3212
|
+
refresh_button?: boolean;
|
|
3213
|
+
control_after_refresh?: "first" | "last";
|
|
3214
|
+
timeout?: number;
|
|
3215
|
+
max_retries?: number;
|
|
2825
3216
|
}>>;
|
|
2826
3217
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
|
|
2827
3218
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2835,21 +3226,34 @@ export declare class ComfyApp {
|
|
|
2835
3226
|
}, {
|
|
2836
3227
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2837
3228
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
3229
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2838
3230
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2839
3231
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2840
3232
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2841
3233
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2842
3234
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3235
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
3236
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
3237
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
3238
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2843
3239
|
}, "strip", z.ZodTypeAny, {
|
|
2844
3240
|
refresh?: number;
|
|
2845
3241
|
route?: string;
|
|
2846
3242
|
response_key?: string;
|
|
2847
3243
|
query_params?: Record<string, string>;
|
|
3244
|
+
refresh_button?: boolean;
|
|
3245
|
+
control_after_refresh?: "first" | "last";
|
|
3246
|
+
timeout?: number;
|
|
3247
|
+
max_retries?: number;
|
|
2848
3248
|
}, {
|
|
2849
3249
|
refresh?: number;
|
|
2850
3250
|
route?: string;
|
|
2851
3251
|
response_key?: string;
|
|
2852
3252
|
query_params?: Record<string, string>;
|
|
3253
|
+
refresh_button?: boolean;
|
|
3254
|
+
control_after_refresh?: "first" | "last";
|
|
3255
|
+
timeout?: number;
|
|
3256
|
+
max_retries?: number;
|
|
2853
3257
|
}>>;
|
|
2854
3258
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, ...unknown[]] | [string, z.objectInputType<{
|
|
2855
3259
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2876,6 +3280,11 @@ export declare class ComfyApp {
|
|
|
2876
3280
|
max: z.ZodOptional<z.ZodNumber>;
|
|
2877
3281
|
step: z.ZodOptional<z.ZodNumber>;
|
|
2878
3282
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
3283
|
+
/**
|
|
3284
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
3285
|
+
* of `control_after_generate`.
|
|
3286
|
+
*/
|
|
3287
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2879
3288
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["FLOAT", z.objectInputType<z.objectUtil.extendShape<{
|
|
2880
3289
|
default: z.ZodOptional<z.ZodAny>;
|
|
2881
3290
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2931,21 +3340,34 @@ export declare class ComfyApp {
|
|
|
2931
3340
|
}, {
|
|
2932
3341
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2933
3342
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
3343
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2934
3344
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2935
3345
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2936
3346
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2937
3347
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2938
3348
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3349
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
3350
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
3351
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
3352
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2939
3353
|
}, "strip", z.ZodTypeAny, {
|
|
2940
3354
|
refresh?: number;
|
|
2941
3355
|
route?: string;
|
|
2942
3356
|
response_key?: string;
|
|
2943
3357
|
query_params?: Record<string, string>;
|
|
3358
|
+
refresh_button?: boolean;
|
|
3359
|
+
control_after_refresh?: "first" | "last";
|
|
3360
|
+
timeout?: number;
|
|
3361
|
+
max_retries?: number;
|
|
2944
3362
|
}, {
|
|
2945
3363
|
refresh?: number;
|
|
2946
3364
|
route?: string;
|
|
2947
3365
|
response_key?: string;
|
|
2948
3366
|
query_params?: Record<string, string>;
|
|
3367
|
+
refresh_button?: boolean;
|
|
3368
|
+
control_after_refresh?: "first" | "last";
|
|
3369
|
+
timeout?: number;
|
|
3370
|
+
max_retries?: number;
|
|
2949
3371
|
}>>;
|
|
2950
3372
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | ["COMBO", z.objectInputType<z.objectUtil.extendShape<{
|
|
2951
3373
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -2959,21 +3381,34 @@ export declare class ComfyApp {
|
|
|
2959
3381
|
}, {
|
|
2960
3382
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
2961
3383
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
3384
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
2962
3385
|
remote: z.ZodOptional<z.ZodObject<{
|
|
2963
3386
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2964
3387
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
2965
3388
|
response_key: z.ZodOptional<z.ZodString>;
|
|
2966
3389
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
3390
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
3391
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
3392
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
3393
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
2967
3394
|
}, "strip", z.ZodTypeAny, {
|
|
2968
3395
|
refresh?: number;
|
|
2969
3396
|
route?: string;
|
|
2970
3397
|
response_key?: string;
|
|
2971
3398
|
query_params?: Record<string, string>;
|
|
3399
|
+
refresh_button?: boolean;
|
|
3400
|
+
control_after_refresh?: "first" | "last";
|
|
3401
|
+
timeout?: number;
|
|
3402
|
+
max_retries?: number;
|
|
2972
3403
|
}, {
|
|
2973
3404
|
refresh?: number;
|
|
2974
3405
|
route?: string;
|
|
2975
3406
|
response_key?: string;
|
|
2976
3407
|
query_params?: Record<string, string>;
|
|
3408
|
+
refresh_button?: boolean;
|
|
3409
|
+
control_after_refresh?: "first" | "last";
|
|
3410
|
+
timeout?: number;
|
|
3411
|
+
max_retries?: number;
|
|
2977
3412
|
}>>;
|
|
2978
3413
|
}>, z.ZodTypeAny, "passthrough">, ...unknown[]] | [string, ...unknown[]] | [string, z.objectInputType<{
|
|
2979
3414
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -15637,6 +16072,11 @@ export declare class ComfyApp {
|
|
|
15637
16072
|
max: z.ZodOptional<z.ZodNumber>;
|
|
15638
16073
|
step: z.ZodOptional<z.ZodNumber>;
|
|
15639
16074
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
16075
|
+
/**
|
|
16076
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
16077
|
+
* of `control_after_generate`.
|
|
16078
|
+
*/
|
|
16079
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
15640
16080
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
15641
16081
|
default: z.ZodOptional<z.ZodAny>;
|
|
15642
16082
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -15651,6 +16091,11 @@ export declare class ComfyApp {
|
|
|
15651
16091
|
max: z.ZodOptional<z.ZodNumber>;
|
|
15652
16092
|
step: z.ZodOptional<z.ZodNumber>;
|
|
15653
16093
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
16094
|
+
/**
|
|
16095
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
16096
|
+
* of `control_after_generate`.
|
|
16097
|
+
*/
|
|
16098
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
15654
16099
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
15655
16100
|
default: z.ZodOptional<z.ZodAny>;
|
|
15656
16101
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -15665,6 +16110,11 @@ export declare class ComfyApp {
|
|
|
15665
16110
|
max: z.ZodOptional<z.ZodNumber>;
|
|
15666
16111
|
step: z.ZodOptional<z.ZodNumber>;
|
|
15667
16112
|
default: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodArray<z.ZodNumber, "many">]>>;
|
|
16113
|
+
/**
|
|
16114
|
+
* If true, a linked widget will be added to the node to select the mode
|
|
16115
|
+
* of `control_after_generate`.
|
|
16116
|
+
*/
|
|
16117
|
+
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
15668
16118
|
}>, z.ZodTypeAny, "passthrough">>], null>, z.ZodEffects<z.ZodTuple<[z.ZodLiteral<"INT">], null>, ("INT" | {})[], ["INT", ...unknown[]]>, ...z.ZodEffects<z.ZodLiteral<"INT">, any[], "INT">[]]>, z.ZodUnion<[z.ZodTuple<[z.ZodLiteral<"FLOAT">, z.ZodObject<z.objectUtil.extendShape<{
|
|
15669
16119
|
default: z.ZodOptional<z.ZodAny>;
|
|
15670
16120
|
defaultInput: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -15806,21 +16256,34 @@ export declare class ComfyApp {
|
|
|
15806
16256
|
}, {
|
|
15807
16257
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
15808
16258
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
16259
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
15809
16260
|
remote: z.ZodOptional<z.ZodObject<{
|
|
15810
16261
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
15811
16262
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
15812
16263
|
response_key: z.ZodOptional<z.ZodString>;
|
|
15813
16264
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16265
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
16266
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
16267
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
16268
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
15814
16269
|
}, "strip", z.ZodTypeAny, {
|
|
15815
16270
|
refresh?: number;
|
|
15816
16271
|
route?: string;
|
|
15817
16272
|
response_key?: string;
|
|
15818
16273
|
query_params?: Record<string, string>;
|
|
16274
|
+
refresh_button?: boolean;
|
|
16275
|
+
control_after_refresh?: "first" | "last";
|
|
16276
|
+
timeout?: number;
|
|
16277
|
+
max_retries?: number;
|
|
15819
16278
|
}, {
|
|
15820
16279
|
refresh?: number;
|
|
15821
16280
|
route?: string;
|
|
15822
16281
|
response_key?: string;
|
|
15823
16282
|
query_params?: Record<string, string>;
|
|
16283
|
+
refresh_button?: boolean;
|
|
16284
|
+
control_after_refresh?: "first" | "last";
|
|
16285
|
+
timeout?: number;
|
|
16286
|
+
max_retries?: number;
|
|
15824
16287
|
}>>;
|
|
15825
16288
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
15826
16289
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -15834,21 +16297,34 @@ export declare class ComfyApp {
|
|
|
15834
16297
|
}, {
|
|
15835
16298
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
15836
16299
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
16300
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
15837
16301
|
remote: z.ZodOptional<z.ZodObject<{
|
|
15838
16302
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
15839
16303
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
15840
16304
|
response_key: z.ZodOptional<z.ZodString>;
|
|
15841
16305
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16306
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
16307
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
16308
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
16309
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
15842
16310
|
}, "strip", z.ZodTypeAny, {
|
|
15843
16311
|
refresh?: number;
|
|
15844
16312
|
route?: string;
|
|
15845
16313
|
response_key?: string;
|
|
15846
16314
|
query_params?: Record<string, string>;
|
|
16315
|
+
refresh_button?: boolean;
|
|
16316
|
+
control_after_refresh?: "first" | "last";
|
|
16317
|
+
timeout?: number;
|
|
16318
|
+
max_retries?: number;
|
|
15847
16319
|
}, {
|
|
15848
16320
|
refresh?: number;
|
|
15849
16321
|
route?: string;
|
|
15850
16322
|
response_key?: string;
|
|
15851
16323
|
query_params?: Record<string, string>;
|
|
16324
|
+
refresh_button?: boolean;
|
|
16325
|
+
control_after_refresh?: "first" | "last";
|
|
16326
|
+
timeout?: number;
|
|
16327
|
+
max_retries?: number;
|
|
15852
16328
|
}>>;
|
|
15853
16329
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
15854
16330
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -15862,21 +16338,34 @@ export declare class ComfyApp {
|
|
|
15862
16338
|
}, {
|
|
15863
16339
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
15864
16340
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
16341
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
15865
16342
|
remote: z.ZodOptional<z.ZodObject<{
|
|
15866
16343
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
15867
16344
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
15868
16345
|
response_key: z.ZodOptional<z.ZodString>;
|
|
15869
16346
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16347
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
16348
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
16349
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
16350
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
15870
16351
|
}, "strip", z.ZodTypeAny, {
|
|
15871
16352
|
refresh?: number;
|
|
15872
16353
|
route?: string;
|
|
15873
16354
|
response_key?: string;
|
|
15874
16355
|
query_params?: Record<string, string>;
|
|
16356
|
+
refresh_button?: boolean;
|
|
16357
|
+
control_after_refresh?: "first" | "last";
|
|
16358
|
+
timeout?: number;
|
|
16359
|
+
max_retries?: number;
|
|
15875
16360
|
}, {
|
|
15876
16361
|
refresh?: number;
|
|
15877
16362
|
route?: string;
|
|
15878
16363
|
response_key?: string;
|
|
15879
16364
|
query_params?: Record<string, string>;
|
|
16365
|
+
refresh_button?: boolean;
|
|
16366
|
+
control_after_refresh?: "first" | "last";
|
|
16367
|
+
timeout?: number;
|
|
16368
|
+
max_retries?: number;
|
|
15880
16369
|
}>>;
|
|
15881
16370
|
}>, z.ZodTypeAny, "passthrough">>], null>, z.ZodEffects<z.ZodTuple<[z.ZodArray<z.ZodAny, "many">], null>, (any[] | {})[], [any[], ...unknown[]]>, ...z.ZodEffects<z.ZodArray<z.ZodAny, "many">, any[], any[]>[]]>, z.ZodUnion<[z.ZodTuple<[z.ZodLiteral<"COMBO">, z.ZodObject<z.objectUtil.extendShape<{
|
|
15882
16371
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -15890,21 +16379,34 @@ export declare class ComfyApp {
|
|
|
15890
16379
|
}, {
|
|
15891
16380
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
15892
16381
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
16382
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
15893
16383
|
remote: z.ZodOptional<z.ZodObject<{
|
|
15894
16384
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
15895
16385
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
15896
16386
|
response_key: z.ZodOptional<z.ZodString>;
|
|
15897
16387
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16388
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
16389
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
16390
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
16391
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
15898
16392
|
}, "strip", z.ZodTypeAny, {
|
|
15899
16393
|
refresh?: number;
|
|
15900
16394
|
route?: string;
|
|
15901
16395
|
response_key?: string;
|
|
15902
16396
|
query_params?: Record<string, string>;
|
|
16397
|
+
refresh_button?: boolean;
|
|
16398
|
+
control_after_refresh?: "first" | "last";
|
|
16399
|
+
timeout?: number;
|
|
16400
|
+
max_retries?: number;
|
|
15903
16401
|
}, {
|
|
15904
16402
|
refresh?: number;
|
|
15905
16403
|
route?: string;
|
|
15906
16404
|
response_key?: string;
|
|
15907
16405
|
query_params?: Record<string, string>;
|
|
16406
|
+
refresh_button?: boolean;
|
|
16407
|
+
control_after_refresh?: "first" | "last";
|
|
16408
|
+
timeout?: number;
|
|
16409
|
+
max_retries?: number;
|
|
15908
16410
|
}>>;
|
|
15909
16411
|
}>, "passthrough", z.ZodTypeAny, z.objectOutputType<z.objectUtil.extendShape<{
|
|
15910
16412
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -15918,21 +16420,34 @@ export declare class ComfyApp {
|
|
|
15918
16420
|
}, {
|
|
15919
16421
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
15920
16422
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
16423
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
15921
16424
|
remote: z.ZodOptional<z.ZodObject<{
|
|
15922
16425
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
15923
16426
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
15924
16427
|
response_key: z.ZodOptional<z.ZodString>;
|
|
15925
16428
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16429
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
16430
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
16431
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
16432
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
15926
16433
|
}, "strip", z.ZodTypeAny, {
|
|
15927
16434
|
refresh?: number;
|
|
15928
16435
|
route?: string;
|
|
15929
16436
|
response_key?: string;
|
|
15930
16437
|
query_params?: Record<string, string>;
|
|
16438
|
+
refresh_button?: boolean;
|
|
16439
|
+
control_after_refresh?: "first" | "last";
|
|
16440
|
+
timeout?: number;
|
|
16441
|
+
max_retries?: number;
|
|
15931
16442
|
}, {
|
|
15932
16443
|
refresh?: number;
|
|
15933
16444
|
route?: string;
|
|
15934
16445
|
response_key?: string;
|
|
15935
16446
|
query_params?: Record<string, string>;
|
|
16447
|
+
refresh_button?: boolean;
|
|
16448
|
+
control_after_refresh?: "first" | "last";
|
|
16449
|
+
timeout?: number;
|
|
16450
|
+
max_retries?: number;
|
|
15936
16451
|
}>>;
|
|
15937
16452
|
}>, z.ZodTypeAny, "passthrough">, z.objectInputType<z.objectUtil.extendShape<{
|
|
15938
16453
|
default: z.ZodOptional<z.ZodAny>;
|
|
@@ -15946,21 +16461,34 @@ export declare class ComfyApp {
|
|
|
15946
16461
|
}, {
|
|
15947
16462
|
control_after_generate: z.ZodOptional<z.ZodBoolean>;
|
|
15948
16463
|
image_upload: z.ZodOptional<z.ZodBoolean>;
|
|
16464
|
+
image_folder: z.ZodOptional<z.ZodEnum<["input", "output", "temp"]>>;
|
|
15949
16465
|
remote: z.ZodOptional<z.ZodObject<{
|
|
15950
16466
|
route: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
15951
16467
|
refresh: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodNumber]>>;
|
|
15952
16468
|
response_key: z.ZodOptional<z.ZodString>;
|
|
15953
16469
|
query_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
16470
|
+
refresh_button: z.ZodOptional<z.ZodBoolean>;
|
|
16471
|
+
control_after_refresh: z.ZodOptional<z.ZodEnum<["first", "last"]>>;
|
|
16472
|
+
timeout: z.ZodOptional<z.ZodNumber>;
|
|
16473
|
+
max_retries: z.ZodOptional<z.ZodNumber>;
|
|
15954
16474
|
}, "strip", z.ZodTypeAny, {
|
|
15955
16475
|
refresh?: number;
|
|
15956
16476
|
route?: string;
|
|
15957
16477
|
response_key?: string;
|
|
15958
16478
|
query_params?: Record<string, string>;
|
|
16479
|
+
refresh_button?: boolean;
|
|
16480
|
+
control_after_refresh?: "first" | "last";
|
|
16481
|
+
timeout?: number;
|
|
16482
|
+
max_retries?: number;
|
|
15959
16483
|
}, {
|
|
15960
16484
|
refresh?: number;
|
|
15961
16485
|
route?: string;
|
|
15962
16486
|
response_key?: string;
|
|
15963
16487
|
query_params?: Record<string, string>;
|
|
16488
|
+
refresh_button?: boolean;
|
|
16489
|
+
control_after_refresh?: "first" | "last";
|
|
16490
|
+
timeout?: number;
|
|
16491
|
+
max_retries?: number;
|
|
15964
16492
|
}>>;
|
|
15965
16493
|
}>, z.ZodTypeAny, "passthrough">>], null>, z.ZodEffects<z.ZodTuple<[z.ZodLiteral<"COMBO">], null>, ("COMBO" | {})[], ["COMBO", ...unknown[]]>, ...z.ZodEffects<z.ZodLiteral<"COMBO">, any[], "COMBO">[]]>, z.ZodUnion<[z.ZodTuple<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
15966
16494
|
default: z.ZodOptional<z.ZodAny>;
|