semanticdb-core 1.0.9 → 1.0.11

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.
@@ -35,6 +35,13 @@ const isDimensionInLogicform = (logicform, dimension) => {
35
35
  if (logicform.groupby && (0, exports.isDimensionInGroupby)(logicform.groupby, dimension)) {
36
36
  return true;
37
37
  }
38
+ if (logicform.preds) {
39
+ for (const predItem of logicform.preds) {
40
+ if ((0, exports.isDimensionInQuery)(predItem.query || {}, dimension)) {
41
+ return true;
42
+ }
43
+ }
44
+ }
38
45
  return false;
39
46
  };
40
47
  exports.isDimensionInLogicform = isDimensionInLogicform;
@@ -19,6 +19,7 @@ export interface SchemaTypeDraft {
19
19
  drilldown_blacklist?: string[];
20
20
  };
21
21
  drilldown?: GroupbyItemType[];
22
+ projections?: string[];
22
23
  }
23
24
  export interface SchemaType extends SchemaTypeDraft {
24
25
  properties: PropertyType[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semanticdb-core",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [