@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.
@@ -19,15 +19,19 @@ export interface TableColumnsMapType {
19
19
  }
20
20
  export interface TableType {
21
21
  name: string;
22
+ id: string;
22
23
  alias: string;
23
24
  }
24
25
  export type MetaData_TableType = TableType & DatasourceType;
25
26
  export interface MetaData_ColumnsType {
26
27
  name: string;
28
+ id: string;
27
29
  name_zh?: string;
28
30
  realName?: string;
29
31
  database_type: SQL_COLUMN_TYPE | '';
30
32
  special_type: SpecialType | '';
33
+ datasourceId: string;
34
+ datasourceName: string;
31
35
  select: boolean;
32
36
  }
33
37
  export interface MetaData {
@@ -40,10 +44,12 @@ export interface MetaData {
40
44
  }
41
45
  export interface MetaJoin_TalbeType {
42
46
  name: string;
47
+ id: string;
43
48
  alias: string;
44
49
  datasourceName: string;
45
50
  datasourceId: string;
46
51
  column: string;
52
+ column_id: string;
47
53
  groupSql?: string;
48
54
  [name: string]: any;
49
55
  }
@@ -71,13 +77,19 @@ export interface MetaCustom {
71
77
  }
72
78
  export interface MetaFilter_Item {
73
79
  table: string;
80
+ tableId: string;
74
81
  alias: string;
75
82
  name: string;
83
+ id: string;
76
84
  groupSql?: string;
77
85
  database_type: SQL_COLUMN_TYPE | '';
78
86
  val: string[];
79
87
  condition: string;
80
88
  quotes: string;
89
+ datasourceId: string;
90
+ datasourceName: string;
91
+ isField?: boolean;
92
+ table2?: Omit<MetaJoin_TalbeType, 'column' | 'column_id'> | null;
81
93
  }
82
94
  export interface MetaFilter {
83
95
  metaKey: number;
@@ -86,20 +98,32 @@ export interface MetaFilter {
86
98
  filter: MetaFilter_Item[];
87
99
  }
88
100
  export interface MetaSummarize_Group {
89
- table?: string;
101
+ table: string;
102
+ tableId: string;
90
103
  alias?: string;
91
- name?: string;
104
+ name: string;
105
+ id: string;
92
106
  realName?: string;
93
107
  database_type?: SQL_COLUMN_TYPE | '';
94
108
  sql: string;
95
109
  condition: string;
96
110
  quotes: string;
111
+ datasourceId: string;
112
+ datasourceName: string;
113
+ column: string;
114
+ column_id: string;
97
115
  [params: string]: any;
98
116
  }
99
117
  export interface MetaSummarize_By {
100
118
  table: string;
119
+ tableId: string;
101
120
  alias: string;
102
121
  name: string;
122
+ id: string;
123
+ datasourceId: string;
124
+ datasourceName: string;
125
+ column: string;
126
+ column_id: string;
103
127
  realName?: string;
104
128
  sql: string;
105
129
  database_type: SQL_COLUMN_TYPE | '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/pandora-metabase",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "",
5
5
  "main": "lib/es/index.js",
6
6
  "module": "lib/es/index.js",