@demind-inc/core 1.10.32 → 1.11.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.
|
@@ -16,5 +16,7 @@ export interface Device {
|
|
|
16
16
|
from: DeviceConnectedFrom;
|
|
17
17
|
detailedSources?: string[];
|
|
18
18
|
permissions?: string[];
|
|
19
|
+
connectVia?: DeviceConnectVia;
|
|
19
20
|
}
|
|
20
21
|
export type DeviceConnectedFrom = "APPLE_HEALTH" | "TERRA" | "LIFESTACK";
|
|
22
|
+
export type DeviceConnectVia = "TERRA_SDK" | "NATIVE";
|
package/dist/models/Metrics.d.ts
CHANGED
|
@@ -18,6 +18,12 @@ export interface Device {
|
|
|
18
18
|
from: DeviceConnectedFrom;
|
|
19
19
|
detailedSources?: string[];
|
|
20
20
|
permissions?: string[];
|
|
21
|
+
connectVia?: DeviceConnectVia;
|
|
21
22
|
}
|
|
22
23
|
|
|
23
24
|
export type DeviceConnectedFrom = "APPLE_HEALTH" | "TERRA" | "LIFESTACK";
|
|
25
|
+
|
|
26
|
+
// How the on-device data was read: through Terra's SDK (terra-react), or read
|
|
27
|
+
// directly by our own native HealthKit/Health Connect integration. Absent means
|
|
28
|
+
// 'TERRA_SDK' for backward compatibility with devices written before this field existed.
|
|
29
|
+
export type DeviceConnectVia = "TERRA_SDK" | "NATIVE";
|
package/lib/models/Metrics.ts
CHANGED