@cellaware/utils 9.1.1 → 9.2.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.
@@ -48,6 +48,8 @@ export interface BIDataSourceExternal {
48
48
  calendars: any[];
49
49
  /** Indicates if data is pre-loaded rather than loaded dynamically via a Data Engine. */
50
50
  preload: boolean;
51
+ /** Our own internal representation of relationships. Having this makes things easier during query generation. */
52
+ biDataSourceRelationships: BIDataSourceRelationship[];
51
53
  }
52
54
  export interface BIDataSource {
53
55
  dataSourceId: string;
@@ -66,6 +68,7 @@ export interface BIDataSource {
66
68
  tags: Tag[];
67
69
  views: BIDataSourceView[];
68
70
  relationships: BIDataSourceRelationship[];
71
+ calculations: BIDataSourceExpression[];
69
72
  measures: BIDataSourceExpression[];
70
73
  clientId: string;
71
74
  userId: string;
@@ -111,4 +114,5 @@ export interface BIDataSourceExpression {
111
114
  comment: string;
112
115
  /** https://www.ag-grid.com/studio/angular/expressions/#function-expression-operators */
113
116
  expression: any;
117
+ isMeasure?: boolean;
114
118
  }
@@ -39,6 +39,7 @@ export function initBIDataSource() {
39
39
  tags: [],
40
40
  views: [],
41
41
  relationships: [],
42
+ calculations: [],
42
43
  measures: [],
43
44
  clientId: '',
44
45
  userId: ''
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "9.1.1",
3
+ "version": "9.2.0",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",