@gingkoo/pandora-metabase 1.0.0-alpha.7 → 1.0.0-alpha.9
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.
- package/README.md +20 -11
- package/lib/es/components/dialog/select-join-column/index.d.ts +1 -0
- package/lib/es/index.js +216 -103
- package/lib/es/index.js.map +1 -1
- package/lib/es/store/types.d.ts +11 -15
- package/lib/es/types.d.ts +1 -0
- package/package.json +1 -1
package/lib/es/store/types.d.ts
CHANGED
|
@@ -5,14 +5,15 @@ export type MetaListType = MetaData | MetaJoin | MetaCustom | MetaFilter | MetaS
|
|
|
5
5
|
export type initColumnsType = MetaData_ColumnsType;
|
|
6
6
|
interface ExpressionsType {
|
|
7
7
|
operator: string;
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
left_fieldAlias: string;
|
|
9
|
+
left_fieldUuid: string;
|
|
10
|
+
left_quotes: string;
|
|
10
11
|
left_string: string;
|
|
11
|
-
left_isString: boolean;
|
|
12
12
|
left_type: 'string' | 'constant' | 'field' | '' | null;
|
|
13
13
|
left_constant: string;
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
right_fieldAlias: string;
|
|
15
|
+
right_fieldUuid: string;
|
|
16
|
+
right_quotes: string;
|
|
16
17
|
right_string: string;
|
|
17
18
|
right_type: 'string' | 'constant' | 'field' | '' | null;
|
|
18
19
|
right_constant: string;
|
|
@@ -40,6 +41,7 @@ export interface MetaData_ColumnsType {
|
|
|
40
41
|
datasourceId: string;
|
|
41
42
|
datasourceName: string;
|
|
42
43
|
select: boolean;
|
|
44
|
+
summarizeType?: MetaSummarize_Enum;
|
|
43
45
|
}
|
|
44
46
|
export interface MetaData {
|
|
45
47
|
metaKey: number;
|
|
@@ -56,10 +58,10 @@ export interface MetaJoin_TalbeType {
|
|
|
56
58
|
alias: string;
|
|
57
59
|
datasourceName: string;
|
|
58
60
|
datasourceId: string;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
fieldAlias: string;
|
|
62
|
+
fieldUuid: string;
|
|
61
63
|
groupSql?: string;
|
|
62
|
-
|
|
64
|
+
quotes?: string;
|
|
63
65
|
}
|
|
64
66
|
export interface MetaJoin {
|
|
65
67
|
metaKey: number;
|
|
@@ -76,7 +78,6 @@ export interface MetaJoin {
|
|
|
76
78
|
}
|
|
77
79
|
export interface MetaCustom_Item {
|
|
78
80
|
name: string;
|
|
79
|
-
formula: string;
|
|
80
81
|
type?: string;
|
|
81
82
|
formulaList?: any[];
|
|
82
83
|
}
|
|
@@ -112,7 +113,7 @@ export interface MetaFilter_Item {
|
|
|
112
113
|
isField?: boolean;
|
|
113
114
|
valType?: 'field' | 'string' | 'constant' | '';
|
|
114
115
|
constantName?: string;
|
|
115
|
-
table2?:
|
|
116
|
+
table2?: MetaJoin_TalbeType | null;
|
|
116
117
|
formula?: Filter_Formula;
|
|
117
118
|
subquery?: any[];
|
|
118
119
|
type?: Filter_TypeEnum;
|
|
@@ -146,8 +147,6 @@ export interface MetaSummarize_Group {
|
|
|
146
147
|
quotes: string;
|
|
147
148
|
datasourceId: string;
|
|
148
149
|
datasourceName: string;
|
|
149
|
-
column: string;
|
|
150
|
-
column_id: string;
|
|
151
150
|
summarizeType: MetaSummarize_Enum;
|
|
152
151
|
[params: string]: any;
|
|
153
152
|
}
|
|
@@ -162,8 +161,6 @@ export interface MetaSummarize_By {
|
|
|
162
161
|
id: string;
|
|
163
162
|
datasourceId: string;
|
|
164
163
|
datasourceName: string;
|
|
165
|
-
column: string;
|
|
166
|
-
column_id: string;
|
|
167
164
|
realName?: string;
|
|
168
165
|
sql: string;
|
|
169
166
|
database_type: SQL_COLUMN_TYPE | '';
|
|
@@ -216,7 +213,6 @@ export interface LooseObject {
|
|
|
216
213
|
}
|
|
217
214
|
interface ParamsCustomColumns {
|
|
218
215
|
alias: string;
|
|
219
|
-
formula: string;
|
|
220
216
|
}
|
|
221
217
|
interface ParamsJoinTables {
|
|
222
218
|
alias: string;
|
package/lib/es/types.d.ts
CHANGED