ugcinc 3.19.0 → 3.20.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.
@@ -489,19 +489,8 @@ function getAllNodes() {
489
489
  required: true,
490
490
  },
491
491
  ],
492
- // Base outputs - additional outputs are dynamic based on forEachConfig.outputProperties
493
- outputs: [
494
- {
495
- id: "item",
496
- type: "object",
497
- required: true,
498
- },
499
- {
500
- id: "index",
501
- type: "text",
502
- required: false,
503
- },
504
- ],
492
+ // Dynamic outputs based on forEachConfig (exposeItem, exposeIndex, outputProperties, inputPorts)
493
+ outputs: [],
505
494
  },
506
495
  // === Transcript ===
507
496
  {
package/dist/types.d.ts CHANGED
@@ -1220,6 +1220,10 @@ export interface ForEachNodeConfig {
1220
1220
  outputProperties?: ForEachOutputProperty[];
1221
1221
  /** Input ports for single-value passthrough (Mode 2) */
1222
1222
  inputPorts?: ForEachInputPort[];
1223
+ /** Whether to expose the full item object as an output (default: false) */
1224
+ exposeItem?: boolean;
1225
+ /** Whether to expose the iteration index as an output (default: false) */
1226
+ exposeIndex?: boolean;
1223
1227
  }
1224
1228
  /**
1225
1229
  * Supported platforms for video import
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "3.19.0",
3
+ "version": "3.20.0",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",