@kingstinct/react-native-healthkit 13.3.1 → 14.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 (191) hide show
  1. package/ReactNativeHealthkit.podspec +1 -0
  2. package/app.plugin.ts +40 -2
  3. package/ios/BackgroundDeliveryManager.swift +196 -0
  4. package/ios/CategoryTypeModule.swift +1 -1
  5. package/ios/CoreModule.swift +24 -0
  6. package/ios/CorrelationTypeModule.swift +2 -35
  7. package/ios/ElectrocardiogramModule.swift +2 -34
  8. package/ios/HeartbeatSeriesModule.swift +2 -34
  9. package/ios/MedicationModule.swift +3 -35
  10. package/ios/PredicateHelpers.swift +2 -2
  11. package/ios/QuantityTypeModule.swift +11 -11
  12. package/ios/Serializers.swift +58 -90
  13. package/ios/StateOfMindModule.swift +2 -34
  14. package/ios/WorkoutProxy.swift +4 -149
  15. package/ios/generated/HealthkitGenerated.swift +52 -0
  16. package/lib/commonjs/generated/healthkit.generated.js +745 -0
  17. package/lib/commonjs/healthkit.ios.js +51 -17
  18. package/lib/commonjs/healthkit.js +120 -34
  19. package/lib/commonjs/specs/QuantityTypeModule.nitro.js +1 -0
  20. package/lib/commonjs/type-tests/generated-typing.js +2 -0
  21. package/lib/commonjs/types/CategoryType.js +19 -99
  22. package/lib/commonjs/types/Medication.js +2 -0
  23. package/lib/commonjs/types/MetadataEnums.js +17 -0
  24. package/lib/commonjs/types/QuantityType.js +4 -15
  25. package/lib/commonjs/types/WeatherCondition.js +2 -32
  26. package/lib/commonjs/types/Workouts.js +3 -98
  27. package/lib/commonjs/types/index.js +2 -0
  28. package/lib/module/generated/healthkit.generated.js +742 -0
  29. package/lib/module/healthkit.ios.js +49 -15
  30. package/lib/module/healthkit.js +94 -20
  31. package/lib/module/specs/QuantityTypeModule.nitro.js +1 -0
  32. package/lib/module/type-tests/generated-typing.js +1 -0
  33. package/lib/module/types/CategoryType.js +2 -98
  34. package/lib/module/types/Medication.js +1 -0
  35. package/lib/module/types/MetadataEnums.js +1 -0
  36. package/lib/module/types/QuantityType.js +2 -14
  37. package/lib/module/types/WeatherCondition.js +1 -32
  38. package/lib/module/types/Workouts.js +2 -98
  39. package/lib/module/types/index.js +2 -0
  40. package/lib/typescript/generated/healthkit.generated.d.ts +1006 -0
  41. package/lib/typescript/healthkit.d.ts +39 -36
  42. package/lib/typescript/healthkit.ios.d.ts +64 -53
  43. package/lib/typescript/hooks/useMostRecentQuantitySample.d.ts +3 -2
  44. package/lib/typescript/hooks/useMostRecentWorkout.d.ts +2 -2
  45. package/lib/typescript/hooks/useQuantitySampleById.d.ts +5 -4
  46. package/lib/typescript/hooks/useStatisticsForQuantity.d.ts +2 -2
  47. package/lib/typescript/hooks/useSubscribeToQuantitySamples.d.ts +1 -1
  48. package/lib/typescript/modules.d.ts +2 -2
  49. package/lib/typescript/specs/CategoryTypeModule.nitro.d.ts +3 -3
  50. package/lib/typescript/specs/CoreModule.nitro.d.ts +15 -0
  51. package/lib/typescript/specs/QuantityTypeModule.nitro.d.ts +20 -9
  52. package/lib/typescript/type-tests/generated-typing.d.ts +1 -0
  53. package/lib/typescript/types/CategoryType.d.ts +10 -104
  54. package/lib/typescript/types/CategoryTypeIdentifier.d.ts +1 -61
  55. package/lib/typescript/types/CorrelationType.d.ts +8 -2
  56. package/lib/typescript/types/ElectrocardiogramSample.d.ts +8 -1
  57. package/lib/typescript/types/HeartbeatSeries.d.ts +8 -1
  58. package/lib/typescript/types/InterfaceVerification.d.ts +14 -1
  59. package/lib/typescript/types/Medication.d.ts +10 -0
  60. package/lib/typescript/types/MetadataEnums.d.ts +1 -0
  61. package/lib/typescript/types/QuantitySample.d.ts +9 -1
  62. package/lib/typescript/types/QuantityType.d.ts +14 -18
  63. package/lib/typescript/types/QuantityTypeIdentifier.d.ts +1 -671
  64. package/lib/typescript/types/QueryOptions.d.ts +8 -4
  65. package/lib/typescript/types/Shared.d.ts +12 -41
  66. package/lib/typescript/types/StateOfMind.d.ts +8 -1
  67. package/lib/typescript/types/Subscriptions.d.ts +11 -11
  68. package/lib/typescript/types/WeatherCondition.d.ts +1 -30
  69. package/lib/typescript/types/Workouts.d.ts +20 -104
  70. package/lib/typescript/types/index.d.ts +2 -0
  71. package/lib/typescript/utils/getMostRecentQuantitySample.d.ts +2 -1
  72. package/lib/typescript/utils/getMostRecentWorkout.d.ts +2 -1
  73. package/lib/typescript/utils/getPreferredUnit.d.ts +2 -1
  74. package/lib/typescript/utils/getQuantitySampleById.d.ts +2 -1
  75. package/lib/typescript/utils/subscribeToQuantitySamples.d.ts +1 -1
  76. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +55 -109
  77. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Umbrella.hpp +12 -18
  78. package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +5 -14
  79. package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.hpp +18 -2
  80. package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +1 -13
  81. package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.hpp +1 -13
  82. package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +2 -14
  83. package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.hpp +1 -13
  84. package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +19 -28
  85. package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +2 -14
  86. package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +3 -116
  87. package/nitrogen/generated/ios/swift/CategorySample.swift +4 -329
  88. package/nitrogen/generated/ios/swift/CategoryTypeIdentifier.swift +112 -108
  89. package/nitrogen/generated/ios/swift/CategoryTypeIdentifierWriteable.swift +292 -0
  90. package/nitrogen/generated/ios/swift/CorrelationSample.swift +4 -347
  91. package/nitrogen/generated/ios/swift/ElectrocardiogramSample.swift +4 -329
  92. package/nitrogen/generated/ios/swift/FilterForWorkouts.swift +30 -30
  93. package/nitrogen/generated/ios/swift/FilterForWorkoutsBase.swift +30 -30
  94. package/nitrogen/generated/ios/swift/GeneralForm.swift +4 -4
  95. package/nitrogen/generated/ios/swift/HeartbeatSeriesSample.swift +4 -329
  96. package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec.swift +1 -1
  97. package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec_cxx.swift +1 -1
  98. package/nitrogen/generated/ios/swift/HybridCoreModuleSpec.swift +2 -0
  99. package/nitrogen/generated/ios/swift/HybridCoreModuleSpec_cxx.swift +38 -0
  100. package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec.swift +6 -6
  101. package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec_cxx.swift +6 -6
  102. package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec.swift +1 -27
  103. package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec_cxx.swift +2 -340
  104. package/nitrogen/generated/ios/swift/MedicationDoseEvent.swift +4 -329
  105. package/nitrogen/generated/ios/swift/ObjectTypeIdentifier.swift +492 -492
  106. package/nitrogen/generated/ios/swift/QuantitySample.swift +4 -329
  107. package/nitrogen/generated/ios/swift/QuantityTypeIdentifier.swift +380 -384
  108. package/nitrogen/generated/ios/swift/QuantityTypeIdentifierWriteable.swift +372 -376
  109. package/nitrogen/generated/ios/swift/{QueryOptionsWithAnchorAndUnit.swift → QueryOptionsWithAnchorAndStringUnit.swift} +5 -5
  110. package/nitrogen/generated/ios/swift/{QueryOptionsWithSortOrderAndUnit.swift → QueryOptionsWithSortOrderAndStringUnit.swift} +5 -5
  111. package/nitrogen/generated/ios/swift/QueryStatisticsResponseFromSingleSource.swift +37 -37
  112. package/nitrogen/generated/ios/swift/SampleTypeIdentifier.swift +492 -492
  113. package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +482 -486
  114. package/nitrogen/generated/ios/swift/StateOfMindSample.swift +4 -329
  115. package/nitrogen/generated/ios/swift/{StatisticsQueryOptions.swift → StatisticsQueryOptionsWithStringUnit.swift} +5 -5
  116. package/nitrogen/generated/ios/swift/WorkoutEvent.swift +20 -2
  117. package/nitrogen/generated/ios/swift/WorkoutSample.swift +4 -402
  118. package/nitrogen/generated/shared/c++/CategorySample.hpp +8 -100
  119. package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +153 -149
  120. package/nitrogen/generated/shared/c++/CategoryTypeIdentifierWriteable.hpp +328 -0
  121. package/nitrogen/generated/shared/c++/CorrelationSample.hpp +9 -105
  122. package/nitrogen/generated/shared/c++/ElectrocardiogramSample.hpp +7 -99
  123. package/nitrogen/generated/shared/c++/FilterForWorkouts.hpp +13 -13
  124. package/nitrogen/generated/shared/c++/FilterForWorkoutsBase.hpp +13 -13
  125. package/nitrogen/generated/shared/c++/GeneralForm.hpp +7 -7
  126. package/nitrogen/generated/shared/c++/HeartbeatSeriesSample.hpp +8 -100
  127. package/nitrogen/generated/shared/c++/HybridCategoryTypeModuleSpec.hpp +5 -2
  128. package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.cpp +2 -0
  129. package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.hpp +4 -2
  130. package/nitrogen/generated/shared/c++/HybridQuantityTypeModuleSpec.hpp +15 -15
  131. package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.cpp +1 -27
  132. package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.hpp +2 -37
  133. package/nitrogen/generated/shared/c++/MedicationDoseEvent.hpp +7 -99
  134. package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +565 -565
  135. package/nitrogen/generated/shared/c++/QuantitySample.hpp +8 -100
  136. package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +407 -411
  137. package/nitrogen/generated/shared/c++/QuantityTypeIdentifierWriteable.hpp +398 -402
  138. package/nitrogen/generated/shared/c++/{QueryOptionsWithAnchorAndUnit.hpp → QueryOptionsWithAnchorAndStringUnit.hpp} +11 -11
  139. package/nitrogen/generated/shared/c++/{QueryOptionsWithSortOrderAndUnit.hpp → QueryOptionsWithSortOrderAndStringUnit.hpp} +11 -11
  140. package/nitrogen/generated/shared/c++/QueryStatisticsResponseFromSingleSource.hpp +12 -12
  141. package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +559 -559
  142. package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +541 -545
  143. package/nitrogen/generated/shared/c++/StateOfMindSample.hpp +8 -100
  144. package/nitrogen/generated/shared/c++/{StatisticsQueryOptions.hpp → StatisticsQueryOptionsWithStringUnit.hpp} +11 -11
  145. package/nitrogen/generated/shared/c++/WorkoutEvent.hpp +8 -2
  146. package/nitrogen/generated/shared/c++/WorkoutSample.hpp +7 -120
  147. package/package.json +5 -2
  148. package/src/generated/healthkit-schema.json +3680 -0
  149. package/src/generated/healthkit.generated.ts +1307 -0
  150. package/src/healthkit.ios.ts +225 -19
  151. package/src/healthkit.ts +181 -55
  152. package/src/hooks/useMostRecentQuantitySample.ts +6 -5
  153. package/src/hooks/useMostRecentWorkout.ts +2 -2
  154. package/src/hooks/useQuantitySampleById.ts +6 -5
  155. package/src/hooks/useStatisticsForQuantity.ts +2 -1
  156. package/src/hooks/useSubscribeToQuantitySamples.ts +1 -1
  157. package/src/modules.ts +7 -2
  158. package/src/specs/CategoryTypeModule.nitro.ts +8 -5
  159. package/src/specs/CoreModule.nitro.ts +20 -0
  160. package/src/specs/QuantityTypeModule.nitro.ts +81 -7
  161. package/src/test-setup.ts +2 -0
  162. package/src/type-tests/generated-typing.ts +133 -0
  163. package/src/types/CategoryType.ts +52 -148
  164. package/src/types/CategoryTypeIdentifier.ts +5 -134
  165. package/src/types/CorrelationType.ts +13 -3
  166. package/src/types/ElectrocardiogramSample.ts +13 -1
  167. package/src/types/HeartbeatSeries.ts +13 -1
  168. package/src/types/InterfaceVerification.ts +38 -1
  169. package/src/types/Medication.ts +19 -0
  170. package/src/types/MetadataEnums.ts +15 -0
  171. package/src/types/QuantitySample.ts +14 -2
  172. package/src/types/QuantityType.ts +22 -122
  173. package/src/types/QuantityTypeIdentifier.ts +5 -772
  174. package/src/types/QueryOptions.ts +11 -4
  175. package/src/types/Shared.ts +22 -49
  176. package/src/types/StateOfMind.ts +13 -1
  177. package/src/types/Subscriptions.ts +19 -13
  178. package/src/types/WeatherCondition.ts +1 -31
  179. package/src/types/Workouts.ts +46 -108
  180. package/src/types/index.ts +2 -0
  181. package/src/utils/getMostRecentQuantitySample.ts +4 -3
  182. package/src/utils/getMostRecentWorkout.ts +5 -2
  183. package/src/utils/getPreferredUnit.ts +5 -4
  184. package/src/utils/getQuantitySampleById.ts +4 -3
  185. package/src/utils/subscribeToQuantitySamples.ts +5 -3
  186. package/nitrogen/generated/ios/swift/HeartRateMotionContext.swift +0 -44
  187. package/nitrogen/generated/ios/swift/InsulinDeliveryReason.swift +0 -40
  188. package/nitrogen/generated/ios/swift/WeatherCondition.swift +0 -144
  189. package/nitrogen/generated/shared/c++/HeartRateMotionContext.hpp +0 -67
  190. package/nitrogen/generated/shared/c++/InsulinDeliveryReason.hpp +0 -62
  191. package/nitrogen/generated/shared/c++/WeatherCondition.hpp +0 -88
@@ -1,772 +1,5 @@
1
- /**
2
- * Represents a quantity type identifier.
3
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier Apple Docs HKQuantityTypeIdentifier}
4
- */
5
- export type QuantityTypeIdentifierReadOnly =
6
- /**
7
- * Walking Heart Rate Average
8
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingheartrateaverage Apple Docs HKQuantityTypeIdentifierWalkingHeartRateAverage}
9
- * @since iOS 11.0
10
- */
11
- | 'HKQuantityTypeIdentifierWalkingHeartRateAverage'
12
-
13
- /**
14
- * Atrial Fibrillation Burden
15
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieratrialfibrillationburden Apple Docs HKQuantityTypeIdentifierAtrialFibrillationBurden}
16
- * @since iOS 16
17
- */
18
- | 'HKQuantityTypeIdentifierAtrialFibrillationBurden' // Scalar(Percent, 0.0 - 1.0), Discrete
19
- /**
20
- * Apple Exercise Time
21
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierappleexercisetime Apple Docs HKQuantityTypeIdentifierAppleExerciseTime}
22
- */
23
- | 'HKQuantityTypeIdentifierAppleExerciseTime'
24
- /**
25
- * Apple Stand Time
26
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplestandtime Apple Docs HKQuantityTypeIdentifierAppleStandTime}
27
- */
28
- | 'HKQuantityTypeIdentifierAppleStandTime'
29
-
30
- /**
31
- * Apple Walking Steadiness
32
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplewalkingsteadiness Apple Docs HKQuantityTypeIdentifierAppleWalkingSteadiness}
33
- * @since iOS 15
34
- */
35
- | 'HKQuantityTypeIdentifierAppleWalkingSteadiness' // Scalar(Percent, 0.0 - 1.0), Discrete
36
-
37
- /**
38
- * Represents a quantity type identifier.
39
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier Apple Docs HKQuantityTypeIdentifier}
40
- */
41
- export type QuantityTypeIdentifierWriteable =
42
- /**
43
- * Body Mass Index
44
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodymassindex Apple Docs HKQuantityTypeIdentifierBodyMassIndex}
45
- */
46
- | 'HKQuantityTypeIdentifierBodyMassIndex'
47
-
48
- /**
49
- * Body Fat Percentage
50
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodyfatpercentage Apple Docs HKQuantityTypeIdentifierBodyFatPercentage}
51
- */
52
- | 'HKQuantityTypeIdentifierBodyFatPercentage'
53
-
54
- /**
55
- * Height
56
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheight Apple Docs HKQuantityTypeIdentifierHeight}
57
- */
58
- | 'HKQuantityTypeIdentifierHeight'
59
-
60
- /**
61
- * Body Mass
62
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodymass Apple Docs HKQuantityTypeIdentifierBodyMass}
63
- */
64
- | 'HKQuantityTypeIdentifierBodyMass'
65
-
66
- /**
67
- * Lean Body Mass
68
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierleanbodymass Apple Docs HKQuantityTypeIdentifierLeanBodyMass}
69
- */
70
- | 'HKQuantityTypeIdentifierLeanBodyMass'
71
-
72
- /**
73
- * Waist Circumference
74
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwaistcircumference Apple Docs HKQuantityTypeIdentifierWaistCircumference}
75
- */
76
- | 'HKQuantityTypeIdentifierWaistCircumference'
77
-
78
- /**
79
- * Step Count
80
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierstepcount Apple Docs HKQuantityTypeIdentifierStepCount}
81
- */
82
- | 'HKQuantityTypeIdentifierStepCount'
83
-
84
- /**
85
- * Distance Walking Running
86
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancewalkingrunning Apple Docs HKQuantityTypeIdentifierDistanceWalkingRunning}
87
- */
88
- | 'HKQuantityTypeIdentifierDistanceWalkingRunning'
89
-
90
- /**
91
- * Distance Cycling
92
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancecycling Apple Docs HKQuantityTypeIdentifierDistanceCycling}
93
- */
94
- | 'HKQuantityTypeIdentifierDistanceCycling'
95
-
96
- /**
97
- * Distance Wheelchair
98
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancewheelchair Apple Docs HKQuantityTypeIdentifierDistanceWheelchair}
99
- */
100
- | 'HKQuantityTypeIdentifierDistanceWheelchair'
101
- /**
102
- * Basal Energy Burned
103
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbasalenergyburned Apple Docs HKQuantityTypeIdentifierBasalEnergyBurned}
104
- */
105
- | 'HKQuantityTypeIdentifierBasalEnergyBurned'
106
- /**
107
- * Active Energy Burned
108
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieractiveenergyburned Apple Docs HKQuantityTypeIdentifierActiveEnergyBurned}
109
- */
110
- | 'HKQuantityTypeIdentifierActiveEnergyBurned'
111
- /**
112
- * Flights Climbed
113
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierflightsclimbed Apple Docs HKQuantityTypeIdentifierFlightsClimbed}
114
- */
115
- | 'HKQuantityTypeIdentifierFlightsClimbed'
116
- /**
117
- * Nike Fuel
118
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiernikefuel Apple Docs HKQuantityTypeIdentifierNikeFuel}
119
- */
120
- | 'HKQuantityTypeIdentifierNikeFuel'
121
- /**
122
- * Push Count
123
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierpushcount Apple Docs HKQuantityTypeIdentifierPushCount}
124
- */
125
- | 'HKQuantityTypeIdentifierPushCount'
126
- /**
127
- * Distance Swimming
128
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistanceswimming Apple Docs HKQuantityTypeIdentifierDistanceSwimming}
129
- */
130
- | 'HKQuantityTypeIdentifierDistanceSwimming'
131
- /**
132
- * Swimming Stroke Count
133
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierswimmingstrokecount Apple Docs HKQuantityTypeIdentifierSwimmingStrokeCount}
134
- */
135
- | 'HKQuantityTypeIdentifierSwimmingStrokeCount'
136
- /**
137
- * VO2 Max
138
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiervo2max Apple Docs HKQuantityTypeIdentifierVO2Max}
139
- */
140
- | 'HKQuantityTypeIdentifierVO2Max'
141
- /**
142
- * Distance Downhill Snow Sports
143
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancedownhillsnowsports Apple Docs HKQuantityTypeIdentifierDistanceDownhillSnowSports}
144
- */
145
- | 'HKQuantityTypeIdentifierDistanceDownhillSnowSports'
146
-
147
- // Vitals
148
- /**
149
- * Heart Rate
150
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheartrate Apple Docs HKQuantityTypeIdentifierHeartRate}
151
- */
152
- | 'HKQuantityTypeIdentifierHeartRate'
153
- /**
154
- * Body Temperature
155
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodytemperature Apple Docs HKQuantityTypeIdentifierBodyTemperature}
156
- */
157
- | 'HKQuantityTypeIdentifierBodyTemperature'
158
- /**
159
- * Basal Body Temperature
160
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbasalbodytemperature Apple Docs HKQuantityTypeIdentifierBasalBodyTemperature}
161
- */
162
- | 'HKQuantityTypeIdentifierBasalBodyTemperature'
163
- /**
164
- * Blood Pressure Systolic
165
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodpressuresystolic Apple Docs HKQuantityTypeIdentifierBloodPressureSystolic}
166
- */
167
- | 'HKQuantityTypeIdentifierBloodPressureSystolic'
168
- /**
169
- * Blood Pressure Diastolic
170
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodpressurediastolic Apple Docs HKQuantityTypeIdentifierBloodPressureDiastolic}
171
- */
172
- | 'HKQuantityTypeIdentifierBloodPressureDiastolic'
173
- /**
174
- * Respiratory Rate
175
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrespiratoryrate Apple Docs HKQuantityTypeIdentifierRespiratoryRate}
176
- */
177
- | 'HKQuantityTypeIdentifierRespiratoryRate'
178
- /**
179
- * Resting Heart Rate
180
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrestingheartrate Apple Docs HKQuantityTypeIdentifierRestingHeartRate}
181
- */
182
- | 'HKQuantityTypeIdentifierRestingHeartRate'
183
- /**
184
- * Heart Rate Variability SDNN
185
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheartratevariabilitysdnn Apple Docs HKQuantityTypeIdentifierHeartRateVariabilitySDNN}
186
- * @since iOS 11.0
187
- */
188
- | 'HKQuantityTypeIdentifierHeartRateVariabilitySDNN'
189
- /**
190
- * Oxygen Saturation
191
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieroxygensaturation Apple Docs HKQuantityTypeIdentifierOxygenSaturation}
192
- * @since iOS 8.0
193
- */
194
- | 'HKQuantityTypeIdentifierOxygenSaturation'
195
- /**
196
- * Peripheral Perfusion Index
197
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierperipheralperfusionindex Apple Docs HKQuantityTypeIdentifierPeripheralPerfusionIndex}
198
- * @since iOS 8.0
199
- */
200
- | 'HKQuantityTypeIdentifierPeripheralPerfusionIndex'
201
- /**
202
- * Blood Glucose
203
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodglucose Apple Docs HKQuantityTypeIdentifierBloodGlucose}
204
- */
205
- | 'HKQuantityTypeIdentifierBloodGlucose'
206
-
207
- /**
208
- * Blood Ketones
209
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodketones Apple Docs HKQuantityTypeIdentifierBloodKetones}
210
- * @since iOS 8.0
211
- */
212
- | 'HKQuantityTypeIdentifierBloodKetones'
213
-
214
- /**
215
- * Number Of Times Fallen
216
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiernumberoftimesfallen Apple Docs HKQuantityTypeIdentifierNumberOfTimesFallen}
217
- */
218
- | 'HKQuantityTypeIdentifierNumberOfTimesFallen'
219
-
220
- /**
221
- * Electrodermal Activity
222
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierelectrodermalactivity Apple Docs HKQuantityTypeIdentifierElectrodermalActivity}
223
- */
224
- | 'HKQuantityTypeIdentifierElectrodermalActivity'
225
-
226
- /**
227
- * Inhaler Usage
228
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierinhalerusage Apple Docs HKQuantityTypeIdentifierInhalerUsage}
229
- * @since iOS 8
230
- */
231
- | 'HKQuantityTypeIdentifierInhalerUsage'
232
-
233
- /**
234
- * Insulin Delivery
235
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierinsulindelivery Apple Docs HKQuantityTypeIdentifierInsulinDelivery}
236
- * @since iOS 11
237
- */
238
- | 'HKQuantityTypeIdentifierInsulinDelivery'
239
-
240
- /**
241
- * Blood Alcohol Content
242
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodalcoholcontent Apple Docs HKQuantityTypeIdentifierBloodAlcoholContent}
243
- * @since iOS 8
244
- */
245
- | 'HKQuantityTypeIdentifierBloodAlcoholContent'
246
-
247
- /**
248
- * Forced Vital Capacity
249
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierforcedvitalcapacity Apple Docs HKQuantityTypeIdentifierForcedVitalCapacity}
250
- */
251
- | 'HKQuantityTypeIdentifierForcedVitalCapacity'
252
-
253
- /**
254
- * Forced Expiratory Volume1
255
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierforcedexpiratoryvolume1 Apple Docs HKQuantityTypeIdentifierForcedExpiratoryVolume1}
256
- * @since iOS 8
257
- */
258
- | 'HKQuantityTypeIdentifierForcedExpiratoryVolume1'
259
-
260
- /**
261
- * Peak Expiratory Flow Rate
262
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierpeakexpiratoryflowrate Apple Docs HKQuantityTypeIdentifierPeakExpiratoryFlowRate}
263
- * @since iOS 8
264
- */
265
- | 'HKQuantityTypeIdentifierPeakExpiratoryFlowRate'
266
-
267
- /**
268
- * Environmental Audio Exposure
269
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierenvironmentalaudioexposure Apple Docs HKQuantityTypeIdentifierEnvironmentalAudioExposure}
270
- * @since iOS 13
271
- */
272
- | 'HKQuantityTypeIdentifierEnvironmentalAudioExposure'
273
-
274
- /**
275
- * Headphone Audio Exposure
276
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheadphoneaudioexposure Apple Docs HKQuantityTypeIdentifierHeadphoneAudioExposure}
277
- * @since iOS 13
278
- */
279
- | 'HKQuantityTypeIdentifierHeadphoneAudioExposure'
280
-
281
- // Nutrition
282
- /**
283
- * Dietary Fat Total
284
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfattotal Apple Docs HKQuantityTypeIdentifierDietaryFatTotal}
285
- * @since iOS 8
286
- */
287
- | 'HKQuantityTypeIdentifierDietaryFatTotal'
288
-
289
- /**
290
- * Dietary Fat Polyunsaturated
291
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfatpolyunsaturated Apple Docs HKQuantityTypeIdentifierDietaryFatPolyunsaturated}
292
- */
293
- | 'HKQuantityTypeIdentifierDietaryFatPolyunsaturated'
294
-
295
- /**
296
- * Dietary Fat Monounsaturated
297
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfatmonounsaturated Apple Docs HKQuantityTypeIdentifierDietaryFatMonounsaturated}
298
- */
299
- | 'HKQuantityTypeIdentifierDietaryFatMonounsaturated'
300
- /**
301
- * Dietary Fat Saturated
302
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfatsaturated Apple Docs HKQuantityTypeIdentifierDietaryFatSaturated}
303
- */
304
- | 'HKQuantityTypeIdentifierDietaryFatSaturated'
305
-
306
- /**
307
- * Dietary Cholesterol
308
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycholesterol Apple Docs HKQuantityTypeIdentifierDietaryCholesterol}
309
- */
310
- | 'HKQuantityTypeIdentifierDietaryCholesterol'
311
-
312
- /**
313
- * Dietary Sodium
314
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarysodium Apple Docs HKQuantityTypeIdentifierDietarySodium}
315
- */
316
- | 'HKQuantityTypeIdentifierDietarySodium'
317
-
318
- /**
319
- * Dietary Carbohydrates
320
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycarbohydrates Apple Docs HKQuantityTypeIdentifierDietaryCarbohydrates}
321
- */
322
- | 'HKQuantityTypeIdentifierDietaryCarbohydrates'
323
-
324
- /**
325
- * Dietary Fiber
326
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfiber Apple Docs HKQuantityTypeIdentifierDietaryFiber}
327
- */
328
- | 'HKQuantityTypeIdentifierDietaryFiber'
329
- /**
330
- * Dietary Sugar
331
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarysugar Apple Docs HKQuantityTypeIdentifierDietarySugar}
332
- */
333
- | 'HKQuantityTypeIdentifierDietarySugar'
334
-
335
- /**
336
- * Dietary Energy Consumed
337
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryenergyconsumed Apple Docs HKQuantityTypeIdentifierDietaryEnergyConsumed}
338
- */
339
- | 'HKQuantityTypeIdentifierDietaryEnergyConsumed'
340
-
341
- /**
342
- * Dietary Protein
343
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryprotein Apple Docs HKQuantityTypeIdentifierDietaryProtein}
344
- */
345
- | 'HKQuantityTypeIdentifierDietaryProtein'
346
-
347
- /**
348
- * Dietary Vitamin A
349
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamina Apple Docs HKQuantityTypeIdentifierDietaryVitaminA}
350
- */
351
- | 'HKQuantityTypeIdentifierDietaryVitaminA'
352
-
353
- /**
354
- * Dietary Vitamin B6
355
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitaminb6 Apple Docs HKQuantityTypeIdentifierDietaryVitaminB6}
356
- */
357
- | 'HKQuantityTypeIdentifierDietaryVitaminB6'
358
-
359
- /**
360
- * Dietary Vitamin B12
361
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitaminb12 Apple Docs HKQuantityTypeIdentifierDietaryVitaminB12}
362
- */
363
- | 'HKQuantityTypeIdentifierDietaryVitaminB12'
364
-
365
- /**
366
- * Dietary Vitamin C
367
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitaminc Apple Docs HKQuantityTypeIdentifierDietaryVitaminC}
368
- */
369
- | 'HKQuantityTypeIdentifierDietaryVitaminC'
370
-
371
- /**
372
- * Dietary Vitamin D
373
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamind Apple Docs HKQuantityTypeIdentifierDietaryVitaminD}
374
- */
375
- | 'HKQuantityTypeIdentifierDietaryVitaminD'
376
-
377
- /**
378
- * Dietary Vitamin E
379
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamine Apple Docs HKQuantityTypeIdentifierDietaryVitaminE}
380
- */
381
- | 'HKQuantityTypeIdentifierDietaryVitaminE'
382
-
383
- /**
384
- * Dietary Vitamin K
385
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamink Apple Docs HKQuantityTypeIdentifierDietaryVitaminK}
386
- */
387
- | 'HKQuantityTypeIdentifierDietaryVitaminK'
388
- /**
389
- * Dietary Calcium
390
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycalcium Apple Docs HKQuantityTypeIdentifierDietaryCalcium}
391
- */
392
- | 'HKQuantityTypeIdentifierDietaryCalcium'
393
-
394
- /**
395
- * Dietary Iron
396
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryiron Apple Docs HKQuantityTypeIdentifierDietaryIron}
397
- */
398
- | 'HKQuantityTypeIdentifierDietaryIron'
399
-
400
- /**
401
- * Dietary Thiamin
402
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarythiamin Apple Docs HKQuantityTypeIdentifierDietaryThiamin}
403
- */
404
- | 'HKQuantityTypeIdentifierDietaryThiamin'
405
-
406
- /**
407
- * Dietary Riboflavin
408
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryriboflavin Apple Docs HKQuantityTypeIdentifierDietaryRiboflavin}
409
- */
410
- | 'HKQuantityTypeIdentifierDietaryRiboflavin'
411
-
412
- /**
413
- * Dietary Niacin
414
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryniacin Apple Docs HKQuantityTypeIdentifierDietaryNiacin}
415
- */
416
- | 'HKQuantityTypeIdentifierDietaryNiacin'
417
-
418
- /**
419
- * Dietary Folate
420
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfolate Apple Docs HKQuantityTypeIdentifierDietaryFolate}
421
- */
422
- | 'HKQuantityTypeIdentifierDietaryFolate'
423
-
424
- /**
425
- * Dietary Biotin
426
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarybiotin Apple Docs HKQuantityTypeIdentifierDietaryBiotin}
427
- */
428
- | 'HKQuantityTypeIdentifierDietaryBiotin'
429
-
430
- /**
431
- * Dietary Pantothenic Acid
432
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarypantothenicacid Apple Docs HKQuantityTypeIdentifierDietaryPantothenicAcid}
433
- */
434
- | 'HKQuantityTypeIdentifierDietaryPantothenicAcid'
435
-
436
- /**
437
- * Dietary Phosphorus
438
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryphosphorus Apple Docs HKQuantityTypeIdentifierDietaryPhosphorus}
439
- */
440
- | 'HKQuantityTypeIdentifierDietaryPhosphorus'
441
-
442
- /**
443
- * Dietary Iodine
444
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryiodine Apple Docs HKQuantityTypeIdentifierDietaryIodine}
445
- */
446
- | 'HKQuantityTypeIdentifierDietaryIodine'
447
- /**
448
- * Dietary Magnesium
449
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarymagnesium Apple Docs HKQuantityTypeIdentifierDietaryMagnesium}
450
- */
451
- | 'HKQuantityTypeIdentifierDietaryMagnesium'
452
-
453
- /**
454
- * Dietary Zinc
455
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryzinc Apple Docs HKQuantityTypeIdentifierDietaryZinc}
456
- */
457
- | 'HKQuantityTypeIdentifierDietaryZinc'
458
-
459
- /**
460
- * Dietary Selenium
461
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryselenium Apple Docs HKQuantityTypeIdentifierDietarySelenium}
462
- */
463
- | 'HKQuantityTypeIdentifierDietarySelenium'
464
-
465
- /**
466
- * Dietary Copper
467
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycopper Apple Docs HKQuantityTypeIdentifierDietaryCopper}
468
- */
469
- | 'HKQuantityTypeIdentifierDietaryCopper'
470
-
471
- /**
472
- * Dietary Manganese
473
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarymanganese Apple Docs HKQuantityTypeIdentifierDietaryManganese}
474
- */
475
- | 'HKQuantityTypeIdentifierDietaryManganese'
476
-
477
- /**
478
- * Dietary Chromium
479
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarychromium Apple Docs HKQuantityTypeIdentifierDietaryChromium}
480
- */
481
- | 'HKQuantityTypeIdentifierDietaryChromium'
482
-
483
- /**
484
- * Dietary Molybdenum
485
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarymolybdenum Apple Docs HKQuantityTypeIdentifierDietaryMolybdenum}
486
- */
487
- | 'HKQuantityTypeIdentifierDietaryMolybdenum'
488
-
489
- /**
490
- * Dietary Chloride
491
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarychloride Apple Docs HKQuantityTypeIdentifierDietaryChloride}
492
- * @since iOS 8
493
- */
494
- | 'HKQuantityTypeIdentifierDietaryChloride'
495
-
496
- /**
497
- * Dietary Potassium
498
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarypotassium Apple Docs HKQuantityTypeIdentifierDietaryPotassium}
499
- * @since iOS 8
500
- */
501
- | 'HKQuantityTypeIdentifierDietaryPotassium'
502
-
503
- /**
504
- * Dietary Caffeine
505
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycaffeine Apple Docs HKQuantityTypeIdentifierDietaryCaffeine}
506
- * @since iOS 8
507
- */
508
- | 'HKQuantityTypeIdentifierDietaryCaffeine'
509
-
510
- /**
511
- * Dietary Water
512
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarywater Apple Docs HKQuantityTypeIdentifierDietaryWater}
513
- * @since iOS 9
514
- */
515
- | 'HKQuantityTypeIdentifierDietaryWater'
516
-
517
- // Mobility
518
- /**
519
- * Six Minute Walk Test Distance
520
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiersixminutewalktestdistance Apple Docs HKQuantityTypeIdentifierSixMinuteWalkTestDistance}
521
- * @since iOS 14
522
- */
523
- | 'HKQuantityTypeIdentifierSixMinuteWalkTestDistance'
524
-
525
- /**
526
- * Walking Speed
527
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingspeed Apple Docs HKQuantityTypeIdentifierWalkingSpeed}
528
- * @since iOS 14
529
- */
530
- | 'HKQuantityTypeIdentifierWalkingSpeed'
531
-
532
- /**
533
- * Walking Step Length
534
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingsteplength Apple Docs HKQuantityTypeIdentifierWalkingStepLength}
535
- * @since iOS 14
536
- */
537
- | 'HKQuantityTypeIdentifierWalkingStepLength'
538
-
539
- /**
540
- * Walking Asymmetry Percentage
541
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingasymmetrypercentage Apple Docs HKQuantityTypeIdentifierWalkingAsymmetryPercentage}
542
- * @since iOS 14
543
- */
544
- | 'HKQuantityTypeIdentifierWalkingAsymmetryPercentage'
545
-
546
- /**
547
- * Walking Double Support Percentage
548
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingdoublesupportpercentage Apple Docs HKQuantityTypeIdentifierWalkingDoubleSupportPercentage}
549
- * @since iOS 14
550
- */
551
- | 'HKQuantityTypeIdentifierWalkingDoubleSupportPercentage'
552
-
553
- /**
554
- * Stair Ascent Speed
555
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierstairascentspeed Apple Docs HKQuantityTypeIdentifierStairAscentSpeed}
556
- * @since iOS 14
557
- */
558
- | 'HKQuantityTypeIdentifierStairAscentSpeed'
559
-
560
- /**
561
- * Stair Descent Speed
562
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierstairdescentspeed Apple Docs HKQuantityTypeIdentifierStairDescentSpeed}
563
- * @since iOS 14
564
- */
565
- | 'HKQuantityTypeIdentifierStairDescentSpeed'
566
-
567
- /**
568
- * UV Exposure
569
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieruvexposure Apple Docs HKQuantityTypeIdentifierUVExposure}
570
- * @since iOS 9
571
- */
572
- | 'HKQuantityTypeIdentifierUVExposure' // Scalar (Count), Discrete
573
-
574
- /**
575
- * Apple Move Time
576
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplemovetime Apple Docs HKQuantityTypeIdentifierAppleMoveTime}
577
- * @since iOS 14.5
578
- */
579
- | 'HKQuantityTypeIdentifierAppleMoveTime' // Time, Cumulative
580
-
581
- /**
582
- * Number Of Alcoholic Beverages
583
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiernumberofalcoholicbeverages Apple Docs HKQuantityTypeIdentifierNumberOfAlcoholicBeverages}
584
- * @since iOS 15
585
- */
586
- | 'HKQuantityTypeIdentifierNumberOfAlcoholicBeverages' // Scalar(Count), Cumulative
587
-
588
- /**
589
- * Underwater Depth
590
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierunderwaterdepth Apple Docs HKQuantityTypeIdentifierUnderwaterDepth}
591
- * @since iOS 16
592
- */
593
- | 'HKQuantityTypeIdentifierUnderwaterDepth'
594
-
595
- /**
596
- * Water Temperature
597
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwatertemperature Apple Docs HKQuantityTypeIdentifierWaterTemperature}
598
- * @since iOS 16
599
- */
600
- | 'HKQuantityTypeIdentifierWaterTemperature'
601
-
602
- /**
603
- * Apple Sleeping Wrist Temperature
604
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplesleepingwristtemperature Apple Docs HKQuantityTypeIdentifierAppleSleepingWristTemperature}
605
- * @since iOS 17
606
- */
607
- | 'HKQuantityTypeIdentifierAppleSleepingWristTemperature'
608
-
609
- /**
610
- * Apple Sleeping Breathing Disturbances
611
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier/applesleepingbreathingdisturbances Apple Docs HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances}
612
- * @since iOS 18
613
- */
614
- | 'HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances'
615
-
616
- /**
617
- * Time In Daylight
618
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiertimeindaylight Apple Docs HKQuantityTypeIdentifierTimeInDaylight}
619
- * @since iOS 17
620
- */
621
- | 'HKQuantityTypeIdentifierTimeInDaylight'
622
-
623
- /**
624
- * Physical Effort
625
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierphysicaleffort Apple Docs HKQuantityTypeIdentifierPhysicalEffort}
626
- * @since iOS 17
627
- */
628
- | 'HKQuantityTypeIdentifierPhysicalEffort'
629
-
630
- /**
631
- * Cycling Speed
632
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingspeed Apple Docs HKQuantityTypeIdentifierCyclingSpeed}
633
- * @since iOS 17
634
- */
635
- | 'HKQuantityTypeIdentifierCyclingSpeed'
636
-
637
- /**
638
- * Cycling Power
639
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingpower Apple Docs HKQuantityTypeIdentifierCyclingPower}
640
- * @since iOS 17
641
- */
642
- | 'HKQuantityTypeIdentifierCyclingPower'
643
-
644
- /**
645
- * Cycling Functional Threshold Power
646
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingfunctionalthresholdpower Apple Docs HKQuantityTypeIdentifierCyclingFunctionalThresholdPower}
647
- * @since iOS 17
648
- */
649
- | 'HKQuantityTypeIdentifierCyclingFunctionalThresholdPower'
650
-
651
- /**
652
- * Cycling Cadence
653
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingcadence Apple Docs HKQuantityTypeIdentifierCyclingCadence}
654
- * @since iOS 17
655
- */
656
- | 'HKQuantityTypeIdentifierCyclingCadence'
657
-
658
- /**
659
- * Environmental Sound Reduction
660
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierenvironmentalsoundreduction Apple Docs HKQuantityTypeIdentifierEnvironmentalSoundReduction}
661
- * @since iOS 16
662
- */
663
- | 'HKQuantityTypeIdentifierEnvironmentalSoundReduction'
664
-
665
- /**
666
- * Heart Rate Recovery One Minute
667
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheartraterecoveryoneminute Apple Docs HKQuantityTypeIdentifierHeartRateRecoveryOneMinute}
668
- * @since iOS 16
669
- */
670
- | 'HKQuantityTypeIdentifierHeartRateRecoveryOneMinute'
671
-
672
- /**
673
- * Running Ground Contact Time
674
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunninggroundcontacttime Apple Docs HKQuantityTypeIdentifierRunningGroundContactTime}
675
- * @since iOS 16
676
- */
677
- | 'HKQuantityTypeIdentifierRunningGroundContactTime'
678
-
679
- /**
680
- * Running Stride Length
681
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningstridelength Apple Docs HKQuantityTypeIdentifierRunningStrideLength}
682
- * @since iOS 16
683
- */
684
- | 'HKQuantityTypeIdentifierRunningStrideLength'
685
-
686
- /**
687
- * Running Power
688
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningpower Apple Docs HKQuantityTypeIdentifierRunningPower}
689
- * @since iOS 16
690
- */
691
- | 'HKQuantityTypeIdentifierRunningPower'
692
-
693
- /**
694
- * Running Vertical Oscillation
695
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningverticaloscillation Apple Docs HKQuantityTypeIdentifierRunningVerticalOscillation}
696
- * @since iOS 16
697
- */
698
- | 'HKQuantityTypeIdentifierRunningVerticalOscillation'
699
-
700
- /**
701
- * Running Speed
702
- * @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningspeed Apple Docs HKQuantityTypeIdentifierRunningSpeed}
703
- * @since iOS 16
704
- */
705
- | 'HKQuantityTypeIdentifierRunningSpeed'
706
-
707
- /**
708
- * Cross Country Skiing Speed
709
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierCrossCountrySkiingSpeed Apple Docs HKQuantityTypeIdentifierCrossCountrySkiingSpeed}
710
- * @since iOS 18
711
- */
712
- | 'HKQuantityTypeIdentifierCrossCountrySkiingSpeed'
713
-
714
- /**
715
- * Cross Country Skiing Distance
716
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistanceCrossCountrySkiing Apple Docs HKQuantityTypeIdentifierCrossCountrySkiingDistance}
717
- * @since iOS 18
718
- */
719
- | 'HKQuantityTypeIdentifierDistanceCrossCountrySkiing'
720
-
721
- /**
722
- * Paddle Sports Distance
723
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistancePaddleSports Apple Docs HKQuantityTypeIdentifierDistancePaddleSports}
724
- * @since iOS 18
725
- */
726
- | 'HKQuantityTypeIdentifierDistancePaddleSports'
727
-
728
- /**
729
- * Rowing Distance
730
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistanceRowing Apple Docs HKQuantityTypeIdentifierDistanceRowing}
731
- * @since iOS 18
732
- */
733
- | 'HKQuantityTypeIdentifierDistanceRowing'
734
-
735
- /**
736
- * Skating Sports Distance
737
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistanceSkatingSports Apple Docs HKQuantityTypeIdentifierDistanceSkatingSports}
738
- * @since iOS 18
739
- */
740
- | 'HKQuantityTypeIdentifierDistanceSkatingSports'
741
-
742
- /**
743
- * Estimated Workout Effort Score
744
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierEstimatedWorkoutEffortScore Apple Docs HKQuantityTypeIdentifierEstimatedWorkoutEffortScore}
745
- * @since iOS 18
746
- */
747
- | 'HKQuantityTypeIdentifierEstimatedWorkoutEffortScore'
748
-
749
- /**
750
- * Paddle Sports Speed
751
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierPaddleSportsSpeed Apple Docs HKQuantityTypeIdentifierPaddleSportsSpeed}
752
- * @since iOS 18
753
- */
754
- | 'HKQuantityTypeIdentifierPaddleSportsSpeed'
755
-
756
- /**
757
- * Rowing Speed
758
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierRowingSpeed Apple Docs HKQuantityTypeIdentifierRowingSpeed}
759
- * @since iOS 18
760
- */
761
- | 'HKQuantityTypeIdentifierRowingSpeed'
762
-
763
- /**
764
- * Workout Effort Score
765
- * @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierWorkoutEffortScore Apple Docs HKQuantityTypeIdentifierWorkoutEffortScore}
766
- * @since iOS 18
767
- */
768
- | 'HKQuantityTypeIdentifierWorkoutEffortScore'
769
-
770
- export type QuantityTypeIdentifier =
771
- | QuantityTypeIdentifierReadOnly
772
- | QuantityTypeIdentifierWriteable
1
+ export type {
2
+ QuantityTypeIdentifier,
3
+ QuantityTypeIdentifierReadOnly,
4
+ QuantityTypeIdentifierWriteable,
5
+ } from '../generated/healthkit.generated'