@cellaware/utils 9.0.9 → 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.
|
@@ -65,6 +65,7 @@ export interface BIDataSource {
|
|
|
65
65
|
folder: string;
|
|
66
66
|
tags: Tag[];
|
|
67
67
|
views: BIDataSourceView[];
|
|
68
|
+
relationships: BIDataSourceRelationship[];
|
|
68
69
|
measures: BIDataSourceExpression[];
|
|
69
70
|
clientId: string;
|
|
70
71
|
userId: string;
|
|
@@ -79,12 +80,16 @@ export interface BIDataSourceView {
|
|
|
79
80
|
compiledQuery: string;
|
|
80
81
|
disabled?: boolean;
|
|
81
82
|
}
|
|
82
|
-
export interface
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
export interface BIDataSourceRelationship {
|
|
84
|
+
sourceTableName: string;
|
|
85
|
+
targetTableName: string;
|
|
86
|
+
columns: BIDataSourceRelationshipLink[];
|
|
85
87
|
type: 'many-to-one' | 'one-to-one' | 'many-to-many' | 'one-to-many';
|
|
86
|
-
|
|
87
|
-
|
|
88
|
+
join: 'inner' | 'left' | 'right' | 'full';
|
|
89
|
+
}
|
|
90
|
+
export interface BIDataSourceRelationshipLink {
|
|
91
|
+
sourceColumnName: string;
|
|
92
|
+
targetColumnName: string;
|
|
88
93
|
}
|
|
89
94
|
export interface BIDataSourceColumnCalendar {
|
|
90
95
|
/** https://www.ag-grid.com/studio/angular/calendars/#fragment-reference */
|
|
@@ -95,7 +100,6 @@ export interface BIDataSourceColumn {
|
|
|
95
100
|
dataType: string;
|
|
96
101
|
description: string;
|
|
97
102
|
comment: string;
|
|
98
|
-
relationship?: BIDataSourceColumnRelationship;
|
|
99
103
|
/** Important: a calendar represents the semantics of a **particular** date -- each date field should have its own calendar. */
|
|
100
104
|
calendar?: BIDataSourceColumnCalendar;
|
|
101
105
|
hidden?: boolean;
|