@gingkoo/pandora-metabase 0.0.23 → 0.0.24
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.
|
@@ -8,17 +8,21 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import './index.less';
|
|
10
10
|
import { ColumnsPopupThemeEnum, SQL_COLUMN_TYPE } from '../../../store/enum';
|
|
11
|
-
import { MetaData_ColumnsType } from '../../../store/types';
|
|
11
|
+
import { MetaData_ColumnsType, MetaJoin_TalbeType } from '../../../store/types';
|
|
12
12
|
import { DatasourceType } from '../../../types';
|
|
13
13
|
export declare const DATE_GROUP_MAP: Map<string, string>;
|
|
14
14
|
export declare const NUMBER_GROUP_MAP: Map<string, string>;
|
|
15
15
|
export interface ColumnType {
|
|
16
16
|
table: string;
|
|
17
|
+
tableId: string;
|
|
17
18
|
alias: string;
|
|
18
19
|
name: string;
|
|
19
20
|
database_type: SQL_COLUMN_TYPE | '';
|
|
20
21
|
sql?: string;
|
|
21
|
-
id
|
|
22
|
+
id: string;
|
|
23
|
+
datasourceId: string;
|
|
24
|
+
datasourceName: string;
|
|
25
|
+
table2?: Omit<MetaJoin_TalbeType, 'column' | 'column_id'> | null;
|
|
22
26
|
}
|
|
23
27
|
export interface ColumnGroupType {
|
|
24
28
|
condition: string;
|
|
@@ -26,6 +30,7 @@ export interface ColumnGroupType {
|
|
|
26
30
|
}
|
|
27
31
|
export type DataType = Partial<DatasourceType> & {
|
|
28
32
|
table: string;
|
|
33
|
+
tableId: string;
|
|
29
34
|
alias: string;
|
|
30
35
|
columns: MetaData_ColumnsType[];
|
|
31
36
|
};
|