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