@hedia/types 2.1.54-alpha.0 → 2.1.56-alpha.0

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.
@@ -1,19 +1,20 @@
1
1
  export declare namespace Cgm {
2
- namespace Types {
3
- export interface ICgmReading {
4
- userId: number;
5
- timestamp: Date;
6
- retrievalTimestamp: Date;
7
- glucoseValueMillimolar: number;
8
- manufacturer: Manufacturers;
9
- model: Models;
10
- }
2
+ namespace Enums {
11
3
  enum Manufacturers {
12
4
  MENARINI = "menarini"
13
5
  }
14
6
  enum Models {
15
7
  GLUCOMEN_DAY = "glucomen_day"
16
8
  }
17
- export {};
9
+ }
10
+ namespace Types {
11
+ interface ICgmReading {
12
+ userId: number;
13
+ timestamp: Date;
14
+ retrievalTimestamp: Date;
15
+ glucoseValueMillimolar: number;
16
+ manufacturer: Enums.Manufacturers;
17
+ model: Enums.Models;
18
+ }
18
19
  }
19
20
  }
@@ -3,16 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Cgm = void 0;
4
4
  var Cgm;
5
5
  (function (Cgm) {
6
- let Types;
7
- (function (Types) {
6
+ let Enums;
7
+ (function (Enums) {
8
8
  let Manufacturers;
9
9
  (function (Manufacturers) {
10
10
  Manufacturers["MENARINI"] = "menarini";
11
- })(Manufacturers || (Manufacturers = {}));
11
+ })(Manufacturers = Enums.Manufacturers || (Enums.Manufacturers = {}));
12
12
  let Models;
13
13
  (function (Models) {
14
14
  Models["GLUCOMEN_DAY"] = "glucomen_day";
15
- })(Models || (Models = {}));
16
- })(Types = Cgm.Types || (Cgm.Types = {}));
15
+ })(Models = Enums.Models || (Enums.Models = {}));
16
+ })(Enums = Cgm.Enums || (Cgm.Enums = {}));
17
17
  })(Cgm = exports.Cgm || (exports.Cgm = {}));
18
18
  //# sourceMappingURL=cgm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cgm.js","sourceRoot":"","sources":["../../../types/cgm/cgm.ts"],"names":[],"mappings":";;;AAAA,IAAiB,GAAG,CAmBnB;AAnBD,WAAiB,GAAG;IACnB,IAAiB,KAAK,CAiBrB;IAjBD,WAAiB,KAAK;QAUrB,IAAK,aAEJ;QAFD,WAAK,aAAa;YACjB,sCAAqB,CAAA;QACtB,CAAC,EAFI,aAAa,KAAb,aAAa,QAEjB;QAED,IAAK,MAEJ;QAFD,WAAK,MAAM;YACV,uCAA6B,CAAA;QAC9B,CAAC,EAFI,MAAM,KAAN,MAAM,QAEV;IACF,CAAC,EAjBgB,KAAK,GAAL,SAAK,KAAL,SAAK,QAiBrB;AACF,CAAC,EAnBgB,GAAG,GAAH,WAAG,KAAH,WAAG,QAmBnB"}
1
+ {"version":3,"file":"cgm.js","sourceRoot":"","sources":["../../../types/cgm/cgm.ts"],"names":[],"mappings":";;;AAAA,IAAiB,GAAG,CAqBnB;AArBD,WAAiB,GAAG;IACnB,IAAiB,KAAK,CAQrB;IARD,WAAiB,KAAK;QACrB,IAAY,aAEX;QAFD,WAAY,aAAa;YACxB,sCAAqB,CAAA;QACtB,CAAC,EAFW,aAAa,GAAb,mBAAa,KAAb,mBAAa,QAExB;QAED,IAAY,MAEX;QAFD,WAAY,MAAM;YACjB,uCAA6B,CAAA;QAC9B,CAAC,EAFW,MAAM,GAAN,YAAM,KAAN,YAAM,QAEjB;IACF,CAAC,EARgB,KAAK,GAAL,SAAK,KAAL,SAAK,QAQrB;AAYF,CAAC,EArBgB,GAAG,GAAH,WAAG,KAAH,WAAG,QAqBnB"}
@@ -1,5 +1,6 @@
1
1
  export * from "./activity/activity";
2
2
  export * from "./boluscalculator/boluscalculator";
3
+ export * from "./cgm/cgm";
3
4
  export * from "./logbook/logbook";
4
5
  export * from "./services/outbound/email";
5
6
  export * from "./services/outbound/notification";
@@ -12,6 +12,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./activity/activity"), exports);
14
14
  __exportStar(require("./boluscalculator/boluscalculator"), exports);
15
+ __exportStar(require("./cgm/cgm"), exports);
15
16
  __exportStar(require("./logbook/logbook"), exports);
16
17
  __exportStar(require("./services/outbound/email"), exports);
17
18
  __exportStar(require("./services/outbound/notification"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAoC;AACpC,oEAAkD;AAClD,oDAAkC;AAClC,4DAA0C;AAC1C,mEAAiD;AACjD,sDAAoC;AACpC,yDAAuC;AACvC,4DAA0C;AAC1C,4DAA0C;AAC1C,8DAA4C"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,sDAAoC;AACpC,oEAAkD;AAClD,4CAA0B;AAC1B,oDAAkC;AAClC,4DAA0C;AAC1C,mEAAiD;AACjD,sDAAoC;AACpC,yDAAuC;AACvC,4DAA0C;AAC1C,4DAA0C;AAC1C,8DAA4C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/types",
3
- "version": "2.1.54-alpha.0",
3
+ "version": "2.1.56-alpha.0",
4
4
  "description": "Enums, interfaces, and other common types for use in Hedia's software.",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
package/types/cgm/cgm.ts CHANGED
@@ -1,20 +1,22 @@
1
1
  export namespace Cgm {
2
+ export namespace Enums {
3
+ export enum Manufacturers {
4
+ MENARINI = "menarini",
5
+ }
6
+
7
+ export enum Models {
8
+ GLUCOMEN_DAY = "glucomen_day",
9
+ }
10
+ }
11
+
2
12
  export namespace Types {
3
13
  export interface ICgmReading {
4
14
  userId: number;
5
15
  timestamp: Date;
6
16
  retrievalTimestamp: Date;
7
17
  glucoseValueMillimolar: number;
8
- manufacturer: Manufacturers;
9
- model: Models;
10
- }
11
-
12
- enum Manufacturers {
13
- MENARINI = "menarini",
14
- }
15
-
16
- enum Models {
17
- GLUCOMEN_DAY = "glucomen_day",
18
+ manufacturer: Enums.Manufacturers;
19
+ model: Enums.Models;
18
20
  }
19
21
  }
20
22
  }
package/types/index.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export * from "./activity/activity";
2
2
  export * from "./boluscalculator/boluscalculator";
3
+ export * from "./cgm/cgm";
3
4
  export * from "./logbook/logbook";
4
5
  export * from "./services/outbound/email";
5
6
  export * from "./services/outbound/notification";