ngx-t-forms-types 0.0.29 → 0.0.30

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.
@@ -29,7 +29,9 @@ export declare enum FunctionTypes {
29
29
  /** Group items into buckets keyed by one or more paths. Returns a record of arrays. Terminal. */
30
30
  GroupBy = "groupBy",
31
31
  /** Aggregate items into a scalar or summary object (sum/avg/min/max/count/first/last/join). Terminal. */
32
- Reduce = "reduce"
32
+ Reduce = "reduce",
33
+ /** Add derived fields to each item via an arithmetic expression (`alias = a * b`, child aggregates, `round`). Returns an array. */
34
+ Compute = "compute"
33
35
  }
34
36
  /**
35
37
  * A single declarative array-transform step.
@@ -31,5 +31,7 @@ export var FunctionTypes;
31
31
  FunctionTypes["GroupBy"] = "groupBy";
32
32
  /** Aggregate items into a scalar or summary object (sum/avg/min/max/count/first/last/join). Terminal. */
33
33
  FunctionTypes["Reduce"] = "reduce";
34
+ /** Add derived fields to each item via an arithmetic expression (`alias = a * b`, child aggregates, `round`). Returns an array. */
35
+ FunctionTypes["Compute"] = "compute";
34
36
  // Add more function types here as needed
35
37
  })(FunctionTypes || (FunctionTypes = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-t-forms-types",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "description": "Typings and interfaces for the ngx-t-forms library for dynamic forms.",
5
5
  "keywords": [
6
6
  "typings",