semanticdb-core 1.0.0 → 1.0.1

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 ADDED
@@ -0,0 +1,5 @@
1
+ # README
2
+
3
+ 本项目是SemanticDB的最底层的公共项目,主要是定义了Schema、Property、Logicform的类型,以及基于这些概念的一些帮助函数。
4
+
5
+ 本项目的定义以及帮助函数会供SemanticDB、Alisa和Frontend使用。
package/dist/index.d.ts CHANGED
@@ -2,3 +2,6 @@ export * from './schema/property';
2
2
  export * from './schema/schema';
3
3
  export * from './common/representation';
4
4
  export * from './schema/schema.utils';
5
+ export { getDrilldownDimensions } from './schema/schema.utils/getDrilldownDimensions';
6
+ export * from './logicform/logicform';
7
+ export * from './logicform/logicform.utils';
package/dist/index.js CHANGED
@@ -14,7 +14,12 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.getDrilldownDimensions = void 0;
17
18
  __exportStar(require("./schema/property"), exports);
18
19
  __exportStar(require("./schema/schema"), exports);
19
20
  __exportStar(require("./common/representation"), exports);
20
21
  __exportStar(require("./schema/schema.utils"), exports);
22
+ var getDrilldownDimensions_1 = require("./schema/schema.utils/getDrilldownDimensions");
23
+ Object.defineProperty(exports, "getDrilldownDimensions", { enumerable: true, get: function () { return getDrilldownDimensions_1.getDrilldownDimensions; } });
24
+ __exportStar(require("./logicform/logicform"), exports);
25
+ __exportStar(require("./logicform/logicform.utils"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "semanticdb-core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [
@@ -13,6 +13,7 @@
13
13
  "lint": "eslint . --ext .ts",
14
14
  "lint:fix": "eslint . --ext .ts --fix",
15
15
  "format": "prettier --write \"src/**/*.ts\"",
16
+ "prepublishOnly": "npm run build",
16
17
  "test": "jest",
17
18
  "test:watch": "jest --watch",
18
19
  "test:coverage": "jest --coverage"