@hedia/types 1.0.0 → 1.0.2

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.
@@ -0,0 +1 @@
1
+ export { BloodGlucoseUnit, BloodKetonesUnit } from "./types/measurements";
package/dist/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
@@ -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"}
@@ -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":["../../types/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"}
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@hedia/types",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Enums, interfaces, and other common types for use in Hedia's software.",
5
- "main": "index.js",
5
+ "main": "dist/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'. */
@@ -17,7 +17,7 @@
17
17
  // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
18
18
  "sourceMap": true /* Generates corresponding '.map' file. */,
19
19
  // "outFile": "./", /* Concatenate and emit output to single file. */
20
- //"outDir": "./dist/", /* Redirect output structure to the directory. */
20
+ "outDir": "./dist/", /* Redirect output structure to the directory. */
21
21
  "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
22
22
  // "composite": true, /* Enable project compilation */
23
23
  // "removeComments": true, /* Do not emit comments to output. */