@kingstinct/react-native-healthkit 8.7.2 → 9.0.0

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 (449) hide show
  1. package/ReactNativeHealthkit.podspec +36 -0
  2. package/app.plugin.js +43 -33
  3. package/ios/Bridge.h +8 -0
  4. package/ios/CategoryTypeModule.swift +128 -0
  5. package/ios/CharacteristicTypeModule.swift +78 -0
  6. package/ios/Constants.swift +2 -0
  7. package/ios/CoreModule.swift +376 -0
  8. package/ios/CorrelationTypeModule.swift +153 -0
  9. package/ios/HeartbeatSeriesModule.swift +189 -0
  10. package/ios/Helpers.swift +529 -251
  11. package/ios/QuantityTypeModule.swift +461 -0
  12. package/ios/Serializers.swift +211 -124
  13. package/ios/SourceProxy.swift +35 -0
  14. package/ios/StateOfMindModule.swift +160 -0
  15. package/ios/WorkoutProxy.swift +405 -0
  16. package/ios/WorkoutSessionModule.swift +182 -0
  17. package/ios/WorkoutsModule.swift +357 -0
  18. package/package.json +43 -127
  19. package/react-native.config.js +16 -0
  20. package/src/hooks/useHealthkitAuthorization.test.ts +47 -29
  21. package/src/hooks/useHealthkitAuthorization.ts +21 -15
  22. package/src/hooks/useIsHealthDataAvailable.test.ts +17 -7
  23. package/src/hooks/useIsHealthDataAvailable.ts +7 -7
  24. package/src/hooks/useMostRecentCategorySample.ts +10 -12
  25. package/src/hooks/useMostRecentQuantitySample.ts +17 -36
  26. package/src/hooks/useMostRecentWorkout.ts +16 -38
  27. package/src/hooks/useSources.ts +8 -12
  28. package/src/hooks/useStatisticsForQuantity.ts +19 -14
  29. package/src/hooks/useSubscribeToChanges.ts +9 -13
  30. package/src/index.ios.ts +232 -0
  31. package/src/index.ts +444 -0
  32. package/src/modules.ts +43 -0
  33. package/src/specs/CategoryTypeModule.nitro.ts +64 -0
  34. package/src/specs/CharacteristicTypeModule.nitro.ts +22 -0
  35. package/src/specs/CoreModule.nitro.ts +107 -0
  36. package/src/specs/CorrelationTypeModule.nitro.ts +23 -0
  37. package/src/specs/HeartbeatSeriesModule.nitro.ts +19 -0
  38. package/src/specs/QuantityTypeModule.nitro.ts +60 -0
  39. package/src/specs/SourceProxy.nitro.ts +13 -0
  40. package/src/specs/StateOfMindModule.nitro.ts +23 -0
  41. package/src/specs/WorkoutProxy.nitro.ts +18 -0
  42. package/src/specs/WorkoutSessionModule.nitro.ts +71 -0
  43. package/src/specs/WorkoutsModule.nitro.ts +32 -0
  44. package/src/test-setup.ts +68 -54
  45. package/src/test-utils.ts +3 -2
  46. package/src/types/Auth.ts +17 -0
  47. package/src/types/Background.ts +9 -0
  48. package/src/types/CategoryType.ts +249 -0
  49. package/src/types/CategoryTypeIdentifier.ts +99 -0
  50. package/src/types/Characteristics.ts +53 -0
  51. package/src/types/Constants.ts +25 -0
  52. package/src/types/CorrelationType.ts +31 -0
  53. package/src/types/Device.ts +13 -0
  54. package/src/types/HeartbeatSeries.ts +29 -0
  55. package/src/types/InterfaceVerification.ts +164 -0
  56. package/src/types/InterfaceVerificationExample.ts +89 -0
  57. package/src/types/QuantitySample.ts +30 -0
  58. package/src/types/QuantityType.ts +192 -0
  59. package/src/types/QuantityTypeIdentifier.ts +758 -0
  60. package/src/types/QueryOptions.ts +69 -0
  61. package/src/types/README-InterfaceVerification.md +103 -0
  62. package/src/types/Shared.ts +79 -0
  63. package/src/types/Source.ts +11 -0
  64. package/src/types/StateOfMind.ts +110 -0
  65. package/src/types/Subscriptons.ts +10 -0
  66. package/src/types/Units.ts +190 -0
  67. package/src/types/WeatherCondition.ts +31 -0
  68. package/src/types/WorkoutKit.ts +18 -0
  69. package/src/types/Workouts.ts +282 -0
  70. package/src/utils/getMostRecentCategorySample.ts +7 -11
  71. package/src/utils/getMostRecentQuantitySample.ts +8 -18
  72. package/src/utils/getMostRecentWorkout.ts +7 -17
  73. package/src/utils/getPreferredUnit.ts +12 -8
  74. package/src/utils/subscribeToChanges.ts +9 -26
  75. package/LICENSE +0 -21
  76. package/README.md +0 -179
  77. package/ios/ReactNativeHealthkit-Bridging-Header.h +0 -2
  78. package/ios/ReactNativeHealthkit.m +0 -271
  79. package/ios/ReactNativeHealthkit.swift +0 -2333
  80. package/ios/ReactNativeHealthkit.xcodeproj/project.pbxproj +0 -279
  81. package/kingstinct-react-native-healthkit.podspec +0 -21
  82. package/lib/commonjs/hooks/useHealthkitAuthorization.js +0 -39
  83. package/lib/commonjs/hooks/useHealthkitAuthorization.js.map +0 -1
  84. package/lib/commonjs/hooks/useHealthkitAuthorization.test.js +0 -72
  85. package/lib/commonjs/hooks/useHealthkitAuthorization.test.js.map +0 -1
  86. package/lib/commonjs/hooks/useIsHealthDataAvailable.js +0 -27
  87. package/lib/commonjs/hooks/useIsHealthDataAvailable.js.map +0 -1
  88. package/lib/commonjs/hooks/useIsHealthDataAvailable.test.js +0 -41
  89. package/lib/commonjs/hooks/useIsHealthDataAvailable.test.js.map +0 -1
  90. package/lib/commonjs/hooks/useMostRecentCategorySample.js +0 -23
  91. package/lib/commonjs/hooks/useMostRecentCategorySample.js.map +0 -1
  92. package/lib/commonjs/hooks/useMostRecentQuantitySample.js +0 -37
  93. package/lib/commonjs/hooks/useMostRecentQuantitySample.js.map +0 -1
  94. package/lib/commonjs/hooks/useMostRecentWorkout.js +0 -48
  95. package/lib/commonjs/hooks/useMostRecentWorkout.js.map +0 -1
  96. package/lib/commonjs/hooks/useSources.js +0 -22
  97. package/lib/commonjs/hooks/useSources.js.map +0 -1
  98. package/lib/commonjs/hooks/useStatisticsForQuantity.js +0 -28
  99. package/lib/commonjs/hooks/useStatisticsForQuantity.js.map +0 -1
  100. package/lib/commonjs/hooks/useSubscribeToChanges.js +0 -28
  101. package/lib/commonjs/hooks/useSubscribeToChanges.js.map +0 -1
  102. package/lib/commonjs/index.ios.js +0 -531
  103. package/lib/commonjs/index.ios.js.map +0 -1
  104. package/lib/commonjs/index.js +0 -22
  105. package/lib/commonjs/index.js.map +0 -1
  106. package/lib/commonjs/index.native.js +0 -235
  107. package/lib/commonjs/index.native.js.map +0 -1
  108. package/lib/commonjs/index.web.js +0 -22
  109. package/lib/commonjs/index.web.js.map +0 -1
  110. package/lib/commonjs/native-types.js +0 -1575
  111. package/lib/commonjs/native-types.js.map +0 -1
  112. package/lib/commonjs/test-setup.js +0 -57
  113. package/lib/commonjs/test-setup.js.map +0 -1
  114. package/lib/commonjs/test-utils.js +0 -18
  115. package/lib/commonjs/test-utils.js.map +0 -1
  116. package/lib/commonjs/types.js +0 -17
  117. package/lib/commonjs/types.js.map +0 -1
  118. package/lib/commonjs/utils/deleteQuantitySample.js +0 -11
  119. package/lib/commonjs/utils/deleteQuantitySample.js.map +0 -1
  120. package/lib/commonjs/utils/deleteSamples.js +0 -18
  121. package/lib/commonjs/utils/deleteSamples.js.map +0 -1
  122. package/lib/commonjs/utils/deleteWorkoutSample.js +0 -11
  123. package/lib/commonjs/utils/deleteWorkoutSample.js.map +0 -1
  124. package/lib/commonjs/utils/deserializeCategorySample.js +0 -13
  125. package/lib/commonjs/utils/deserializeCategorySample.js.map +0 -1
  126. package/lib/commonjs/utils/deserializeCategorySample.test.js +0 -26
  127. package/lib/commonjs/utils/deserializeCategorySample.test.js.map +0 -1
  128. package/lib/commonjs/utils/deserializeCorrelation.js +0 -26
  129. package/lib/commonjs/utils/deserializeCorrelation.js.map +0 -1
  130. package/lib/commonjs/utils/deserializeHeartbeatSeriesSample.js +0 -15
  131. package/lib/commonjs/utils/deserializeHeartbeatSeriesSample.js.map +0 -1
  132. package/lib/commonjs/utils/deserializeSample.js +0 -15
  133. package/lib/commonjs/utils/deserializeSample.js.map +0 -1
  134. package/lib/commonjs/utils/deserializeWorkout.js +0 -15
  135. package/lib/commonjs/utils/deserializeWorkout.js.map +0 -1
  136. package/lib/commonjs/utils/ensureMetadata.js +0 -11
  137. package/lib/commonjs/utils/ensureMetadata.js.map +0 -1
  138. package/lib/commonjs/utils/ensureTotals.js +0 -11
  139. package/lib/commonjs/utils/ensureTotals.js.map +0 -1
  140. package/lib/commonjs/utils/ensureUnit.js +0 -17
  141. package/lib/commonjs/utils/ensureUnit.js.map +0 -1
  142. package/lib/commonjs/utils/getDateOfBirth.js +0 -14
  143. package/lib/commonjs/utils/getDateOfBirth.js.map +0 -1
  144. package/lib/commonjs/utils/getMostRecentCategorySample.js +0 -17
  145. package/lib/commonjs/utils/getMostRecentCategorySample.js.map +0 -1
  146. package/lib/commonjs/utils/getMostRecentQuantitySample.js +0 -21
  147. package/lib/commonjs/utils/getMostRecentQuantitySample.js.map +0 -1
  148. package/lib/commonjs/utils/getMostRecentWorkout.js +0 -19
  149. package/lib/commonjs/utils/getMostRecentWorkout.js.map +0 -1
  150. package/lib/commonjs/utils/getPreferredUnit.js +0 -14
  151. package/lib/commonjs/utils/getPreferredUnit.js.map +0 -1
  152. package/lib/commonjs/utils/getPreferredUnits.js +0 -14
  153. package/lib/commonjs/utils/getPreferredUnits.js.map +0 -1
  154. package/lib/commonjs/utils/getPreferredUnitsTyped.js +0 -33
  155. package/lib/commonjs/utils/getPreferredUnitsTyped.js.map +0 -1
  156. package/lib/commonjs/utils/getRequestStatusForAuthorization.js +0 -21
  157. package/lib/commonjs/utils/getRequestStatusForAuthorization.js.map +0 -1
  158. package/lib/commonjs/utils/getWorkoutPlanById.js +0 -13
  159. package/lib/commonjs/utils/getWorkoutPlanById.js.map +0 -1
  160. package/lib/commonjs/utils/prepareOptions.js +0 -25
  161. package/lib/commonjs/utils/prepareOptions.js.map +0 -1
  162. package/lib/commonjs/utils/queryCategorySamples.js +0 -17
  163. package/lib/commonjs/utils/queryCategorySamples.js.map +0 -1
  164. package/lib/commonjs/utils/queryCategorySamplesWithAnchor.js +0 -21
  165. package/lib/commonjs/utils/queryCategorySamplesWithAnchor.js.map +0 -1
  166. package/lib/commonjs/utils/queryCorrelationSamples.js +0 -17
  167. package/lib/commonjs/utils/queryCorrelationSamples.js.map +0 -1
  168. package/lib/commonjs/utils/queryHeartbeatSeriesSamples.js +0 -17
  169. package/lib/commonjs/utils/queryHeartbeatSeriesSamples.js.map +0 -1
  170. package/lib/commonjs/utils/queryHeartbeatSeriesSamplesWithAnchor.js +0 -21
  171. package/lib/commonjs/utils/queryHeartbeatSeriesSamplesWithAnchor.js.map +0 -1
  172. package/lib/commonjs/utils/queryQuantitySamples.js +0 -19
  173. package/lib/commonjs/utils/queryQuantitySamples.js.map +0 -1
  174. package/lib/commonjs/utils/queryQuantitySamplesWithAnchor.js +0 -23
  175. package/lib/commonjs/utils/queryQuantitySamplesWithAnchor.js.map +0 -1
  176. package/lib/commonjs/utils/querySources.js +0 -14
  177. package/lib/commonjs/utils/querySources.js.map +0 -1
  178. package/lib/commonjs/utils/queryStateOfMindSamples.js +0 -22
  179. package/lib/commonjs/utils/queryStateOfMindSamples.js.map +0 -1
  180. package/lib/commonjs/utils/queryStatisticsCollectionForQuantity.js +0 -16
  181. package/lib/commonjs/utils/queryStatisticsCollectionForQuantity.js.map +0 -1
  182. package/lib/commonjs/utils/queryStatisticsForQuantity.js +0 -29
  183. package/lib/commonjs/utils/queryStatisticsForQuantity.js.map +0 -1
  184. package/lib/commonjs/utils/queryWorkoutSamplesWithAnchor.js +0 -26
  185. package/lib/commonjs/utils/queryWorkoutSamplesWithAnchor.js.map +0 -1
  186. package/lib/commonjs/utils/queryWorkouts.js +0 -22
  187. package/lib/commonjs/utils/queryWorkouts.js.map +0 -1
  188. package/lib/commonjs/utils/requestAuthorization.js +0 -22
  189. package/lib/commonjs/utils/requestAuthorization.js.map +0 -1
  190. package/lib/commonjs/utils/saveCategorySample.js +0 -20
  191. package/lib/commonjs/utils/saveCategorySample.js.map +0 -1
  192. package/lib/commonjs/utils/saveCorrelationSample.js +0 -35
  193. package/lib/commonjs/utils/saveCorrelationSample.js.map +0 -1
  194. package/lib/commonjs/utils/saveQuantitySample.js +0 -16
  195. package/lib/commonjs/utils/saveQuantitySample.js.map +0 -1
  196. package/lib/commonjs/utils/saveStateOfMindSample.js +0 -17
  197. package/lib/commonjs/utils/saveStateOfMindSample.js.map +0 -1
  198. package/lib/commonjs/utils/saveWorkoutRoute.js +0 -26
  199. package/lib/commonjs/utils/saveWorkoutRoute.js.map +0 -1
  200. package/lib/commonjs/utils/saveWorkoutSample.js +0 -36
  201. package/lib/commonjs/utils/saveWorkoutSample.js.map +0 -1
  202. package/lib/commonjs/utils/serializeDate.js +0 -9
  203. package/lib/commonjs/utils/serializeDate.js.map +0 -1
  204. package/lib/commonjs/utils/serializeDate.test.js +0 -17
  205. package/lib/commonjs/utils/serializeDate.test.js.map +0 -1
  206. package/lib/commonjs/utils/startWatchApp.js +0 -11
  207. package/lib/commonjs/utils/startWatchApp.js.map +0 -1
  208. package/lib/commonjs/utils/subscribeToChanges.js +0 -27
  209. package/lib/commonjs/utils/subscribeToChanges.js.map +0 -1
  210. package/lib/module/hooks/useHealthkitAuthorization.js +0 -32
  211. package/lib/module/hooks/useHealthkitAuthorization.js.map +0 -1
  212. package/lib/module/hooks/useHealthkitAuthorization.test.js +0 -68
  213. package/lib/module/hooks/useHealthkitAuthorization.test.js.map +0 -1
  214. package/lib/module/hooks/useIsHealthDataAvailable.js +0 -21
  215. package/lib/module/hooks/useIsHealthDataAvailable.js.map +0 -1
  216. package/lib/module/hooks/useIsHealthDataAvailable.test.js +0 -37
  217. package/lib/module/hooks/useIsHealthDataAvailable.test.js.map +0 -1
  218. package/lib/module/hooks/useMostRecentCategorySample.js +0 -16
  219. package/lib/module/hooks/useMostRecentCategorySample.js.map +0 -1
  220. package/lib/module/hooks/useMostRecentQuantitySample.js +0 -30
  221. package/lib/module/hooks/useMostRecentQuantitySample.js.map +0 -1
  222. package/lib/module/hooks/useMostRecentWorkout.js +0 -41
  223. package/lib/module/hooks/useMostRecentWorkout.js.map +0 -1
  224. package/lib/module/hooks/useSources.js +0 -15
  225. package/lib/module/hooks/useSources.js.map +0 -1
  226. package/lib/module/hooks/useStatisticsForQuantity.js +0 -21
  227. package/lib/module/hooks/useStatisticsForQuantity.js.map +0 -1
  228. package/lib/module/hooks/useSubscribeToChanges.js +0 -21
  229. package/lib/module/hooks/useSubscribeToChanges.js.map +0 -1
  230. package/lib/module/index.ios.js +0 -209
  231. package/lib/module/index.ios.js.map +0 -1
  232. package/lib/module/index.js +0 -4
  233. package/lib/module/index.js.map +0 -1
  234. package/lib/module/index.native.js +0 -160
  235. package/lib/module/index.native.js.map +0 -1
  236. package/lib/module/index.web.js +0 -4
  237. package/lib/module/index.web.js.map +0 -1
  238. package/lib/module/native-types.js +0 -1606
  239. package/lib/module/native-types.js.map +0 -1
  240. package/lib/module/test-setup.js +0 -54
  241. package/lib/module/test-setup.js.map +0 -1
  242. package/lib/module/test-utils.js +0 -11
  243. package/lib/module/test-utils.js.map +0 -1
  244. package/lib/module/types.js +0 -67
  245. package/lib/module/types.js.map +0 -1
  246. package/lib/module/utils/deleteQuantitySample.js +0 -4
  247. package/lib/module/utils/deleteQuantitySample.js.map +0 -1
  248. package/lib/module/utils/deleteSamples.js +0 -11
  249. package/lib/module/utils/deleteSamples.js.map +0 -1
  250. package/lib/module/utils/deleteWorkoutSample.js +0 -4
  251. package/lib/module/utils/deleteWorkoutSample.js.map +0 -1
  252. package/lib/module/utils/deserializeCategorySample.js +0 -7
  253. package/lib/module/utils/deserializeCategorySample.js.map +0 -1
  254. package/lib/module/utils/deserializeCategorySample.test.js +0 -22
  255. package/lib/module/utils/deserializeCategorySample.test.js.map +0 -1
  256. package/lib/module/utils/deserializeCorrelation.js +0 -19
  257. package/lib/module/utils/deserializeCorrelation.js.map +0 -1
  258. package/lib/module/utils/deserializeHeartbeatSeriesSample.js +0 -9
  259. package/lib/module/utils/deserializeHeartbeatSeriesSample.js.map +0 -1
  260. package/lib/module/utils/deserializeSample.js +0 -9
  261. package/lib/module/utils/deserializeSample.js.map +0 -1
  262. package/lib/module/utils/deserializeWorkout.js +0 -9
  263. package/lib/module/utils/deserializeWorkout.js.map +0 -1
  264. package/lib/module/utils/ensureMetadata.js +0 -5
  265. package/lib/module/utils/ensureMetadata.js.map +0 -1
  266. package/lib/module/utils/ensureTotals.js +0 -5
  267. package/lib/module/utils/ensureTotals.js.map +0 -1
  268. package/lib/module/utils/ensureUnit.js +0 -10
  269. package/lib/module/utils/ensureUnit.js.map +0 -1
  270. package/lib/module/utils/getDateOfBirth.js +0 -7
  271. package/lib/module/utils/getDateOfBirth.js.map +0 -1
  272. package/lib/module/utils/getMostRecentCategorySample.js +0 -10
  273. package/lib/module/utils/getMostRecentCategorySample.js.map +0 -1
  274. package/lib/module/utils/getMostRecentQuantitySample.js +0 -14
  275. package/lib/module/utils/getMostRecentQuantitySample.js.map +0 -1
  276. package/lib/module/utils/getMostRecentWorkout.js +0 -12
  277. package/lib/module/utils/getMostRecentWorkout.js.map +0 -1
  278. package/lib/module/utils/getPreferredUnit.js +0 -7
  279. package/lib/module/utils/getPreferredUnit.js.map +0 -1
  280. package/lib/module/utils/getPreferredUnits.js +0 -7
  281. package/lib/module/utils/getPreferredUnits.js.map +0 -1
  282. package/lib/module/utils/getPreferredUnitsTyped.js +0 -26
  283. package/lib/module/utils/getPreferredUnitsTyped.js.map +0 -1
  284. package/lib/module/utils/getRequestStatusForAuthorization.js +0 -14
  285. package/lib/module/utils/getRequestStatusForAuthorization.js.map +0 -1
  286. package/lib/module/utils/getWorkoutPlanById.js +0 -6
  287. package/lib/module/utils/getWorkoutPlanById.js.map +0 -1
  288. package/lib/module/utils/prepareOptions.js +0 -18
  289. package/lib/module/utils/prepareOptions.js.map +0 -1
  290. package/lib/module/utils/queryCategorySamples.js +0 -10
  291. package/lib/module/utils/queryCategorySamples.js.map +0 -1
  292. package/lib/module/utils/queryCategorySamplesWithAnchor.js +0 -14
  293. package/lib/module/utils/queryCategorySamplesWithAnchor.js.map +0 -1
  294. package/lib/module/utils/queryCorrelationSamples.js +0 -10
  295. package/lib/module/utils/queryCorrelationSamples.js.map +0 -1
  296. package/lib/module/utils/queryHeartbeatSeriesSamples.js +0 -10
  297. package/lib/module/utils/queryHeartbeatSeriesSamples.js.map +0 -1
  298. package/lib/module/utils/queryHeartbeatSeriesSamplesWithAnchor.js +0 -14
  299. package/lib/module/utils/queryHeartbeatSeriesSamplesWithAnchor.js.map +0 -1
  300. package/lib/module/utils/queryQuantitySamples.js +0 -12
  301. package/lib/module/utils/queryQuantitySamples.js.map +0 -1
  302. package/lib/module/utils/queryQuantitySamplesWithAnchor.js +0 -16
  303. package/lib/module/utils/queryQuantitySamplesWithAnchor.js.map +0 -1
  304. package/lib/module/utils/querySources.js +0 -7
  305. package/lib/module/utils/querySources.js.map +0 -1
  306. package/lib/module/utils/queryStateOfMindSamples.js +0 -14
  307. package/lib/module/utils/queryStateOfMindSamples.js.map +0 -1
  308. package/lib/module/utils/queryStatisticsCollectionForQuantity.js +0 -9
  309. package/lib/module/utils/queryStatisticsCollectionForQuantity.js.map +0 -1
  310. package/lib/module/utils/queryStatisticsForQuantity.js +0 -22
  311. package/lib/module/utils/queryStatisticsForQuantity.js.map +0 -1
  312. package/lib/module/utils/queryWorkoutSamplesWithAnchor.js +0 -19
  313. package/lib/module/utils/queryWorkoutSamplesWithAnchor.js.map +0 -1
  314. package/lib/module/utils/queryWorkouts.js +0 -15
  315. package/lib/module/utils/queryWorkouts.js.map +0 -1
  316. package/lib/module/utils/requestAuthorization.js +0 -15
  317. package/lib/module/utils/requestAuthorization.js.map +0 -1
  318. package/lib/module/utils/saveCategorySample.js +0 -13
  319. package/lib/module/utils/saveCategorySample.js.map +0 -1
  320. package/lib/module/utils/saveCorrelationSample.js +0 -28
  321. package/lib/module/utils/saveCorrelationSample.js.map +0 -1
  322. package/lib/module/utils/saveQuantitySample.js +0 -9
  323. package/lib/module/utils/saveQuantitySample.js.map +0 -1
  324. package/lib/module/utils/saveStateOfMindSample.js +0 -10
  325. package/lib/module/utils/saveStateOfMindSample.js.map +0 -1
  326. package/lib/module/utils/saveWorkoutRoute.js +0 -19
  327. package/lib/module/utils/saveWorkoutRoute.js.map +0 -1
  328. package/lib/module/utils/saveWorkoutSample.js +0 -29
  329. package/lib/module/utils/saveWorkoutSample.js.map +0 -1
  330. package/lib/module/utils/serializeDate.js +0 -3
  331. package/lib/module/utils/serializeDate.js.map +0 -1
  332. package/lib/module/utils/serializeDate.test.js +0 -14
  333. package/lib/module/utils/serializeDate.test.js.map +0 -1
  334. package/lib/module/utils/startWatchApp.js +0 -4
  335. package/lib/module/utils/startWatchApp.js.map +0 -1
  336. package/lib/module/utils/subscribeToChanges.js +0 -20
  337. package/lib/module/utils/subscribeToChanges.js.map +0 -1
  338. package/lib/typescript/example-expo/App.d.ts +0 -2
  339. package/lib/typescript/src/hooks/useHealthkitAuthorization.d.ts +0 -8
  340. package/lib/typescript/src/hooks/useHealthkitAuthorization.test.d.ts +0 -1
  341. package/lib/typescript/src/hooks/useIsHealthDataAvailable.d.ts +0 -7
  342. package/lib/typescript/src/hooks/useIsHealthDataAvailable.test.d.ts +0 -1
  343. package/lib/typescript/src/hooks/useMostRecentCategorySample.d.ts +0 -7
  344. package/lib/typescript/src/hooks/useMostRecentQuantitySample.d.ts +0 -7
  345. package/lib/typescript/src/hooks/useMostRecentWorkout.d.ts +0 -10
  346. package/lib/typescript/src/hooks/useSources.d.ts +0 -3
  347. package/lib/typescript/src/hooks/useStatisticsForQuantity.d.ts +0 -4
  348. package/lib/typescript/src/hooks/useSubscribeToChanges.d.ts +0 -3
  349. package/lib/typescript/src/index.d.ts +0 -3
  350. package/lib/typescript/src/index.ios.d.ts +0 -198
  351. package/lib/typescript/src/index.native.d.ts +0 -41
  352. package/lib/typescript/src/index.web.d.ts +0 -3
  353. package/lib/typescript/src/native-types.d.ts +0 -1764
  354. package/lib/typescript/src/test-setup.d.ts +0 -1
  355. package/lib/typescript/src/test-utils.d.ts +0 -2
  356. package/lib/typescript/src/types.d.ts +0 -111
  357. package/lib/typescript/src/utils/deleteQuantitySample.d.ts +0 -4
  358. package/lib/typescript/src/utils/deleteSamples.d.ts +0 -8
  359. package/lib/typescript/src/utils/deleteWorkoutSample.d.ts +0 -3
  360. package/lib/typescript/src/utils/deserializeCategorySample.d.ts +0 -4
  361. package/lib/typescript/src/utils/deserializeCategorySample.test.d.ts +0 -1
  362. package/lib/typescript/src/utils/deserializeCorrelation.d.ts +0 -4
  363. package/lib/typescript/src/utils/deserializeHeartbeatSeriesSample.d.ts +0 -4
  364. package/lib/typescript/src/utils/deserializeSample.d.ts +0 -4
  365. package/lib/typescript/src/utils/deserializeWorkout.d.ts +0 -4
  366. package/lib/typescript/src/utils/ensureMetadata.d.ts +0 -2
  367. package/lib/typescript/src/utils/ensureTotals.d.ts +0 -2
  368. package/lib/typescript/src/utils/ensureUnit.d.ts +0 -3
  369. package/lib/typescript/src/utils/getDateOfBirth.d.ts +0 -2
  370. package/lib/typescript/src/utils/getMostRecentCategorySample.d.ts +0 -4
  371. package/lib/typescript/src/utils/getMostRecentQuantitySample.d.ts +0 -4
  372. package/lib/typescript/src/utils/getMostRecentWorkout.d.ts +0 -5
  373. package/lib/typescript/src/utils/getPreferredUnit.d.ts +0 -4
  374. package/lib/typescript/src/utils/getPreferredUnits.d.ts +0 -4
  375. package/lib/typescript/src/utils/getPreferredUnitsTyped.d.ts +0 -9
  376. package/lib/typescript/src/utils/getRequestStatusForAuthorization.d.ts +0 -3
  377. package/lib/typescript/src/utils/getWorkoutPlanById.d.ts +0 -5
  378. package/lib/typescript/src/utils/prepareOptions.d.ts +0 -9
  379. package/lib/typescript/src/utils/queryCategorySamples.d.ts +0 -5
  380. package/lib/typescript/src/utils/queryCategorySamplesWithAnchor.d.ts +0 -10
  381. package/lib/typescript/src/utils/queryCorrelationSamples.d.ts +0 -5
  382. package/lib/typescript/src/utils/queryHeartbeatSeriesSamples.d.ts +0 -10
  383. package/lib/typescript/src/utils/queryHeartbeatSeriesSamplesWithAnchor.d.ts +0 -10
  384. package/lib/typescript/src/utils/queryQuantitySamples.d.ts +0 -7
  385. package/lib/typescript/src/utils/queryQuantitySamplesWithAnchor.d.ts +0 -12
  386. package/lib/typescript/src/utils/querySources.d.ts +0 -4
  387. package/lib/typescript/src/utils/queryStateOfMindSamples.d.ts +0 -7
  388. package/lib/typescript/src/utils/queryStatisticsCollectionForQuantity.d.ts +0 -3
  389. package/lib/typescript/src/utils/queryStatisticsForQuantity.d.ts +0 -14
  390. package/lib/typescript/src/utils/queryWorkoutSamplesWithAnchor.d.ts +0 -9
  391. package/lib/typescript/src/utils/queryWorkouts.d.ts +0 -4
  392. package/lib/typescript/src/utils/requestAuthorization.d.ts +0 -4
  393. package/lib/typescript/src/utils/saveCategorySample.d.ts +0 -11
  394. package/lib/typescript/src/utils/saveCorrelationSample.d.ts +0 -8
  395. package/lib/typescript/src/utils/saveQuantitySample.d.ts +0 -7
  396. package/lib/typescript/src/utils/saveStateOfMindSample.d.ts +0 -11
  397. package/lib/typescript/src/utils/saveWorkoutRoute.d.ts +0 -3
  398. package/lib/typescript/src/utils/saveWorkoutSample.d.ts +0 -11
  399. package/lib/typescript/src/utils/serializeDate.d.ts +0 -2
  400. package/lib/typescript/src/utils/serializeDate.test.d.ts +0 -1
  401. package/lib/typescript/src/utils/startWatchApp.d.ts +0 -3
  402. package/lib/typescript/src/utils/subscribeToChanges.d.ts +0 -3
  403. package/src/index.ios.tsx +0 -292
  404. package/src/index.native.tsx +0 -233
  405. package/src/index.tsx +0 -5
  406. package/src/index.web.tsx +0 -5
  407. package/src/native-types.ts +0 -2471
  408. package/src/types.ts +0 -156
  409. package/src/utils/deleteQuantitySample.ts +0 -14
  410. package/src/utils/deleteSamples.ts +0 -23
  411. package/src/utils/deleteWorkoutSample.ts +0 -7
  412. package/src/utils/deserializeCategorySample.test.ts +0 -24
  413. package/src/utils/deserializeCategorySample.ts +0 -12
  414. package/src/utils/deserializeCorrelation.ts +0 -28
  415. package/src/utils/deserializeHeartbeatSeriesSample.ts +0 -12
  416. package/src/utils/deserializeSample.ts +0 -17
  417. package/src/utils/deserializeWorkout.ts +0 -14
  418. package/src/utils/ensureMetadata.ts +0 -5
  419. package/src/utils/ensureTotals.ts +0 -5
  420. package/src/utils/ensureUnit.ts +0 -19
  421. package/src/utils/getDateOfBirth.ts +0 -8
  422. package/src/utils/getPreferredUnits.ts +0 -14
  423. package/src/utils/getPreferredUnitsTyped.ts +0 -38
  424. package/src/utils/getRequestStatusForAuthorization.ts +0 -21
  425. package/src/utils/getWorkoutPlanById.ts +0 -7
  426. package/src/utils/prepareOptions.ts +0 -19
  427. package/src/utils/queryCategorySamples.ts +0 -29
  428. package/src/utils/queryCategorySamplesWithAnchor.ts +0 -39
  429. package/src/utils/queryCorrelationSamples.ts +0 -29
  430. package/src/utils/queryHeartbeatSeriesSamples.ts +0 -29
  431. package/src/utils/queryHeartbeatSeriesSamplesWithAnchor.ts +0 -33
  432. package/src/utils/queryQuantitySamples.ts +0 -38
  433. package/src/utils/queryQuantitySamplesWithAnchor.ts +0 -46
  434. package/src/utils/querySources.ts +0 -21
  435. package/src/utils/queryStateOfMindSamples.ts +0 -14
  436. package/src/utils/queryStatisticsCollectionForQuantity.ts +0 -38
  437. package/src/utils/queryStatisticsForQuantity.ts +0 -38
  438. package/src/utils/queryWorkoutSamplesWithAnchor.ts +0 -46
  439. package/src/utils/queryWorkouts.ts +0 -28
  440. package/src/utils/requestAuthorization.ts +0 -19
  441. package/src/utils/saveCategorySample.ts +0 -31
  442. package/src/utils/saveCorrelationSample.ts +0 -43
  443. package/src/utils/saveQuantitySample.ts +0 -29
  444. package/src/utils/saveStateOfMindSample.ts +0 -38
  445. package/src/utils/saveWorkoutRoute.ts +0 -21
  446. package/src/utils/saveWorkoutSample.ts +0 -42
  447. package/src/utils/serializeDate.test.ts +0 -16
  448. package/src/utils/serializeDate.ts +0 -5
  449. package/src/utils/startWatchApp.ts +0 -7
@@ -1,1575 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = exports.WorkoutSessionState = exports.UnitOfVolume = exports.UnitOfTime = exports.UnitOfPressure = exports.UnitOfMass = exports.UnitOfLength = exports.UnitOfEnergy = exports.TemperatureUnit = exports.HKWorkoutTypeIdentifier = exports.HKWorkoutSessionLocationType = exports.HKWorkoutRouteTypeIdentifier = exports.HKWorkoutEventType = exports.HKWorkoutActivityType = exports.HKWheelchairUse = exports.HKWeatherCondition = exports.HKUpdateFrequency = exports.HKUnits = exports.HKUnitMetric = exports.HKStatisticsOptions = exports.HKStateOfMindValenceClassification = exports.HKStateOfMindTypeIdentifier = exports.HKStateOfMindLabel = exports.HKStateOfMindKind = exports.HKStateOfMindAssociation = exports.HKQuantityTypeIdentifier = exports.HKMetricPrefix = exports.HKInsulinDeliveryReason = exports.HKHeartRateMotionContext = exports.HKFitzpatrickSkinType = exports.HKCorrelationTypeIdentifier = exports.HKCharacteristicTypeIdentifier = exports.HKCategoryValueSleepAnalysis = exports.HKCategoryValueSeverity = exports.HKCategoryValuePresence = exports.HKCategoryValueOvulationTestResult = exports.HKCategoryValueNotApplicable = exports.HKCategoryValueMenstrualFlow = exports.HKCategoryValueLowCardioFitnessEvent = exports.HKCategoryValueCervicalMucusQuality = exports.HKCategoryValueAppleStandHour = exports.HKCategoryValueAppetiteChanges = exports.HKCategoryTypeIdentifier = exports.HKBloodType = exports.HKBiologicalSex = exports.HKAuthorizationStatus = exports.HKAuthorizationRequestStatus = exports.HKAudiogramTypeIdentifier = exports.HKActivitySummaryTypeIdentifier = exports.EventEmitter = exports.BloodGlucoseUnit = void 0;
7
- var _reactNative = require("react-native");
8
- /**
9
- * Represents a workout type identifier.
10
- * @see {@link https://developer.apple.com/documentation/healthkit/hkworkouttypeidentifier Apple Docs HKWorkoutTypeIdentifier}
11
- */
12
- const HKWorkoutTypeIdentifier = exports.HKWorkoutTypeIdentifier = 'HKWorkoutTypeIdentifier';
13
-
14
- /**
15
- * Represents a type that identifies activity summary objects.
16
- * @see {@link https://developer.apple.com/documentation/healthkit/hkactivitysummarytype Apple Docs HKActivitySummaryType}
17
- */
18
- const HKActivitySummaryTypeIdentifier = exports.HKActivitySummaryTypeIdentifier = 'HKActivitySummaryTypeIdentifier';
19
-
20
- /**
21
- * Represents an audiogram type identifier.
22
- * @see {@link https://developer.apple.com/documentation/healthkit/HKAudiogramSampleType Apple Docs HKAudiogramSampleType}
23
- */
24
- const HKAudiogramTypeIdentifier = exports.HKAudiogramTypeIdentifier = 'HKAudiogramSampleType';
25
-
26
- /**
27
- * Represents a workout route type identifier.
28
- * @see {@link https://developer.apple.com/documentation/healthkit/hkworkoutroutetypeidentifier Apple Docs HKWorkoutRouteTypeIdentifier}
29
- */
30
- const HKWorkoutRouteTypeIdentifier = exports.HKWorkoutRouteTypeIdentifier = 'HKWorkoutRouteTypeIdentifier';
31
-
32
- /**
33
- * Represents a state of mind type identifier.
34
- * @see {@link https://developer.apple.com/documentation/healthkit/hkstateofmindtype Apple Docs HKStateOfMindType}
35
- */
36
- const HKStateOfMindTypeIdentifier = exports.HKStateOfMindTypeIdentifier = 'HKStateOfMindTypeIdentifier';
37
-
38
- /**
39
- * Represents a series sample containing heartbeat data..
40
- * @see {@link https://developer.apple.com/documentation/healthkit/HKDataTypeIdentifierHeartbeatSeries Apple Docs HKDataTypeIdentifierHeartbeatSeries}
41
- */
42
- /**
43
- * Represents a quantity type identifier.
44
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier Apple Docs HKQuantityTypeIdentifier}
45
- */
46
- let HKQuantityTypeIdentifier = exports.HKQuantityTypeIdentifier = /*#__PURE__*/function (HKQuantityTypeIdentifier) {
47
- /**
48
- * Body Mass Index
49
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodymassindex Apple Docs HKQuantityTypeIdentifierBodyMassIndex}
50
- */
51
- HKQuantityTypeIdentifier["bodyMassIndex"] = "HKQuantityTypeIdentifierBodyMassIndex";
52
- /**
53
- * Body Fat Percentage
54
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodyfatpercentage Apple Docs HKQuantityTypeIdentifierBodyFatPercentage}
55
- */
56
- HKQuantityTypeIdentifier["bodyFatPercentage"] = "HKQuantityTypeIdentifierBodyFatPercentage";
57
- /**
58
- * Height
59
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheight Apple Docs HKQuantityTypeIdentifierHeight}
60
- */
61
- HKQuantityTypeIdentifier["height"] = "HKQuantityTypeIdentifierHeight";
62
- /**
63
- * Body Mass
64
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodymass Apple Docs HKQuantityTypeIdentifierBodyMass}
65
- */
66
- HKQuantityTypeIdentifier["bodyMass"] = "HKQuantityTypeIdentifierBodyMass";
67
- /**
68
- * Lean Body Mass
69
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierleanbodymass Apple Docs HKQuantityTypeIdentifierLeanBodyMass}
70
- */
71
- HKQuantityTypeIdentifier["leanBodyMass"] = "HKQuantityTypeIdentifierLeanBodyMass";
72
- /**
73
- * Waist Circumference
74
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwaistcircumference Apple Docs HKQuantityTypeIdentifierWaistCircumference}
75
- */
76
- HKQuantityTypeIdentifier["waistCircumference"] = "HKQuantityTypeIdentifierWaistCircumference";
77
- /**
78
- * Step Count
79
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierstepcount Apple Docs HKQuantityTypeIdentifierStepCount}
80
- */
81
- HKQuantityTypeIdentifier["stepCount"] = "HKQuantityTypeIdentifierStepCount";
82
- /**
83
- * Distance Walking Running
84
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancewalkingrunning Apple Docs HKQuantityTypeIdentifierDistanceWalkingRunning}
85
- */
86
- HKQuantityTypeIdentifier["distanceWalkingRunning"] = "HKQuantityTypeIdentifierDistanceWalkingRunning";
87
- /**
88
- * Distance Cycling
89
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancecycling Apple Docs HKQuantityTypeIdentifierDistanceCycling}
90
- */
91
- HKQuantityTypeIdentifier["distanceCycling"] = "HKQuantityTypeIdentifierDistanceCycling";
92
- /**
93
- * Distance Wheelchair
94
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancewheelchair Apple Docs HKQuantityTypeIdentifierDistanceWheelchair}
95
- */
96
- HKQuantityTypeIdentifier["distanceWheelchair"] = "HKQuantityTypeIdentifierDistanceWheelchair";
97
- /**
98
- * Basal Energy Burned
99
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbasalenergyburned Apple Docs HKQuantityTypeIdentifierBasalEnergyBurned}
100
- */
101
- HKQuantityTypeIdentifier["basalEnergyBurned"] = "HKQuantityTypeIdentifierBasalEnergyBurned";
102
- // Energy, Cumulative
103
- /**
104
- * Active Energy Burned
105
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieractiveenergyburned Apple Docs HKQuantityTypeIdentifierActiveEnergyBurned}
106
- */
107
- HKQuantityTypeIdentifier["activeEnergyBurned"] = "HKQuantityTypeIdentifierActiveEnergyBurned";
108
- // Energy, Cumulative
109
- /**
110
- * Flights Climbed
111
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierflightsclimbed Apple Docs HKQuantityTypeIdentifierFlightsClimbed}
112
- */
113
- HKQuantityTypeIdentifier["flightsClimbed"] = "HKQuantityTypeIdentifierFlightsClimbed";
114
- // Scalar(Count), Cumulative
115
- /**
116
- * Nike Fuel
117
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiernikefuel Apple Docs HKQuantityTypeIdentifierNikeFuel}
118
- */
119
- HKQuantityTypeIdentifier["nikeFuel"] = "HKQuantityTypeIdentifierNikeFuel";
120
- // Scalar(Count), Cumulative
121
- /**
122
- * Apple Exercise Time
123
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierappleexercisetime Apple Docs HKQuantityTypeIdentifierAppleExerciseTime}
124
- */
125
- HKQuantityTypeIdentifier["appleExerciseTime"] = "HKQuantityTypeIdentifierAppleExerciseTime";
126
- // Time Cumulative
127
- /**
128
- * Push Count
129
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierpushcount Apple Docs HKQuantityTypeIdentifierPushCount}
130
- */
131
- HKQuantityTypeIdentifier["pushCount"] = "HKQuantityTypeIdentifierPushCount";
132
- // Scalar(Count), Cumulative
133
- /**
134
- * Distance Swimming
135
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistanceswimming Apple Docs HKQuantityTypeIdentifierDistanceSwimming}
136
- */
137
- HKQuantityTypeIdentifier["distanceSwimming"] = "HKQuantityTypeIdentifierDistanceSwimming";
138
- // Length, Cumulative
139
- /**
140
- * Swimming Stroke Count
141
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierswimmingstrokecount Apple Docs HKQuantityTypeIdentifierSwimmingStrokeCount}
142
- */
143
- HKQuantityTypeIdentifier["swimmingStrokeCount"] = "HKQuantityTypeIdentifierSwimmingStrokeCount";
144
- // Scalar(Count), Cumulative
145
- /**
146
- * VO2 Max
147
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiervo2max Apple Docs HKQuantityTypeIdentifierVO2Max}
148
- */
149
- HKQuantityTypeIdentifier["vo2Max"] = "HKQuantityTypeIdentifierVO2Max";
150
- // ml/(kg*min) Discrete
151
- /**
152
- * Distance Downhill Snow Sports
153
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancedownhillsnowsports Apple Docs HKQuantityTypeIdentifierDistanceDownhillSnowSports}
154
- */
155
- HKQuantityTypeIdentifier["distanceDownhillSnowSports"] = "HKQuantityTypeIdentifierDistanceDownhillSnowSports";
156
- // Length, Cumulative
157
- /**
158
- * Apple Stand Time
159
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplestandtime Apple Docs HKQuantityTypeIdentifierAppleStandTime}
160
- */
161
- HKQuantityTypeIdentifier["appleStandTime"] = "HKQuantityTypeIdentifierAppleStandTime";
162
- // Time, Cumulative
163
- // Vitals
164
- /**
165
- * Heart Rate
166
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheartrate Apple Docs HKQuantityTypeIdentifierHeartRate}
167
- */
168
- HKQuantityTypeIdentifier["heartRate"] = "HKQuantityTypeIdentifierHeartRate";
169
- // Scalar(Count)/Time, Discrete
170
- /**
171
- * Body Temperature
172
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodytemperature Apple Docs HKQuantityTypeIdentifierBodyTemperature}
173
- */
174
- HKQuantityTypeIdentifier["bodyTemperature"] = "HKQuantityTypeIdentifierBodyTemperature";
175
- // Temperature, Discrete
176
- /**
177
- * Basal Body Temperature
178
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbasalbodytemperature Apple Docs HKQuantityTypeIdentifierBasalBodyTemperature}
179
- */
180
- HKQuantityTypeIdentifier["basalBodyTemperature"] = "HKQuantityTypeIdentifierBasalBodyTemperature";
181
- // Basal Body Temperature, Discrete
182
- /**
183
- * Blood Pressure Systolic
184
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodpressuresystolic Apple Docs HKQuantityTypeIdentifierBloodPressureSystolic}
185
- */
186
- HKQuantityTypeIdentifier["bloodPressureSystolic"] = "HKQuantityTypeIdentifierBloodPressureSystolic";
187
- // Pressure, Discrete
188
- /**
189
- * Blood Pressure Diastolic
190
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodpressurediastolic Apple Docs HKQuantityTypeIdentifierBloodPressureDiastolic}
191
- */
192
- HKQuantityTypeIdentifier["bloodPressureDiastolic"] = "HKQuantityTypeIdentifierBloodPressureDiastolic";
193
- // Pressure, Discrete
194
- /**
195
- * Respiratory Rate
196
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrespiratoryrate Apple Docs HKQuantityTypeIdentifierRespiratoryRate}
197
- */
198
- HKQuantityTypeIdentifier["respiratoryRate"] = "HKQuantityTypeIdentifierRespiratoryRate";
199
- // Scalar(Count)/Time, Discrete
200
- /**
201
- * Resting Heart Rate
202
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrestingheartrate Apple Docs HKQuantityTypeIdentifierRestingHeartRate}
203
- */
204
- HKQuantityTypeIdentifier["restingHeartRate"] = "HKQuantityTypeIdentifierRestingHeartRate";
205
- // Scalar(Count)/Time, Discrete
206
- /**
207
- * Walking Heart Rate Average
208
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingheartrateaverage Apple Docs HKQuantityTypeIdentifierWalkingHeartRateAverage}
209
- * @since iOS 11.0
210
- */
211
- HKQuantityTypeIdentifier["walkingHeartRateAverage"] = "HKQuantityTypeIdentifierWalkingHeartRateAverage";
212
- // Scalar(Count)/Time, Discrete
213
- /**
214
- * Heart Rate Variability SDNN
215
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheartratevariabilitysdnn Apple Docs HKQuantityTypeIdentifierHeartRateVariabilitySDNN}
216
- * @since iOS 11.0
217
- */
218
- HKQuantityTypeIdentifier["heartRateVariabilitySDNN"] = "HKQuantityTypeIdentifierHeartRateVariabilitySDNN";
219
- // Time (ms), Discrete
220
- /**
221
- * Oxygen Saturation
222
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieroxygensaturation Apple Docs HKQuantityTypeIdentifierOxygenSaturation}
223
- * @since iOS 8.0
224
- */
225
- HKQuantityTypeIdentifier["oxygenSaturation"] = "HKQuantityTypeIdentifierOxygenSaturation";
226
- /**
227
- * Peripheral Perfusion Index
228
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierperipheralperfusionindex Apple Docs HKQuantityTypeIdentifierPeripheralPerfusionIndex}
229
- * @since iOS 8.0
230
- */
231
- HKQuantityTypeIdentifier["peripheralPerfusionIndex"] = "HKQuantityTypeIdentifierPeripheralPerfusionIndex";
232
- // Scalar(Percent, 0.0 - 1.0), Discrete
233
- /**
234
- * Blood Glucose
235
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodglucose Apple Docs HKQuantityTypeIdentifierBloodGlucose}
236
- */
237
- HKQuantityTypeIdentifier["bloodGlucose"] = "HKQuantityTypeIdentifierBloodGlucose";
238
- /**
239
- * Number Of Times Fallen
240
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiernumberoftimesfallen Apple Docs HKQuantityTypeIdentifierNumberOfTimesFallen}
241
- */
242
- HKQuantityTypeIdentifier["numberOfTimesFallen"] = "HKQuantityTypeIdentifierNumberOfTimesFallen";
243
- /**
244
- * Electrodermal Activity
245
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierelectrodermalactivity Apple Docs HKQuantityTypeIdentifierElectrodermalActivity}
246
- */
247
- HKQuantityTypeIdentifier["electrodermalActivity"] = "HKQuantityTypeIdentifierElectrodermalActivity";
248
- /**
249
- * Inhaler Usage
250
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierinhalerusage Apple Docs HKQuantityTypeIdentifierInhalerUsage}
251
- * @since iOS 8
252
- */
253
- HKQuantityTypeIdentifier["inhalerUsage"] = "HKQuantityTypeIdentifierInhalerUsage";
254
- /**
255
- * Insulin Delivery
256
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierinsulindelivery Apple Docs HKQuantityTypeIdentifierInsulinDelivery}
257
- * @since iOS 11
258
- */
259
- HKQuantityTypeIdentifier["insulinDelivery"] = "HKQuantityTypeIdentifierInsulinDelivery";
260
- /**
261
- * Blood Alcohol Content
262
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodalcoholcontent Apple Docs HKQuantityTypeIdentifierBloodAlcoholContent}
263
- * @since iOS 8
264
- */
265
- HKQuantityTypeIdentifier["bloodAlcoholContent"] = "HKQuantityTypeIdentifierBloodAlcoholContent";
266
- /**
267
- * Forced Vital Capacity
268
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierforcedvitalcapacity Apple Docs HKQuantityTypeIdentifierForcedVitalCapacity}
269
- */
270
- HKQuantityTypeIdentifier["forcedVitalCapacity"] = "HKQuantityTypeIdentifierForcedVitalCapacity";
271
- /**
272
- * Forced Expiratory Volume1
273
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierforcedexpiratoryvolume1 Apple Docs HKQuantityTypeIdentifierForcedExpiratoryVolume1}
274
- * @since iOS 8
275
- */
276
- HKQuantityTypeIdentifier["forcedExpiratoryVolume1"] = "HKQuantityTypeIdentifierForcedExpiratoryVolume1";
277
- /**
278
- * Peak Expiratory Flow Rate
279
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierpeakexpiratoryflowrate Apple Docs HKQuantityTypeIdentifierPeakExpiratoryFlowRate}
280
- * @since iOS 8
281
- */
282
- HKQuantityTypeIdentifier["peakExpiratoryFlowRate"] = "HKQuantityTypeIdentifierPeakExpiratoryFlowRate";
283
- /**
284
- * Environmental Audio Exposure
285
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierenvironmentalaudioexposure Apple Docs HKQuantityTypeIdentifierEnvironmentalAudioExposure}
286
- * @since iOS 13
287
- */
288
- HKQuantityTypeIdentifier["environmentalAudioExposure"] = "HKQuantityTypeIdentifierEnvironmentalAudioExposure";
289
- /**
290
- * Headphone Audio Exposure
291
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheadphoneaudioexposure Apple Docs HKQuantityTypeIdentifierHeadphoneAudioExposure}
292
- * @since iOS 13
293
- */
294
- HKQuantityTypeIdentifier["headphoneAudioExposure"] = "HKQuantityTypeIdentifierHeadphoneAudioExposure";
295
- // Pressure, Cumulative
296
- // Nutrition
297
- /**
298
- * Dietary Fat Total
299
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfattotal Apple Docs HKQuantityTypeIdentifierDietaryFatTotal}
300
- * @since iOS 8
301
- */
302
- HKQuantityTypeIdentifier["dietaryFatTotal"] = "HKQuantityTypeIdentifierDietaryFatTotal";
303
- // Mass, Cumulative
304
- /**
305
- * Dietary Fat Polyunsaturated
306
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfatpolyunsaturated Apple Docs HKQuantityTypeIdentifierDietaryFatPolyunsaturated}
307
- */
308
- HKQuantityTypeIdentifier["dietaryFatPolyunsaturated"] = "HKQuantityTypeIdentifierDietaryFatPolyunsaturated";
309
- // Mass, Cumulative
310
- /**
311
- * Dietary Fat Monounsaturated
312
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfatmonounsaturated Apple Docs HKQuantityTypeIdentifierDietaryFatMonounsaturated}
313
- */
314
- HKQuantityTypeIdentifier["dietaryFatMonounsaturated"] = "HKQuantityTypeIdentifierDietaryFatMonounsaturated";
315
- // Mass, Cumulative
316
- /**
317
- * Dietary Fat Saturated
318
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfatsaturated Apple Docs HKQuantityTypeIdentifierDietaryFatSaturated}
319
- */
320
- HKQuantityTypeIdentifier["dietaryFatSaturated"] = "HKQuantityTypeIdentifierDietaryFatSaturated";
321
- // Mass, Cumulative
322
- /**
323
- * Dietary Cholesterol
324
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycholesterol Apple Docs HKQuantityTypeIdentifierDietaryCholesterol}
325
- */
326
- HKQuantityTypeIdentifier["dietaryCholesterol"] = "HKQuantityTypeIdentifierDietaryCholesterol";
327
- // Mass, Cumulative
328
- /**
329
- * Dietary Sodium
330
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarysodium Apple Docs HKQuantityTypeIdentifierDietarySodium}
331
- */
332
- HKQuantityTypeIdentifier["dietarySodium"] = "HKQuantityTypeIdentifierDietarySodium";
333
- // Mass, Cumulative
334
- /**
335
- * Dietary Carbohydrates
336
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycarbohydrates Apple Docs HKQuantityTypeIdentifierDietaryCarbohydrates}
337
- */
338
- HKQuantityTypeIdentifier["dietaryCarbohydrates"] = "HKQuantityTypeIdentifierDietaryCarbohydrates";
339
- // Mass, Cumulative
340
- /**
341
- * Dietary Fiber
342
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfiber Apple Docs HKQuantityTypeIdentifierDietaryFiber}
343
- */
344
- HKQuantityTypeIdentifier["dietaryFiber"] = "HKQuantityTypeIdentifierDietaryFiber";
345
- // Mass, Cumulative
346
- /**
347
- * Dietary Sugar
348
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarysugar Apple Docs HKQuantityTypeIdentifierDietarySugar}
349
- */
350
- HKQuantityTypeIdentifier["dietarySugar"] = "HKQuantityTypeIdentifierDietarySugar";
351
- // Mass, Cumulative
352
- /**
353
- * Dietary Energy Consumed
354
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryenergyconsumed Apple Docs HKQuantityTypeIdentifierDietaryEnergyConsumed}
355
- */
356
- HKQuantityTypeIdentifier["dietaryEnergyConsumed"] = "HKQuantityTypeIdentifierDietaryEnergyConsumed";
357
- // Energy, Cumulative
358
- /**
359
- * Dietary Protein
360
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryprotein Apple Docs HKQuantityTypeIdentifierDietaryProtein}
361
- */
362
- HKQuantityTypeIdentifier["dietaryProtein"] = "HKQuantityTypeIdentifierDietaryProtein";
363
- // Mass, Cumulative
364
- /**
365
- * Dietary Vitamin A
366
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamina Apple Docs HKQuantityTypeIdentifierDietaryVitaminA}
367
- */
368
- HKQuantityTypeIdentifier["dietaryVitaminA"] = "HKQuantityTypeIdentifierDietaryVitaminA";
369
- // Mass, Cumulative
370
- /**
371
- * Dietary Vitamin B6
372
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitaminb6 Apple Docs HKQuantityTypeIdentifierDietaryVitaminB6}
373
- */
374
- HKQuantityTypeIdentifier["dietaryVitaminB6"] = "HKQuantityTypeIdentifierDietaryVitaminB6";
375
- // Mass, Cumulative
376
- /**
377
- * Dietary Vitamin B12
378
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitaminb12 Apple Docs HKQuantityTypeIdentifierDietaryVitaminB12}
379
- */
380
- HKQuantityTypeIdentifier["dietaryVitaminB12"] = "HKQuantityTypeIdentifierDietaryVitaminB12";
381
- // Mass, Cumulative
382
- /**
383
- * Dietary Vitamin C
384
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitaminc Apple Docs HKQuantityTypeIdentifierDietaryVitaminC}
385
- */
386
- HKQuantityTypeIdentifier["dietaryVitaminC"] = "HKQuantityTypeIdentifierDietaryVitaminC";
387
- // Mass, Cumulative
388
- /**
389
- * Dietary Vitamin D
390
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamind Apple Docs HKQuantityTypeIdentifierDietaryVitaminD}
391
- */
392
- HKQuantityTypeIdentifier["dietaryVitaminD"] = "HKQuantityTypeIdentifierDietaryVitaminD";
393
- // Mass, Cumulative
394
- /**
395
- * Dietary Vitamin E
396
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamine Apple Docs HKQuantityTypeIdentifierDietaryVitaminE}
397
- */
398
- HKQuantityTypeIdentifier["dietaryVitaminE"] = "HKQuantityTypeIdentifierDietaryVitaminE";
399
- // Mass, Cumulative
400
- /**
401
- * Dietary Vitamin K
402
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamink Apple Docs HKQuantityTypeIdentifierDietaryVitaminK}
403
- */
404
- HKQuantityTypeIdentifier["dietaryVitaminK"] = "HKQuantityTypeIdentifierDietaryVitaminK";
405
- // Mass, Cumulative
406
- /**
407
- * Dietary Calcium
408
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycalcium Apple Docs HKQuantityTypeIdentifierDietaryCalcium}
409
- */
410
- HKQuantityTypeIdentifier["dietaryCalcium"] = "HKQuantityTypeIdentifierDietaryCalcium";
411
- // Mass, Cumulative
412
- /**
413
- * Dietary Iron
414
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryiron Apple Docs HKQuantityTypeIdentifierDietaryIron}
415
- */
416
- HKQuantityTypeIdentifier["dietaryIron"] = "HKQuantityTypeIdentifierDietaryIron";
417
- // Mass, Cumulative
418
- /**
419
- * Dietary Thiamin
420
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarythiamin Apple Docs HKQuantityTypeIdentifierDietaryThiamin}
421
- */
422
- HKQuantityTypeIdentifier["dietaryThiamin"] = "HKQuantityTypeIdentifierDietaryThiamin";
423
- // Mass, Cumulative
424
- /**
425
- * Dietary Riboflavin
426
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryriboflavin Apple Docs HKQuantityTypeIdentifierDietaryRiboflavin}
427
- */
428
- HKQuantityTypeIdentifier["dietaryRiboflavin"] = "HKQuantityTypeIdentifierDietaryRiboflavin";
429
- // Mass, Cumulative
430
- /**
431
- * Dietary Niacin
432
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryniacin Apple Docs HKQuantityTypeIdentifierDietaryNiacin}
433
- */
434
- HKQuantityTypeIdentifier["dietaryNiacin"] = "HKQuantityTypeIdentifierDietaryNiacin";
435
- // Mass, Cumulative
436
- /**
437
- * Dietary Folate
438
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfolate Apple Docs HKQuantityTypeIdentifierDietaryFolate}
439
- */
440
- HKQuantityTypeIdentifier["dietaryFolate"] = "HKQuantityTypeIdentifierDietaryFolate";
441
- // Mass, Cumulative
442
- /**
443
- * Dietary Biotin
444
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarybiotin Apple Docs HKQuantityTypeIdentifierDietaryBiotin}
445
- */
446
- HKQuantityTypeIdentifier["dietaryBiotin"] = "HKQuantityTypeIdentifierDietaryBiotin";
447
- // Mass, Cumulative
448
- /**
449
- * Dietary Pantothenic Acid
450
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarypantothenicacid Apple Docs HKQuantityTypeIdentifierDietaryPantothenicAcid}
451
- */
452
- HKQuantityTypeIdentifier["dietaryPantothenicAcid"] = "HKQuantityTypeIdentifierDietaryPantothenicAcid";
453
- // Mass, Cumulative
454
- /**
455
- * Dietary Phosphorus
456
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryphosphorus Apple Docs HKQuantityTypeIdentifierDietaryPhosphorus}
457
- */
458
- HKQuantityTypeIdentifier["dietaryPhosphorus"] = "HKQuantityTypeIdentifierDietaryPhosphorus";
459
- // Mass, Cumulative
460
- /**
461
- * Dietary Iodine
462
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryiodine Apple Docs HKQuantityTypeIdentifierDietaryIodine}
463
- */
464
- HKQuantityTypeIdentifier["dietaryIodine"] = "HKQuantityTypeIdentifierDietaryIodine";
465
- // Mass, Cumulative
466
- /**
467
- * Dietary Magnesium
468
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarymagnesium Apple Docs HKQuantityTypeIdentifierDietaryMagnesium}
469
- */
470
- HKQuantityTypeIdentifier["dietaryMagnesium"] = "HKQuantityTypeIdentifierDietaryMagnesium";
471
- // Mass, Cumulative
472
- /**
473
- * Dietary Zinc
474
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryzinc Apple Docs HKQuantityTypeIdentifierDietaryZinc}
475
- */
476
- HKQuantityTypeIdentifier["dietaryZinc"] = "HKQuantityTypeIdentifierDietaryZinc";
477
- // Mass, Cumulative
478
- /**
479
- * Dietary Selenium
480
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryselenium Apple Docs HKQuantityTypeIdentifierDietarySelenium}
481
- */
482
- HKQuantityTypeIdentifier["dietarySelenium"] = "HKQuantityTypeIdentifierDietarySelenium";
483
- // Mass, Cumulative
484
- /**
485
- * Dietary Copper
486
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycopper Apple Docs HKQuantityTypeIdentifierDietaryCopper}
487
- */
488
- HKQuantityTypeIdentifier["dietaryCopper"] = "HKQuantityTypeIdentifierDietaryCopper";
489
- // Mass, Cumulative
490
- /**
491
- * Dietary Manganese
492
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarymanganese Apple Docs HKQuantityTypeIdentifierDietaryManganese}
493
- */
494
- HKQuantityTypeIdentifier["dietaryManganese"] = "HKQuantityTypeIdentifierDietaryManganese";
495
- // Mass, Cumulative
496
- /**
497
- * Dietary Chromium
498
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarychromium Apple Docs HKQuantityTypeIdentifierDietaryChromium}
499
- */
500
- HKQuantityTypeIdentifier["dietaryChromium"] = "HKQuantityTypeIdentifierDietaryChromium";
501
- // Mass, Cumulative
502
- /**
503
- * Dietary Molybdenum
504
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarymolybdenum Apple Docs HKQuantityTypeIdentifierDietaryMolybdenum}
505
- */
506
- HKQuantityTypeIdentifier["dietaryMolybdenum"] = "HKQuantityTypeIdentifierDietaryMolybdenum";
507
- // Mass, Cumulative
508
- /**
509
- * Dietary Chloride
510
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarychloride Apple Docs HKQuantityTypeIdentifierDietaryChloride}
511
- * @since iOS 8
512
- */
513
- HKQuantityTypeIdentifier["dietaryChloride"] = "HKQuantityTypeIdentifierDietaryChloride";
514
- // Mass, Cumulative
515
- /**
516
- * Dietary Potassium
517
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarypotassium Apple Docs HKQuantityTypeIdentifierDietaryPotassium}
518
- * @since iOS 8
519
- */
520
- HKQuantityTypeIdentifier["dietaryPotassium"] = "HKQuantityTypeIdentifierDietaryPotassium";
521
- // Mass, Cumulative
522
- /**
523
- * Dietary Caffeine
524
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycaffeine Apple Docs HKQuantityTypeIdentifierDietaryCaffeine}
525
- * @since iOS 8
526
- */
527
- HKQuantityTypeIdentifier["dietaryCaffeine"] = "HKQuantityTypeIdentifierDietaryCaffeine";
528
- // Mass, Cumulative
529
- /**
530
- * Dietary Water
531
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarywater Apple Docs HKQuantityTypeIdentifierDietaryWater}
532
- * @since iOS 9
533
- */
534
- HKQuantityTypeIdentifier["dietaryWater"] = "HKQuantityTypeIdentifierDietaryWater";
535
- // Volume, Cumulative
536
- // Mobility
537
- /**
538
- * Six Minute Walk Test Distance
539
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiersixminutewalktestdistance Apple Docs HKQuantityTypeIdentifierSixMinuteWalkTestDistance}
540
- * @since iOS 14
541
- */
542
- HKQuantityTypeIdentifier["sixMinuteWalkTestDistance"] = "HKQuantityTypeIdentifierSixMinuteWalkTestDistance";
543
- /**
544
- * Walking Speed
545
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingspeed Apple Docs HKQuantityTypeIdentifierWalkingSpeed}
546
- * @since iOS 14
547
- */
548
- HKQuantityTypeIdentifier["walkingSpeed"] = "HKQuantityTypeIdentifierWalkingSpeed";
549
- /**
550
- * Walking Step Length
551
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingsteplength Apple Docs HKQuantityTypeIdentifierWalkingStepLength}
552
- * @since iOS 14
553
- */
554
- HKQuantityTypeIdentifier["walkingStepLength"] = "HKQuantityTypeIdentifierWalkingStepLength";
555
- /**
556
- * Walking Asymmetry Percentage
557
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingasymmetrypercentage Apple Docs HKQuantityTypeIdentifierWalkingAsymmetryPercentage}
558
- * @since iOS 14
559
- */
560
- HKQuantityTypeIdentifier["walkingAsymmetryPercentage"] = "HKQuantityTypeIdentifierWalkingAsymmetryPercentage";
561
- /**
562
- * Walking Double Support Percentage
563
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingdoublesupportpercentage Apple Docs HKQuantityTypeIdentifierWalkingDoubleSupportPercentage}
564
- * @since iOS 14
565
- */
566
- HKQuantityTypeIdentifier["walkingDoubleSupportPercentage"] = "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage";
567
- /**
568
- * Stair Ascent Speed
569
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierstairascentspeed Apple Docs HKQuantityTypeIdentifierStairAscentSpeed}
570
- * @since iOS 14
571
- */
572
- HKQuantityTypeIdentifier["stairAscentSpeed"] = "HKQuantityTypeIdentifierStairAscentSpeed";
573
- /**
574
- * Stair Descent Speed
575
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierstairdescentspeed Apple Docs HKQuantityTypeIdentifierStairDescentSpeed}
576
- * @since iOS 14
577
- */
578
- HKQuantityTypeIdentifier["stairDescentSpeed"] = "HKQuantityTypeIdentifierStairDescentSpeed";
579
- /**
580
- * UV Exposure
581
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieruvexposure Apple Docs HKQuantityTypeIdentifierUVExposure}
582
- * @since iOS 9
583
- */
584
- HKQuantityTypeIdentifier["uvExposure"] = "HKQuantityTypeIdentifierUVExposure";
585
- // Scalar (Count), Discrete
586
- /**
587
- * Apple Move Time
588
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplemovetime Apple Docs HKQuantityTypeIdentifierAppleMoveTime}
589
- * @since iOS 14.5
590
- */
591
- HKQuantityTypeIdentifier["appleMoveTime"] = "HKQuantityTypeIdentifierAppleMoveTime";
592
- // Time, Cumulative
593
- /**
594
- * Apple Walking Steadiness
595
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplewalkingsteadiness Apple Docs HKQuantityTypeIdentifierAppleWalkingSteadiness}
596
- * @since iOS 15
597
- */
598
- HKQuantityTypeIdentifier["appleWalkingSteadiness"] = "HKQuantityTypeIdentifierAppleWalkingSteadiness";
599
- // Scalar(Percent, 0.0 - 1.0), Discrete
600
- /**
601
- * Number Of Alcoholic Beverages
602
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiernumberofalcoholicbeverages Apple Docs HKQuantityTypeIdentifierNumberOfAlcoholicBeverages}
603
- * @since iOS 15
604
- */
605
- HKQuantityTypeIdentifier["numberOfAlcoholicBeverages"] = "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages";
606
- // Scalar(Count), Cumulative
607
- /**
608
- * Atrial Fibrillation Burden
609
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieratrialfibrillationburden Apple Docs HKQuantityTypeIdentifierAtrialFibrillationBurden}
610
- * @since iOS 16
611
- */
612
- HKQuantityTypeIdentifier["atrialFibrillationBurden"] = "HKQuantityTypeIdentifierAtrialFibrillationBurden";
613
- // Scalar(Percent, 0.0 - 1.0), Discrete
614
- /**
615
- * Underwater Depth
616
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierunderwaterdepth Apple Docs HKQuantityTypeIdentifierUnderwaterDepth}
617
- * @since iOS 16
618
- */
619
- HKQuantityTypeIdentifier["underwaterDepth"] = "HKQuantityTypeIdentifierUnderwaterDepth";
620
- // Length, Discrete
621
- /**
622
- * Water Temperature
623
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwatertemperature Apple Docs HKQuantityTypeIdentifierWaterTemperature}
624
- * @since iOS 16
625
- */
626
- HKQuantityTypeIdentifier["waterTemperature"] = "HKQuantityTypeIdentifierWaterTemperature";
627
- // Temperature, Discrete
628
- /**
629
- * Apple Sleeping Wrist Temperature
630
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplesleepingwristtemperature Apple Docs HKQuantityTypeIdentifierAppleSleepingWristTemperature}
631
- * @since iOS 17
632
- */
633
- HKQuantityTypeIdentifier["appleSleepingWristTemperature"] = "HKQuantityTypeIdentifierAppleSleepingWristTemperature";
634
- // Temperature, Discrete
635
- /**
636
- * Time In Daylight
637
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiertimeindaylight Apple Docs HKQuantityTypeIdentifierTimeInDaylight}
638
- * @since iOS 17
639
- */
640
- HKQuantityTypeIdentifier["timeInDaylight"] = "HKQuantityTypeIdentifierTimeInDaylight";
641
- // Time, Cumulative
642
- /**
643
- * Physical Effort
644
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierphysicaleffort Apple Docs HKQuantityTypeIdentifierPhysicalEffort}
645
- * @since iOS 17
646
- */
647
- HKQuantityTypeIdentifier["physicalEffort"] = "HKQuantityTypeIdentifierPhysicalEffort";
648
- // Scalar (Percent, 0.0 - 1.0), Discrete
649
- /**
650
- * Cycling Speed
651
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingspeed Apple Docs HKQuantityTypeIdentifierCyclingSpeed}
652
- * @since iOS 17
653
- */
654
- HKQuantityTypeIdentifier["cyclingSpeed"] = "HKQuantityTypeIdentifierCyclingSpeed";
655
- /**
656
- * Cycling Power
657
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingpower Apple Docs HKQuantityTypeIdentifierCyclingPower}
658
- * @since iOS 17
659
- */
660
- HKQuantityTypeIdentifier["cyclingPower"] = "HKQuantityTypeIdentifierCyclingPower";
661
- /**
662
- * Cycling Functional Threshold Power
663
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingfunctionalthresholdpower Apple Docs HKQuantityTypeIdentifierCyclingFunctionalThresholdPower}
664
- * @since iOS 17
665
- */
666
- HKQuantityTypeIdentifier["cyclingFunctionalThresholdPower"] = "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower";
667
- /**
668
- * Cycling Cadence
669
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingcadence Apple Docs HKQuantityTypeIdentifierCyclingCadence}
670
- * @since iOS 17
671
- */
672
- HKQuantityTypeIdentifier["cyclingCadence"] = "HKQuantityTypeIdentifierCyclingCadence";
673
- /**
674
- * Environmental Sound Reduction
675
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierenvironmentalsoundreduction Apple Docs HKQuantityTypeIdentifierEnvironmentalSoundReduction}
676
- * @since iOS 16
677
- */
678
- HKQuantityTypeIdentifier["environmentalSoundReduction"] = "HKQuantityTypeIdentifierEnvironmentalSoundReduction";
679
- /**
680
- * Heart Rate Recovery One Minute
681
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheartraterecoveryoneminute Apple Docs HKQuantityTypeIdentifierHeartRateRecoveryOneMinute}
682
- * @since iOS 16
683
- */
684
- HKQuantityTypeIdentifier["heartRateRecoveryOneMinute"] = "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute";
685
- /**
686
- * Running Ground Contact Time
687
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunninggroundcontacttime Apple Docs HKQuantityTypeIdentifierRunningGroundContactTime}
688
- * @since iOS 16
689
- */
690
- HKQuantityTypeIdentifier["runningGroundContactTime"] = "HKQuantityTypeIdentifierRunningGroundContactTime";
691
- /**
692
- * Running Stride Length
693
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningstridelength Apple Docs HKQuantityTypeIdentifierRunningStrideLength}
694
- * @since iOS 16
695
- */
696
- HKQuantityTypeIdentifier["runningStrideLength"] = "HKQuantityTypeIdentifierRunningStrideLength";
697
- /**
698
- * Running Power
699
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningpower Apple Docs HKQuantityTypeIdentifierRunningPower}
700
- * @since iOS 16
701
- */
702
- HKQuantityTypeIdentifier["runningPower"] = "HKQuantityTypeIdentifierRunningPower";
703
- /**
704
- * Running Vertical Oscillation
705
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningverticaloscillation Apple Docs HKQuantityTypeIdentifierRunningVerticalOscillation}
706
- * @since iOS 16
707
- */
708
- HKQuantityTypeIdentifier["runningVerticalOscillation"] = "HKQuantityTypeIdentifierRunningVerticalOscillation";
709
- /**
710
- * Running Speed
711
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningspeed Apple Docs HKQuantityTypeIdentifierRunningSpeed}
712
- * @since iOS 16
713
- */
714
- HKQuantityTypeIdentifier["runningSpeed"] = "HKQuantityTypeIdentifierRunningSpeed";
715
- /**
716
- * Cross Country Skiing Speed
717
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierCrossCountrySkiingSpeed Apple Docs HKQuantityTypeIdentifierCrossCountrySkiingSpeed}
718
- * @since iOS 18
719
- */
720
- HKQuantityTypeIdentifier["crossCountrySkiingSpeed"] = "HKQuantityTypeIdentifierCrossCountrySkiingSpeed";
721
- /**
722
- * Cross Country Skiing Distance
723
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistanceCrossCountrySkiing Apple Docs HKQuantityTypeIdentifierCrossCountrySkiingDistance}
724
- * @since iOS 18
725
- */
726
- HKQuantityTypeIdentifier["distanceCrossCountrySkiing"] = "HKQuantityTypeIdentifierDistanceCrossCountrySkiing";
727
- /**
728
- * Paddle Sports Distance
729
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistancePaddleSports Apple Docs HKQuantityTypeIdentifierDistancePaddleSports}
730
- * @since iOS 18
731
- */
732
- HKQuantityTypeIdentifier["distancePaddleSports"] = "HKQuantityTypeIdentifierDistancePaddleSports";
733
- /**
734
- * Rowing Distance
735
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistanceRowing Apple Docs HKQuantityTypeIdentifierDistanceRowing}
736
- * @since iOS 18
737
- */
738
- HKQuantityTypeIdentifier["distanceRowing"] = "HKQuantityTypeIdentifierDistanceRowing";
739
- /**
740
- * Skating Sports Distance
741
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistanceSkatingSports Apple Docs HKQuantityTypeIdentifierDistanceSkatingSports}
742
- * @since iOS 18
743
- */
744
- HKQuantityTypeIdentifier["distanceSkatingSports"] = "HKQuantityTypeIdentifierDistanceSkatingSports";
745
- /**
746
- * Estimated Workout Effort Score
747
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierEstimatedWorkoutEffortScore Apple Docs HKQuantityTypeIdentifierEstimatedWorkoutEffortScore}
748
- * @since iOS 18
749
- */
750
- HKQuantityTypeIdentifier["estimatedWorkoutEffortScore"] = "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore";
751
- /**
752
- * Paddle Sports Speed
753
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierPaddleSportsSpeed Apple Docs HKQuantityTypeIdentifierPaddleSportsSpeed}
754
- * @since iOS 18
755
- */
756
- HKQuantityTypeIdentifier["paddleSportsSpeed"] = "HKQuantityTypeIdentifierPaddleSportsSpeed";
757
- /**
758
- * Rowing Speed
759
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierRowingSpeed Apple Docs HKQuantityTypeIdentifierRowingSpeed}
760
- * @since iOS 18
761
- */
762
- HKQuantityTypeIdentifier["rowingSpeed"] = "HKQuantityTypeIdentifierRowingSpeed";
763
- /**
764
- * Workout Effort Score
765
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierWorkoutEffortScore Apple Docs HKQuantityTypeIdentifierWorkoutEffortScore}
766
- * @since iOS 18
767
- */
768
- HKQuantityTypeIdentifier["workoutEffortScore"] = "HKQuantityTypeIdentifierWorkoutEffortScore";
769
- return HKQuantityTypeIdentifier;
770
- }({});
771
- let HKCategoryValueLowCardioFitnessEvent = exports.HKCategoryValueLowCardioFitnessEvent = /*#__PURE__*/function (HKCategoryValueLowCardioFitnessEvent) {
772
- HKCategoryValueLowCardioFitnessEvent[HKCategoryValueLowCardioFitnessEvent["lowFitness"] = 1] = "lowFitness";
773
- return HKCategoryValueLowCardioFitnessEvent;
774
- }({});
775
- let HKHeartRateMotionContext = exports.HKHeartRateMotionContext = /*#__PURE__*/function (HKHeartRateMotionContext) {
776
- HKHeartRateMotionContext[HKHeartRateMotionContext["active"] = 2] = "active";
777
- HKHeartRateMotionContext[HKHeartRateMotionContext["notSet"] = 0] = "notSet";
778
- HKHeartRateMotionContext[HKHeartRateMotionContext["sedentary"] = 1] = "sedentary";
779
- return HKHeartRateMotionContext;
780
- }({});
781
- /**
782
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcorrelationtypeidentifier Apple Docs }
783
- */
784
- let HKCorrelationTypeIdentifier = exports.HKCorrelationTypeIdentifier = /*#__PURE__*/function (HKCorrelationTypeIdentifier) {
785
- HKCorrelationTypeIdentifier["bloodPressure"] = "HKCorrelationTypeIdentifierBloodPressure";
786
- HKCorrelationTypeIdentifier["food"] = "HKCorrelationTypeIdentifierFood";
787
- return HKCorrelationTypeIdentifier;
788
- }({});
789
- /**
790
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifier Apple Docs }
791
- */
792
- let HKCategoryTypeIdentifier = exports.HKCategoryTypeIdentifier = /*#__PURE__*/function (HKCategoryTypeIdentifier) {
793
- HKCategoryTypeIdentifier["sleepAnalysis"] = "HKCategoryTypeIdentifierSleepAnalysis";
794
- HKCategoryTypeIdentifier["appleStandHour"] = "HKCategoryTypeIdentifierAppleStandHour";
795
- HKCategoryTypeIdentifier["cervicalMucusQuality"] = "HKCategoryTypeIdentifierCervicalMucusQuality";
796
- HKCategoryTypeIdentifier["ovulationTestResult"] = "HKCategoryTypeIdentifierOvulationTestResult";
797
- /**
798
- * @deprecated In iOS 18 beta
799
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifiermenstrualflow Apple Docs }
800
- */
801
- HKCategoryTypeIdentifier["menstrualFlow"] = "HKCategoryTypeIdentifierMenstrualFlow";
802
- HKCategoryTypeIdentifier["intermenstrualBleeding"] = "HKCategoryTypeIdentifierIntermenstrualBleeding";
803
- HKCategoryTypeIdentifier["sexualActivity"] = "HKCategoryTypeIdentifierSexualActivity";
804
- HKCategoryTypeIdentifier["mindfulSession"] = "HKCategoryTypeIdentifierMindfulSession";
805
- HKCategoryTypeIdentifier["highHeartRateEvent"] = "HKCategoryTypeIdentifierHighHeartRateEvent";
806
- HKCategoryTypeIdentifier["lowHeartRateEvent"] = "HKCategoryTypeIdentifierLowHeartRateEvent";
807
- HKCategoryTypeIdentifier["irregularHeartRhythmEvent"] = "HKCategoryTypeIdentifierIrregularHeartRhythmEvent";
808
- /**
809
- * @deprecated Use environmentalAudioExposureEvent instead.
810
- */
811
- HKCategoryTypeIdentifier["audioExposureEvent"] = "HKCategoryTypeIdentifierAudioExposureEvent";
812
- HKCategoryTypeIdentifier["toothbrushingEvent"] = "HKCategoryTypeIdentifierToothbrushingEvent";
813
- HKCategoryTypeIdentifier["lowCardioFitnessEvent"] = "HKCategoryTypeIdentifierLowCardioFitnessEvent";
814
- HKCategoryTypeIdentifier["contraceptive"] = "HKCategoryTypeIdentifierContraceptive";
815
- HKCategoryTypeIdentifier["lactation"] = "HKCategoryTypeIdentifierLactation";
816
- HKCategoryTypeIdentifier["pregnancy"] = "HKCategoryTypeIdentifierPregnancy";
817
- HKCategoryTypeIdentifier["pregnancyTestResult"] = "HKCategoryTypeIdentifierPregnancyTestResult";
818
- HKCategoryTypeIdentifier["progesteroneTestResult"] = "HKCategoryTypeIdentifierProgesteroneTestResult";
819
- HKCategoryTypeIdentifier["environmentalAudioExposureEvent"] = "HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent";
820
- HKCategoryTypeIdentifier["headphoneAudioExposureEvent"] = "HKCategoryTypeIdentifierHeadphoneAudioExposureEvent";
821
- HKCategoryTypeIdentifier["appleWalkingSteadinessEvent"] = "HKCategoryTypeIdentifierAppleWalkingSteadinessEvent";
822
- HKCategoryTypeIdentifier["handwashingEvent"] = "HKCategoryTypeIdentifierHandwashingEvent";
823
- // HKCategoryValue
824
- // Symptoms
825
- HKCategoryTypeIdentifier["abdominalCramps"] = "HKCategoryTypeIdentifierAbdominalCramps";
826
- // HKCategoryValueSeverity
827
- HKCategoryTypeIdentifier["acne"] = "HKCategoryTypeIdentifierAcne";
828
- // HKCategoryValueSeverity
829
- HKCategoryTypeIdentifier["appetiteChanges"] = "HKCategoryTypeIdentifierAppetiteChanges";
830
- // HKCategoryValueAppetiteChanges
831
- HKCategoryTypeIdentifier["bladderIncontinence"] = "HKCategoryTypeIdentifierBladderIncontinence";
832
- // HKCategoryValueSeverity
833
- HKCategoryTypeIdentifier["bloating"] = "HKCategoryTypeIdentifierBloating";
834
- // HKCategoryValueSeverity
835
- HKCategoryTypeIdentifier["breastPain"] = "HKCategoryTypeIdentifierBreastPain";
836
- // HKCategoryValueSeverity
837
- HKCategoryTypeIdentifier["chestTightnessOrPain"] = "HKCategoryTypeIdentifierChestTightnessOrPain";
838
- // HKCategoryValueSeverity
839
- HKCategoryTypeIdentifier["chills"] = "HKCategoryTypeIdentifierChills";
840
- // HKCategoryValueSeverity
841
- HKCategoryTypeIdentifier["constipation"] = "HKCategoryTypeIdentifierConstipation";
842
- // HKCategoryValueSeverity
843
- HKCategoryTypeIdentifier["coughing"] = "HKCategoryTypeIdentifierCoughing";
844
- // HKCategoryValueSeverity
845
- HKCategoryTypeIdentifier["diarrhea"] = "HKCategoryTypeIdentifierDiarrhea";
846
- // HKCategoryValueSeverity
847
- HKCategoryTypeIdentifier["dizziness"] = "HKCategoryTypeIdentifierDizziness";
848
- // HKCategoryValueSeverity
849
- HKCategoryTypeIdentifier["drySkin"] = "HKCategoryTypeIdentifierDrySkin";
850
- // HKCategoryValueSeverity
851
- HKCategoryTypeIdentifier["fainting"] = "HKCategoryTypeIdentifierFainting";
852
- // HKCategoryValueSeverity
853
- HKCategoryTypeIdentifier["fatigue"] = "HKCategoryTypeIdentifierFatigue";
854
- // HKCategoryValueSeverity
855
- HKCategoryTypeIdentifier["fever"] = "HKCategoryTypeIdentifierFever";
856
- // HKCategoryValueSeverity
857
- HKCategoryTypeIdentifier["generalizedBodyAche"] = "HKCategoryTypeIdentifierGeneralizedBodyAche";
858
- // HKCategoryValueSeverity
859
- HKCategoryTypeIdentifier["hairLoss"] = "HKCategoryTypeIdentifierHairLoss";
860
- // HKCategoryValueSeverity
861
- HKCategoryTypeIdentifier["headache"] = "HKCategoryTypeIdentifierHeadache";
862
- // HKCategoryValueSeverity
863
- HKCategoryTypeIdentifier["heartburn"] = "HKCategoryTypeIdentifierHeartburn";
864
- // HKCategoryValueSeverity
865
- HKCategoryTypeIdentifier["hotFlashes"] = "HKCategoryTypeIdentifierHotFlashes";
866
- // HKCategoryValueSeverity
867
- HKCategoryTypeIdentifier["lossOfSmell"] = "HKCategoryTypeIdentifierLossOfSmell";
868
- // HKCategoryValueSeverity
869
- HKCategoryTypeIdentifier["lossOfTaste"] = "HKCategoryTypeIdentifierLossOfTaste";
870
- // HKCategoryValueSeverity
871
- HKCategoryTypeIdentifier["lowerBackPain"] = "HKCategoryTypeIdentifierLowerBackPain";
872
- // HKCategoryValueSeverity
873
- HKCategoryTypeIdentifier["memoryLapse"] = "HKCategoryTypeIdentifierMemoryLapse";
874
- // HKCategoryValueSeverity
875
- HKCategoryTypeIdentifier["moodChanges"] = "HKCategoryTypeIdentifierMoodChanges";
876
- // HKCategoryValuePresence
877
- HKCategoryTypeIdentifier["nausea"] = "HKCategoryTypeIdentifierNausea";
878
- // HKCategoryValueSeverity
879
- HKCategoryTypeIdentifier["nightSweats"] = "HKCategoryTypeIdentifierNightSweats";
880
- // HKCategoryValueSeverity
881
- HKCategoryTypeIdentifier["pelvicPain"] = "HKCategoryTypeIdentifierPelvicPain";
882
- // HKCategoryValueSeverity
883
- HKCategoryTypeIdentifier["rapidPoundingOrFlutteringHeartbeat"] = "HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat";
884
- // HKCategoryValueSeverity
885
- HKCategoryTypeIdentifier["runnyNose"] = "HKCategoryTypeIdentifierRunnyNose";
886
- // HKCategoryValueSeverity
887
- HKCategoryTypeIdentifier["shortnessOfBreath"] = "HKCategoryTypeIdentifierShortnessOfBreath";
888
- // HKCategoryValueSeverity
889
- HKCategoryTypeIdentifier["sinusCongestion"] = "HKCategoryTypeIdentifierSinusCongestion";
890
- // HKCategoryValueSeverity
891
- HKCategoryTypeIdentifier["skippedHeartbeat"] = "HKCategoryTypeIdentifierSkippedHeartbeat";
892
- // HKCategoryValueSeverity
893
- HKCategoryTypeIdentifier["sleepChanges"] = "HKCategoryTypeIdentifierSleepChanges";
894
- // HKCategoryValuePresence
895
- HKCategoryTypeIdentifier["soreThroat"] = "HKCategoryTypeIdentifierSoreThroat";
896
- // HKCategoryValueSeverity
897
- HKCategoryTypeIdentifier["vaginalDryness"] = "HKCategoryTypeIdentifierVaginalDryness";
898
- // HKCategoryValueSeverity
899
- HKCategoryTypeIdentifier["vomiting"] = "HKCategoryTypeIdentifierVomiting";
900
- // HKCategoryValueSeverity
901
- HKCategoryTypeIdentifier["wheezing"] = "HKCategoryTypeIdentifierWheezing";
902
- // HKCategoryValueSeverity
903
- /**
904
- * Bleeding After Pregnancy
905
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifierbleedingafterpregnancy Apple Docs }
906
- * @since iOS 18
907
- */
908
- HKCategoryTypeIdentifier["bleedingAfterPregnancy"] = "HKCategoryTypeIdentifierBleedingAfterPregnancy";
909
- // HKCategoryValueSeverity
910
- /**
911
- * Bleeding During Pregnancy
912
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifierbleedingduringpregnancy Apple Docs }
913
- * @since iOS 18
914
- */
915
- HKCategoryTypeIdentifier["bleedingDuringPregnancy"] = "HKCategoryTypeIdentifierBleedingDuringPregnancy"; // HKCategoryValueSeverity
916
- return HKCategoryTypeIdentifier;
917
- }({});
918
- let HKCategoryValueAppleStandHour = exports.HKCategoryValueAppleStandHour = /*#__PURE__*/function (HKCategoryValueAppleStandHour) {
919
- HKCategoryValueAppleStandHour[HKCategoryValueAppleStandHour["stood"] = 0] = "stood";
920
- HKCategoryValueAppleStandHour[HKCategoryValueAppleStandHour["idle"] = 1] = "idle";
921
- return HKCategoryValueAppleStandHour;
922
- }({});
923
- let HKWorkoutActivityType = exports.HKWorkoutActivityType = /*#__PURE__*/function (HKWorkoutActivityType) {
924
- HKWorkoutActivityType[HKWorkoutActivityType["americanFootball"] = 1] = "americanFootball";
925
- HKWorkoutActivityType[HKWorkoutActivityType["archery"] = 2] = "archery";
926
- HKWorkoutActivityType[HKWorkoutActivityType["australianFootball"] = 3] = "australianFootball";
927
- HKWorkoutActivityType[HKWorkoutActivityType["badminton"] = 4] = "badminton";
928
- HKWorkoutActivityType[HKWorkoutActivityType["baseball"] = 5] = "baseball";
929
- HKWorkoutActivityType[HKWorkoutActivityType["basketball"] = 6] = "basketball";
930
- HKWorkoutActivityType[HKWorkoutActivityType["bowling"] = 7] = "bowling";
931
- HKWorkoutActivityType[HKWorkoutActivityType["boxing"] = 8] = "boxing";
932
- // See also HKWorkoutActivityTypeKickboxing.,
933
- HKWorkoutActivityType[HKWorkoutActivityType["climbing"] = 9] = "climbing";
934
- HKWorkoutActivityType[HKWorkoutActivityType["cricket"] = 10] = "cricket";
935
- HKWorkoutActivityType[HKWorkoutActivityType["crossTraining"] = 11] = "crossTraining";
936
- // Any mix of cardio and/or strength training. See also HKWorkoutActivityTypeCoreTraining and HKWorkoutActivityTypeFlexibility.,
937
- HKWorkoutActivityType[HKWorkoutActivityType["curling"] = 12] = "curling";
938
- HKWorkoutActivityType[HKWorkoutActivityType["cycling"] = 13] = "cycling";
939
- HKWorkoutActivityType[HKWorkoutActivityType["dance"] = 14] = "dance";
940
- HKWorkoutActivityType[HKWorkoutActivityType["danceInspiredTraining"] = 15] = "danceInspiredTraining";
941
- // This enum remains available to access older data.,
942
- HKWorkoutActivityType[HKWorkoutActivityType["elliptical"] = 16] = "elliptical";
943
- HKWorkoutActivityType[HKWorkoutActivityType["equestrianSports"] = 17] = "equestrianSports";
944
- // Polo, Horse Racing, Horse Riding, etc.,
945
- HKWorkoutActivityType[HKWorkoutActivityType["fencing"] = 18] = "fencing";
946
- HKWorkoutActivityType[HKWorkoutActivityType["fishing"] = 19] = "fishing";
947
- HKWorkoutActivityType[HKWorkoutActivityType["functionalStrengthTraining"] = 20] = "functionalStrengthTraining";
948
- // Primarily free weights and/or body weight and/or accessories,
949
- HKWorkoutActivityType[HKWorkoutActivityType["golf"] = 21] = "golf";
950
- HKWorkoutActivityType[HKWorkoutActivityType["gymnastics"] = 22] = "gymnastics";
951
- HKWorkoutActivityType[HKWorkoutActivityType["handball"] = 23] = "handball";
952
- HKWorkoutActivityType[HKWorkoutActivityType["hiking"] = 24] = "hiking";
953
- HKWorkoutActivityType[HKWorkoutActivityType["hockey"] = 25] = "hockey";
954
- // Ice Hockey, Field Hockey, etc.,
955
- HKWorkoutActivityType[HKWorkoutActivityType["hunting"] = 26] = "hunting";
956
- HKWorkoutActivityType[HKWorkoutActivityType["lacrosse"] = 27] = "lacrosse";
957
- HKWorkoutActivityType[HKWorkoutActivityType["martialArts"] = 28] = "martialArts";
958
- HKWorkoutActivityType[HKWorkoutActivityType["mindAndBody"] = 29] = "mindAndBody";
959
- // Qigong, meditation, etc.,
960
- HKWorkoutActivityType[HKWorkoutActivityType["mixedMetabolicCardioTraining"] = 30] = "mixedMetabolicCardioTraining";
961
- // This enum remains available to access older data.,
962
- HKWorkoutActivityType[HKWorkoutActivityType["paddleSports"] = 31] = "paddleSports";
963
- // Canoeing, Kayaking, Outrigger, Stand Up Paddle Board, etc.,
964
- HKWorkoutActivityType[HKWorkoutActivityType["play"] = 32] = "play";
965
- // Dodge Ball, Hopscotch, Tetherball, Jungle Gym, etc.,
966
- HKWorkoutActivityType[HKWorkoutActivityType["preparationAndRecovery"] = 33] = "preparationAndRecovery";
967
- // Foam rolling, stretching, etc.,
968
- HKWorkoutActivityType[HKWorkoutActivityType["racquetball"] = 34] = "racquetball";
969
- HKWorkoutActivityType[HKWorkoutActivityType["rowing"] = 35] = "rowing";
970
- HKWorkoutActivityType[HKWorkoutActivityType["rugby"] = 36] = "rugby";
971
- HKWorkoutActivityType[HKWorkoutActivityType["running"] = 37] = "running";
972
- HKWorkoutActivityType[HKWorkoutActivityType["sailing"] = 38] = "sailing";
973
- HKWorkoutActivityType[HKWorkoutActivityType["skatingSports"] = 39] = "skatingSports";
974
- // Ice Skating, Speed Skating, Inline Skating, Skateboarding, etc.,
975
- HKWorkoutActivityType[HKWorkoutActivityType["snowSports"] = 40] = "snowSports";
976
- // Sledding, Snowmobiling, Building a Snowman, etc. See also HKWorkoutActivityTypeCrossCountrySkiing, HKWorkoutActivityTypeSnowboarding, and HKWorkoutActivityTypeDownhillSkiing.,
977
- HKWorkoutActivityType[HKWorkoutActivityType["soccer"] = 41] = "soccer";
978
- HKWorkoutActivityType[HKWorkoutActivityType["softball"] = 42] = "softball";
979
- HKWorkoutActivityType[HKWorkoutActivityType["squash"] = 43] = "squash";
980
- HKWorkoutActivityType[HKWorkoutActivityType["stairClimbing"] = 44] = "stairClimbing";
981
- // See also HKWorkoutActivityTypeStairs and HKWorkoutActivityTypeStepTraining.,
982
- HKWorkoutActivityType[HKWorkoutActivityType["surfingSports"] = 45] = "surfingSports";
983
- // Traditional Surfing, Kite Surfing, Wind Surfing, etc.,
984
- HKWorkoutActivityType[HKWorkoutActivityType["swimming"] = 46] = "swimming";
985
- HKWorkoutActivityType[HKWorkoutActivityType["tableTennis"] = 47] = "tableTennis";
986
- HKWorkoutActivityType[HKWorkoutActivityType["tennis"] = 48] = "tennis";
987
- HKWorkoutActivityType[HKWorkoutActivityType["trackAndField"] = 49] = "trackAndField";
988
- // Shot Put, Javelin, Pole Vaulting, etc.,
989
- HKWorkoutActivityType[HKWorkoutActivityType["traditionalStrengthTraining"] = 50] = "traditionalStrengthTraining";
990
- // Primarily machines and/or free weights,
991
- HKWorkoutActivityType[HKWorkoutActivityType["volleyball"] = 51] = "volleyball";
992
- HKWorkoutActivityType[HKWorkoutActivityType["walking"] = 52] = "walking";
993
- HKWorkoutActivityType[HKWorkoutActivityType["waterFitness"] = 53] = "waterFitness";
994
- HKWorkoutActivityType[HKWorkoutActivityType["waterPolo"] = 54] = "waterPolo";
995
- HKWorkoutActivityType[HKWorkoutActivityType["waterSports"] = 55] = "waterSports";
996
- // Water Skiing, Wake Boarding, etc.,
997
- HKWorkoutActivityType[HKWorkoutActivityType["wrestling"] = 56] = "wrestling";
998
- HKWorkoutActivityType[HKWorkoutActivityType["yoga"] = 57] = "yoga";
999
- HKWorkoutActivityType[HKWorkoutActivityType["barre"] = 58] = "barre";
1000
- // HKWorkoutActivityTypeDanceInspiredTraining,
1001
- HKWorkoutActivityType[HKWorkoutActivityType["coreTraining"] = 59] = "coreTraining";
1002
- HKWorkoutActivityType[HKWorkoutActivityType["crossCountrySkiing"] = 60] = "crossCountrySkiing";
1003
- HKWorkoutActivityType[HKWorkoutActivityType["downhillSkiing"] = 61] = "downhillSkiing";
1004
- HKWorkoutActivityType[HKWorkoutActivityType["flexibility"] = 62] = "flexibility";
1005
- HKWorkoutActivityType[HKWorkoutActivityType["highIntensityIntervalTraining"] = 63] = "highIntensityIntervalTraining";
1006
- HKWorkoutActivityType[HKWorkoutActivityType["jumpRope"] = 64] = "jumpRope";
1007
- HKWorkoutActivityType[HKWorkoutActivityType["kickboxing"] = 65] = "kickboxing";
1008
- HKWorkoutActivityType[HKWorkoutActivityType["pilates"] = 66] = "pilates";
1009
- // HKWorkoutActivityTypeDanceInspiredTraining,
1010
- HKWorkoutActivityType[HKWorkoutActivityType["snowboarding"] = 67] = "snowboarding";
1011
- HKWorkoutActivityType[HKWorkoutActivityType["stairs"] = 68] = "stairs";
1012
- HKWorkoutActivityType[HKWorkoutActivityType["stepTraining"] = 69] = "stepTraining";
1013
- HKWorkoutActivityType[HKWorkoutActivityType["wheelchairWalkPace"] = 70] = "wheelchairWalkPace";
1014
- HKWorkoutActivityType[HKWorkoutActivityType["wheelchairRunPace"] = 71] = "wheelchairRunPace";
1015
- HKWorkoutActivityType[HKWorkoutActivityType["taiChi"] = 72] = "taiChi";
1016
- HKWorkoutActivityType[HKWorkoutActivityType["mixedCardio"] = 73] = "mixedCardio";
1017
- // HKWorkoutActivityTypeMixedMetabolicCardioTraining,
1018
- HKWorkoutActivityType[HKWorkoutActivityType["handCycling"] = 74] = "handCycling";
1019
- HKWorkoutActivityType[HKWorkoutActivityType["discSports"] = 75] = "discSports";
1020
- HKWorkoutActivityType[HKWorkoutActivityType["fitnessGaming"] = 76] = "fitnessGaming";
1021
- HKWorkoutActivityType[HKWorkoutActivityType["cardioDance"] = 77] = "cardioDance";
1022
- HKWorkoutActivityType[HKWorkoutActivityType["socialDance"] = 78] = "socialDance";
1023
- HKWorkoutActivityType[HKWorkoutActivityType["pickleball"] = 79] = "pickleball";
1024
- HKWorkoutActivityType[HKWorkoutActivityType["cooldown"] = 80] = "cooldown";
1025
- HKWorkoutActivityType[HKWorkoutActivityType["swimBikeRun"] = 82] = "swimBikeRun";
1026
- HKWorkoutActivityType[HKWorkoutActivityType["transition"] = 83] = "transition";
1027
- HKWorkoutActivityType[HKWorkoutActivityType["underwaterDiving"] = 84] = "underwaterDiving";
1028
- HKWorkoutActivityType[HKWorkoutActivityType["other"] = 3000] = "other";
1029
- return HKWorkoutActivityType;
1030
- }({});
1031
- // documented at https://developer.apple.com/documentation/healthkit/hkweathercondition
1032
- let HKWeatherCondition = exports.HKWeatherCondition = /*#__PURE__*/function (HKWeatherCondition) {
1033
- HKWeatherCondition[HKWeatherCondition["none"] = 0] = "none";
1034
- HKWeatherCondition[HKWeatherCondition["clear"] = 1] = "clear";
1035
- HKWeatherCondition[HKWeatherCondition["fair"] = 2] = "fair";
1036
- HKWeatherCondition[HKWeatherCondition["partlyCloudy"] = 3] = "partlyCloudy";
1037
- HKWeatherCondition[HKWeatherCondition["mostlyCloudy"] = 4] = "mostlyCloudy";
1038
- HKWeatherCondition[HKWeatherCondition["cloudy"] = 5] = "cloudy";
1039
- HKWeatherCondition[HKWeatherCondition["foggy"] = 6] = "foggy";
1040
- HKWeatherCondition[HKWeatherCondition["haze"] = 7] = "haze";
1041
- HKWeatherCondition[HKWeatherCondition["windy"] = 8] = "windy";
1042
- HKWeatherCondition[HKWeatherCondition["blustery"] = 9] = "blustery";
1043
- HKWeatherCondition[HKWeatherCondition["smoky"] = 10] = "smoky";
1044
- HKWeatherCondition[HKWeatherCondition["dust"] = 11] = "dust";
1045
- HKWeatherCondition[HKWeatherCondition["snow"] = 12] = "snow";
1046
- HKWeatherCondition[HKWeatherCondition["hail"] = 13] = "hail";
1047
- HKWeatherCondition[HKWeatherCondition["sleet"] = 14] = "sleet";
1048
- HKWeatherCondition[HKWeatherCondition["freezingDrizzle"] = 15] = "freezingDrizzle";
1049
- HKWeatherCondition[HKWeatherCondition["freezingRain"] = 16] = "freezingRain";
1050
- HKWeatherCondition[HKWeatherCondition["mixedRainAndHail"] = 17] = "mixedRainAndHail";
1051
- HKWeatherCondition[HKWeatherCondition["mixedRainAndSnow"] = 18] = "mixedRainAndSnow";
1052
- HKWeatherCondition[HKWeatherCondition["mixedRainAndSleet"] = 19] = "mixedRainAndSleet";
1053
- HKWeatherCondition[HKWeatherCondition["mixedSnowAndSleet"] = 20] = "mixedSnowAndSleet";
1054
- HKWeatherCondition[HKWeatherCondition["drizzle"] = 21] = "drizzle";
1055
- HKWeatherCondition[HKWeatherCondition["scatteredShowers"] = 22] = "scatteredShowers";
1056
- HKWeatherCondition[HKWeatherCondition["showers"] = 23] = "showers";
1057
- HKWeatherCondition[HKWeatherCondition["thunderstorms"] = 24] = "thunderstorms";
1058
- HKWeatherCondition[HKWeatherCondition["tropicalStorm"] = 25] = "tropicalStorm";
1059
- HKWeatherCondition[HKWeatherCondition["hurricane"] = 26] = "hurricane";
1060
- HKWeatherCondition[HKWeatherCondition["tornado"] = 27] = "tornado";
1061
- return HKWeatherCondition;
1062
- }({});
1063
- var HKIndoorWorkout = /*#__PURE__*/function (HKIndoorWorkout) {
1064
- HKIndoorWorkout[HKIndoorWorkout["false"] = 0] = "false";
1065
- HKIndoorWorkout[HKIndoorWorkout["true"] = 1] = "true";
1066
- return HKIndoorWorkout;
1067
- }(HKIndoorWorkout || {});
1068
- /**
1069
- * @see {@link https://developer.apple.com/documentation/healthkit/hkauthorizationrequeststatus Apple Docs }
1070
- */
1071
- let HKAuthorizationRequestStatus = exports.HKAuthorizationRequestStatus = /*#__PURE__*/function (HKAuthorizationRequestStatus) {
1072
- HKAuthorizationRequestStatus[HKAuthorizationRequestStatus["unknown"] = 0] = "unknown";
1073
- HKAuthorizationRequestStatus[HKAuthorizationRequestStatus["shouldRequest"] = 1] = "shouldRequest";
1074
- HKAuthorizationRequestStatus[HKAuthorizationRequestStatus["unnecessary"] = 2] = "unnecessary";
1075
- return HKAuthorizationRequestStatus;
1076
- }({});
1077
- /**
1078
- * @see {@link https://developer.apple.com/documentation/healthkit/hkauthorizationstatus Apple Docs }
1079
- */
1080
- let HKAuthorizationStatus = exports.HKAuthorizationStatus = /*#__PURE__*/function (HKAuthorizationStatus) {
1081
- HKAuthorizationStatus[HKAuthorizationStatus["notDetermined"] = 0] = "notDetermined";
1082
- HKAuthorizationStatus[HKAuthorizationStatus["sharingDenied"] = 1] = "sharingDenied";
1083
- HKAuthorizationStatus[HKAuthorizationStatus["sharingAuthorized"] = 2] = "sharingAuthorized";
1084
- return HKAuthorizationStatus;
1085
- }({});
1086
- /**
1087
- * @see {@link https://developer.apple.com/documentation/healthkit/hkbloodtype Apple Docs }
1088
- */
1089
- let HKBloodType = exports.HKBloodType = /*#__PURE__*/function (HKBloodType) {
1090
- HKBloodType[HKBloodType["notSet"] = 0] = "notSet";
1091
- HKBloodType[HKBloodType["aPositive"] = 1] = "aPositive";
1092
- HKBloodType[HKBloodType["aNegative"] = 2] = "aNegative";
1093
- HKBloodType[HKBloodType["bPositive"] = 3] = "bPositive";
1094
- HKBloodType[HKBloodType["bNegative"] = 4] = "bNegative";
1095
- HKBloodType[HKBloodType["abPositive"] = 5] = "abPositive";
1096
- HKBloodType[HKBloodType["abNegative"] = 6] = "abNegative";
1097
- HKBloodType[HKBloodType["oPositive"] = 7] = "oPositive";
1098
- HKBloodType[HKBloodType["oNegative"] = 8] = "oNegative";
1099
- return HKBloodType;
1100
- }({});
1101
- /**
1102
- * @see {@link https://developer.apple.com/documentation/healthkit/hkbiologicalsex Apple Docs }
1103
- */
1104
- let HKBiologicalSex = exports.HKBiologicalSex = /*#__PURE__*/function (HKBiologicalSex) {
1105
- HKBiologicalSex[HKBiologicalSex["notSet"] = 0] = "notSet";
1106
- HKBiologicalSex[HKBiologicalSex["female"] = 1] = "female";
1107
- HKBiologicalSex[HKBiologicalSex["male"] = 2] = "male";
1108
- HKBiologicalSex[HKBiologicalSex["other"] = 3] = "other";
1109
- return HKBiologicalSex;
1110
- }({});
1111
- /**
1112
- * @see {@link https://developer.apple.com/documentation/healthkit/hkfitzpatrickskintype Apple Docs }
1113
- */
1114
- let HKFitzpatrickSkinType = exports.HKFitzpatrickSkinType = /*#__PURE__*/function (HKFitzpatrickSkinType) {
1115
- HKFitzpatrickSkinType[HKFitzpatrickSkinType["notSet"] = 0] = "notSet";
1116
- HKFitzpatrickSkinType[HKFitzpatrickSkinType["I"] = 1] = "I";
1117
- HKFitzpatrickSkinType[HKFitzpatrickSkinType["II"] = 2] = "II";
1118
- HKFitzpatrickSkinType[HKFitzpatrickSkinType["III"] = 3] = "III";
1119
- HKFitzpatrickSkinType[HKFitzpatrickSkinType["IV"] = 4] = "IV";
1120
- HKFitzpatrickSkinType[HKFitzpatrickSkinType["V"] = 5] = "V";
1121
- HKFitzpatrickSkinType[HKFitzpatrickSkinType["VI"] = 6] = "VI";
1122
- return HKFitzpatrickSkinType;
1123
- }({});
1124
- /**
1125
- * @see {@link https://developer.apple.com/documentation/healthkit/hkstatisticsoptions Apple Docs }
1126
- */
1127
- let HKStatisticsOptions = exports.HKStatisticsOptions = /*#__PURE__*/function (HKStatisticsOptions) {
1128
- HKStatisticsOptions["cumulativeSum"] = "cumulativeSum";
1129
- HKStatisticsOptions["discreteAverage"] = "discreteAverage";
1130
- HKStatisticsOptions["discreteMax"] = "discreteMax";
1131
- HKStatisticsOptions["discreteMin"] = "discreteMin";
1132
- HKStatisticsOptions["discreteMostRecent"] = "discreteMostRecent";
1133
- HKStatisticsOptions["duration"] = "duration";
1134
- HKStatisticsOptions["mostRecent"] = "mostRecent";
1135
- HKStatisticsOptions["separateBySource"] = "separateBySource";
1136
- return HKStatisticsOptions;
1137
- }({});
1138
- /**
1139
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategoryvaluecervicalmucusquality Apple Docs }
1140
- */
1141
- let HKCategoryValueCervicalMucusQuality = exports.HKCategoryValueCervicalMucusQuality = /*#__PURE__*/function (HKCategoryValueCervicalMucusQuality) {
1142
- HKCategoryValueCervicalMucusQuality[HKCategoryValueCervicalMucusQuality["dry"] = 1] = "dry";
1143
- HKCategoryValueCervicalMucusQuality[HKCategoryValueCervicalMucusQuality["sticky"] = 2] = "sticky";
1144
- HKCategoryValueCervicalMucusQuality[HKCategoryValueCervicalMucusQuality["creamy"] = 3] = "creamy";
1145
- HKCategoryValueCervicalMucusQuality[HKCategoryValueCervicalMucusQuality["watery"] = 4] = "watery";
1146
- HKCategoryValueCervicalMucusQuality[HKCategoryValueCervicalMucusQuality["eggWhite"] = 5] = "eggWhite";
1147
- return HKCategoryValueCervicalMucusQuality;
1148
- }({});
1149
- /**
1150
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategoryvaluemenstrualflow Apple Docs }
1151
- * @deprecated In iOS 18 beta
1152
- */
1153
- let HKCategoryValueMenstrualFlow = exports.HKCategoryValueMenstrualFlow = /*#__PURE__*/function (HKCategoryValueMenstrualFlow) {
1154
- HKCategoryValueMenstrualFlow[HKCategoryValueMenstrualFlow["unspecified"] = 1] = "unspecified";
1155
- HKCategoryValueMenstrualFlow[HKCategoryValueMenstrualFlow["none"] = 5] = "none";
1156
- HKCategoryValueMenstrualFlow[HKCategoryValueMenstrualFlow["light"] = 2] = "light";
1157
- HKCategoryValueMenstrualFlow[HKCategoryValueMenstrualFlow["medium"] = 3] = "medium";
1158
- HKCategoryValueMenstrualFlow[HKCategoryValueMenstrualFlow["heavy"] = 4] = "heavy";
1159
- return HKCategoryValueMenstrualFlow;
1160
- }({});
1161
- /**
1162
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategoryvalueovulationtestresult Apple Docs }
1163
- */
1164
- let HKCategoryValueOvulationTestResult = exports.HKCategoryValueOvulationTestResult = /*#__PURE__*/function (HKCategoryValueOvulationTestResult) {
1165
- HKCategoryValueOvulationTestResult[HKCategoryValueOvulationTestResult["negative"] = 1] = "negative";
1166
- HKCategoryValueOvulationTestResult[HKCategoryValueOvulationTestResult["luteinizingHormoneSurge"] = 2] = "luteinizingHormoneSurge";
1167
- HKCategoryValueOvulationTestResult[HKCategoryValueOvulationTestResult["indeterminate"] = 3] = "indeterminate";
1168
- HKCategoryValueOvulationTestResult[HKCategoryValueOvulationTestResult["estrogenSurge"] = 4] = "estrogenSurge";
1169
- return HKCategoryValueOvulationTestResult;
1170
- }({});
1171
- /**
1172
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategoryvaluesleepanalysis Apple Docs }
1173
- */
1174
- let HKCategoryValueSleepAnalysis = exports.HKCategoryValueSleepAnalysis = /*#__PURE__*/function (HKCategoryValueSleepAnalysis) {
1175
- HKCategoryValueSleepAnalysis[HKCategoryValueSleepAnalysis["inBed"] = 0] = "inBed";
1176
- HKCategoryValueSleepAnalysis[HKCategoryValueSleepAnalysis["asleepUnspecified"] = 1] = "asleepUnspecified";
1177
- HKCategoryValueSleepAnalysis[HKCategoryValueSleepAnalysis["awake"] = 2] = "awake";
1178
- HKCategoryValueSleepAnalysis[HKCategoryValueSleepAnalysis["asleepCore"] = 3] = "asleepCore";
1179
- HKCategoryValueSleepAnalysis[HKCategoryValueSleepAnalysis["asleepDeep"] = 4] = "asleepDeep";
1180
- HKCategoryValueSleepAnalysis[HKCategoryValueSleepAnalysis["asleepREM"] = 5] = "asleepREM";
1181
- return HKCategoryValueSleepAnalysis;
1182
- }({});
1183
- /**
1184
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategoryvalueappetitechanges Apple Docs}
1185
- */
1186
- let HKCategoryValueAppetiteChanges = exports.HKCategoryValueAppetiteChanges = /*#__PURE__*/function (HKCategoryValueAppetiteChanges) {
1187
- HKCategoryValueAppetiteChanges[HKCategoryValueAppetiteChanges["decreased"] = 2] = "decreased";
1188
- HKCategoryValueAppetiteChanges[HKCategoryValueAppetiteChanges["increased"] = 3] = "increased";
1189
- HKCategoryValueAppetiteChanges[HKCategoryValueAppetiteChanges["noChange"] = 1] = "noChange";
1190
- HKCategoryValueAppetiteChanges[HKCategoryValueAppetiteChanges["unspecified"] = 0] = "unspecified";
1191
- return HKCategoryValueAppetiteChanges;
1192
- }({});
1193
- /**
1194
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategoryvaluepresence Apple Docs}
1195
- */
1196
- let HKCategoryValuePresence = exports.HKCategoryValuePresence = /*#__PURE__*/function (HKCategoryValuePresence) {
1197
- HKCategoryValuePresence[HKCategoryValuePresence["notPresent"] = 1] = "notPresent";
1198
- HKCategoryValuePresence[HKCategoryValuePresence["present"] = 0] = "present";
1199
- return HKCategoryValuePresence;
1200
- }({});
1201
- /**
1202
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategoryvalueseverity Apple Docs }
1203
- */
1204
- let HKCategoryValueSeverity = exports.HKCategoryValueSeverity = /*#__PURE__*/function (HKCategoryValueSeverity) {
1205
- HKCategoryValueSeverity[HKCategoryValueSeverity["notPresent"] = 1] = "notPresent";
1206
- HKCategoryValueSeverity[HKCategoryValueSeverity["mild"] = 2] = "mild";
1207
- HKCategoryValueSeverity[HKCategoryValueSeverity["moderate"] = 3] = "moderate";
1208
- HKCategoryValueSeverity[HKCategoryValueSeverity["severe"] = 4] = "severe";
1209
- HKCategoryValueSeverity[HKCategoryValueSeverity["unspecified"] = 0] = "unspecified";
1210
- return HKCategoryValueSeverity;
1211
- }({});
1212
- /**
1213
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategoryvalue/notapplicable Apple Docs }
1214
- */
1215
- let HKCategoryValueNotApplicable = exports.HKCategoryValueNotApplicable = /*#__PURE__*/function (HKCategoryValueNotApplicable) {
1216
- HKCategoryValueNotApplicable[HKCategoryValueNotApplicable["notApplicable"] = 0] = "notApplicable";
1217
- return HKCategoryValueNotApplicable;
1218
- }({});
1219
- /**
1220
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategoryvalue Apple Docs }
1221
- */
1222
- /**
1223
- * @see {@link https://developer.apple.com/documentation/healthkit/hkinsulindeliveryreason Apple Docs }
1224
- */
1225
- let HKInsulinDeliveryReason = exports.HKInsulinDeliveryReason = /*#__PURE__*/function (HKInsulinDeliveryReason) {
1226
- HKInsulinDeliveryReason[HKInsulinDeliveryReason["basal"] = 1] = "basal";
1227
- HKInsulinDeliveryReason[HKInsulinDeliveryReason["bolus"] = 2] = "bolus";
1228
- return HKInsulinDeliveryReason;
1229
- }({});
1230
- /**
1231
- * @see {@link https://developer.apple.com/documentation/healthkit/hkcategoryvaluepregnancytestresult Apple Docs }
1232
- */
1233
- var HKCategoryValuePregnancyTestResult = /*#__PURE__*/function (HKCategoryValuePregnancyTestResult) {
1234
- HKCategoryValuePregnancyTestResult[HKCategoryValuePregnancyTestResult["positive"] = 2] = "positive";
1235
- HKCategoryValuePregnancyTestResult[HKCategoryValuePregnancyTestResult["negative"] = 1] = "negative";
1236
- HKCategoryValuePregnancyTestResult[HKCategoryValuePregnancyTestResult["indeterminate"] = 3] = "indeterminate";
1237
- return HKCategoryValuePregnancyTestResult;
1238
- }(HKCategoryValuePregnancyTestResult || {});
1239
- /* needs further mapping
1240
-
1241
- contraceptive = 'HKCategoryTypeIdentifierContraceptive',
1242
- lactation = 'HKCategoryTypeIdentifierLactation',
1243
- pregnancy = 'HKCategoryTypeIdentifierPregnancy',
1244
-
1245
- progesteroneTestResult = 'HKCategoryTypeIdentifierProgesteroneTestResult',
1246
- environmentalAudioExposureEvent = 'HKCategoryTypeIdentifierEnvironmentalAudioExposureEvent',
1247
- headphoneAudioExposureEvent = 'HKCategoryTypeIdentifierHeadphoneAudioExposureEvent',
1248
- appleWalkingSteadinessEvent = 'HKCategoryTypeIdentifierAppleWalkingSteadinessEvent',
1249
- handwashingEvent = 'HKCategoryTypeIdentifierHandwashingEvent', // HKCategoryValue */
1250
- // Maps directly to https://developer.apple.com/documentation/healthkit/hkwheelchairuse
1251
- let HKWheelchairUse = exports.HKWheelchairUse = /*#__PURE__*/function (HKWheelchairUse) {
1252
- HKWheelchairUse[HKWheelchairUse["notSet"] = 0] = "notSet";
1253
- HKWheelchairUse[HKWheelchairUse["no"] = 1] = "no";
1254
- HKWheelchairUse[HKWheelchairUse["yes"] = 2] = "yes";
1255
- return HKWheelchairUse;
1256
- }({}); // Unit types are a straight mapping from here https://developer.apple.com/documentation/healthkit/hkunit/1615733-init
1257
- let HKMetricPrefix = exports.HKMetricPrefix = /*#__PURE__*/function (HKMetricPrefix) {
1258
- HKMetricPrefix["None"] = "";
1259
- HKMetricPrefix["Pico"] = "p";
1260
- HKMetricPrefix["Nano"] = "n";
1261
- HKMetricPrefix["Micro"] = "mc";
1262
- HKMetricPrefix["Milli"] = "m";
1263
- HKMetricPrefix["Centi"] = "c";
1264
- HKMetricPrefix["Deci"] = "d";
1265
- HKMetricPrefix["Deca"] = "da";
1266
- HKMetricPrefix["Hecto"] = "h";
1267
- HKMetricPrefix["Kilo"] = "k";
1268
- HKMetricPrefix["Mega"] = "M";
1269
- HKMetricPrefix["Giga"] = "G";
1270
- HKMetricPrefix["Tera"] = "T";
1271
- HKMetricPrefix["Femto"] = "f";
1272
- return HKMetricPrefix;
1273
- }({});
1274
- let HKUnitMetric = exports.HKUnitMetric = /*#__PURE__*/function (HKUnitMetric) {
1275
- HKUnitMetric["Gram"] = "g";
1276
- HKUnitMetric["Joule"] = "J";
1277
- HKUnitMetric["Kelvin"] = "K";
1278
- HKUnitMetric["Liter"] = "l";
1279
- HKUnitMetric["Meter"] = "m";
1280
- HKUnitMetric["Pascal"] = "Pa";
1281
- HKUnitMetric["Second"] = "s";
1282
- HKUnitMetric["Siemen"] = "S";
1283
- HKUnitMetric["Hertz"] = "Hz";
1284
- HKUnitMetric["Volt"] = "V";
1285
- return HKUnitMetric;
1286
- }({});
1287
- let HKUnits = exports.HKUnits = /*#__PURE__*/function (HKUnits) {
1288
- HKUnits["DecibelHearingLevel"] = "dBHL";
1289
- HKUnits["DecibelSoundPressureLevel"] = "dBASPL";
1290
- HKUnits["Percent"] = "%";
1291
- HKUnits["Count"] = "count";
1292
- HKUnits["InternationalUnit"] = "IU";
1293
- HKUnits["AppleEffortScore"] = "appleEffortScore";
1294
- return HKUnits;
1295
- }({}); // not 100% sure about these
1296
- /**
1297
- * More SI prefixes also available as literals, just type the string
1298
- * @example 'cm', 'km'
1299
- */
1300
- let UnitOfLength = exports.UnitOfLength = /*#__PURE__*/function (UnitOfLength) {
1301
- UnitOfLength["Feet"] = "ft";
1302
- /**
1303
- * More SI prefixes also available as literals, just type the string
1304
- * @example 'cm', 'km'
1305
- */
1306
- UnitOfLength["Meter"] = "m";
1307
- UnitOfLength["Inches"] = "in";
1308
- UnitOfLength["Yards"] = "yd";
1309
- UnitOfLength["Miles"] = "mi";
1310
- return UnitOfLength;
1311
- }({});
1312
- /**
1313
- * More SI prefixes also available as literals, just type the string
1314
- * @example 'ml', 'cl'
1315
- */
1316
- let UnitOfVolume = exports.UnitOfVolume = /*#__PURE__*/function (UnitOfVolume) {
1317
- UnitOfVolume["ImperialCup"] = "cup_imp";
1318
- UnitOfVolume["ImperialFluidOunces"] = "fl_oz_imp";
1319
- UnitOfVolume["ImperialPint"] = "pt_imp";
1320
- UnitOfVolume["USCup"] = "cup_us";
1321
- UnitOfVolume["USFluidOunces"] = "fl_oz_us";
1322
- UnitOfVolume["USPint"] = "pt_us";
1323
- /**
1324
- * More SI prefixes also available as literals, just type the string
1325
- * @example 'ml', 'cl'
1326
- */
1327
- UnitOfVolume["Liter"] = "l";
1328
- return UnitOfVolume;
1329
- }({});
1330
- /**
1331
- * More SI prefixes also available as literals, just type the string
1332
- * @example 'mg', 'kg'
1333
- */
1334
- let UnitOfMass = exports.UnitOfMass = /*#__PURE__*/function (UnitOfMass) {
1335
- UnitOfMass["Ounces"] = "oz";
1336
- UnitOfMass["Stones"] = "st";
1337
- UnitOfMass["Pounds"] = "lb";
1338
- /**
1339
- * More SI prefixes also available as literals, just type the string
1340
- * @example 'mg', 'kg'
1341
- */
1342
- UnitOfMass["Gram"] = "g";
1343
- return UnitOfMass;
1344
- }({});
1345
- /**
1346
- * More SI prefixes also available as literals, just type the string
1347
- * @example 'mg', 'kg'
1348
- */
1349
- /**
1350
- * More SI prefixes also available as literals, just type the string
1351
- * @example 'kPa', 'hPa'
1352
- */
1353
- let UnitOfPressure = exports.UnitOfPressure = /*#__PURE__*/function (UnitOfPressure) {
1354
- UnitOfPressure["Atmospheres"] = "atm";
1355
- UnitOfPressure["CentimetersOfWater"] = "cmAq";
1356
- UnitOfPressure["MillimetersOfMercury"] = "mmHg";
1357
- UnitOfPressure["InchesOfMercury"] = "inHg";
1358
- UnitOfPressure["DecibelAWeightedSoundPressureLevel"] = "dBASPL";
1359
- /**
1360
- * More SI prefixes also available as literals, just type the string
1361
- * @example 'kPa', 'hPa'
1362
- */
1363
- UnitOfPressure["Pascals"] = "Pa";
1364
- return UnitOfPressure;
1365
- }({});
1366
- /**
1367
- * More SI prefixes also available as literals, just type the string
1368
- * @example 'kPa', 'hPa'
1369
- */
1370
- /**
1371
- * More SI prefixes also available as literals, just type the string
1372
- * @example 'ms'
1373
- */
1374
- let UnitOfTime = exports.UnitOfTime = /*#__PURE__*/function (UnitOfTime) {
1375
- UnitOfTime["Days"] = "d";
1376
- UnitOfTime["Minutes"] = "min";
1377
- UnitOfTime["Hours"] = "hr";
1378
- /**
1379
- * More SI prefixes also available as literals, just type the string
1380
- * @example 'ms'
1381
- */
1382
- UnitOfTime["Seconds"] = "s";
1383
- return UnitOfTime;
1384
- }({});
1385
- /**
1386
- * More SI prefixes also available as literals, just type the string
1387
- * @example 'ms'
1388
- */
1389
- let TemperatureUnit = exports.TemperatureUnit = /*#__PURE__*/function (TemperatureUnit) {
1390
- TemperatureUnit["DegreesCelsius"] = "degC";
1391
- TemperatureUnit["DegreesFahrenheit"] = "degF";
1392
- TemperatureUnit["Kelvin"] = "K";
1393
- return TemperatureUnit;
1394
- }({});
1395
- /**
1396
- * More SI prefixes also available as literals, just type the string
1397
- * @example 'kJ'
1398
- */
1399
- let UnitOfEnergy = exports.UnitOfEnergy = /*#__PURE__*/function (UnitOfEnergy) {
1400
- UnitOfEnergy["Kilocalories"] = "kcal";
1401
- UnitOfEnergy["LargeCalories"] = "Cal";
1402
- UnitOfEnergy["SmallCalories"] = "cal";
1403
- /**
1404
- * More SI prefixes also available as literals, just type the string
1405
- * @example 'kJ'
1406
- */
1407
- UnitOfEnergy["Joules"] = "J";
1408
- return UnitOfEnergy;
1409
- }({});
1410
- let BloodGlucoseUnit = exports.BloodGlucoseUnit = /*#__PURE__*/function (BloodGlucoseUnit) {
1411
- BloodGlucoseUnit["GlucoseMmolPerL"] = "mmol<180.15588000005408>/l";
1412
- BloodGlucoseUnit["GlucoseMgPerDl"] = "mg/dL";
1413
- return BloodGlucoseUnit;
1414
- }({});
1415
- /**
1416
- * @see {@link https://developer.apple.com/documentation/healthkit/hkdevice Apple Docs }
1417
- */
1418
- /**
1419
- * @see {@link https://developer.apple.com/documentation/healthkit/hkobject/1615781-source Apple Docs }
1420
- */
1421
- /**
1422
- * @see {@link https://developer.apple.com/documentation/healthkit/hkobject/1615483-sourcerevision Apple Docs }
1423
- */
1424
- /**
1425
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitysample Apple Docs }
1426
- */
1427
- /**
1428
- * @see {@link https://developer.apple.com/documentation/healthkit/hkworkouteventtype Apple Docs }
1429
- */
1430
- let HKWorkoutEventType = exports.HKWorkoutEventType = /*#__PURE__*/function (HKWorkoutEventType) {
1431
- HKWorkoutEventType[HKWorkoutEventType["pause"] = 1] = "pause";
1432
- HKWorkoutEventType[HKWorkoutEventType["resume"] = 2] = "resume";
1433
- HKWorkoutEventType[HKWorkoutEventType["lap"] = 3] = "lap";
1434
- HKWorkoutEventType[HKWorkoutEventType["marker"] = 4] = "marker";
1435
- HKWorkoutEventType[HKWorkoutEventType["motionPaused"] = 5] = "motionPaused";
1436
- HKWorkoutEventType[HKWorkoutEventType["motionResumed"] = 6] = "motionResumed";
1437
- HKWorkoutEventType[HKWorkoutEventType["segment"] = 7] = "segment";
1438
- HKWorkoutEventType[HKWorkoutEventType["pauseOrResumeRequest"] = 8] = "pauseOrResumeRequest";
1439
- return HKWorkoutEventType;
1440
- }({});
1441
- // Straight mapping to https://developer.apple.com/documentation/healthkit/hkcharacteristictypeidentifier
1442
- let HKCharacteristicTypeIdentifier = exports.HKCharacteristicTypeIdentifier = /*#__PURE__*/function (HKCharacteristicTypeIdentifier) {
1443
- HKCharacteristicTypeIdentifier["fitzpatrickSkinType"] = "HKCharacteristicTypeIdentifierFitzpatrickSkinType";
1444
- HKCharacteristicTypeIdentifier["biologicalSex"] = "HKCharacteristicTypeIdentifierBiologicalSex";
1445
- HKCharacteristicTypeIdentifier["bloodType"] = "HKCharacteristicTypeIdentifierBloodType";
1446
- HKCharacteristicTypeIdentifier["dateOfBirth"] = "HKCharacteristicTypeIdentifierDateOfBirth";
1447
- HKCharacteristicTypeIdentifier["wheelchairUse"] = "HKCharacteristicTypeIdentifierWheelchairUse";
1448
- HKCharacteristicTypeIdentifier["activityMoveMode"] = "HKCharacteristicTypeIdentifierActivityMoveMode"; // HKActivityMoveModeObject
1449
- return HKCharacteristicTypeIdentifier;
1450
- }({});
1451
- /**
1452
- * @see {@link https://developer.apple.com/documentation/healthkit/hkupdatefrequency Apple Docs }
1453
- */
1454
- let HKUpdateFrequency = exports.HKUpdateFrequency = /*#__PURE__*/function (HKUpdateFrequency) {
1455
- HKUpdateFrequency[HKUpdateFrequency["immediate"] = 1] = "immediate";
1456
- HKUpdateFrequency[HKUpdateFrequency["hourly"] = 2] = "hourly";
1457
- HKUpdateFrequency[HKUpdateFrequency["daily"] = 3] = "daily";
1458
- HKUpdateFrequency[HKUpdateFrequency["weekly"] = 4] = "weekly";
1459
- return HKUpdateFrequency;
1460
- }({});
1461
- /**
1462
- * @see {@link https://developer.apple.com/documentation/healthkit/hkworkoutconfiguration Apple Docs }
1463
- */
1464
- /**
1465
- * @see {@link https://developer.apple.com/documentation/healthkit/hkworkoutsessionlocationtype Apple Docs }
1466
- */
1467
- let HKWorkoutSessionLocationType = exports.HKWorkoutSessionLocationType = /*#__PURE__*/function (HKWorkoutSessionLocationType) {
1468
- HKWorkoutSessionLocationType[HKWorkoutSessionLocationType["unknown"] = 1] = "unknown";
1469
- HKWorkoutSessionLocationType[HKWorkoutSessionLocationType["indoor"] = 2] = "indoor";
1470
- HKWorkoutSessionLocationType[HKWorkoutSessionLocationType["outdoor"] = 3] = "outdoor";
1471
- return HKWorkoutSessionLocationType;
1472
- }({});
1473
- /**
1474
- * @see {@link https://developer.apple.com/documentation/healthkit/hkworkoutsessionstate Apple Docs }
1475
- */
1476
- let WorkoutSessionState = exports.WorkoutSessionState = /*#__PURE__*/function (WorkoutSessionState) {
1477
- WorkoutSessionState[WorkoutSessionState["NotStarted"] = 1] = "NotStarted";
1478
- WorkoutSessionState[WorkoutSessionState["Running"] = 2] = "Running";
1479
- WorkoutSessionState[WorkoutSessionState["Ended"] = 3] = "Ended";
1480
- WorkoutSessionState[WorkoutSessionState["Paused"] = 4] = "Paused";
1481
- WorkoutSessionState[WorkoutSessionState["Prepared"] = 5] = "Prepared";
1482
- WorkoutSessionState[WorkoutSessionState["Stopped"] = 6] = "Stopped";
1483
- return WorkoutSessionState;
1484
- }({});
1485
- let HKStateOfMindValenceClassification = exports.HKStateOfMindValenceClassification = /*#__PURE__*/function (HKStateOfMindValenceClassification) {
1486
- HKStateOfMindValenceClassification[HKStateOfMindValenceClassification["veryUnpleasant"] = 1] = "veryUnpleasant";
1487
- HKStateOfMindValenceClassification[HKStateOfMindValenceClassification["unpleasant"] = 2] = "unpleasant";
1488
- HKStateOfMindValenceClassification[HKStateOfMindValenceClassification["slightlyUnpleasant"] = 3] = "slightlyUnpleasant";
1489
- HKStateOfMindValenceClassification[HKStateOfMindValenceClassification["neutral"] = 4] = "neutral";
1490
- HKStateOfMindValenceClassification[HKStateOfMindValenceClassification["slightlyPleasant"] = 5] = "slightlyPleasant";
1491
- HKStateOfMindValenceClassification[HKStateOfMindValenceClassification["pleasant"] = 6] = "pleasant";
1492
- HKStateOfMindValenceClassification[HKStateOfMindValenceClassification["veryPleasant"] = 7] = "veryPleasant";
1493
- return HKStateOfMindValenceClassification;
1494
- }({});
1495
- const Native = _reactNative.NativeModules.ReactNativeHealthkit;
1496
- const EventEmitter = exports.EventEmitter = new _reactNative.NativeEventEmitter(_reactNative.NativeModules.ReactNativeHealthkit);
1497
- var _default = exports.default = Native;
1498
- /**
1499
- * @see {@link https://developer.apple.com/documentation/healthkit/hkstateofmind/label Apple Docs}
1500
- */
1501
- let HKStateOfMindLabel = exports.HKStateOfMindLabel = /*#__PURE__*/function (HKStateOfMindLabel) {
1502
- HKStateOfMindLabel[HKStateOfMindLabel["amazed"] = 1] = "amazed";
1503
- HKStateOfMindLabel[HKStateOfMindLabel["amused"] = 2] = "amused";
1504
- HKStateOfMindLabel[HKStateOfMindLabel["angry"] = 3] = "angry";
1505
- HKStateOfMindLabel[HKStateOfMindLabel["anxious"] = 4] = "anxious";
1506
- HKStateOfMindLabel[HKStateOfMindLabel["ashamed"] = 5] = "ashamed";
1507
- HKStateOfMindLabel[HKStateOfMindLabel["brave"] = 6] = "brave";
1508
- HKStateOfMindLabel[HKStateOfMindLabel["calm"] = 7] = "calm";
1509
- HKStateOfMindLabel[HKStateOfMindLabel["content"] = 8] = "content";
1510
- HKStateOfMindLabel[HKStateOfMindLabel["disappointed"] = 9] = "disappointed";
1511
- HKStateOfMindLabel[HKStateOfMindLabel["discouraged"] = 10] = "discouraged";
1512
- HKStateOfMindLabel[HKStateOfMindLabel["disgusted"] = 11] = "disgusted";
1513
- HKStateOfMindLabel[HKStateOfMindLabel["embarrassed"] = 12] = "embarrassed";
1514
- HKStateOfMindLabel[HKStateOfMindLabel["excited"] = 13] = "excited";
1515
- HKStateOfMindLabel[HKStateOfMindLabel["frustrated"] = 14] = "frustrated";
1516
- HKStateOfMindLabel[HKStateOfMindLabel["grateful"] = 15] = "grateful";
1517
- HKStateOfMindLabel[HKStateOfMindLabel["guilty"] = 16] = "guilty";
1518
- HKStateOfMindLabel[HKStateOfMindLabel["happy"] = 17] = "happy";
1519
- HKStateOfMindLabel[HKStateOfMindLabel["hopeless"] = 18] = "hopeless";
1520
- HKStateOfMindLabel[HKStateOfMindLabel["irritated"] = 19] = "irritated";
1521
- HKStateOfMindLabel[HKStateOfMindLabel["jealous"] = 20] = "jealous";
1522
- HKStateOfMindLabel[HKStateOfMindLabel["joyful"] = 21] = "joyful";
1523
- HKStateOfMindLabel[HKStateOfMindLabel["lonely"] = 22] = "lonely";
1524
- HKStateOfMindLabel[HKStateOfMindLabel["passionate"] = 23] = "passionate";
1525
- HKStateOfMindLabel[HKStateOfMindLabel["peaceful"] = 24] = "peaceful";
1526
- HKStateOfMindLabel[HKStateOfMindLabel["proud"] = 25] = "proud";
1527
- HKStateOfMindLabel[HKStateOfMindLabel["relieved"] = 26] = "relieved";
1528
- HKStateOfMindLabel[HKStateOfMindLabel["sad"] = 27] = "sad";
1529
- HKStateOfMindLabel[HKStateOfMindLabel["scared"] = 28] = "scared";
1530
- HKStateOfMindLabel[HKStateOfMindLabel["stressed"] = 29] = "stressed";
1531
- HKStateOfMindLabel[HKStateOfMindLabel["surprised"] = 30] = "surprised";
1532
- HKStateOfMindLabel[HKStateOfMindLabel["worried"] = 31] = "worried";
1533
- HKStateOfMindLabel[HKStateOfMindLabel["annoyed"] = 32] = "annoyed";
1534
- HKStateOfMindLabel[HKStateOfMindLabel["confident"] = 33] = "confident";
1535
- HKStateOfMindLabel[HKStateOfMindLabel["drained"] = 34] = "drained";
1536
- HKStateOfMindLabel[HKStateOfMindLabel["hopeful"] = 35] = "hopeful";
1537
- HKStateOfMindLabel[HKStateOfMindLabel["indifferent"] = 36] = "indifferent";
1538
- HKStateOfMindLabel[HKStateOfMindLabel["overwhelmed"] = 37] = "overwhelmed";
1539
- HKStateOfMindLabel[HKStateOfMindLabel["satisfied"] = 38] = "satisfied";
1540
- return HKStateOfMindLabel;
1541
- }({});
1542
- /**
1543
- * @see {@link https://developer.apple.com/documentation/healthkit/hkstateofmind/kind Apple Docs}
1544
- */
1545
- let HKStateOfMindKind = exports.HKStateOfMindKind = /*#__PURE__*/function (HKStateOfMindKind) {
1546
- HKStateOfMindKind[HKStateOfMindKind["dailyMood"] = 2] = "dailyMood";
1547
- HKStateOfMindKind[HKStateOfMindKind["momentaryEmotion"] = 1] = "momentaryEmotion";
1548
- return HKStateOfMindKind;
1549
- }({});
1550
- /**
1551
- * @see {@link https://developer.apple.com/documentation/healthkit/hkstateofmind/association Apple Docs}
1552
- * @since iOS 17.0+
1553
- */
1554
- let HKStateOfMindAssociation = exports.HKStateOfMindAssociation = /*#__PURE__*/function (HKStateOfMindAssociation) {
1555
- HKStateOfMindAssociation[HKStateOfMindAssociation["community"] = 1] = "community";
1556
- HKStateOfMindAssociation[HKStateOfMindAssociation["currentEvents"] = 2] = "currentEvents";
1557
- HKStateOfMindAssociation[HKStateOfMindAssociation["dating"] = 3] = "dating";
1558
- HKStateOfMindAssociation[HKStateOfMindAssociation["education"] = 4] = "education";
1559
- HKStateOfMindAssociation[HKStateOfMindAssociation["family"] = 5] = "family";
1560
- HKStateOfMindAssociation[HKStateOfMindAssociation["fitness"] = 6] = "fitness";
1561
- HKStateOfMindAssociation[HKStateOfMindAssociation["friends"] = 7] = "friends";
1562
- HKStateOfMindAssociation[HKStateOfMindAssociation["health"] = 8] = "health";
1563
- HKStateOfMindAssociation[HKStateOfMindAssociation["hobbies"] = 9] = "hobbies";
1564
- HKStateOfMindAssociation[HKStateOfMindAssociation["identity"] = 10] = "identity";
1565
- HKStateOfMindAssociation[HKStateOfMindAssociation["money"] = 11] = "money";
1566
- HKStateOfMindAssociation[HKStateOfMindAssociation["partner"] = 12] = "partner";
1567
- HKStateOfMindAssociation[HKStateOfMindAssociation["selfCare"] = 13] = "selfCare";
1568
- HKStateOfMindAssociation[HKStateOfMindAssociation["spirituality"] = 14] = "spirituality";
1569
- HKStateOfMindAssociation[HKStateOfMindAssociation["tasks"] = 15] = "tasks";
1570
- HKStateOfMindAssociation[HKStateOfMindAssociation["travel"] = 16] = "travel";
1571
- HKStateOfMindAssociation[HKStateOfMindAssociation["work"] = 17] = "work";
1572
- HKStateOfMindAssociation[HKStateOfMindAssociation["weather"] = 18] = "weather";
1573
- return HKStateOfMindAssociation;
1574
- }({});
1575
- //# sourceMappingURL=native-types.js.map