@cellaware/utils 9.6.6 → 9.6.8

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.
@@ -71,7 +71,10 @@ export interface BIDataSource {
71
71
  tags: Tag[];
72
72
  views: BIDataSourceView[];
73
73
  relationships: BIDataSourceRelationship[];
74
+ expressions: BIDataSourceExpression[];
75
+ /** @deprecated */
74
76
  calculations: BIDataSourceExpression[];
77
+ /** @deprecated */
75
78
  measures: BIDataSourceExpression[];
76
79
  clientId: string;
77
80
  userId: string;
@@ -80,7 +83,6 @@ export declare function initBIDataSource(): BIDataSource;
80
83
  export interface BIDataSourceView {
81
84
  tableName: string;
82
85
  displayName: string;
83
- description: string;
84
86
  query: string;
85
87
  columns: BIDataSourceColumn[];
86
88
  compiledQuery: string;
@@ -112,14 +114,21 @@ export interface BIDataSourceColumn {
112
114
  description: string;
113
115
  comment: string;
114
116
  hidden?: boolean;
117
+ /** https://www.ag-grid.com/studio/angular/formatting/#provided-formats */
118
+ format?: string;
115
119
  }
116
120
  /** https://www.ag-grid.com/studio/angular/expressions/#api */
117
121
  export interface BIDataSourceExpression {
118
122
  columnName: string;
123
+ name: string;
119
124
  description: string;
120
- comment: string;
121
- /** https://www.ag-grid.com/studio/angular/expressions/#function-expression-operators */
122
- expression: any;
123
- expressionStr?: string;
125
+ /** https://www.ag-grid.com/studio/angular/expressions/#reference-AgExpressionFieldDefinition-expression */
126
+ expression: string | any;
124
127
  isMeasure?: boolean;
128
+ /** https://www.ag-grid.com/studio/angular/formatting/#provided-formats */
129
+ format?: string;
130
+ /** https://www.ag-grid.com/studio/angular/formatting/#format-options */
131
+ formatOptions?: {
132
+ format: string;
133
+ };
125
134
  }
@@ -39,6 +39,7 @@ export function initBIDataSource() {
39
39
  tags: [],
40
40
  views: [],
41
41
  relationships: [],
42
+ expressions: [],
42
43
  calculations: [],
43
44
  measures: [],
44
45
  clientId: '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "9.6.6",
3
+ "version": "9.6.8",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",