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