ugcinc 3.41.0 → 3.42.0
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/dist/automations.js +15 -0
- package/package.json +1 -1
package/dist/automations.js
CHANGED
|
@@ -516,6 +516,21 @@ function getAllNodes() {
|
|
|
516
516
|
// - index (if randomConfig.exposeIndex is true, array mode only)
|
|
517
517
|
outputs: [],
|
|
518
518
|
},
|
|
519
|
+
{
|
|
520
|
+
type: "if",
|
|
521
|
+
label: "If",
|
|
522
|
+
description: "Conditional branching based on boolean logic",
|
|
523
|
+
category: "Control Flow",
|
|
524
|
+
nodeCategory: "generator",
|
|
525
|
+
// Dynamic inputs based on ifConfig:
|
|
526
|
+
// - Boolean inputs from ifConfig.booleanInputs (type: boolean)
|
|
527
|
+
// - Passthrough inputs from ifConfig.passthroughInputs (various types)
|
|
528
|
+
inputs: [],
|
|
529
|
+
// Dynamic outputs: for each passthrough input, creates:
|
|
530
|
+
// - true-{id} (same type as input, receives value when condition is true)
|
|
531
|
+
// - false-{id} (same type as input, receives value when condition is false)
|
|
532
|
+
outputs: [],
|
|
533
|
+
},
|
|
519
534
|
// === Terminal nodes ===
|
|
520
535
|
{
|
|
521
536
|
type: "auto-post",
|