@hedia/types 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/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export { BloodGlucoseUnit, BloodKetonesUnit } from "./types/measurements";
package/index.js ADDED
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BloodKetonesUnit = exports.BloodGlucoseUnit = void 0;
4
+ var measurements_1 = require("./types/measurements");
5
+ Object.defineProperty(exports, "BloodGlucoseUnit", { enumerable: true, get: function () { return measurements_1.BloodGlucoseUnit; } });
6
+ Object.defineProperty(exports, "BloodKetonesUnit", { enumerable: true, get: function () { return measurements_1.BloodKetonesUnit; } });
7
+ //# sourceMappingURL=index.js.map
package/index.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,qDAA0E;AAAjE,gHAAA,gBAAgB,OAAA;AAAE,gHAAA,gBAAgB,OAAA"}
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@hedia/types",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Enums, interfaces, and other common types for use in Hedia's software.",
5
5
  "main": "index.js",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "git+ssh://git@bitbucket.org/hediadiabetes/hedia-schema.git"
8
+ "url": "git+ssh://git@bitbucket.org/hediadiabetes/hedia-types.git"
9
9
  },
10
10
  "keywords": [],
11
11
  "author": "Hedia",
12
12
  "license": "ISC",
13
- "homepage": "https://bitbucket.org/hediadiabetes/hedia-schema#readme"
13
+ "homepage": "https://bitbucket.org/hediadiabetes/hedia-types#readme"
14
14
  }
package/tsconfig.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */,
5
5
  "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
6
6
  //"jsx": "react", /* Use React to interpret JSX */
7
- "noEmit": true /* Do not emit outputs. */,
7
+ "noEmit": false /* Do not emit outputs. */,
8
8
  "allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. */,
9
9
 
10
10
  //"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */
@@ -0,0 +1,8 @@
1
+ export declare enum BloodGlucoseUnit {
2
+ MMOL_L = "mmol/l",
3
+ MG_DL = "mg/dl"
4
+ }
5
+ export declare enum BloodKetonesUnit {
6
+ MMOL_L = "mmol/l",
7
+ MG_DL = "mg/dl"
8
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BloodKetonesUnit = exports.BloodGlucoseUnit = void 0;
4
+ var Units;
5
+ (function (Units) {
6
+ Units["MMOL_L"] = "mmol/l";
7
+ Units["MG_DL"] = "mg/dl";
8
+ })(Units || (Units = {}));
9
+ var BloodGlucoseUnit;
10
+ (function (BloodGlucoseUnit) {
11
+ BloodGlucoseUnit["MMOL_L"] = "mmol/l";
12
+ BloodGlucoseUnit["MG_DL"] = "mg/dl";
13
+ })(BloodGlucoseUnit = exports.BloodGlucoseUnit || (exports.BloodGlucoseUnit = {}));
14
+ var BloodKetonesUnit;
15
+ (function (BloodKetonesUnit) {
16
+ BloodKetonesUnit["MMOL_L"] = "mmol/l";
17
+ BloodKetonesUnit["MG_DL"] = "mg/dl";
18
+ })(BloodKetonesUnit = exports.BloodKetonesUnit || (exports.BloodKetonesUnit = {}));
19
+ //# sourceMappingURL=measurements.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"measurements.js","sourceRoot":"","sources":["measurements.ts"],"names":[],"mappings":";;;AAAA,IAAK,KAGJ;AAHD,WAAK,KAAK;IACN,0BAAiB,CAAA;IACjB,wBAAe,CAAA;AACnB,CAAC,EAHI,KAAK,KAAL,KAAK,QAGT;AACD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;AACvB,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AACD,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IACxB,qCAAqB,CAAA;IACrB,mCAAmB,CAAA;AACvB,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B"}