@ovok/native 1.16.1-dev.2173 → 1.16.1-dev.2177

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.
Files changed (209) hide show
  1. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +16 -6
  2. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  3. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.frame-reader.js +2 -2
  4. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.frame-reader.js.map +1 -1
  5. package/lib/commonjs/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js.map +1 -1
  6. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +20 -5
  7. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  8. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.advertisement.js +19 -2
  9. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.advertisement.js.map +1 -1
  10. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.encryption-handshake.js +103 -0
  11. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.encryption-handshake.js.map +1 -0
  12. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.frame-reader.js +4 -2
  13. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.frame-reader.js.map +1 -1
  14. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.session.js +49 -0
  15. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.session.js.map +1 -0
  16. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js +4 -4
  17. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +0 -1
  18. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
  19. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js +15 -8
  20. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
  21. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-utils.js +1 -1
  22. package/lib/commonjs/modules/data-sync/components/apple/apple-health-authorization-utils.js.map +1 -1
  23. package/lib/commonjs/modules/data-sync/constants.js +4 -1
  24. package/lib/commonjs/modules/data-sync/constants.js.map +1 -1
  25. package/lib/commonjs/modules/data-sync/hooks/use-listen-changes.js +6 -9
  26. package/lib/commonjs/modules/data-sync/hooks/use-listen-changes.js.map +1 -1
  27. package/lib/commonjs/modules/data-sync/utils/convert-ecg-samples-to-observation.js +47 -0
  28. package/lib/commonjs/modules/data-sync/utils/convert-ecg-samples-to-observation.js.map +1 -0
  29. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +7 -15
  30. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  31. package/lib/commonjs/modules/data-sync/utils/default-health-coding.js +1 -0
  32. package/lib/commonjs/modules/data-sync/utils/default-health-coding.js.map +1 -1
  33. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +43 -86
  34. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  35. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js +6 -5
  36. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  37. package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js +15 -15
  38. package/lib/commonjs/modules/data-sync/utils/health-data-catalog.js.map +1 -1
  39. package/lib/commonjs/modules/data-sync/utils/healthkit-daily-statistics.js +64 -0
  40. package/lib/commonjs/modules/data-sync/utils/healthkit-daily-statistics.js.map +1 -0
  41. package/lib/commonjs/modules/data-sync/utils/healthkit-data-types.js.map +1 -1
  42. package/lib/commonjs/modules/data-sync/utils/healthkit-query-options.js +20 -0
  43. package/lib/commonjs/modules/data-sync/utils/healthkit-query-options.js.map +1 -0
  44. package/lib/commonjs/modules/data-sync/utils/healthkit-sample-source.js +21 -0
  45. package/lib/commonjs/modules/data-sync/utils/healthkit-sample-source.js.map +1 -0
  46. package/lib/commonjs/modules/data-sync/utils/healthkit-samples.js +59 -0
  47. package/lib/commonjs/modules/data-sync/utils/healthkit-samples.js.map +1 -0
  48. package/lib/commonjs/modules/data-sync/utils/healthkit-series.js +20 -11
  49. package/lib/commonjs/modules/data-sync/utils/healthkit-series.js.map +1 -1
  50. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +16 -6
  51. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  52. package/lib/module/modules/bt-management/services/devices/bp2/bp2.frame-reader.js +2 -3
  53. package/lib/module/modules/bt-management/services/devices/bp2/bp2.frame-reader.js.map +1 -1
  54. package/lib/module/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js.map +1 -1
  55. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +20 -5
  56. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  57. package/lib/module/modules/bt-management/services/devices/lepu/lepu.advertisement.js +17 -1
  58. package/lib/module/modules/bt-management/services/devices/lepu/lepu.advertisement.js.map +1 -1
  59. package/lib/module/modules/bt-management/services/devices/lepu/lepu.encryption-handshake.js +99 -0
  60. package/lib/module/modules/bt-management/services/devices/lepu/lepu.encryption-handshake.js.map +1 -0
  61. package/lib/module/modules/bt-management/services/devices/lepu/lepu.frame-reader.js +4 -2
  62. package/lib/module/modules/bt-management/services/devices/lepu/lepu.frame-reader.js.map +1 -1
  63. package/lib/module/modules/bt-management/services/devices/lepu/lepu.session.js +45 -0
  64. package/lib/module/modules/bt-management/services/devices/lepu/lepu.session.js.map +1 -0
  65. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js +4 -4
  66. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +0 -1
  67. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
  68. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js +16 -9
  69. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-provider.js.map +1 -1
  70. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-utils.js +2 -2
  71. package/lib/module/modules/data-sync/components/apple/apple-health-authorization-utils.js.map +1 -1
  72. package/lib/module/modules/data-sync/constants.js +4 -1
  73. package/lib/module/modules/data-sync/constants.js.map +1 -1
  74. package/lib/module/modules/data-sync/hooks/use-listen-changes.js +7 -10
  75. package/lib/module/modules/data-sync/hooks/use-listen-changes.js.map +1 -1
  76. package/lib/module/modules/data-sync/utils/convert-ecg-samples-to-observation.js +43 -0
  77. package/lib/module/modules/data-sync/utils/convert-ecg-samples-to-observation.js.map +1 -0
  78. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +7 -15
  79. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  80. package/lib/module/modules/data-sync/utils/default-health-coding.js +1 -0
  81. package/lib/module/modules/data-sync/utils/default-health-coding.js.map +1 -1
  82. package/lib/module/modules/data-sync/utils/get-samples-from-health.js +44 -87
  83. package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  84. package/lib/module/modules/data-sync/utils/get-total-samples-count.js +5 -4
  85. package/lib/module/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  86. package/lib/module/modules/data-sync/utils/health-data-catalog.js +15 -15
  87. package/lib/module/modules/data-sync/utils/health-data-catalog.js.map +1 -1
  88. package/lib/module/modules/data-sync/utils/healthkit-daily-statistics.js +59 -0
  89. package/lib/module/modules/data-sync/utils/healthkit-daily-statistics.js.map +1 -0
  90. package/lib/module/modules/data-sync/utils/healthkit-data-types.js.map +1 -1
  91. package/lib/module/modules/data-sync/utils/healthkit-query-options.js +16 -0
  92. package/lib/module/modules/data-sync/utils/healthkit-query-options.js.map +1 -0
  93. package/lib/module/modules/data-sync/utils/healthkit-sample-source.js +17 -0
  94. package/lib/module/modules/data-sync/utils/healthkit-sample-source.js.map +1 -0
  95. package/lib/module/modules/data-sync/utils/healthkit-samples.js +52 -0
  96. package/lib/module/modules/data-sync/utils/healthkit-samples.js.map +1 -0
  97. package/lib/module/modules/data-sync/utils/healthkit-series.js +19 -10
  98. package/lib/module/modules/data-sync/utils/healthkit-series.js.map +1 -1
  99. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +1 -0
  100. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  101. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.frame-reader.d.ts +2 -1
  102. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.frame-reader.d.ts.map +1 -1
  103. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts +2 -2
  104. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts.map +1 -1
  105. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +3 -0
  106. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  107. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.advertisement.d.ts +8 -1
  108. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.advertisement.d.ts.map +1 -1
  109. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.encryption-handshake.d.ts +20 -0
  110. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.encryption-handshake.d.ts.map +1 -0
  111. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.frame-reader.d.ts +3 -1
  112. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.frame-reader.d.ts.map +1 -1
  113. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.session.d.ts +17 -0
  114. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.session.d.ts.map +1 -0
  115. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
  116. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts +4 -1
  117. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  118. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
  119. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts +2 -2
  120. package/lib/typescript/commonjs/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts.map +1 -1
  121. package/lib/typescript/commonjs/src/modules/data-sync/constants.d.ts +3 -1
  122. package/lib/typescript/commonjs/src/modules/data-sync/constants.d.ts.map +1 -1
  123. package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-listen-changes.d.ts.map +1 -1
  124. package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts +2 -2
  125. package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts.map +1 -1
  126. package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-sync-props.d.ts +4 -7
  127. package/lib/typescript/commonjs/src/modules/data-sync/types/apple-health-sync-props.d.ts.map +1 -1
  128. package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts +2 -2
  129. package/lib/typescript/commonjs/src/modules/data-sync/types/health-authorization-status.d.ts.map +1 -1
  130. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-ecg-samples-to-observation.d.ts +6 -0
  131. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-ecg-samples-to-observation.d.ts.map +1 -0
  132. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  133. package/lib/typescript/commonjs/src/modules/data-sync/utils/default-health-coding.d.ts.map +1 -1
  134. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts +12 -46
  135. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  136. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  137. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
  138. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts +2 -2
  139. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
  140. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-daily-statistics.d.ts +10 -0
  141. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-daily-statistics.d.ts.map +1 -0
  142. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-data-types.d.ts +5 -5
  143. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-data-types.d.ts.map +1 -1
  144. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-query-options.d.ts +7 -0
  145. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-query-options.d.ts.map +1 -0
  146. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-sample-source.d.ts +8 -0
  147. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-sample-source.d.ts.map +1 -0
  148. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-samples.d.ts +30 -0
  149. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-samples.d.ts.map +1 -0
  150. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-series.d.ts +2 -2
  151. package/lib/typescript/commonjs/src/modules/data-sync/utils/healthkit-series.d.ts.map +1 -1
  152. package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -0
  153. package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
  154. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts +1 -0
  155. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
  156. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.frame-reader.d.ts +2 -1
  157. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.frame-reader.d.ts.map +1 -1
  158. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts +2 -2
  159. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts.map +1 -1
  160. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +3 -0
  161. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  162. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.advertisement.d.ts +8 -1
  163. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.advertisement.d.ts.map +1 -1
  164. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.encryption-handshake.d.ts +20 -0
  165. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.encryption-handshake.d.ts.map +1 -0
  166. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.frame-reader.d.ts +3 -1
  167. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.frame-reader.d.ts.map +1 -1
  168. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.session.d.ts +17 -0
  169. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.session.d.ts.map +1 -0
  170. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
  171. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts +4 -1
  172. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  173. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-provider.d.ts.map +1 -1
  174. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts +2 -2
  175. package/lib/typescript/module/src/modules/data-sync/components/apple/apple-health-authorization-utils.d.ts.map +1 -1
  176. package/lib/typescript/module/src/modules/data-sync/constants.d.ts +3 -1
  177. package/lib/typescript/module/src/modules/data-sync/constants.d.ts.map +1 -1
  178. package/lib/typescript/module/src/modules/data-sync/hooks/use-listen-changes.d.ts.map +1 -1
  179. package/lib/typescript/module/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts +2 -2
  180. package/lib/typescript/module/src/modules/data-sync/types/apple-health-authorization-provider-props.d.ts.map +1 -1
  181. package/lib/typescript/module/src/modules/data-sync/types/apple-health-sync-props.d.ts +4 -7
  182. package/lib/typescript/module/src/modules/data-sync/types/apple-health-sync-props.d.ts.map +1 -1
  183. package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts +2 -2
  184. package/lib/typescript/module/src/modules/data-sync/types/health-authorization-status.d.ts.map +1 -1
  185. package/lib/typescript/module/src/modules/data-sync/utils/convert-ecg-samples-to-observation.d.ts +6 -0
  186. package/lib/typescript/module/src/modules/data-sync/utils/convert-ecg-samples-to-observation.d.ts.map +1 -0
  187. package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  188. package/lib/typescript/module/src/modules/data-sync/utils/default-health-coding.d.ts.map +1 -1
  189. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts +12 -46
  190. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  191. package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  192. package/lib/typescript/module/src/modules/data-sync/utils/health-data-catalog.d.ts.map +1 -1
  193. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts +2 -2
  194. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -1
  195. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-daily-statistics.d.ts +10 -0
  196. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-daily-statistics.d.ts.map +1 -0
  197. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-data-types.d.ts +5 -5
  198. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-data-types.d.ts.map +1 -1
  199. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-query-options.d.ts +7 -0
  200. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-query-options.d.ts.map +1 -0
  201. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-sample-source.d.ts +8 -0
  202. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-sample-source.d.ts.map +1 -0
  203. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-samples.d.ts +30 -0
  204. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-samples.d.ts.map +1 -0
  205. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-series.d.ts +2 -2
  206. package/lib/typescript/module/src/modules/data-sync/utils/healthkit-series.d.ts.map +1 -1
  207. package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -0
  208. package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
  209. package/package.json +8 -3
@@ -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":"AAAA,OAAkB,EAChB,2BAA2B,EAC3B,wBAAwB,EACxB,wBAAwB,EAGxB,YAAY,EACb,MAAM,oCAAoC,CAAC;AAI5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,uCAAuC,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAe5D,QAAA,MAAM,oBAAoB,GAAU,qEAMjC,wBAAwB,CAAC,6BAA6B,CAAC;;;;UA2IvC,oBAAoB,EAAE;YAAU,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA7B3D,CAAC;AAwFF,OAAO,EAAE,oBAAoB,EAAE,CAAC"}
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"}
@@ -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":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AAKpE,eAAO,MAAM,oBAAoB,GAC/B,OAAO,kBAAkB,CAAC,6BAA6B,CAAC,KACvD,OAAO,CAAC,MAAM,CA8BhB,CAAC"}
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;AA60BF,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
+ {"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 { HKQuantityTypeIdentifier, UnitForIdentifier } from "@kingstinct/react-native-healthkit";
2
- export declare const healthUnitFor: <T extends HKQuantityTypeIdentifier>(typeIdentifier: T) => UnitForIdentifier<T> | undefined;
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,wBAAwB,EACxB,iBAAiB,EAClB,MAAM,oCAAoC,CAAC;AA6B5C,eAAO,MAAM,aAAa,GAAI,CAAC,SAAS,wBAAwB,EAC9D,gBAAgB,CAAC,KAChB,iBAAiB,CAAC,CAAC,CAAC,GAAG,SACwC,CAAC"}
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
@@ -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 { HKCategoryTypeIdentifier, HKCorrelationTypeIdentifier, HKQuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
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 HKCategoryTypeIdentifier;
4
- declare const isQuantityIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is HKQuantityTypeIdentifier;
5
- declare const isCorrelationIdentifier: (typeIdentifier: AppleHealthDataTypeIdentifier) => typeIdentifier is HKCorrelationTypeIdentifier;
6
- declare const unsupportedHealthKitTypeReason: (typeIdentifier: AppleHealthDataTypeIdentifier) => string;
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,EACL,wBAAwB,EACxB,2BAA2B,EAC3B,wBAAwB,EACzB,MAAM,oCAAoC,CAAC;AAE5C,OAAO,EAAE,6BAA6B,EAAE,MAAM,kCAAkC,CAAC;AAEjF,QAAA,MAAM,oBAAoB,GACxB,gBAAgB,6BAA6B,KAC5C,cAAc,IAAI,wBAEkC,CAAC;AAExD,QAAA,MAAM,oBAAoB,GACxB,gBAAgB,6BAA6B,KAC5C,cAAc,IAAI,wBAEkC,CAAC;AAExD,QAAA,MAAM,uBAAuB,GAC3B,gBAAgB,6BAA6B,KAC5C,cAAc,IAAI,2BAEqC,CAAC;AAE3D,QAAA,MAAM,8BAA8B,GAClC,gBAAgB,6BAA6B,KAC5C,MAWF,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"}
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 { HKQuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
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: HKQuantityTypeIdentifier, startDate: Date) => Promise<{
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,wBAAwB,EAAuB,MAAM,oCAAoC,CAAC;AAG9G,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAKxD;;;GAGG;AACH,QAAA,MAAM,kBAAkB,GACtB,gBAAgB,wBAAwB,EACxC,WAAW,IAAI,KACd,OAAO,CAAC;IAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC;IAAC,MAAM,EAAE,SAAS,CAAA;CAAE,CA6BzD,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
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"}
@@ -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
@@ -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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovok/native",
3
- "version": "1.16.1-dev.2173+872907c",
3
+ "version": "1.16.1-dev.2177+30b6546",
4
4
  "description": "React native component sdk for OVOK",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",
@@ -100,7 +100,7 @@
100
100
  "@expo-google-fonts/dm-sans": "^0.4.2",
101
101
  "@expo/config-plugins": "~57.0.9",
102
102
  "@gorhom/bottom-sheet": "^5.2.14",
103
- "@kingstinct/react-native-healthkit": "^8.5.0",
103
+ "@kingstinct/react-native-healthkit": "^16.2.0",
104
104
  "@medplum/core": "3.2.23",
105
105
  "@medplum/fhirtypes": "^3.2.22",
106
106
  "@medplum/react-hooks": "3.2.23",
@@ -164,6 +164,7 @@
164
164
  "react-native-health-connect": "^3.5.3",
165
165
  "react-native-keyboard-controller": "1.21.9",
166
166
  "react-native-modal-datetime-picker": "^18.0.0",
167
+ "react-native-nitro-modules": "^0.37.1",
167
168
  "react-native-paper": "^5.13.1",
168
169
  "react-native-pdf": "^6.7.7",
169
170
  "react-native-permissions": "^5.6.0",
@@ -187,7 +188,7 @@
187
188
  "@expo-google-fonts/dm-sans": "*",
188
189
  "@expo/config-plugins": "*",
189
190
  "@gorhom/bottom-sheet": "*",
190
- "@kingstinct/react-native-healthkit": "*",
191
+ "@kingstinct/react-native-healthkit": ">=16.2.0",
191
192
  "@opentelemetry/api": "^1.9.1",
192
193
  "@opentelemetry/api-logs": "^0.222.0",
193
194
  "@ovok/core": ">=0.4.49-dev.503 || >=0.4.49-0",
@@ -222,6 +223,7 @@
222
223
  "react-native-health-connect": "*",
223
224
  "react-native-keyboard-controller": "*",
224
225
  "react-native-modal-datetime-picker": "*",
226
+ "react-native-nitro-modules": ">=0.35",
225
227
  "react-native-paper": "*",
226
228
  "react-native-pdf": "*",
227
229
  "react-native-permissions": "*",
@@ -344,6 +346,9 @@
344
346
  "react-native-modal-datetime-picker": {
345
347
  "optional": true
346
348
  },
349
+ "react-native-nitro-modules": {
350
+ "optional": true
351
+ },
347
352
  "react-native-paper": {
348
353
  "optional": true
349
354
  },