ugcinc 3.65.0 → 3.66.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 +8 -0
- package/package.json +2 -1
package/dist/automations.js
CHANGED
|
@@ -719,6 +719,14 @@ function getOutputSchema(nodeType, nodeConfig, outputPortId) {
|
|
|
719
719
|
if (outputPort?.itemSchema) {
|
|
720
720
|
return outputPort.itemSchema;
|
|
721
721
|
}
|
|
722
|
+
// Check resolvedPorts for nodes with dynamic outputs (compose-workflow, for-each, etc.)
|
|
723
|
+
if (nodeConfig?.resolvedPorts) {
|
|
724
|
+
const resolvedPorts = nodeConfig.resolvedPorts;
|
|
725
|
+
const resolvedOutput = resolvedPorts.outputs?.find(o => o.id === outputPortId);
|
|
726
|
+
if (resolvedOutput?.itemSchema) {
|
|
727
|
+
return resolvedOutput.itemSchema;
|
|
728
|
+
}
|
|
729
|
+
}
|
|
722
730
|
// For LLM nodes, derive from outputFields config
|
|
723
731
|
if (nodeType === 'llm' && nodeConfig) {
|
|
724
732
|
const llmConfig = nodeConfig.llm;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ugcinc",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.66.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",
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"author": "UGC Inc",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
+
"ugcinc": "^3.66.0",
|
|
24
25
|
"zod": "^3.23.0"
|
|
25
26
|
},
|
|
26
27
|
"peerDependencies": {
|