ugcinc 3.35.0 → 3.36.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/types.d.ts +5 -3
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1193,15 +1193,17 @@ export interface DeduplicateNodeConfig {
|
|
|
1193
1193
|
}
|
|
1194
1194
|
/**
|
|
1195
1195
|
* For-each output property configuration
|
|
1196
|
-
* Maps a property path from the item object to an output port
|
|
1196
|
+
* Maps a property path from the item object to an output port.
|
|
1197
|
+
* For media array elements (image[], video[], audio[]), use empty propertyPath
|
|
1198
|
+
* with the corresponding media type.
|
|
1197
1199
|
*/
|
|
1198
1200
|
export interface ForEachOutputProperty {
|
|
1199
1201
|
/** The output port ID (lowercase, hyphens/underscores only) */
|
|
1200
1202
|
portId: string;
|
|
1201
|
-
/** The property path to extract from each item (e.g., "startMs", "data.value") */
|
|
1203
|
+
/** The property path to extract from each item (e.g., "startMs", "data.value"). Empty string means the whole element. */
|
|
1202
1204
|
propertyPath: string;
|
|
1203
1205
|
/** The output type for the port */
|
|
1204
|
-
type: 'text' | 'object';
|
|
1206
|
+
type: 'text' | 'object' | 'image' | 'video' | 'audio';
|
|
1205
1207
|
}
|
|
1206
1208
|
/**
|
|
1207
1209
|
* For-each input port configuration
|