@cellaware/utils 9.1.0 → 9.1.1

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.
@@ -80,23 +80,17 @@ export interface BIDataSourceView {
80
80
  compiledQuery: string;
81
81
  disabled?: boolean;
82
82
  }
83
- export interface BIDataSourceColumnRelationship {
84
- tableName: string;
85
- columnName: string;
86
- type: 'many-to-one' | 'one-to-one' | 'many-to-many' | 'one-to-many';
87
- /** Default is `inner`. */
88
- join?: 'inner' | 'left' | 'right' | 'full';
89
- }
90
83
  export interface BIDataSourceRelationship {
91
84
  sourceTableName: string;
92
85
  targetTableName: string;
93
- columns: {
94
- sourceColumnName: string;
95
- targetColumnName: string;
96
- }[];
86
+ columns: BIDataSourceRelationshipLink[];
97
87
  type: 'many-to-one' | 'one-to-one' | 'many-to-many' | 'one-to-many';
98
88
  join: 'inner' | 'left' | 'right' | 'full';
99
89
  }
90
+ export interface BIDataSourceRelationshipLink {
91
+ sourceColumnName: string;
92
+ targetColumnName: string;
93
+ }
100
94
  export interface BIDataSourceColumnCalendar {
101
95
  /** https://www.ag-grid.com/studio/angular/calendars/#fragment-reference */
102
96
  fragments: string[];
@@ -106,7 +100,6 @@ export interface BIDataSourceColumn {
106
100
  dataType: string;
107
101
  description: string;
108
102
  comment: string;
109
- relationship?: BIDataSourceColumnRelationship;
110
103
  /** Important: a calendar represents the semantics of a **particular** date -- each date field should have its own calendar. */
111
104
  calendar?: BIDataSourceColumnCalendar;
112
105
  hidden?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cellaware/utils",
3
- "version": "9.1.0",
3
+ "version": "9.1.1",
4
4
  "description": "Cellaware Utilities for Node.js",
5
5
  "author": "Cellaware Technologies",
6
6
  "type": "module",