flowscale 1.3.3 → 1.3.4
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/index.js +9 -0
- package/dist/types.d.ts +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -414,8 +414,17 @@ var FlowscaleAPI = /** @class */ (function () {
|
|
|
414
414
|
continue;
|
|
415
415
|
}
|
|
416
416
|
if (result.output.status === 'success') {
|
|
417
|
+
if (result.output.data.file_content !== null) {
|
|
418
|
+
successfulOutputs.push({
|
|
419
|
+
filename: result.filename,
|
|
420
|
+
download_url: undefined,
|
|
421
|
+
file_content: result.output.data.file_content || '',
|
|
422
|
+
generation_status: result.output.data.generation_status || 'success'
|
|
423
|
+
});
|
|
424
|
+
}
|
|
417
425
|
successfulOutputs.push({
|
|
418
426
|
filename: result.filename,
|
|
427
|
+
file_content: undefined,
|
|
419
428
|
download_url: result.output.data.download_url || '',
|
|
420
429
|
generation_status: result.output.data.generation_status || 'success'
|
|
421
430
|
});
|
package/dist/types.d.ts
CHANGED