@platforma-open/milaboratories.software-ptabler.schema 1.3.0 → 1.4.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.
@@ -52,8 +52,8 @@ export interface AggregateStep {
52
52
  inputTable: string;
53
53
  /** The name to be assigned to the newly created aggregated table in the tablespace. */
54
54
  outputTable: string;
55
- /** An optional list of column names to group by before performing aggregations. */
56
- groupBy: string[];
55
+ /** An optional list of column names or expressions to group by before performing aggregations. */
56
+ groupBy: (string | Expression)[];
57
57
  /** An array of aggregation operations to apply to the input table. */
58
58
  aggregations: (StandardAggregationOperation | ByClauseAggregationOperation)[];
59
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-open/milaboratories.software-ptabler.schema",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "Type definitions for PTabler",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.js",
package/src/aggregate.ts CHANGED
@@ -70,8 +70,8 @@ export interface AggregateStep {
70
70
  inputTable: string;
71
71
  /** The name to be assigned to the newly created aggregated table in the tablespace. */
72
72
  outputTable: string;
73
- /** An optional list of column names to group by before performing aggregations. */
74
- groupBy: string[];
73
+ /** An optional list of column names or expressions to group by before performing aggregations. */
74
+ groupBy: (string | Expression)[];
75
75
  /** An array of aggregation operations to apply to the input table. */
76
76
  aggregations: (StandardAggregationOperation | ByClauseAggregationOperation)[];
77
77
  }