@hedia/types 2.3.10 → 2.3.11-alpha.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.
|
@@ -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;
|
|
@@ -116,6 +131,11 @@ export declare namespace Logbook {
|
|
|
116
131
|
*/
|
|
117
132
|
utc_timezone_offset: string | null;
|
|
118
133
|
smart_pen_sync_timestamp?: string;
|
|
134
|
+
forecast?: {
|
|
135
|
+
forecastedGlucose: number;
|
|
136
|
+
forecastTimestamp: Date | string;
|
|
137
|
+
currentBloodGlucose: number;
|
|
138
|
+
};
|
|
119
139
|
}
|
|
120
140
|
}
|
|
121
141
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logbook.js","sourceRoot":"","sources":["../../../v1/logbook/logbook.ts"],"names":[],"mappings":";;;AAAA,IAAiB,OAAO,
|
|
1
|
+
{"version":3,"file":"logbook.js","sourceRoot":"","sources":["../../../v1/logbook/logbook.ts"],"names":[],"mappings":";;;AAAA,IAAiB,OAAO,CA+IvB;AA/ID,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;AAqIF,CAAC,EA/IgB,OAAO,GAAP,eAAO,KAAP,eAAO,QA+IvB"}
|