@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.
@@ -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
- left_column: string;
9
- left_column_id: string;
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
- right_column: string;
15
- right_column_id: string;
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
- column: string;
60
- column_id: string;
62
+ fieldAlias: string;
63
+ fieldUuid: string;
61
64
  groupSql?: string;
62
- [name: string]: any;
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?: Omit<MetaJoin_TalbeType, 'column' | 'column_id'> | null;
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
@@ -27,6 +27,7 @@ export interface MetabaseProps {
27
27
  showSubquery?: boolean;
28
28
  subShowSubquery?: boolean;
29
29
  constantList?: OptionItem[];
30
+ notExistsToolbar?: ToolbarType[];
30
31
  }
31
32
  export interface OptionItem {
32
33
  value?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gingkoo/pandora-metabase",
3
- "version": "1.0.0-alpha.7",
3
+ "version": "1.0.0-alpha.8",
4
4
  "description": "",
5
5
  "main": "lib/es/index.js",
6
6
  "module": "lib/es/index.js",