@ovok/native 1.16.1-dev.2173 → 1.16.1-dev.2175
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/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js +15 -8
- package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
- package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-utils.js +1 -1
- package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-utils.js.map +1 -1
- package/lib/commonjs/modules/data-sync/constants.js +4 -1
- package/lib/commonjs/modules/data-sync/constants.js.map +1 -1
- package/lib/commonjs/modules/data-sync/hooks/use-listen-changes.js +6 -9
- package/lib/commonjs/modules/data-sync/hooks/use-listen-changes.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-ecg-samples-to-observation.js +47 -0
- package/lib/commonjs/modules/data-sync/utils/convert-ecg-samples-to-observation.js.map +1 -0
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +7 -15
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/default-health-coding.js +1 -0
- package/lib/commonjs/modules/data-sync/utils/default-health-coding.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +43 -86
- package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js +6 -5
- package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js +15 -15
- package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/healthkit-daily-statistics.js +64 -0
- package/lib/commonjs/modules/data-sync/utils/healthkit-daily-statistics.js.map +1 -0
- package/lib/commonjs/modules/data-sync/utils/healthkit-data-types.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/healthkit-query-options.js +20 -0
- package/lib/commonjs/modules/data-sync/utils/healthkit-query-options.js.map +1 -0
- package/lib/commonjs/modules/data-sync/utils/healthkit-sample-source.js +21 -0
- package/lib/commonjs/modules/data-sync/utils/healthkit-sample-source.js.map +1 -0
- package/lib/commonjs/modules/data-sync/utils/healthkit-samples.js +59 -0
- package/lib/commonjs/modules/data-sync/utils/healthkit-samples.js.map +1 -0
- package/lib/commonjs/modules/data-sync/utils/healthkit-series.js +20 -11
- package/lib/commonjs/modules/data-sync/utils/healthkit-series.js.map +1 -1
- package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js +16 -9
- package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
- package/lib/module/modules/data-sync/components/apple/apple-health-authorization-utils.js +2 -2
- package/lib/module/modules/data-sync/components/apple/apple-health-authorization-utils.js.map +1 -1
- package/lib/module/modules/data-sync/constants.js +4 -1
- package/lib/module/modules/data-sync/constants.js.map +1 -1
- package/lib/module/modules/data-sync/hooks/use-listen-changes.js +7 -10
- package/lib/module/modules/data-sync/hooks/use-listen-changes.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-ecg-samples-to-observation.js +43 -0
- package/lib/module/modules/data-sync/utils/convert-ecg-samples-to-observation.js.map +1 -0
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +7 -15
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/default-health-coding.js +1 -0
- package/lib/module/modules/data-sync/utils/default-health-coding.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-samples-from-health.js +44 -87
- package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-total-samples-count.js +5 -4
- package/lib/module/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
- package/lib/module/modules/data-sync/utils/health-data-catalog.js +15 -15
- package/lib/module/modules/data-sync/utils/health-data-catalog.js.map +1 -1
- package/lib/module/modules/data-sync/utils/healthkit-daily-statistics.js +59 -0
- package/lib/module/modules/data-sync/utils/healthkit-daily-statistics.js.map +1 -0
- package/lib/module/modules/data-sync/utils/healthkit-data-types.js.map +1 -1
- package/lib/module/modules/data-sync/utils/healthkit-query-options.js +16 -0
- package/lib/module/modules/data-sync/utils/healthkit-query-options.js.map +1 -0
- package/lib/module/modules/data-sync/utils/healthkit-sample-source.js +17 -0
- package/lib/module/modules/data-sync/utils/healthkit-sample-source.js.map +1 -0
- package/lib/module/modules/data-sync/utils/healthkit-samples.js +52 -0
- package/lib/module/modules/data-sync/utils/healthkit-samples.js.map +1 -0
- package/lib/module/modules/data-sync/utils/healthkit-series.js +19 -10
- package/lib/module/modules/data-sync/utils/healthkit-series.js.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/constants.d.ts +3 -1
- package/lib/typescript/commonjs/src/modules/data-sync/constants.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-listen-changes.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-sync-props.d.ts +4 -7
- package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-sync-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-ecg-samples-to-observation.d.ts +6 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-ecg-samples-to-observation.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/default-health-coding.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts +12 -46
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-daily-statistics.d.ts +10 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-daily-statistics.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-data-types.d.ts +5 -5
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-data-types.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-query-options.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-query-options.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-sample-source.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-sample-source.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-samples.d.ts +30 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-samples.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-series.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-series.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/constants.d.ts +3 -1
- package/lib/typescript/module/src/modules/data-sync/constants.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/hooks/use-listen-changes.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/apple-health-sync-props.d.ts +4 -7
- package/lib/typescript/module/src/modules/data-sync/types/apple-health-sync-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/convert-ecg-samples-to-observation.d.ts +6 -0
- package/lib/typescript/module/src/modules/data-sync/utils/convert-ecg-samples-to-observation.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/default-health-coding.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts +12 -46
- package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-daily-statistics.d.ts +10 -0
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-daily-statistics.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-data-types.d.ts +5 -5
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-data-types.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-query-options.d.ts +7 -0
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-query-options.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-sample-source.d.ts +8 -0
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-sample-source.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-samples.d.ts +30 -0
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-samples.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-series.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/utils/healthkit-series.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
- package/package.json +8 -3
package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SampleTypeIdentifierWriteable } from "@kingstinct/react-native-healthkit";
|
|
2
2
|
import { AppleHealthDataTypeIdentifier } from "./apple-health-sync-props";
|
|
3
3
|
import { HealthSyncKey } from "./health-sync-keys";
|
|
4
4
|
/** Apple Health authorization state. */
|
|
@@ -8,7 +8,7 @@ type AppleHealthAuthorizationStatus = {
|
|
|
8
8
|
/** HealthKit types that still need to be answered in Settings. */
|
|
9
9
|
notRequestedReadIdentifiers: AppleHealthDataTypeIdentifier[];
|
|
10
10
|
/** HealthKit write types that still need to be answered in Settings. */
|
|
11
|
-
notRequestedWriteIdentifiers:
|
|
11
|
+
notRequestedWriteIdentifiers: SampleTypeIdentifierWriteable[];
|
|
12
12
|
/** Configured measurement types with at least one unanswered read identifier. */
|
|
13
13
|
notRequestedMeasurementTypes: HealthSyncKey[];
|
|
14
14
|
/** Error of the last authorization attempt. */
|
package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-authorization-status.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-authorization-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"health-authorization-status.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-authorization-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAExF,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,wCAAwC;AACxC,KAAK,8BAA8B,GAAG;IAEpC,mCAAmC;IACnC,KAAK,EAAE,SAAS,GAAG,eAAe,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;IAEtE,kEAAkE;IAClE,2BAA2B,EAAE,6BAA6B,EAAE,CAAC;IAE7D,wEAAwE;IACxE,4BAA4B,EAAE,6BAA6B,EAAE,CAAC;IAE9D,iFAAiF;IACjF,4BAA4B,EAAE,aAAa,EAAE,CAAC;IAE9C,+CAA+C;IAC/C,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,0CAA0C;AAC1C,KAAK,uCAAuC,GAAG;IAE7C,mCAAmC;IACnC,KAAK,EACD,SAAS,GACT,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,OAAO,CAAC;IAEZ,+CAA+C;IAC/C,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,kDAAkD;IAClD,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAEjC,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,YAAY,GAAG,eAAe,GAAG,SAAS,GAAG,aAAa,CAAC;CAC/E,CAAC;AAEF,YAAY,EACV,uCAAuC,EACvC,8BAA8B,GAC/B,CAAC"}
|
package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-ecg-samples-to-observation.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Observation } from "@medplum/fhirtypes";
|
|
2
|
+
import { ConvertDataProps } from "../types/convert-data-props";
|
|
3
|
+
/** Core's own ECG service cannot convert a sample, so the recording is built into a measurement here. */
|
|
4
|
+
declare const convertEcgSamplesToObservation: (props: ConvertDataProps<unknown>) => Promise<Observation[]>;
|
|
5
|
+
export { convertEcgSamplesToObservation };
|
|
6
|
+
//# sourceMappingURL=convert-ecg-samples-to-observation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"convert-ecg-samples-to-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-ecg-samples-to-observation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAqC/D,yGAAyG;AACzG,QAAA,MAAM,8BAA8B,GAClC,OAAO,gBAAgB,CAAC,OAAO,CAAC,KAC/B,OAAO,CAAC,WAAW,EAAE,CAsBvB,CAAC;AAEF,OAAO,EAAE,8BAA8B,EAAE,CAAC"}
|
package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-samples-to-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-samples-to-observation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-samples-to-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-samples-to-observation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAMjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAc/D,eAAO,MAAM,2BAA2B,GACtC,OAAO,gBAAgB,CAAC,OAAO,CAAC,KAC/B,OAAO,CAAC,WAAW,EAAE,CA0CvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-health-coding.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/default-health-coding.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAkB,aAAa,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"default-health-coding.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/default-health-coding.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAkB,aAAa,EAAE,MAAM,2BAA2B,CAAC;AA2C1F,4HAA4H;AAC5H,QAAA,MAAM,sBAAsB,GAC1B,UAAU,cAAc,EACxB,KAAK,aAAa,EAClB,YAAY,MAAM,EAClB,MAAM,cAAc,KACnB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAWlD,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -1,75 +1,41 @@
|
|
|
1
|
-
import { HKCorrelationTypeIdentifier, HKCategoryTypeIdentifier, HKQuantityTypeIdentifier, UnitOfEnergy } from "@kingstinct/react-native-healthkit";
|
|
2
1
|
import { AppleHealthDataTypeIdentifier } from "../types/apple-health-sync-props";
|
|
3
2
|
import { GetDataFromProviderProps } from "../types/get-data-from-provider-props";
|
|
4
|
-
import { AggregatedHealthData } from "../types/health-data";
|
|
5
3
|
declare const getSamplesFromHealth: ({ startDate: _startDate, typeIdentifier, anchor, chunkSize, mode, }: GetDataFromProviderProps<AppleHealthDataTypeIdentifier>) => Promise<{
|
|
6
|
-
data: import("../types/health-data").
|
|
4
|
+
data: import("../types/health-data").AggregatedHealthData[];
|
|
7
5
|
anchor: undefined;
|
|
8
6
|
} | {
|
|
9
|
-
data:
|
|
7
|
+
data: import("../types/health-data").SeriesHealthData[];
|
|
10
8
|
anchor: undefined;
|
|
11
9
|
} | {
|
|
12
10
|
anchor: {
|
|
13
|
-
typeIdentifier:
|
|
14
|
-
anchor: string;
|
|
15
|
-
} | undefined;
|
|
16
|
-
deletedRecordIds: string[];
|
|
17
|
-
data: import("@kingstinct/react-native-healthkit").HKWorkout<UnitOfEnergy.Kilocalories, "km">[];
|
|
18
|
-
} | {
|
|
19
|
-
anchor: {
|
|
20
|
-
typeIdentifier: AppleHealthDataTypeIdentifier;
|
|
21
|
-
anchor: string;
|
|
22
|
-
} | undefined;
|
|
23
|
-
deletedRecordIds?: undefined;
|
|
24
|
-
data: import("@kingstinct/react-native-healthkit").HKWorkout<UnitOfEnergy.Kilocalories, "km">[];
|
|
25
|
-
} | {
|
|
26
|
-
anchor: {
|
|
27
|
-
typeIdentifier: AppleHealthDataTypeIdentifier;
|
|
28
|
-
anchor: string;
|
|
29
|
-
} | undefined;
|
|
30
|
-
deletedRecordIds: string[];
|
|
31
|
-
data: import("@kingstinct/react-native-healthkit").HKHeartbeatSeriesSample[];
|
|
32
|
-
} | {
|
|
33
|
-
anchor: {
|
|
34
|
-
typeIdentifier: AppleHealthDataTypeIdentifier;
|
|
35
|
-
anchor: string;
|
|
36
|
-
} | undefined;
|
|
37
|
-
deletedRecordIds?: undefined;
|
|
38
|
-
data: import("@kingstinct/react-native-healthkit").HKHeartbeatSeriesSample[];
|
|
39
|
-
} | {
|
|
40
|
-
anchor: {
|
|
41
|
-
typeIdentifier: AppleHealthDataTypeIdentifier;
|
|
11
|
+
typeIdentifier: import("@kingstinct/react-native-healthkit").SampleTypeIdentifier;
|
|
42
12
|
anchor: string;
|
|
43
13
|
} | undefined;
|
|
44
14
|
deletedRecordIds: string[];
|
|
45
|
-
data:
|
|
15
|
+
data: unknown[];
|
|
46
16
|
} | {
|
|
47
17
|
anchor: {
|
|
48
|
-
typeIdentifier:
|
|
18
|
+
typeIdentifier: import("@kingstinct/react-native-healthkit").SampleTypeIdentifier;
|
|
49
19
|
anchor: string;
|
|
50
20
|
} | undefined;
|
|
51
21
|
deletedRecordIds?: undefined;
|
|
52
|
-
data:
|
|
22
|
+
data: unknown[];
|
|
53
23
|
} | {
|
|
24
|
+
hasMore: boolean;
|
|
54
25
|
anchor: {
|
|
55
|
-
typeIdentifier:
|
|
26
|
+
typeIdentifier: import("@kingstinct/react-native-healthkit").SampleTypeIdentifier;
|
|
56
27
|
anchor: string;
|
|
57
28
|
} | undefined;
|
|
58
29
|
deletedRecordIds: string[];
|
|
59
|
-
data:
|
|
30
|
+
data: unknown[];
|
|
60
31
|
} | {
|
|
32
|
+
hasMore: boolean;
|
|
61
33
|
anchor: {
|
|
62
|
-
typeIdentifier:
|
|
34
|
+
typeIdentifier: import("@kingstinct/react-native-healthkit").SampleTypeIdentifier;
|
|
63
35
|
anchor: string;
|
|
64
36
|
} | undefined;
|
|
65
37
|
deletedRecordIds?: undefined;
|
|
66
|
-
data:
|
|
67
|
-
} | {
|
|
68
|
-
data: import("@kingstinct/react-native-healthkit").HKCorrelation<HKCorrelationTypeIdentifier>[];
|
|
69
|
-
anchor: undefined;
|
|
70
|
-
} | {
|
|
71
|
-
data: import("@kingstinct/react-native-healthkit").HKStateOfMindSampleRaw[];
|
|
72
|
-
anchor: undefined;
|
|
38
|
+
data: unknown[];
|
|
73
39
|
}>;
|
|
74
40
|
export { getSamplesFromHealth };
|
|
75
41
|
//# sourceMappingURL=get-samples-from-health.d.ts.map
|
package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-samples-from-health.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-samples-from-health.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-samples-from-health.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-samples-from-health.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AA2BjF,QAAA,MAAM,oBAAoB,GAAU,qEAMjC,wBAAwB,CAAC,6BAA6B,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8GzD,CAAC;AAmBF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
|
package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-total-samples-count.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-total-samples-count.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-total-samples-count.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/get-total-samples-count.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAOpE,eAAO,MAAM,oBAAoB,GAC/B,OAAO,kBAAkB,CAAC,6BAA6B,CAAC,KACvD,OAAO,CAAC,MAAM,CA8BhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-data-catalog.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-data-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAU/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAiC3D,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,QAAQ,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EACD,eAAe,GACf,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,gBAAgB,GAChB,UAAU,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,aAAa,GAAG,SAAS,GAAG,eAAe,CAAC;IAC1D,gBAAgB,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;
|
|
1
|
+
{"version":3,"file":"health-data-catalog.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-data-catalog.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAU/D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAiC3D,KAAK,YAAY,GAAG;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,QAAQ,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,SAAS,cAAc,EAAE,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAC5C,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EACD,eAAe,GACf,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,gBAAgB,GAChB,UAAU,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,aAAa,GAAG,SAAS,GAAG,eAAe,CAAC;IAC1D,gBAAgB,EAAE,MAAM,CAAC;IACzB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAq1BF,sFAAsF;AACtF,QAAA,MAAM,mBAAmB,EAAE,SAAS,sBAAsB,EAYtD,CAAC;AAEL,yEAAyE;AACzE,QAAA,MAAM,mBAAmB,GACvB,UAAU,cAAc,EACxB,YAAY,MAAM,EAClB,MAAM,cAAc,KACnB;IAED,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IAEb,iCAAiC;IACjC,MAAM,EAAE,MAAM,CAAC;IAEf,mDAAmD;IACnD,OAAO,CAAC,EAAE,MAAM,CAAC;CA2BlB,CAAC;AAEF,OAAO,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export declare const healthUnitFor: <T extends
|
|
1
|
+
import type { QuantityTypeIdentifier, UnitForIdentifier } from "@kingstinct/react-native-healthkit";
|
|
2
|
+
export declare const healthUnitFor: <T extends QuantityTypeIdentifier>(typeIdentifier: T) => UnitForIdentifier<T> | undefined;
|
|
3
3
|
//# sourceMappingURL=health-units.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-units.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-units.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,
|
|
1
|
+
{"version":3,"file":"health-units.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/health-units.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AA6B5C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,sBAAsB,EAC5D,gBAAgB,CAAC,KAChB,iBAAiB,CAAC,CAAC,CAAC,GAAG,SACwC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
|
|
2
|
+
import { AggregatedHealthData } from "../types/health-data";
|
|
3
|
+
import { HealthDataMode } from "../types/health-sync-keys";
|
|
4
|
+
/** The finished days from `startDate`, one item a day, from HealthKit's own total or average. */
|
|
5
|
+
declare const getDailyStatistics: (typeIdentifier: QuantityTypeIdentifier, mode: Extract<HealthDataMode, "daily-total" | "daily-summary">, startDate: Date, endDate: Date) => Promise<{
|
|
6
|
+
data: AggregatedHealthData[];
|
|
7
|
+
anchor: undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export { getDailyStatistics };
|
|
10
|
+
//# sourceMappingURL=healthkit-daily-statistics.d.ts.map
|
package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-daily-statistics.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"healthkit-daily-statistics.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/healthkit-daily-statistics.ts"],"names":[],"mappings":"AAAA,OAAkB,EAChB,sBAAsB,EAEvB,MAAM,oCAAoC,CAAC;AAG5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAY3D,iGAAiG;AACjG,QAAA,MAAM,kBAAkB,GACtB,gBAAgB,sBAAsB,EACtC,MAAM,OAAO,CAAC,cAAc,EAAE,aAAa,GAAG,eAAe,CAAC,EAC9D,WAAW,IAAI,EACf,SAAS,IAAI,KACZ,OAAO,CAAC;IAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;IAAC,MAAM,EAAE,SAAS,CAAA;CAAE,CAoD7D,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CategoryTypeIdentifier, CorrelationTypeIdentifier, QuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
|
|
2
2
|
import { AppleHealthDataTypeIdentifier } from "../types/apple-health-sync-props";
|
|
3
|
-
declare const isCategoryIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is
|
|
4
|
-
declare const isQuantityIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is
|
|
5
|
-
declare const isCorrelationIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is
|
|
6
|
-
declare const unsupportedHealthKitTypeReason: (typeIdentifier:
|
|
3
|
+
declare const isCategoryIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is CategoryTypeIdentifier;
|
|
4
|
+
declare const isQuantityIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is QuantityTypeIdentifier;
|
|
5
|
+
declare const isCorrelationIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is CorrelationTypeIdentifier;
|
|
6
|
+
declare const unsupportedHealthKitTypeReason: (typeIdentifier: string) => string;
|
|
7
7
|
declare class UnsupportedHealthKitDataError extends Error {
|
|
8
8
|
readonly typeIdentifier: string;
|
|
9
9
|
constructor(typeIdentifier: string, reason: string);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"healthkit-data-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/healthkit-data-types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"healthkit-data-types.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/healthkit-data-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,yBAAyB,EACzB,sBAAsB,EACvB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,QAAA,MAAM,oBAAoB,GACxB,gBAAgB,6BAA6B,KAC5C,cAAc,IAAI,sBAEkC,CAAC;AAExD,QAAA,MAAM,oBAAoB,GACxB,gBAAgB,6BAA6B,KAC5C,cAAc,IAAI,sBAEkC,CAAC;AAExD,QAAA,MAAM,uBAAuB,GAC3B,gBAAgB,6BAA6B,KAC5C,cAAc,IAAI,yBAEqC,CAAC;AAE3D,QAAA,MAAM,8BAA8B,GAAI,gBAAgB,MAAM,KAAG,MAWhE,CAAC;AAEF,cAAM,6BAA8B,SAAQ,KAAK;IAE7C,QAAQ,CAAC,cAAc,EAAE,MAAM;gBAAtB,cAAc,EAAE,MAAM,EAC/B,MAAM,EAAE,MAAM;CAKjB;AAED,OAAO,EACL,oBAAoB,EACpB,uBAAuB,EACvB,oBAAoB,EACpB,6BAA6B,EAC7B,8BAA8B,GAC/B,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { FilterForSamples } from "@kingstinct/react-native-healthkit";
|
|
2
|
+
/** HealthKit takes any limit that is not positive as "no limit". */
|
|
3
|
+
declare const ALL_SAMPLES = 0;
|
|
4
|
+
/** Only samples that start and end inside the window; HealthKit also returns the ones that overlap it by default. */
|
|
5
|
+
declare const strictDateWindow: (startDate: Date | undefined, endDate: Date) => FilterForSamples;
|
|
6
|
+
export { ALL_SAMPLES, strictDateWindow };
|
|
7
|
+
//# sourceMappingURL=healthkit-query-options.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"healthkit-query-options.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/healthkit-query-options.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,oEAAoE;AACpE,QAAA,MAAM,WAAW,IAAI,CAAC;AAEtB,qHAAqH;AACrH,QAAA,MAAM,gBAAgB,GACpB,WAAW,IAAI,GAAG,SAAS,EAC3B,SAAS,IAAI,KACZ,gBAED,CAAC;AAEH,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { QuantitySample } from "@kingstinct/react-native-healthkit";
|
|
2
|
+
import { ObservationSource } from "./to-core-health-observations";
|
|
3
|
+
type HealthKitSampleSource = Pick<QuantitySample, "device" | "sourceRevision" | "startDate" | "endDate">;
|
|
4
|
+
/** The device a HealthKit sample came from, and the interval it was recorded over. */
|
|
5
|
+
declare const getHealthKitSampleSource: (sample: HealthKitSampleSource | undefined) => ObservationSource;
|
|
6
|
+
export { getHealthKitSampleSource };
|
|
7
|
+
export type { HealthKitSampleSource };
|
|
8
|
+
//# sourceMappingURL=healthkit-sample-source.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"healthkit-sample-source.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/healthkit-sample-source.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oCAAoC,CAAC;AAGzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,KAAK,qBAAqB,GAAG,IAAI,CAC/B,cAAc,EACd,QAAQ,GAAG,gBAAgB,GAAG,WAAW,GAAG,SAAS,CACtD,CAAC;AAEF,sFAAsF;AACtF,QAAA,MAAM,wBAAwB,GAC5B,QAAQ,qBAAqB,GAAG,SAAS,KACxC,iBASD,CAAC;AAEH,OAAO,EAAE,wBAAwB,EAAE,CAAC;AACpC,YAAY,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { CorrelationSample, Quantity, WorkoutProxyTyped } from "@kingstinct/react-native-healthkit";
|
|
2
|
+
declare const toPlainSample: (sample: object) => {
|
|
3
|
+
[k: string]: any;
|
|
4
|
+
};
|
|
5
|
+
declare const toPlainCorrelation: (correlation: CorrelationSample) => {
|
|
6
|
+
objects: {
|
|
7
|
+
[k: string]: any;
|
|
8
|
+
}[];
|
|
9
|
+
};
|
|
10
|
+
declare const toEcgRecord: (sample: object) => {
|
|
11
|
+
[k: string]: any;
|
|
12
|
+
};
|
|
13
|
+
/** A v16 workout is a native object that spreads to nothing: read it with `toJSON()` into the shape v8 returned. */
|
|
14
|
+
declare const toWorkoutRecord: (workout: WorkoutProxyTyped) => {
|
|
15
|
+
duration: number;
|
|
16
|
+
totalDistance: Quantity | undefined;
|
|
17
|
+
events: {
|
|
18
|
+
startDate: string;
|
|
19
|
+
endDate: string;
|
|
20
|
+
type: import("@kingstinct/react-native-healthkit").WorkoutEventType;
|
|
21
|
+
}[];
|
|
22
|
+
activities: {
|
|
23
|
+
uuid: string;
|
|
24
|
+
duration: number;
|
|
25
|
+
startDate: string;
|
|
26
|
+
endDate: string;
|
|
27
|
+
}[];
|
|
28
|
+
};
|
|
29
|
+
export { toEcgRecord, toPlainCorrelation, toPlainSample, toWorkoutRecord, };
|
|
30
|
+
//# sourceMappingURL=healthkit-samples.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"healthkit-samples.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/healthkit-samples.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,iBAAiB,EACjB,QAAQ,EACR,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AAwB5C,QAAA,MAAM,aAAa,GAAI,QAAQ,MAAM;;CACO,CAAC;AAE7C,QAAA,MAAM,kBAAkB,GAAI,aAAa,iBAAiB;;;;CAGxD,CAAC;AAEH,QAAA,MAAM,WAAW,GAAI,QAAQ,MAAM;;CACe,CAAC;AAgBnD,oHAAoH;AACpH,QAAA,MAAM,eAAe,GAAI,SAAS,iBAAiB;;;;;;;;;;;;;;CAiBlD,CAAC;AAEF,OAAO,EACL,WAAW,EACX,kBAAkB,EAClB,aAAa,EACb,eAAe,GAChB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { QuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
|
|
2
2
|
import { SeriesHealthData } from "../types/health-data";
|
|
3
3
|
/**
|
|
4
4
|
* The finished hours from `startDate`, one `series` item an hour, from HealthKit's own average a minute: it follows
|
|
5
5
|
* the user's source priority where a watch and another app both recorded. Read a day at a time.
|
|
6
6
|
*/
|
|
7
|
-
declare const getHealthKitSeries: (typeIdentifier:
|
|
7
|
+
declare const getHealthKitSeries: (typeIdentifier: QuantityTypeIdentifier, startDate: Date) => Promise<{
|
|
8
8
|
data: SeriesHealthData[];
|
|
9
9
|
anchor: undefined;
|
|
10
10
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"healthkit-series.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/healthkit-series.ts"],"names":[],"mappings":"AAAA,OAAkB,EAAE,
|
|
1
|
+
{"version":3,"file":"healthkit-series.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/healthkit-series.ts"],"names":[],"mappings":"AAAA,OAAkB,EAAE,sBAAsB,EAAE,MAAM,oCAAoC,CAAC;AAEvF,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAKxD;;;GAGG;AACH,QAAA,MAAM,kBAAkB,GACtB,gBAAgB,sBAAsB,EACtC,WAAW,IAAI,KACd,OAAO,CAAC;IAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;IAAC,MAAM,EAAE,SAAS,CAAA;CAAE,CAyBzD,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts
CHANGED
|
@@ -10,4 +10,5 @@ declare const isCoreMeasurementTypeKey: (value: string) => value is MeasurementT
|
|
|
10
10
|
/** Adds the source device and timing to each core-service Observation, then normalises its coding. */
|
|
11
11
|
declare const toCoreHealthObservations: (observations: Observation[], props: ConvertDataProps<unknown>, sourceAt: (index: number) => ObservationSource) => Observation[];
|
|
12
12
|
export { isCoreMeasurementTypeKey, toCoreHealthObservations };
|
|
13
|
+
export type { ObservationSource };
|
|
13
14
|
//# sourceMappingURL=to-core-health-observations.d.ts.map
|
package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to-core-health-observations.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/to-core-health-observations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAGhE,KAAK,iBAAiB,GAAG;IACvB,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B,MAAM,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC;CACtD,CAAC;AAEF,QAAA,MAAM,wBAAwB,GAC5B,OAAO,MAAM,KACZ,KAAK,IAAI,kBAC6D,CAAC;AAE1E,sGAAsG;AACtG,QAAA,MAAM,wBAAwB,GAC5B,cAAc,WAAW,EAAE,EAC3B,OAAO,gBAAgB,CAAC,OAAO,CAAC,EAChC,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,iBAAiB,KAC7C,WAAW,EAmBV,CAAC;AAEL,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"to-core-health-observations.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/to-core-health-observations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAE/D,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAGhE,KAAK,iBAAiB,GAAG;IACvB,MAAM,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC/B,MAAM,EAAE,UAAU,CAAC,OAAO,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC;CACtD,CAAC;AAEF,QAAA,MAAM,wBAAwB,GAC5B,OAAO,MAAM,KACZ,KAAK,IAAI,kBAC6D,CAAC;AAE1E,sGAAsG;AACtG,QAAA,MAAM,wBAAwB,GAC5B,cAAc,WAAW,EAAE,EAC3B,OAAO,gBAAgB,CAAC,OAAO,CAAC,EAChC,UAAU,CAAC,KAAK,EAAE,MAAM,KAAK,iBAAiB,KAC7C,WAAW,EAmBV,CAAC;AAEL,OAAO,EAAE,wBAAwB,EAAE,wBAAwB,EAAE,CAAC;AAC9D,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple-health-authorization-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/apple/apple-health-authorization-provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"apple-health-authorization-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/apple/apple-health-authorization-provider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAE,qCAAqC,EAAE,MAAM,uDAAuD,CAAC;AAM9G,eAAO,MAAM,gCAAgC,sKAUxC,KAAK,CAAC,iBAAiB,CAAC,qCAAqC,CAAC,uBAqNlE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
declare const getNotRequestedIdentifiers: <T>(identifiers: T[], getStatus: (identifier: T) => Promise<
|
|
1
|
+
import { AuthorizationRequestStatus } from "@kingstinct/react-native-healthkit";
|
|
2
|
+
declare const getNotRequestedIdentifiers: <T>(identifiers: T[], getStatus: (identifier: T) => Promise<AuthorizationRequestStatus>) => Promise<T[]>;
|
|
3
3
|
export { getNotRequestedIdentifiers };
|
|
4
4
|
//# sourceMappingURL=apple-health-authorization-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple-health-authorization-utils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/apple/apple-health-authorization-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"apple-health-authorization-utils.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/data-sync/components/apple/apple-health-authorization-utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAEhF,QAAA,MAAM,0BAA0B,GAAU,CAAC,EACzC,aAAa,CAAC,EAAE,EAChB,WAAW,CAAC,UAAU,EAAE,CAAC,KAAK,OAAO,CAAC,0BAA0B,CAAC,KAChE,OAAO,CAAC,CAAC,EAAE,CAWb,CAAC;AAEF,OAAO,EAAE,0BAA0B,EAAE,CAAC"}
|
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* is not constant.
|
|
5
5
|
*/
|
|
6
6
|
declare const DEFAULT_HEALTH_SYNC_CHUNK_SIZE = 250;
|
|
7
|
+
/** Each ECG recording holds about 15,000 voltages, so a page of them stays small whatever the chunk size. */
|
|
8
|
+
declare const ECG_PAGE_SIZE = 10;
|
|
7
9
|
/** How far back the first import of a type reaches when no watermark exists yet. */
|
|
8
10
|
declare const DEFAULT_SYNC_LOOKBACK_DAYS = 30;
|
|
9
11
|
/**
|
|
@@ -16,5 +18,5 @@ declare const DAILY_REREAD_DAYS = 7;
|
|
|
16
18
|
declare const SERIES_SLOT_MS = 60000;
|
|
17
19
|
/** How many already-imported hours a `series` type reads again, for a watch that syncs a little late. */
|
|
18
20
|
declare const SERIES_REREAD_HOURS = 3;
|
|
19
|
-
export { DAILY_REREAD_DAYS, SERIES_REREAD_HOURS, SERIES_SLOT_MS, DEFAULT_HEALTH_SYNC_CHUNK_SIZE, DEFAULT_SYNC_LOOKBACK_DAYS, };
|
|
21
|
+
export { DAILY_REREAD_DAYS, ECG_PAGE_SIZE, SERIES_REREAD_HOURS, SERIES_SLOT_MS, DEFAULT_HEALTH_SYNC_CHUNK_SIZE, DEFAULT_SYNC_LOOKBACK_DAYS, };
|
|
20
22
|
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/data-sync/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,QAAA,MAAM,8BAA8B,MAAM,CAAC;AAE3C,oFAAoF;AACpF,QAAA,MAAM,0BAA0B,KAAK,CAAC;AAEtC;;;;GAIG;AACH,QAAA,MAAM,iBAAiB,IAAI,CAAC;AAE5B,gFAAgF;AAChF,QAAA,MAAM,cAAc,QAAS,CAAC;AAE9B,yGAAyG;AACzG,QAAA,MAAM,mBAAmB,IAAI,CAAC;AAE9B,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,8BAA8B,EAC9B,0BAA0B,GAC3B,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/data-sync/constants.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,QAAA,MAAM,8BAA8B,MAAM,CAAC;AAE3C,6GAA6G;AAC7G,QAAA,MAAM,aAAa,KAAK,CAAC;AAEzB,oFAAoF;AACpF,QAAA,MAAM,0BAA0B,KAAK,CAAC;AAEtC;;;;GAIG;AACH,QAAA,MAAM,iBAAiB,IAAI,CAAC;AAE5B,gFAAgF;AAChF,QAAA,MAAM,cAAc,QAAS,CAAC;AAE9B,yGAAyG;AACzG,QAAA,MAAM,mBAAmB,IAAI,CAAC;AAE9B,OAAO,EACL,iBAAiB,EACjB,aAAa,EACb,mBAAmB,EACnB,cAAc,EACd,8BAA8B,EAC9B,0BAA0B,GAC3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-listen-changes.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/hooks/use-listen-changes.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAE1C,eAAO,MAAM,gBAAgB,GAC3B,YAAY,oBAAoB,CAAC,YAAY,CAAC,EAC9C,UAAU,CAAC,MAAM,EAAE,6BAA6B,KAAK,IAAI,EACzD,qBAAqB,oBAAoB,CAAC,oBAAoB,CAAC,EAC/D,UAAU,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,
|
|
1
|
+
{"version":3,"file":"use-listen-changes.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/hooks/use-listen-changes.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAE1C,eAAO,MAAM,gBAAgB,GAC3B,YAAY,oBAAoB,CAAC,YAAY,CAAC,EAC9C,UAAU,CAAC,MAAM,EAAE,6BAA6B,KAAK,IAAI,EACzD,qBAAqB,oBAAoB,CAAC,oBAAoB,CAAC,EAC/D,UAAU,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,SAiGjC,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SampleTypeIdentifierWriteable } from "@kingstinct/react-native-healthkit";
|
|
2
2
|
import { AppleHealthDataTypeIdentifier, AppleHealthSyncProps } from "./apple-health-sync-props";
|
|
3
3
|
import { HealthAuthorizationProviderProps } from "./health-authorization-provider-props";
|
|
4
4
|
import { AppleHealthAuthorizationStatus } from "./health-authorization-status";
|
|
5
5
|
export type AppleHealthAuthorizationProviderProps = HealthAuthorizationProviderProps<AppleHealthDataTypeIdentifier> & {
|
|
6
6
|
/** HealthKit types the app may write; sleep apnea events are read-only. */
|
|
7
|
-
writeIdentifiers?:
|
|
7
|
+
writeIdentifiers?: SampleTypeIdentifierWriteable[];
|
|
8
8
|
/** Maps HealthKit identifiers back to the app's configured measurement types. */
|
|
9
9
|
dataToSync?: AppleHealthSyncProps["dataToSync"];
|
|
10
10
|
/** Receives the authorization state and any HealthKit types still unanswered. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple-health-authorization-provider-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/apple-health-authorization-provider-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"apple-health-authorization-provider-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/apple-health-authorization-provider-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAExF,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,EACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gCAAgC,EAAE,MAAM,uCAAuC,CAAC;AACzF,OAAO,EAAE,8BAA8B,EAAE,MAAM,+BAA+B,CAAC;AAE/E,MAAM,MAAM,qCAAqC,GAC/C,gCAAgC,CAAC,6BAA6B,CAAC,GAAG;IAEhE,2EAA2E;IAC3E,gBAAgB,CAAC,EAAE,6BAA6B,EAAE,CAAC;IAEnD,iFAAiF;IACjF,UAAU,CAAC,EAAE,oBAAoB,CAAC,YAAY,CAAC,CAAC;IAEhD,iFAAiF;IACjF,2BAA2B,CAAC,EAAE,CAC5B,MAAM,EAAE,8BAA8B,KACnC,IAAI,CAAC;CACX,CAAC"}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SampleTypeIdentifier, UpdateFrequency } from "@kingstinct/react-native-healthkit";
|
|
2
2
|
import { HealthSyncProps } from "./health-sync-props";
|
|
3
|
-
/**
|
|
4
|
-
|
|
5
|
-
* arbitrary category identifiers at runtime, even before its enum adds them.
|
|
6
|
-
*/
|
|
7
|
-
type AppleHealthDataTypeIdentifier = HKSampleTypeIdentifier | "HKCategoryTypeIdentifierSleepApneaEvent";
|
|
3
|
+
/** HealthKit sample type identifiers supported by the SDK. */
|
|
4
|
+
type AppleHealthDataTypeIdentifier = SampleTypeIdentifier;
|
|
8
5
|
/** Props of `AppleHealthSync`. */
|
|
9
6
|
type AppleHealthSyncProps = HealthSyncProps<AppleHealthDataTypeIdentifier> & {
|
|
10
7
|
/** Enables HealthKit observer delivery while the app is in the background. */
|
|
11
8
|
backgroundDelivery?: {
|
|
12
9
|
/** How often HealthKit delivers updates in the background. */
|
|
13
|
-
frequency?:
|
|
10
|
+
frequency?: UpdateFrequency;
|
|
14
11
|
};
|
|
15
12
|
};
|
|
16
13
|
export { AppleHealthDataTypeIdentifier, AppleHealthSyncProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple-health-sync-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/apple-health-sync-props.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"apple-health-sync-props.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/apple-health-sync-props.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,oBAAoB,EACpB,eAAe,EAChB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,8DAA8D;AAC9D,KAAK,6BAA6B,GAAG,oBAAoB,CAAC;AAE1D,kCAAkC;AAClC,KAAK,oBAAoB,GAAG,eAAe,CAAC,6BAA6B,CAAC,GAAG;IAE3E,8EAA8E;IAC9E,kBAAkB,CAAC,EAAE;QAEnB,8DAA8D;QAC9D,SAAS,CAAC,EAAE,eAAe,CAAC;KAC7B,CAAC;CACH,CAAC;AAEF,OAAO,EAAE,6BAA6B,EAAE,oBAAoB,EAAE,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SampleTypeIdentifierWriteable } from "@kingstinct/react-native-healthkit";
|
|
2
2
|
import { AppleHealthDataTypeIdentifier } from "./apple-health-sync-props";
|
|
3
3
|
import { HealthSyncKey } from "./health-sync-keys";
|
|
4
4
|
/** Apple Health authorization state. */
|
|
@@ -8,7 +8,7 @@ type AppleHealthAuthorizationStatus = {
|
|
|
8
8
|
/** HealthKit types that still need to be answered in Settings. */
|
|
9
9
|
notRequestedReadIdentifiers: AppleHealthDataTypeIdentifier[];
|
|
10
10
|
/** HealthKit write types that still need to be answered in Settings. */
|
|
11
|
-
notRequestedWriteIdentifiers:
|
|
11
|
+
notRequestedWriteIdentifiers: SampleTypeIdentifierWriteable[];
|
|
12
12
|
/** Configured measurement types with at least one unanswered read identifier. */
|
|
13
13
|
notRequestedMeasurementTypes: HealthSyncKey[];
|
|
14
14
|
/** Error of the last authorization attempt. */
|
package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"health-authorization-status.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-authorization-status.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"health-authorization-status.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/types/health-authorization-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAExF,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,wCAAwC;AACxC,KAAK,8BAA8B,GAAG;IAEpC,mCAAmC;IACnC,KAAK,EAAE,SAAS,GAAG,eAAe,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC;IAEtE,kEAAkE;IAClE,2BAA2B,EAAE,6BAA6B,EAAE,CAAC;IAE7D,wEAAwE;IACxE,4BAA4B,EAAE,6BAA6B,EAAE,CAAC;IAE9D,iFAAiF;IACjF,4BAA4B,EAAE,aAAa,EAAE,CAAC;IAE9C,+CAA+C;IAC/C,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,CAAC;AAEF,0CAA0C;AAC1C,KAAK,uCAAuC,GAAG;IAE7C,mCAAmC;IACnC,KAAK,EACD,SAAS,GACT,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,SAAS,GACT,OAAO,CAAC;IAEZ,+CAA+C;IAC/C,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,kDAAkD;IAClD,YAAY,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAEjC,sFAAsF;IACtF,gBAAgB,CAAC,EAAE,YAAY,GAAG,eAAe,GAAG,SAAS,GAAG,aAAa,CAAC;CAC/E,CAAC;AAEF,YAAY,EACV,uCAAuC,EACvC,8BAA8B,GAC/B,CAAC"}
|
package/lib/typescript/module/src/modules/data-sync/utils/convert-ecg-samples-to-observation.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Observation } from "@medplum/fhirtypes";
|
|
2
|
+
import { ConvertDataProps } from "../types/convert-data-props";
|
|
3
|
+
/** Core's own ECG service cannot convert a sample, so the recording is built into a measurement here. */
|
|
4
|
+
declare const convertEcgSamplesToObservation: (props: ConvertDataProps<unknown>) => Promise<Observation[]>;
|
|
5
|
+
export { convertEcgSamplesToObservation };
|
|
6
|
+
//# sourceMappingURL=convert-ecg-samples-to-observation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"convert-ecg-samples-to-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-ecg-samples-to-observation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAGjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAqC/D,yGAAyG;AACzG,QAAA,MAAM,8BAA8B,GAClC,OAAO,gBAAgB,CAAC,OAAO,CAAC,KAC/B,OAAO,CAAC,WAAW,EAAE,CAsBvB,CAAC;AAEF,OAAO,EAAE,8BAA8B,EAAE,CAAC"}
|
package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert-samples-to-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-samples-to-observation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"convert-samples-to-observation.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/convert-samples-to-observation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAMjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAc/D,eAAO,MAAM,2BAA2B,GACtC,OAAO,gBAAgB,CAAC,OAAO,CAAC,KAC/B,OAAO,CAAC,WAAW,EAAE,CA0CvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-health-coding.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/default-health-coding.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAkB,aAAa,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"default-health-coding.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/data-sync/utils/default-health-coding.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,cAAc,EAAkB,aAAa,EAAE,MAAM,2BAA2B,CAAC;AA2C1F,4HAA4H;AAC5H,QAAA,MAAM,sBAAsB,GAC1B,UAAU,cAAc,EACxB,KAAK,aAAa,EAClB,YAAY,MAAM,EAClB,MAAM,cAAc,KACnB;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAWlD,CAAC;AAEF,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
|