ugcinc 3.43.0 → 3.44.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 +2 -2
- package/dist/types.d.ts +3 -3
- package/package.json +1 -1
package/dist/automations.js
CHANGED
|
@@ -533,8 +533,8 @@ function getAllNodes() {
|
|
|
533
533
|
},
|
|
534
534
|
{
|
|
535
535
|
type: "random-route",
|
|
536
|
-
label: "Random
|
|
537
|
-
description: "Route inputs to a
|
|
536
|
+
label: "Random Branch",
|
|
537
|
+
description: "Route inputs to a randomly selected branch",
|
|
538
538
|
category: "Control Flow",
|
|
539
539
|
nodeCategory: "generator",
|
|
540
540
|
// Dynamic inputs based on randomRouteConfig.passthroughInputs (various types)
|
package/dist/types.d.ts
CHANGED
|
@@ -1312,7 +1312,7 @@ export interface IfNodeConfig {
|
|
|
1312
1312
|
passthroughInputs: IfPassthroughInput[];
|
|
1313
1313
|
}
|
|
1314
1314
|
/**
|
|
1315
|
-
* Random
|
|
1315
|
+
* Random Branch branch definition
|
|
1316
1316
|
*/
|
|
1317
1317
|
export interface RandomRouteBranch {
|
|
1318
1318
|
/** Unique ID for this branch (e.g., "branch-1") */
|
|
@@ -1321,7 +1321,7 @@ export interface RandomRouteBranch {
|
|
|
1321
1321
|
probability: number;
|
|
1322
1322
|
}
|
|
1323
1323
|
/**
|
|
1324
|
-
* Random
|
|
1324
|
+
* Random Branch passthrough input definition
|
|
1325
1325
|
*/
|
|
1326
1326
|
export interface RandomRoutePassthroughInput {
|
|
1327
1327
|
/** The input port ID (lowercase, hyphens/underscores only) */
|
|
@@ -1332,7 +1332,7 @@ export interface RandomRoutePassthroughInput {
|
|
|
1332
1332
|
isArray?: boolean;
|
|
1333
1333
|
}
|
|
1334
1334
|
/**
|
|
1335
|
-
* Random
|
|
1335
|
+
* Random Branch node configuration - routes inputs to a randomly selected branch based on probability
|
|
1336
1336
|
*/
|
|
1337
1337
|
export interface RandomRouteNodeConfig {
|
|
1338
1338
|
/** Output branches with probability weights (must sum to 100) */
|