@platforma-sdk/workflow-tengo 2.15.3 → 2.15.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.
@@ -447,14 +447,13 @@ processColumn := func(input, bodyTpl, outputs, ...opts) {
447
447
 
448
448
 
449
449
 
450
- allOutputsFrame: func(...xsvNameSeparator) {
450
+
451
+ addAllOutputsToBuilder: func(builder, ...separator) {
451
452
  sep := "."
452
- if len(xsvNameSeparator) > 0 {
453
- sep = xsvNameSeparator[0]
453
+ if len(separator) > 0 {
454
+ sep = separator[0]
454
455
  }
455
456
 
456
- builder := builder.pFrameBuilder()
457
-
458
457
  for name, output in outputsMap {
459
458
  if output.type == "Xsv" {
460
459
 
@@ -475,6 +474,18 @@ processColumn := func(input, bodyTpl, outputs, ...opts) {
475
474
  }
476
475
  }
477
476
 
477
+ return builder
478
+ },
479
+
480
+
481
+
482
+
483
+
484
+
485
+
486
+ allOutputsFrame: func(...xsvNameSeparator) {
487
+ builder := builder.pFrameBuilder()
488
+ self.addAllOutputsToBuilder(builder, xsvNameSeparator...)
478
489
  return builder.build()
479
490
  },
480
491
 
@@ -525,7 +536,29 @@ processColumn := func(input, bodyTpl, outputs, ...opts) {
525
536
  columns = append(columns, columnName)
526
537
  }
527
538
  return slices.quickSort(columns)
539
+ },
540
+
541
+
542
+
543
+
544
+
545
+
546
+
547
+
548
+
549
+ addXsvOutputToBuilder: func(builder, outputName, prefix) {
550
+ for columnName in self.listXsvColumns(outputName) {
551
+ builder.add(
552
+ prefix + columnName,
553
+ self.outputSpec(outputName, columnName),
554
+ self.outputData(outputName, columnName)
555
+ )
556
+ }
557
+
558
+ return builder
528
559
  }
560
+
561
+
529
562
  })
530
563
 
531
564
  return self
Binary file
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/workflow-tengo",
3
- "version": "2.15.3",
3
+ "version": "2.15.4",
4
4
  "description": "Tengo SDK library",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",