@cellaware/utils 9.6.5 → 9.6.7

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.
@@ -25,10 +25,9 @@ export interface BICanvasCustomWidget {
25
25
  }
26
26
  export interface BICanvasState {
27
27
  pages: any[];
28
+ schema?: any;
28
29
  selectedPageId: string;
29
30
  customWidgets: BICanvasCustomWidget[];
30
- /** **Deprecated** in favor of data source's `schema`. */
31
- schema?: any;
32
31
  }
33
32
  export declare function initBICanvasState(): BICanvasState;
34
33
  export interface BiCanvasUsage {
@@ -47,7 +46,6 @@ export interface BIDataSourceExternal {
47
46
  tables: any[];
48
47
  expressions: any[];
49
48
  relationships: any[];
50
- calendars: any[];
51
49
  /** Indicates if data is pre-loaded rather than loaded dynamically via a Data Engine. */
52
50
  preload: boolean;
53
51
  /** Our own internal representation of views & relationships. Having this makes things easier during query generation. */
@@ -73,12 +71,8 @@ export interface BIDataSource {
73
71
  tags: Tag[];
74
72
  views: BIDataSourceView[];
75
73
  relationships: BIDataSourceRelationship[];
76
- /** **Deprecated** in favor of `schema`. */
77
74
  calculations: BIDataSourceExpression[];
78
- /** **Deprecated** in favor of `schema`. */
79
75
  measures: BIDataSourceExpression[];
80
- /** AG Studio dashboard `schema` object -- we want it coupled with the data source. */
81
- schema?: any;
82
76
  clientId: string;
83
77
  userId: string;
84
78
  }
@@ -86,7 +80,6 @@ export declare function initBIDataSource(): BIDataSource;
86
80
  export interface BIDataSourceView {
87
81
  tableName: string;
88
82
  displayName: string;
89
- description: string;
90
83
  query: string;
91
84
  columns: BIDataSourceColumn[];
92
85
  compiledQuery: string;
@@ -112,25 +105,27 @@ export interface BIDataSourceRelationshipLink {
112
105
  sourceColumnName: string;
113
106
  targetColumnName: string;
114
107
  }
115
- export interface BIDataSourceColumnCalendar {
116
- /** https://www.ag-grid.com/studio/angular/calendars/#fragment-reference */
117
- fragments: string[];
118
- }
119
108
  export interface BIDataSourceColumn {
120
109
  columnName: string;
121
110
  dataType: string;
122
111
  description: string;
123
112
  comment: string;
124
- /** Important: a calendar represents the semantics of a **particular** date -- each date field should have its own calendar. */
125
- calendar?: BIDataSourceColumnCalendar;
126
113
  hidden?: boolean;
114
+ /** https://www.ag-grid.com/studio/angular/formatting/#provided-formats */
115
+ format?: string;
127
116
  }
128
117
  /** https://www.ag-grid.com/studio/angular/expressions/#api */
129
118
  export interface BIDataSourceExpression {
130
119
  columnName: string;
120
+ name: string;
131
121
  description: string;
132
- comment: string;
133
- /** https://www.ag-grid.com/studio/angular/expressions/#function-expression-operators */
134
- expression: any;
122
+ /** https://www.ag-grid.com/studio/angular/expressions/#reference-AgExpressionFieldDefinition-expression */
123
+ expression: string | any;
135
124
  isMeasure?: boolean;
125
+ /** https://www.ag-grid.com/studio/angular/formatting/#provided-formats */
126
+ format?: string;
127
+ /** https://www.ag-grid.com/studio/angular/formatting/#format-options */
128
+ formatOptions?: {
129
+ format: string;
130
+ };
136
131
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "9.6.5",
3
+ "version": "9.6.7",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",