ugcinc 3.81.0 → 3.83.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 +4 -2
- package/package.json +1 -1
package/dist/automations.js
CHANGED
|
@@ -631,11 +631,11 @@ function getAllNodes() {
|
|
|
631
631
|
description: "Extract specific elements from an array by index or range",
|
|
632
632
|
category: "Control Flow",
|
|
633
633
|
nodeCategory: "generator",
|
|
634
|
-
// Input is any array type
|
|
634
|
+
// Input is any array type
|
|
635
635
|
inputs: [
|
|
636
636
|
{
|
|
637
637
|
id: "array",
|
|
638
|
-
type: ["image[]", "video[]", "audio[]", "text[]", "object[]"
|
|
638
|
+
type: ["image[]", "video[]", "audio[]", "text[]", "object[]"],
|
|
639
639
|
required: true,
|
|
640
640
|
},
|
|
641
641
|
],
|
package/dist/types.d.ts
CHANGED
|
@@ -1442,6 +1442,8 @@ export interface BranchNodeConfig {
|
|
|
1442
1442
|
passthroughInputs: BranchPassthroughInput[];
|
|
1443
1443
|
/** Optional default branch key if no match is found */
|
|
1444
1444
|
defaultBranchKey?: string;
|
|
1445
|
+
/** Output mode - 'single' broadcasts one output to all consumers, 'per-input' creates one per consumer */
|
|
1446
|
+
outputMode?: OutputMode;
|
|
1445
1447
|
}
|
|
1446
1448
|
/**
|
|
1447
1449
|
* Supported platforms for video import
|
|
@@ -1596,6 +1598,8 @@ export interface DestructureSelection {
|
|
|
1596
1598
|
portId: string;
|
|
1597
1599
|
/** Index expression: single index "0", comma-separated "0, 2, 4", ranges "0-3", or mixed "0, 2-4, 7" */
|
|
1598
1600
|
indexExpr: string;
|
|
1601
|
+
/** Optional property path to extract from selected items (e.g., "messages", "data.items") */
|
|
1602
|
+
propertyPath?: string;
|
|
1599
1603
|
/** If true, read indexExpr from input port (idx-{portId}) instead of using static value */
|
|
1600
1604
|
isVariable?: boolean;
|
|
1601
1605
|
}
|
|
@@ -1603,8 +1607,6 @@ export interface DestructureSelection {
|
|
|
1603
1607
|
* Destructure node configuration - extracts specific elements from an array
|
|
1604
1608
|
*/
|
|
1605
1609
|
export interface DestructureNodeConfig {
|
|
1606
|
-
/** Optional path to reach the array within an object input (e.g., "messages", "data.items") */
|
|
1607
|
-
arrayPath?: string;
|
|
1608
1610
|
/** List of selections - each becomes an output port */
|
|
1609
1611
|
selections: DestructureSelection[];
|
|
1610
1612
|
}
|