@hedia/types 2.3.11-alpha.0 → 2.3.11-alpha.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.
@@ -10,6 +10,21 @@ export declare namespace Logbook {
10
10
  }
11
11
  }
12
12
  namespace Types {
13
+ interface IEditedUUID {
14
+ oldUUID: string;
15
+ newUUID: string;
16
+ }
17
+ interface IClientSyncObject {
18
+ last_sync_timestamp: string;
19
+ created: Array<ILogbookEntry>;
20
+ edited: Array<IEditedUUID>;
21
+ deleted: Array<string>;
22
+ }
23
+ interface IBackendSyncObject {
24
+ last_sync_timestamp: string;
25
+ created: Array<ILogbookEntry>;
26
+ deleted: Array<string>;
27
+ }
13
28
  interface ILogbookEntry {
14
29
  /** Unique id for each logbook*/
15
30
  uuid: string;
@@ -117,9 +132,13 @@ export declare namespace Logbook {
117
132
  utc_timezone_offset: string | null;
118
133
  smart_pen_sync_timestamp?: string;
119
134
  forecast?: {
120
- forecastedGlucose: number;
135
+ forecastedGlucoseMmoll: number;
121
136
  forecastTimestamp: Date | string;
122
- currentBloodGlucose: number;
137
+ currentGlucoseMmol: number;
138
+ };
139
+ cgm?: {
140
+ cgmTimestamp: Date | string;
141
+ glucoseMmoll: number;
123
142
  };
124
143
  }
125
144
  }
@@ -1 +1 @@
1
- {"version":3,"file":"logbook.js","sourceRoot":"","sources":["../../../v1/logbook/logbook.ts"],"names":[],"mappings":";;;AAAA,IAAiB,OAAO,CA8HvB;AA9HD,WAAiB,OAAO;IACvB,IAAiB,KAAK,CASrB;IATD,WAAiB,KAAK;QACrB,uEAAuE;QACvE,IAAY,QAMX;QAND,WAAY,QAAQ;YACnB,qCAAO,CAAA;YACP,6CAAW,CAAA;YACX,6CAAW,CAAA;YACX,iDAAa,CAAA;YACb,yCAAS,CAAA;QACV,CAAC,EANW,QAAQ,GAAR,cAAQ,KAAR,cAAQ,QAMnB;IACF,CAAC,EATgB,KAAK,GAAL,aAAK,KAAL,aAAK,QASrB;AAoHF,CAAC,EA9HgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA8HvB"}
1
+ {"version":3,"file":"logbook.js","sourceRoot":"","sources":["../../../v1/logbook/logbook.ts"],"names":[],"mappings":";;;AAAA,IAAiB,OAAO,CAmJvB;AAnJD,WAAiB,OAAO;IACvB,IAAiB,KAAK,CASrB;IATD,WAAiB,KAAK;QACrB,uEAAuE;QACvE,IAAY,QAMX;QAND,WAAY,QAAQ;YACnB,qCAAO,CAAA;YACP,6CAAW,CAAA;YACX,6CAAW,CAAA;YACX,iDAAa,CAAA;YACb,yCAAS,CAAA;QACV,CAAC,EANW,QAAQ,GAAR,cAAQ,KAAR,cAAQ,QAMnB;IACF,CAAC,EATgB,KAAK,GAAL,aAAK,KAAL,aAAK,QASrB;AAyIF,CAAC,EAnJgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAmJvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/types",
3
- "version": "2.3.11-alpha.0",
3
+ "version": "2.3.11-alpha.2",
4
4
  "description": "Enums, interfaces, and other common types for use in Hedia's software.",
5
5
  "main": "./dist/index.js",
6
6
  "repository": {