@hedia/types 2.1.55-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.
- package/dist/types/cgm/cgm.d.ts +11 -10
- package/dist/types/cgm/cgm.js +5 -5
- package/dist/types/cgm/cgm.js.map +1 -1
- package/package.json +1 -1
- package/types/cgm/cgm.ts +12 -10
package/dist/types/cgm/cgm.d.ts
CHANGED
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
export declare namespace Cgm {
|
|
2
|
-
namespace
|
|
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
|
-
|
|
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
|
}
|
package/dist/types/cgm/cgm.js
CHANGED
|
@@ -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
|
|
7
|
-
(function (
|
|
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
|
-
})(
|
|
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,
|
|
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"}
|
package/package.json
CHANGED
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
|
}
|