semanticdb-core 1.0.22 → 1.0.23

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.
@@ -94,6 +94,15 @@ const getDrilldownDimensions = (schema, schemasDict, logicform) => __awaiter(voi
94
94
  schema.properties.forEach((property) => {
95
95
  addToArrayWithProperty(property);
96
96
  });
97
+ // 自己有hierarchy
98
+ if (schema.hierarchy) {
99
+ schema.hierarchy.forEach((h) => {
100
+ drilldownProps.push({
101
+ _id: h.name,
102
+ level: h.name,
103
+ });
104
+ });
105
+ }
97
106
  // console.log('drilldownProps', drilldownProps);
98
107
  // blacklist
99
108
  if (schema.analyzer && schema.analyzer.drilldown_blacklist) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semanticdb-core",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [