@kingstinct/react-native-healthkit 8.5.0 → 8.7.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.
- package/ios/Helpers.swift +145 -0
- package/ios/ReactNativeHealthkit.m +19 -0
- package/ios/ReactNativeHealthkit.swift +219 -25
- package/lib/commonjs/hooks/useHealthkitAuthorization.test.js +1 -2
- package/lib/commonjs/hooks/useHealthkitAuthorization.test.js.map +1 -1
- package/lib/commonjs/hooks/useIsHealthDataAvailable.test.js +1 -2
- package/lib/commonjs/hooks/useIsHealthDataAvailable.test.js.map +1 -1
- package/lib/commonjs/index.ios.js +29 -3
- package/lib/commonjs/index.ios.js.map +1 -1
- package/lib/commonjs/index.js +1 -2
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/index.native.js +10 -1
- package/lib/commonjs/index.native.js.map +1 -1
- package/lib/commonjs/index.web.js +1 -2
- package/lib/commonjs/index.web.js.map +1 -1
- package/lib/commonjs/native-types.js +727 -5
- package/lib/commonjs/native-types.js.map +1 -1
- package/lib/commonjs/test-setup.js +4 -1
- package/lib/commonjs/test-setup.js.map +1 -1
- package/lib/commonjs/utils/deleteWorkoutSample.js +11 -0
- package/lib/commonjs/utils/deleteWorkoutSample.js.map +1 -0
- package/lib/commonjs/utils/deserializeCategorySample.test.js +1 -2
- package/lib/commonjs/utils/deserializeCategorySample.test.js.map +1 -1
- package/lib/commonjs/utils/getPreferredUnitsTyped.js +1 -2
- package/lib/commonjs/utils/getPreferredUnitsTyped.js.map +1 -1
- package/lib/commonjs/utils/saveStateOfMindSample.js +17 -0
- package/lib/commonjs/utils/saveStateOfMindSample.js.map +1 -0
- package/lib/commonjs/utils/subscribeToChanges.js +1 -2
- package/lib/commonjs/utils/subscribeToChanges.js.map +1 -1
- package/lib/commonjs/utils/workoutSessionMirroringStartHandler.js +17 -0
- package/lib/commonjs/utils/workoutSessionMirroringStartHandler.js.map +1 -0
- package/lib/module/index.ios.js +7 -1
- package/lib/module/index.ios.js.map +1 -1
- package/lib/module/index.native.js +7 -1
- package/lib/module/index.native.js.map +1 -1
- package/lib/module/native-types.js +727 -4
- package/lib/module/native-types.js.map +1 -1
- package/lib/module/test-setup.js +4 -1
- package/lib/module/test-setup.js.map +1 -1
- package/lib/module/utils/deleteWorkoutSample.js +4 -0
- package/lib/module/utils/deleteWorkoutSample.js.map +1 -0
- package/lib/module/utils/saveStateOfMindSample.js +10 -0
- package/lib/module/utils/saveStateOfMindSample.js.map +1 -0
- package/lib/module/utils/subscribeToChanges.js.map +1 -1
- package/lib/module/utils/workoutSessionMirroringStartHandler.js +11 -0
- package/lib/module/utils/workoutSessionMirroringStartHandler.js.map +1 -0
- package/lib/typescript/src/index.ios.d.ts +14 -8
- package/lib/typescript/src/index.native.d.ts +2 -2
- package/lib/typescript/src/native-types.d.ts +177 -135
- package/lib/typescript/src/utils/deleteWorkoutSample.d.ts +3 -0
- package/lib/typescript/src/utils/ensureUnit.d.ts +1 -1
- package/lib/typescript/src/utils/queryStateOfMindSamples.d.ts +4 -4
- package/lib/typescript/src/utils/queryStatisticsForQuantity.d.ts +1 -1
- package/lib/typescript/src/utils/saveStateOfMindSample.d.ts +11 -0
- package/lib/typescript/src/utils/workoutSessionMirroringStartHandler.d.ts +8 -0
- package/package.json +19 -19
- package/src/index.ios.tsx +9 -0
- package/src/index.native.tsx +9 -0
- package/src/native-types.ts +61 -3
- package/src/test-setup.ts +3 -0
- package/src/utils/deleteWorkoutSample.ts +7 -0
- package/src/utils/saveStateOfMindSample.ts +38 -0
- package/src/utils/subscribeToChanges.ts +1 -1
- package/src/utils/workoutSessionMirroringStartHandler.ts +11 -0
|
@@ -39,124 +39,727 @@ export const HKStateOfMindTypeIdentifier = 'HKStateOfMindTypeIdentifier';
|
|
|
39
39
|
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifier Apple Docs HKQuantityTypeIdentifier}
|
|
40
40
|
*/
|
|
41
41
|
export let HKQuantityTypeIdentifier = /*#__PURE__*/function (HKQuantityTypeIdentifier) {
|
|
42
|
+
/**
|
|
43
|
+
* Body Mass Index
|
|
44
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodymassindex Apple Docs HKQuantityTypeIdentifierBodyMassIndex}
|
|
45
|
+
*/
|
|
42
46
|
HKQuantityTypeIdentifier["bodyMassIndex"] = "HKQuantityTypeIdentifierBodyMassIndex";
|
|
47
|
+
/**
|
|
48
|
+
* Body Fat Percentage
|
|
49
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodyfatpercentage Apple Docs HKQuantityTypeIdentifierBodyFatPercentage}
|
|
50
|
+
*/
|
|
43
51
|
HKQuantityTypeIdentifier["bodyFatPercentage"] = "HKQuantityTypeIdentifierBodyFatPercentage";
|
|
52
|
+
/**
|
|
53
|
+
* Height
|
|
54
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheight Apple Docs HKQuantityTypeIdentifierHeight}
|
|
55
|
+
*/
|
|
44
56
|
HKQuantityTypeIdentifier["height"] = "HKQuantityTypeIdentifierHeight";
|
|
57
|
+
/**
|
|
58
|
+
* Body Mass
|
|
59
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodymass Apple Docs HKQuantityTypeIdentifierBodyMass}
|
|
60
|
+
*/
|
|
45
61
|
HKQuantityTypeIdentifier["bodyMass"] = "HKQuantityTypeIdentifierBodyMass";
|
|
62
|
+
/**
|
|
63
|
+
* Lean Body Mass
|
|
64
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierleanbodymass Apple Docs HKQuantityTypeIdentifierLeanBodyMass}
|
|
65
|
+
*/
|
|
46
66
|
HKQuantityTypeIdentifier["leanBodyMass"] = "HKQuantityTypeIdentifierLeanBodyMass";
|
|
67
|
+
/**
|
|
68
|
+
* Waist Circumference
|
|
69
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwaistcircumference Apple Docs HKQuantityTypeIdentifierWaistCircumference}
|
|
70
|
+
*/
|
|
47
71
|
HKQuantityTypeIdentifier["waistCircumference"] = "HKQuantityTypeIdentifierWaistCircumference";
|
|
72
|
+
/**
|
|
73
|
+
* Step Count
|
|
74
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierstepcount Apple Docs HKQuantityTypeIdentifierStepCount}
|
|
75
|
+
*/
|
|
48
76
|
HKQuantityTypeIdentifier["stepCount"] = "HKQuantityTypeIdentifierStepCount";
|
|
77
|
+
/**
|
|
78
|
+
* Distance Walking Running
|
|
79
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancewalkingrunning Apple Docs HKQuantityTypeIdentifierDistanceWalkingRunning}
|
|
80
|
+
*/
|
|
49
81
|
HKQuantityTypeIdentifier["distanceWalkingRunning"] = "HKQuantityTypeIdentifierDistanceWalkingRunning";
|
|
82
|
+
/**
|
|
83
|
+
* Distance Cycling
|
|
84
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancecycling Apple Docs HKQuantityTypeIdentifierDistanceCycling}
|
|
85
|
+
*/
|
|
50
86
|
HKQuantityTypeIdentifier["distanceCycling"] = "HKQuantityTypeIdentifierDistanceCycling";
|
|
87
|
+
/**
|
|
88
|
+
* Distance Wheelchair
|
|
89
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancewheelchair Apple Docs HKQuantityTypeIdentifierDistanceWheelchair}
|
|
90
|
+
*/
|
|
51
91
|
HKQuantityTypeIdentifier["distanceWheelchair"] = "HKQuantityTypeIdentifierDistanceWheelchair";
|
|
92
|
+
/**
|
|
93
|
+
* Basal Energy Burned
|
|
94
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbasalenergyburned Apple Docs HKQuantityTypeIdentifierBasalEnergyBurned}
|
|
95
|
+
*/
|
|
52
96
|
HKQuantityTypeIdentifier["basalEnergyBurned"] = "HKQuantityTypeIdentifierBasalEnergyBurned";
|
|
97
|
+
// Energy, Cumulative
|
|
98
|
+
/**
|
|
99
|
+
* Active Energy Burned
|
|
100
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieractiveenergyburned Apple Docs HKQuantityTypeIdentifierActiveEnergyBurned}
|
|
101
|
+
*/
|
|
53
102
|
HKQuantityTypeIdentifier["activeEnergyBurned"] = "HKQuantityTypeIdentifierActiveEnergyBurned";
|
|
103
|
+
// Energy, Cumulative
|
|
104
|
+
/**
|
|
105
|
+
* Flights Climbed
|
|
106
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierflightsclimbed Apple Docs HKQuantityTypeIdentifierFlightsClimbed}
|
|
107
|
+
*/
|
|
54
108
|
HKQuantityTypeIdentifier["flightsClimbed"] = "HKQuantityTypeIdentifierFlightsClimbed";
|
|
109
|
+
// Scalar(Count), Cumulative
|
|
110
|
+
/**
|
|
111
|
+
* Nike Fuel
|
|
112
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiernikefuel Apple Docs HKQuantityTypeIdentifierNikeFuel}
|
|
113
|
+
*/
|
|
55
114
|
HKQuantityTypeIdentifier["nikeFuel"] = "HKQuantityTypeIdentifierNikeFuel";
|
|
115
|
+
// Scalar(Count), Cumulative
|
|
116
|
+
/**
|
|
117
|
+
* Apple Exercise Time
|
|
118
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierappleexercisetime Apple Docs HKQuantityTypeIdentifierAppleExerciseTime}
|
|
119
|
+
*/
|
|
56
120
|
HKQuantityTypeIdentifier["appleExerciseTime"] = "HKQuantityTypeIdentifierAppleExerciseTime";
|
|
121
|
+
// Time Cumulative
|
|
122
|
+
/**
|
|
123
|
+
* Push Count
|
|
124
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierpushcount Apple Docs HKQuantityTypeIdentifierPushCount}
|
|
125
|
+
*/
|
|
57
126
|
HKQuantityTypeIdentifier["pushCount"] = "HKQuantityTypeIdentifierPushCount";
|
|
127
|
+
// Scalar(Count), Cumulative
|
|
128
|
+
/**
|
|
129
|
+
* Distance Swimming
|
|
130
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistanceswimming Apple Docs HKQuantityTypeIdentifierDistanceSwimming}
|
|
131
|
+
*/
|
|
58
132
|
HKQuantityTypeIdentifier["distanceSwimming"] = "HKQuantityTypeIdentifierDistanceSwimming";
|
|
133
|
+
// Length, Cumulative
|
|
134
|
+
/**
|
|
135
|
+
* Swimming Stroke Count
|
|
136
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierswimmingstrokecount Apple Docs HKQuantityTypeIdentifierSwimmingStrokeCount}
|
|
137
|
+
*/
|
|
59
138
|
HKQuantityTypeIdentifier["swimmingStrokeCount"] = "HKQuantityTypeIdentifierSwimmingStrokeCount";
|
|
139
|
+
// Scalar(Count), Cumulative
|
|
140
|
+
/**
|
|
141
|
+
* VO2 Max
|
|
142
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiervo2max Apple Docs HKQuantityTypeIdentifierVO2Max}
|
|
143
|
+
*/
|
|
60
144
|
HKQuantityTypeIdentifier["vo2Max"] = "HKQuantityTypeIdentifierVO2Max";
|
|
145
|
+
// ml/(kg*min) Discrete
|
|
146
|
+
/**
|
|
147
|
+
* Distance Downhill Snow Sports
|
|
148
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdistancedownhillsnowsports Apple Docs HKQuantityTypeIdentifierDistanceDownhillSnowSports}
|
|
149
|
+
*/
|
|
61
150
|
HKQuantityTypeIdentifier["distanceDownhillSnowSports"] = "HKQuantityTypeIdentifierDistanceDownhillSnowSports";
|
|
151
|
+
// Length, Cumulative
|
|
152
|
+
/**
|
|
153
|
+
* Apple Stand Time
|
|
154
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplestandtime Apple Docs HKQuantityTypeIdentifierAppleStandTime}
|
|
155
|
+
*/
|
|
62
156
|
HKQuantityTypeIdentifier["appleStandTime"] = "HKQuantityTypeIdentifierAppleStandTime";
|
|
157
|
+
// Time, Cumulative
|
|
158
|
+
// Vitals
|
|
159
|
+
/**
|
|
160
|
+
* Heart Rate
|
|
161
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheartrate Apple Docs HKQuantityTypeIdentifierHeartRate}
|
|
162
|
+
*/
|
|
63
163
|
HKQuantityTypeIdentifier["heartRate"] = "HKQuantityTypeIdentifierHeartRate";
|
|
164
|
+
// Scalar(Count)/Time, Discrete
|
|
165
|
+
/**
|
|
166
|
+
* Body Temperature
|
|
167
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbodytemperature Apple Docs HKQuantityTypeIdentifierBodyTemperature}
|
|
168
|
+
*/
|
|
64
169
|
HKQuantityTypeIdentifier["bodyTemperature"] = "HKQuantityTypeIdentifierBodyTemperature";
|
|
170
|
+
// Temperature, Discrete
|
|
171
|
+
/**
|
|
172
|
+
* Basal Body Temperature
|
|
173
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbasalbodytemperature Apple Docs HKQuantityTypeIdentifierBasalBodyTemperature}
|
|
174
|
+
*/
|
|
65
175
|
HKQuantityTypeIdentifier["basalBodyTemperature"] = "HKQuantityTypeIdentifierBasalBodyTemperature";
|
|
176
|
+
// Basal Body Temperature, Discrete
|
|
177
|
+
/**
|
|
178
|
+
* Blood Pressure Systolic
|
|
179
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodpressuresystolic Apple Docs HKQuantityTypeIdentifierBloodPressureSystolic}
|
|
180
|
+
*/
|
|
66
181
|
HKQuantityTypeIdentifier["bloodPressureSystolic"] = "HKQuantityTypeIdentifierBloodPressureSystolic";
|
|
182
|
+
// Pressure, Discrete
|
|
183
|
+
/**
|
|
184
|
+
* Blood Pressure Diastolic
|
|
185
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodpressurediastolic Apple Docs HKQuantityTypeIdentifierBloodPressureDiastolic}
|
|
186
|
+
*/
|
|
67
187
|
HKQuantityTypeIdentifier["bloodPressureDiastolic"] = "HKQuantityTypeIdentifierBloodPressureDiastolic";
|
|
188
|
+
// Pressure, Discrete
|
|
189
|
+
/**
|
|
190
|
+
* Respiratory Rate
|
|
191
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrespiratoryrate Apple Docs HKQuantityTypeIdentifierRespiratoryRate}
|
|
192
|
+
*/
|
|
68
193
|
HKQuantityTypeIdentifier["respiratoryRate"] = "HKQuantityTypeIdentifierRespiratoryRate";
|
|
194
|
+
// Scalar(Count)/Time, Discrete
|
|
195
|
+
/**
|
|
196
|
+
* Resting Heart Rate
|
|
197
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrestingheartrate Apple Docs HKQuantityTypeIdentifierRestingHeartRate}
|
|
198
|
+
*/
|
|
69
199
|
HKQuantityTypeIdentifier["restingHeartRate"] = "HKQuantityTypeIdentifierRestingHeartRate";
|
|
200
|
+
// Scalar(Count)/Time, Discrete
|
|
201
|
+
/**
|
|
202
|
+
* Walking Heart Rate Average
|
|
203
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingheartrateaverage Apple Docs HKQuantityTypeIdentifierWalkingHeartRateAverage}
|
|
204
|
+
* @since iOS 11.0
|
|
205
|
+
*/
|
|
70
206
|
HKQuantityTypeIdentifier["walkingHeartRateAverage"] = "HKQuantityTypeIdentifierWalkingHeartRateAverage";
|
|
207
|
+
// Scalar(Count)/Time, Discrete
|
|
208
|
+
/**
|
|
209
|
+
* Heart Rate Variability SDNN
|
|
210
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheartratevariabilitysdnn Apple Docs HKQuantityTypeIdentifierHeartRateVariabilitySDNN}
|
|
211
|
+
* @since iOS 11.0
|
|
212
|
+
*/
|
|
71
213
|
HKQuantityTypeIdentifier["heartRateVariabilitySDNN"] = "HKQuantityTypeIdentifierHeartRateVariabilitySDNN";
|
|
214
|
+
// Time (ms), Discrete
|
|
215
|
+
/**
|
|
216
|
+
* Oxygen Saturation
|
|
217
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieroxygensaturation Apple Docs HKQuantityTypeIdentifierOxygenSaturation}
|
|
218
|
+
* @since iOS 8.0
|
|
219
|
+
*/
|
|
72
220
|
HKQuantityTypeIdentifier["oxygenSaturation"] = "HKQuantityTypeIdentifierOxygenSaturation";
|
|
221
|
+
/**
|
|
222
|
+
* Peripheral Perfusion Index
|
|
223
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierperipheralperfusionindex Apple Docs HKQuantityTypeIdentifierPeripheralPerfusionIndex}
|
|
224
|
+
* @since iOS 8.0
|
|
225
|
+
*/
|
|
73
226
|
HKQuantityTypeIdentifier["peripheralPerfusionIndex"] = "HKQuantityTypeIdentifierPeripheralPerfusionIndex";
|
|
227
|
+
// Scalar(Percent, 0.0 - 1.0), Discrete
|
|
228
|
+
/**
|
|
229
|
+
* Blood Glucose
|
|
230
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodglucose Apple Docs HKQuantityTypeIdentifierBloodGlucose}
|
|
231
|
+
*/
|
|
74
232
|
HKQuantityTypeIdentifier["bloodGlucose"] = "HKQuantityTypeIdentifierBloodGlucose";
|
|
233
|
+
/**
|
|
234
|
+
* Number Of Times Fallen
|
|
235
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiernumberoftimesfallen Apple Docs HKQuantityTypeIdentifierNumberOfTimesFallen}
|
|
236
|
+
*/
|
|
75
237
|
HKQuantityTypeIdentifier["numberOfTimesFallen"] = "HKQuantityTypeIdentifierNumberOfTimesFallen";
|
|
238
|
+
/**
|
|
239
|
+
* Electrodermal Activity
|
|
240
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierelectrodermalactivity Apple Docs HKQuantityTypeIdentifierElectrodermalActivity}
|
|
241
|
+
*/
|
|
76
242
|
HKQuantityTypeIdentifier["electrodermalActivity"] = "HKQuantityTypeIdentifierElectrodermalActivity";
|
|
243
|
+
/**
|
|
244
|
+
* Inhaler Usage
|
|
245
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierinhalerusage Apple Docs HKQuantityTypeIdentifierInhalerUsage}
|
|
246
|
+
* @since iOS 8
|
|
247
|
+
*/
|
|
77
248
|
HKQuantityTypeIdentifier["inhalerUsage"] = "HKQuantityTypeIdentifierInhalerUsage";
|
|
249
|
+
/**
|
|
250
|
+
* Insulin Delivery
|
|
251
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierinsulindelivery Apple Docs HKQuantityTypeIdentifierInsulinDelivery}
|
|
252
|
+
* @since iOS 11
|
|
253
|
+
*/
|
|
78
254
|
HKQuantityTypeIdentifier["insulinDelivery"] = "HKQuantityTypeIdentifierInsulinDelivery";
|
|
255
|
+
/**
|
|
256
|
+
* Blood Alcohol Content
|
|
257
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierbloodalcoholcontent Apple Docs HKQuantityTypeIdentifierBloodAlcoholContent}
|
|
258
|
+
* @since iOS 8
|
|
259
|
+
*/
|
|
79
260
|
HKQuantityTypeIdentifier["bloodAlcoholContent"] = "HKQuantityTypeIdentifierBloodAlcoholContent";
|
|
261
|
+
/**
|
|
262
|
+
* Forced Vital Capacity
|
|
263
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierforcedvitalcapacity Apple Docs HKQuantityTypeIdentifierForcedVitalCapacity}
|
|
264
|
+
*/
|
|
80
265
|
HKQuantityTypeIdentifier["forcedVitalCapacity"] = "HKQuantityTypeIdentifierForcedVitalCapacity";
|
|
266
|
+
/**
|
|
267
|
+
* Forced Expiratory Volume1
|
|
268
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierforcedexpiratoryvolume1 Apple Docs HKQuantityTypeIdentifierForcedExpiratoryVolume1}
|
|
269
|
+
* @since iOS 8
|
|
270
|
+
*/
|
|
81
271
|
HKQuantityTypeIdentifier["forcedExpiratoryVolume1"] = "HKQuantityTypeIdentifierForcedExpiratoryVolume1";
|
|
272
|
+
/**
|
|
273
|
+
* Peak Expiratory Flow Rate
|
|
274
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierpeakexpiratoryflowrate Apple Docs HKQuantityTypeIdentifierPeakExpiratoryFlowRate}
|
|
275
|
+
* @since iOS 8
|
|
276
|
+
*/
|
|
82
277
|
HKQuantityTypeIdentifier["peakExpiratoryFlowRate"] = "HKQuantityTypeIdentifierPeakExpiratoryFlowRate";
|
|
278
|
+
/**
|
|
279
|
+
* Environmental Audio Exposure
|
|
280
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierenvironmentalaudioexposure Apple Docs HKQuantityTypeIdentifierEnvironmentalAudioExposure}
|
|
281
|
+
* @since iOS 13
|
|
282
|
+
*/
|
|
83
283
|
HKQuantityTypeIdentifier["environmentalAudioExposure"] = "HKQuantityTypeIdentifierEnvironmentalAudioExposure";
|
|
284
|
+
/**
|
|
285
|
+
* Headphone Audio Exposure
|
|
286
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheadphoneaudioexposure Apple Docs HKQuantityTypeIdentifierHeadphoneAudioExposure}
|
|
287
|
+
* @since iOS 13
|
|
288
|
+
*/
|
|
84
289
|
HKQuantityTypeIdentifier["headphoneAudioExposure"] = "HKQuantityTypeIdentifierHeadphoneAudioExposure";
|
|
290
|
+
// Pressure, Cumulative
|
|
291
|
+
// Nutrition
|
|
292
|
+
/**
|
|
293
|
+
* Dietary Fat Total
|
|
294
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfattotal Apple Docs HKQuantityTypeIdentifierDietaryFatTotal}
|
|
295
|
+
* @since iOS 8
|
|
296
|
+
*/
|
|
85
297
|
HKQuantityTypeIdentifier["dietaryFatTotal"] = "HKQuantityTypeIdentifierDietaryFatTotal";
|
|
298
|
+
// Mass, Cumulative
|
|
299
|
+
/**
|
|
300
|
+
* Dietary Fat Polyunsaturated
|
|
301
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfatpolyunsaturated Apple Docs HKQuantityTypeIdentifierDietaryFatPolyunsaturated}
|
|
302
|
+
*/
|
|
86
303
|
HKQuantityTypeIdentifier["dietaryFatPolyunsaturated"] = "HKQuantityTypeIdentifierDietaryFatPolyunsaturated";
|
|
304
|
+
// Mass, Cumulative
|
|
305
|
+
/**
|
|
306
|
+
* Dietary Fat Monounsaturated
|
|
307
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfatmonounsaturated Apple Docs HKQuantityTypeIdentifierDietaryFatMonounsaturated}
|
|
308
|
+
*/
|
|
87
309
|
HKQuantityTypeIdentifier["dietaryFatMonounsaturated"] = "HKQuantityTypeIdentifierDietaryFatMonounsaturated";
|
|
310
|
+
// Mass, Cumulative
|
|
311
|
+
/**
|
|
312
|
+
* Dietary Fat Saturated
|
|
313
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfatsaturated Apple Docs HKQuantityTypeIdentifierDietaryFatSaturated}
|
|
314
|
+
*/
|
|
88
315
|
HKQuantityTypeIdentifier["dietaryFatSaturated"] = "HKQuantityTypeIdentifierDietaryFatSaturated";
|
|
316
|
+
// Mass, Cumulative
|
|
317
|
+
/**
|
|
318
|
+
* Dietary Cholesterol
|
|
319
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycholesterol Apple Docs HKQuantityTypeIdentifierDietaryCholesterol}
|
|
320
|
+
*/
|
|
89
321
|
HKQuantityTypeIdentifier["dietaryCholesterol"] = "HKQuantityTypeIdentifierDietaryCholesterol";
|
|
322
|
+
// Mass, Cumulative
|
|
323
|
+
/**
|
|
324
|
+
* Dietary Sodium
|
|
325
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarysodium Apple Docs HKQuantityTypeIdentifierDietarySodium}
|
|
326
|
+
*/
|
|
90
327
|
HKQuantityTypeIdentifier["dietarySodium"] = "HKQuantityTypeIdentifierDietarySodium";
|
|
328
|
+
// Mass, Cumulative
|
|
329
|
+
/**
|
|
330
|
+
* Dietary Carbohydrates
|
|
331
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycarbohydrates Apple Docs HKQuantityTypeIdentifierDietaryCarbohydrates}
|
|
332
|
+
*/
|
|
91
333
|
HKQuantityTypeIdentifier["dietaryCarbohydrates"] = "HKQuantityTypeIdentifierDietaryCarbohydrates";
|
|
334
|
+
// Mass, Cumulative
|
|
335
|
+
/**
|
|
336
|
+
* Dietary Fiber
|
|
337
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfiber Apple Docs HKQuantityTypeIdentifierDietaryFiber}
|
|
338
|
+
*/
|
|
92
339
|
HKQuantityTypeIdentifier["dietaryFiber"] = "HKQuantityTypeIdentifierDietaryFiber";
|
|
340
|
+
// Mass, Cumulative
|
|
341
|
+
/**
|
|
342
|
+
* Dietary Sugar
|
|
343
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarysugar Apple Docs HKQuantityTypeIdentifierDietarySugar}
|
|
344
|
+
*/
|
|
93
345
|
HKQuantityTypeIdentifier["dietarySugar"] = "HKQuantityTypeIdentifierDietarySugar";
|
|
346
|
+
// Mass, Cumulative
|
|
347
|
+
/**
|
|
348
|
+
* Dietary Energy Consumed
|
|
349
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryenergyconsumed Apple Docs HKQuantityTypeIdentifierDietaryEnergyConsumed}
|
|
350
|
+
*/
|
|
94
351
|
HKQuantityTypeIdentifier["dietaryEnergyConsumed"] = "HKQuantityTypeIdentifierDietaryEnergyConsumed";
|
|
352
|
+
// Energy, Cumulative
|
|
353
|
+
/**
|
|
354
|
+
* Dietary Protein
|
|
355
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryprotein Apple Docs HKQuantityTypeIdentifierDietaryProtein}
|
|
356
|
+
*/
|
|
95
357
|
HKQuantityTypeIdentifier["dietaryProtein"] = "HKQuantityTypeIdentifierDietaryProtein";
|
|
358
|
+
// Mass, Cumulative
|
|
359
|
+
/**
|
|
360
|
+
* Dietary Vitamin A
|
|
361
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamina Apple Docs HKQuantityTypeIdentifierDietaryVitaminA}
|
|
362
|
+
*/
|
|
96
363
|
HKQuantityTypeIdentifier["dietaryVitaminA"] = "HKQuantityTypeIdentifierDietaryVitaminA";
|
|
364
|
+
// Mass, Cumulative
|
|
365
|
+
/**
|
|
366
|
+
* Dietary Vitamin B6
|
|
367
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitaminb6 Apple Docs HKQuantityTypeIdentifierDietaryVitaminB6}
|
|
368
|
+
*/
|
|
97
369
|
HKQuantityTypeIdentifier["dietaryVitaminB6"] = "HKQuantityTypeIdentifierDietaryVitaminB6";
|
|
370
|
+
// Mass, Cumulative
|
|
371
|
+
/**
|
|
372
|
+
* Dietary Vitamin B12
|
|
373
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitaminb12 Apple Docs HKQuantityTypeIdentifierDietaryVitaminB12}
|
|
374
|
+
*/
|
|
98
375
|
HKQuantityTypeIdentifier["dietaryVitaminB12"] = "HKQuantityTypeIdentifierDietaryVitaminB12";
|
|
376
|
+
// Mass, Cumulative
|
|
377
|
+
/**
|
|
378
|
+
* Dietary Vitamin C
|
|
379
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitaminc Apple Docs HKQuantityTypeIdentifierDietaryVitaminC}
|
|
380
|
+
*/
|
|
99
381
|
HKQuantityTypeIdentifier["dietaryVitaminC"] = "HKQuantityTypeIdentifierDietaryVitaminC";
|
|
382
|
+
// Mass, Cumulative
|
|
383
|
+
/**
|
|
384
|
+
* Dietary Vitamin D
|
|
385
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamind Apple Docs HKQuantityTypeIdentifierDietaryVitaminD}
|
|
386
|
+
*/
|
|
100
387
|
HKQuantityTypeIdentifier["dietaryVitaminD"] = "HKQuantityTypeIdentifierDietaryVitaminD";
|
|
388
|
+
// Mass, Cumulative
|
|
389
|
+
/**
|
|
390
|
+
* Dietary Vitamin E
|
|
391
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamine Apple Docs HKQuantityTypeIdentifierDietaryVitaminE}
|
|
392
|
+
*/
|
|
101
393
|
HKQuantityTypeIdentifier["dietaryVitaminE"] = "HKQuantityTypeIdentifierDietaryVitaminE";
|
|
394
|
+
// Mass, Cumulative
|
|
395
|
+
/**
|
|
396
|
+
* Dietary Vitamin K
|
|
397
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryvitamink Apple Docs HKQuantityTypeIdentifierDietaryVitaminK}
|
|
398
|
+
*/
|
|
102
399
|
HKQuantityTypeIdentifier["dietaryVitaminK"] = "HKQuantityTypeIdentifierDietaryVitaminK";
|
|
400
|
+
// Mass, Cumulative
|
|
401
|
+
/**
|
|
402
|
+
* Dietary Calcium
|
|
403
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycalcium Apple Docs HKQuantityTypeIdentifierDietaryCalcium}
|
|
404
|
+
*/
|
|
103
405
|
HKQuantityTypeIdentifier["dietaryCalcium"] = "HKQuantityTypeIdentifierDietaryCalcium";
|
|
406
|
+
// Mass, Cumulative
|
|
407
|
+
/**
|
|
408
|
+
* Dietary Iron
|
|
409
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryiron Apple Docs HKQuantityTypeIdentifierDietaryIron}
|
|
410
|
+
*/
|
|
104
411
|
HKQuantityTypeIdentifier["dietaryIron"] = "HKQuantityTypeIdentifierDietaryIron";
|
|
412
|
+
// Mass, Cumulative
|
|
413
|
+
/**
|
|
414
|
+
* Dietary Thiamin
|
|
415
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarythiamin Apple Docs HKQuantityTypeIdentifierDietaryThiamin}
|
|
416
|
+
*/
|
|
105
417
|
HKQuantityTypeIdentifier["dietaryThiamin"] = "HKQuantityTypeIdentifierDietaryThiamin";
|
|
418
|
+
// Mass, Cumulative
|
|
419
|
+
/**
|
|
420
|
+
* Dietary Riboflavin
|
|
421
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryriboflavin Apple Docs HKQuantityTypeIdentifierDietaryRiboflavin}
|
|
422
|
+
*/
|
|
106
423
|
HKQuantityTypeIdentifier["dietaryRiboflavin"] = "HKQuantityTypeIdentifierDietaryRiboflavin";
|
|
424
|
+
// Mass, Cumulative
|
|
425
|
+
/**
|
|
426
|
+
* Dietary Niacin
|
|
427
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryniacin Apple Docs HKQuantityTypeIdentifierDietaryNiacin}
|
|
428
|
+
*/
|
|
107
429
|
HKQuantityTypeIdentifier["dietaryNiacin"] = "HKQuantityTypeIdentifierDietaryNiacin";
|
|
430
|
+
// Mass, Cumulative
|
|
431
|
+
/**
|
|
432
|
+
* Dietary Folate
|
|
433
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryfolate Apple Docs HKQuantityTypeIdentifierDietaryFolate}
|
|
434
|
+
*/
|
|
108
435
|
HKQuantityTypeIdentifier["dietaryFolate"] = "HKQuantityTypeIdentifierDietaryFolate";
|
|
436
|
+
// Mass, Cumulative
|
|
437
|
+
/**
|
|
438
|
+
* Dietary Biotin
|
|
439
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarybiotin Apple Docs HKQuantityTypeIdentifierDietaryBiotin}
|
|
440
|
+
*/
|
|
109
441
|
HKQuantityTypeIdentifier["dietaryBiotin"] = "HKQuantityTypeIdentifierDietaryBiotin";
|
|
442
|
+
// Mass, Cumulative
|
|
443
|
+
/**
|
|
444
|
+
* Dietary Pantothenic Acid
|
|
445
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarypantothenicacid Apple Docs HKQuantityTypeIdentifierDietaryPantothenicAcid}
|
|
446
|
+
*/
|
|
110
447
|
HKQuantityTypeIdentifier["dietaryPantothenicAcid"] = "HKQuantityTypeIdentifierDietaryPantothenicAcid";
|
|
448
|
+
// Mass, Cumulative
|
|
449
|
+
/**
|
|
450
|
+
* Dietary Phosphorus
|
|
451
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryphosphorus Apple Docs HKQuantityTypeIdentifierDietaryPhosphorus}
|
|
452
|
+
*/
|
|
111
453
|
HKQuantityTypeIdentifier["dietaryPhosphorus"] = "HKQuantityTypeIdentifierDietaryPhosphorus";
|
|
454
|
+
// Mass, Cumulative
|
|
455
|
+
/**
|
|
456
|
+
* Dietary Iodine
|
|
457
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryiodine Apple Docs HKQuantityTypeIdentifierDietaryIodine}
|
|
458
|
+
*/
|
|
112
459
|
HKQuantityTypeIdentifier["dietaryIodine"] = "HKQuantityTypeIdentifierDietaryIodine";
|
|
460
|
+
// Mass, Cumulative
|
|
461
|
+
/**
|
|
462
|
+
* Dietary Magnesium
|
|
463
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarymagnesium Apple Docs HKQuantityTypeIdentifierDietaryMagnesium}
|
|
464
|
+
*/
|
|
113
465
|
HKQuantityTypeIdentifier["dietaryMagnesium"] = "HKQuantityTypeIdentifierDietaryMagnesium";
|
|
466
|
+
// Mass, Cumulative
|
|
467
|
+
/**
|
|
468
|
+
* Dietary Zinc
|
|
469
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryzinc Apple Docs HKQuantityTypeIdentifierDietaryZinc}
|
|
470
|
+
*/
|
|
114
471
|
HKQuantityTypeIdentifier["dietaryZinc"] = "HKQuantityTypeIdentifierDietaryZinc";
|
|
472
|
+
// Mass, Cumulative
|
|
473
|
+
/**
|
|
474
|
+
* Dietary Selenium
|
|
475
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietaryselenium Apple Docs HKQuantityTypeIdentifierDietarySelenium}
|
|
476
|
+
*/
|
|
115
477
|
HKQuantityTypeIdentifier["dietarySelenium"] = "HKQuantityTypeIdentifierDietarySelenium";
|
|
478
|
+
// Mass, Cumulative
|
|
479
|
+
/**
|
|
480
|
+
* Dietary Copper
|
|
481
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycopper Apple Docs HKQuantityTypeIdentifierDietaryCopper}
|
|
482
|
+
*/
|
|
116
483
|
HKQuantityTypeIdentifier["dietaryCopper"] = "HKQuantityTypeIdentifierDietaryCopper";
|
|
484
|
+
// Mass, Cumulative
|
|
485
|
+
/**
|
|
486
|
+
* Dietary Manganese
|
|
487
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarymanganese Apple Docs HKQuantityTypeIdentifierDietaryManganese}
|
|
488
|
+
*/
|
|
117
489
|
HKQuantityTypeIdentifier["dietaryManganese"] = "HKQuantityTypeIdentifierDietaryManganese";
|
|
490
|
+
// Mass, Cumulative
|
|
491
|
+
/**
|
|
492
|
+
* Dietary Chromium
|
|
493
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarychromium Apple Docs HKQuantityTypeIdentifierDietaryChromium}
|
|
494
|
+
*/
|
|
118
495
|
HKQuantityTypeIdentifier["dietaryChromium"] = "HKQuantityTypeIdentifierDietaryChromium";
|
|
496
|
+
// Mass, Cumulative
|
|
497
|
+
/**
|
|
498
|
+
* Dietary Molybdenum
|
|
499
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarymolybdenum Apple Docs HKQuantityTypeIdentifierDietaryMolybdenum}
|
|
500
|
+
*/
|
|
119
501
|
HKQuantityTypeIdentifier["dietaryMolybdenum"] = "HKQuantityTypeIdentifierDietaryMolybdenum";
|
|
502
|
+
// Mass, Cumulative
|
|
503
|
+
/**
|
|
504
|
+
* Dietary Chloride
|
|
505
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarychloride Apple Docs HKQuantityTypeIdentifierDietaryChloride}
|
|
506
|
+
* @since iOS 8
|
|
507
|
+
*/
|
|
120
508
|
HKQuantityTypeIdentifier["dietaryChloride"] = "HKQuantityTypeIdentifierDietaryChloride";
|
|
509
|
+
// Mass, Cumulative
|
|
510
|
+
/**
|
|
511
|
+
* Dietary Potassium
|
|
512
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarypotassium Apple Docs HKQuantityTypeIdentifierDietaryPotassium}
|
|
513
|
+
* @since iOS 8
|
|
514
|
+
*/
|
|
121
515
|
HKQuantityTypeIdentifier["dietaryPotassium"] = "HKQuantityTypeIdentifierDietaryPotassium";
|
|
516
|
+
// Mass, Cumulative
|
|
517
|
+
/**
|
|
518
|
+
* Dietary Caffeine
|
|
519
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarycaffeine Apple Docs HKQuantityTypeIdentifierDietaryCaffeine}
|
|
520
|
+
* @since iOS 8
|
|
521
|
+
*/
|
|
122
522
|
HKQuantityTypeIdentifier["dietaryCaffeine"] = "HKQuantityTypeIdentifierDietaryCaffeine";
|
|
523
|
+
// Mass, Cumulative
|
|
524
|
+
/**
|
|
525
|
+
* Dietary Water
|
|
526
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierdietarywater Apple Docs HKQuantityTypeIdentifierDietaryWater}
|
|
527
|
+
* @since iOS 9
|
|
528
|
+
*/
|
|
123
529
|
HKQuantityTypeIdentifier["dietaryWater"] = "HKQuantityTypeIdentifierDietaryWater";
|
|
530
|
+
// Volume, Cumulative
|
|
531
|
+
// Mobility
|
|
532
|
+
/**
|
|
533
|
+
* Six Minute Walk Test Distance
|
|
534
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiersixminutewalktestdistance Apple Docs HKQuantityTypeIdentifierSixMinuteWalkTestDistance}
|
|
535
|
+
* @since iOS 14
|
|
536
|
+
*/
|
|
124
537
|
HKQuantityTypeIdentifier["sixMinuteWalkTestDistance"] = "HKQuantityTypeIdentifierSixMinuteWalkTestDistance";
|
|
538
|
+
/**
|
|
539
|
+
* Walking Speed
|
|
540
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingspeed Apple Docs HKQuantityTypeIdentifierWalkingSpeed}
|
|
541
|
+
* @since iOS 14
|
|
542
|
+
*/
|
|
125
543
|
HKQuantityTypeIdentifier["walkingSpeed"] = "HKQuantityTypeIdentifierWalkingSpeed";
|
|
544
|
+
/**
|
|
545
|
+
* Walking Step Length
|
|
546
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingsteplength Apple Docs HKQuantityTypeIdentifierWalkingStepLength}
|
|
547
|
+
* @since iOS 14
|
|
548
|
+
*/
|
|
126
549
|
HKQuantityTypeIdentifier["walkingStepLength"] = "HKQuantityTypeIdentifierWalkingStepLength";
|
|
550
|
+
/**
|
|
551
|
+
* Walking Asymmetry Percentage
|
|
552
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingasymmetrypercentage Apple Docs HKQuantityTypeIdentifierWalkingAsymmetryPercentage}
|
|
553
|
+
* @since iOS 14
|
|
554
|
+
*/
|
|
127
555
|
HKQuantityTypeIdentifier["walkingAsymmetryPercentage"] = "HKQuantityTypeIdentifierWalkingAsymmetryPercentage";
|
|
556
|
+
/**
|
|
557
|
+
* Walking Double Support Percentage
|
|
558
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwalkingdoublesupportpercentage Apple Docs HKQuantityTypeIdentifierWalkingDoubleSupportPercentage}
|
|
559
|
+
* @since iOS 14
|
|
560
|
+
*/
|
|
128
561
|
HKQuantityTypeIdentifier["walkingDoubleSupportPercentage"] = "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage";
|
|
562
|
+
/**
|
|
563
|
+
* Stair Ascent Speed
|
|
564
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierstairascentspeed Apple Docs HKQuantityTypeIdentifierStairAscentSpeed}
|
|
565
|
+
* @since iOS 14
|
|
566
|
+
*/
|
|
129
567
|
HKQuantityTypeIdentifier["stairAscentSpeed"] = "HKQuantityTypeIdentifierStairAscentSpeed";
|
|
568
|
+
/**
|
|
569
|
+
* Stair Descent Speed
|
|
570
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierstairdescentspeed Apple Docs HKQuantityTypeIdentifierStairDescentSpeed}
|
|
571
|
+
* @since iOS 14
|
|
572
|
+
*/
|
|
130
573
|
HKQuantityTypeIdentifier["stairDescentSpeed"] = "HKQuantityTypeIdentifierStairDescentSpeed";
|
|
574
|
+
/**
|
|
575
|
+
* UV Exposure
|
|
576
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieruvexposure Apple Docs HKQuantityTypeIdentifierUVExposure}
|
|
577
|
+
* @since iOS 9
|
|
578
|
+
*/
|
|
131
579
|
HKQuantityTypeIdentifier["uvExposure"] = "HKQuantityTypeIdentifierUVExposure";
|
|
580
|
+
// Scalar (Count), Discrete
|
|
581
|
+
/**
|
|
582
|
+
* Apple Move Time
|
|
583
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplemovetime Apple Docs HKQuantityTypeIdentifierAppleMoveTime}
|
|
584
|
+
* @since iOS 14.5
|
|
585
|
+
*/
|
|
132
586
|
HKQuantityTypeIdentifier["appleMoveTime"] = "HKQuantityTypeIdentifierAppleMoveTime";
|
|
587
|
+
// Time, Cumulative
|
|
588
|
+
/**
|
|
589
|
+
* Apple Walking Steadiness
|
|
590
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplewalkingsteadiness Apple Docs HKQuantityTypeIdentifierAppleWalkingSteadiness}
|
|
591
|
+
* @since iOS 15
|
|
592
|
+
*/
|
|
133
593
|
HKQuantityTypeIdentifier["appleWalkingSteadiness"] = "HKQuantityTypeIdentifierAppleWalkingSteadiness";
|
|
594
|
+
// Scalar(Percent, 0.0 - 1.0), Discrete
|
|
595
|
+
/**
|
|
596
|
+
* Number Of Alcoholic Beverages
|
|
597
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiernumberofalcoholicbeverages Apple Docs HKQuantityTypeIdentifierNumberOfAlcoholicBeverages}
|
|
598
|
+
* @since iOS 15
|
|
599
|
+
*/
|
|
134
600
|
HKQuantityTypeIdentifier["numberOfAlcoholicBeverages"] = "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages";
|
|
601
|
+
// Scalar(Count), Cumulative
|
|
602
|
+
/**
|
|
603
|
+
* Atrial Fibrillation Burden
|
|
604
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifieratrialfibrillationburden Apple Docs HKQuantityTypeIdentifierAtrialFibrillationBurden}
|
|
605
|
+
* @since iOS 16
|
|
606
|
+
*/
|
|
135
607
|
HKQuantityTypeIdentifier["atrialFibrillationBurden"] = "HKQuantityTypeIdentifierAtrialFibrillationBurden";
|
|
608
|
+
// Scalar(Percent, 0.0 - 1.0), Discrete
|
|
609
|
+
/**
|
|
610
|
+
* Underwater Depth
|
|
611
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierunderwaterdepth Apple Docs HKQuantityTypeIdentifierUnderwaterDepth}
|
|
612
|
+
* @since iOS 16
|
|
613
|
+
*/
|
|
136
614
|
HKQuantityTypeIdentifier["underwaterDepth"] = "HKQuantityTypeIdentifierUnderwaterDepth";
|
|
615
|
+
// Length, Discrete
|
|
616
|
+
/**
|
|
617
|
+
* Water Temperature
|
|
618
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierwatertemperature Apple Docs HKQuantityTypeIdentifierWaterTemperature}
|
|
619
|
+
* @since iOS 16
|
|
620
|
+
*/
|
|
137
621
|
HKQuantityTypeIdentifier["waterTemperature"] = "HKQuantityTypeIdentifierWaterTemperature";
|
|
622
|
+
// Temperature, Discrete
|
|
623
|
+
/**
|
|
624
|
+
* Apple Sleeping Wrist Temperature
|
|
625
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierapplesleepingwristtemperature Apple Docs HKQuantityTypeIdentifierAppleSleepingWristTemperature}
|
|
626
|
+
* @since iOS 17
|
|
627
|
+
*/
|
|
138
628
|
HKQuantityTypeIdentifier["appleSleepingWristTemperature"] = "HKQuantityTypeIdentifierAppleSleepingWristTemperature";
|
|
629
|
+
// Temperature, Discrete
|
|
630
|
+
/**
|
|
631
|
+
* Time In Daylight
|
|
632
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiertimeindaylight Apple Docs HKQuantityTypeIdentifierTimeInDaylight}
|
|
633
|
+
* @since iOS 17
|
|
634
|
+
*/
|
|
139
635
|
HKQuantityTypeIdentifier["timeInDaylight"] = "HKQuantityTypeIdentifierTimeInDaylight";
|
|
636
|
+
// Time, Cumulative
|
|
637
|
+
/**
|
|
638
|
+
* Physical Effort
|
|
639
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierphysicaleffort Apple Docs HKQuantityTypeIdentifierPhysicalEffort}
|
|
640
|
+
* @since iOS 17
|
|
641
|
+
*/
|
|
140
642
|
HKQuantityTypeIdentifier["physicalEffort"] = "HKQuantityTypeIdentifierPhysicalEffort";
|
|
643
|
+
// Scalar (Percent, 0.0 - 1.0), Discrete
|
|
644
|
+
/**
|
|
645
|
+
* Cycling Speed
|
|
646
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingspeed Apple Docs HKQuantityTypeIdentifierCyclingSpeed}
|
|
647
|
+
* @since iOS 17
|
|
648
|
+
*/
|
|
141
649
|
HKQuantityTypeIdentifier["cyclingSpeed"] = "HKQuantityTypeIdentifierCyclingSpeed";
|
|
650
|
+
/**
|
|
651
|
+
* Cycling Power
|
|
652
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingpower Apple Docs HKQuantityTypeIdentifierCyclingPower}
|
|
653
|
+
* @since iOS 17
|
|
654
|
+
*/
|
|
142
655
|
HKQuantityTypeIdentifier["cyclingPower"] = "HKQuantityTypeIdentifierCyclingPower";
|
|
656
|
+
/**
|
|
657
|
+
* Cycling Functional Threshold Power
|
|
658
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingfunctionalthresholdpower Apple Docs HKQuantityTypeIdentifierCyclingFunctionalThresholdPower}
|
|
659
|
+
* @since iOS 17
|
|
660
|
+
*/
|
|
143
661
|
HKQuantityTypeIdentifier["cyclingFunctionalThresholdPower"] = "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower";
|
|
662
|
+
/**
|
|
663
|
+
* Cycling Cadence
|
|
664
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifiercyclingcadence Apple Docs HKQuantityTypeIdentifierCyclingCadence}
|
|
665
|
+
* @since iOS 17
|
|
666
|
+
*/
|
|
144
667
|
HKQuantityTypeIdentifier["cyclingCadence"] = "HKQuantityTypeIdentifierCyclingCadence";
|
|
668
|
+
/**
|
|
669
|
+
* Environmental Sound Reduction
|
|
670
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierenvironmentalsoundreduction Apple Docs HKQuantityTypeIdentifierEnvironmentalSoundReduction}
|
|
671
|
+
* @since iOS 16
|
|
672
|
+
*/
|
|
145
673
|
HKQuantityTypeIdentifier["environmentalSoundReduction"] = "HKQuantityTypeIdentifierEnvironmentalSoundReduction";
|
|
674
|
+
/**
|
|
675
|
+
* Heart Rate Recovery One Minute
|
|
676
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierheartraterecoveryoneminute Apple Docs HKQuantityTypeIdentifierHeartRateRecoveryOneMinute}
|
|
677
|
+
* @since iOS 16
|
|
678
|
+
*/
|
|
146
679
|
HKQuantityTypeIdentifier["heartRateRecoveryOneMinute"] = "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute";
|
|
680
|
+
/**
|
|
681
|
+
* Running Ground Contact Time
|
|
682
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunninggroundcontacttime Apple Docs HKQuantityTypeIdentifierRunningGroundContactTime}
|
|
683
|
+
* @since iOS 16
|
|
684
|
+
*/
|
|
147
685
|
HKQuantityTypeIdentifier["runningGroundContactTime"] = "HKQuantityTypeIdentifierRunningGroundContactTime";
|
|
686
|
+
/**
|
|
687
|
+
* Running Stride Length
|
|
688
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningstridelength Apple Docs HKQuantityTypeIdentifierRunningStrideLength}
|
|
689
|
+
* @since iOS 16
|
|
690
|
+
*/
|
|
148
691
|
HKQuantityTypeIdentifier["runningStrideLength"] = "HKQuantityTypeIdentifierRunningStrideLength";
|
|
692
|
+
/**
|
|
693
|
+
* Running Power
|
|
694
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningpower Apple Docs HKQuantityTypeIdentifierRunningPower}
|
|
695
|
+
* @since iOS 16
|
|
696
|
+
*/
|
|
149
697
|
HKQuantityTypeIdentifier["runningPower"] = "HKQuantityTypeIdentifierRunningPower";
|
|
698
|
+
/**
|
|
699
|
+
* Running Vertical Oscillation
|
|
700
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningverticaloscillation Apple Docs HKQuantityTypeIdentifierRunningVerticalOscillation}
|
|
701
|
+
* @since iOS 16
|
|
702
|
+
*/
|
|
150
703
|
HKQuantityTypeIdentifier["runningVerticalOscillation"] = "HKQuantityTypeIdentifierRunningVerticalOscillation";
|
|
704
|
+
/**
|
|
705
|
+
* Running Speed
|
|
706
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitytypeidentifierrunningspeed Apple Docs HKQuantityTypeIdentifierRunningSpeed}
|
|
707
|
+
* @since iOS 16
|
|
708
|
+
*/
|
|
151
709
|
HKQuantityTypeIdentifier["runningSpeed"] = "HKQuantityTypeIdentifierRunningSpeed";
|
|
710
|
+
/**
|
|
711
|
+
* Cross Country Skiing Speed
|
|
712
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierCrossCountrySkiingSpeed Apple Docs HKQuantityTypeIdentifierCrossCountrySkiingSpeed}
|
|
713
|
+
* @since iOS 18
|
|
714
|
+
*/
|
|
152
715
|
HKQuantityTypeIdentifier["crossCountrySkiingSpeed"] = "HKQuantityTypeIdentifierCrossCountrySkiingSpeed";
|
|
716
|
+
/**
|
|
717
|
+
* Cross Country Skiing Distance
|
|
718
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistanceCrossCountrySkiing Apple Docs HKQuantityTypeIdentifierCrossCountrySkiingDistance}
|
|
719
|
+
* @since iOS 18
|
|
720
|
+
*/
|
|
153
721
|
HKQuantityTypeIdentifier["distanceCrossCountrySkiing"] = "HKQuantityTypeIdentifierDistanceCrossCountrySkiing";
|
|
722
|
+
/**
|
|
723
|
+
* Paddle Sports Distance
|
|
724
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistancePaddleSports Apple Docs HKQuantityTypeIdentifierDistancePaddleSports}
|
|
725
|
+
* @since iOS 18
|
|
726
|
+
*/
|
|
154
727
|
HKQuantityTypeIdentifier["distancePaddleSports"] = "HKQuantityTypeIdentifierDistancePaddleSports";
|
|
728
|
+
/**
|
|
729
|
+
* Rowing Distance
|
|
730
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistanceRowing Apple Docs HKQuantityTypeIdentifierDistanceRowing}
|
|
731
|
+
* @since iOS 18
|
|
732
|
+
*/
|
|
155
733
|
HKQuantityTypeIdentifier["distanceRowing"] = "HKQuantityTypeIdentifierDistanceRowing";
|
|
734
|
+
/**
|
|
735
|
+
* Skating Sports Distance
|
|
736
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierDistanceSkatingSports Apple Docs HKQuantityTypeIdentifierDistanceSkatingSports}
|
|
737
|
+
* @since iOS 18
|
|
738
|
+
*/
|
|
156
739
|
HKQuantityTypeIdentifier["distanceSkatingSports"] = "HKQuantityTypeIdentifierDistanceSkatingSports";
|
|
740
|
+
/**
|
|
741
|
+
* Estimated Workout Effort Score
|
|
742
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierEstimatedWorkoutEffortScore Apple Docs HKQuantityTypeIdentifierEstimatedWorkoutEffortScore}
|
|
743
|
+
* @since iOS 18
|
|
744
|
+
*/
|
|
157
745
|
HKQuantityTypeIdentifier["estimatedWorkoutEffortScore"] = "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore";
|
|
746
|
+
/**
|
|
747
|
+
* Paddle Sports Speed
|
|
748
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierPaddleSportsSpeed Apple Docs HKQuantityTypeIdentifierPaddleSportsSpeed}
|
|
749
|
+
* @since iOS 18
|
|
750
|
+
*/
|
|
158
751
|
HKQuantityTypeIdentifier["paddleSportsSpeed"] = "HKQuantityTypeIdentifierPaddleSportsSpeed";
|
|
752
|
+
/**
|
|
753
|
+
* Rowing Speed
|
|
754
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierRowingSpeed Apple Docs HKQuantityTypeIdentifierRowingSpeed}
|
|
755
|
+
* @since iOS 18
|
|
756
|
+
*/
|
|
159
757
|
HKQuantityTypeIdentifier["rowingSpeed"] = "HKQuantityTypeIdentifierRowingSpeed";
|
|
758
|
+
/**
|
|
759
|
+
* Workout Effort Score
|
|
760
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/HKQuantityTypeIdentifierWorkoutEffortScore Apple Docs HKQuantityTypeIdentifierWorkoutEffortScore}
|
|
761
|
+
* @since iOS 18
|
|
762
|
+
*/
|
|
160
763
|
HKQuantityTypeIdentifier["workoutEffortScore"] = "HKQuantityTypeIdentifierWorkoutEffortScore";
|
|
161
764
|
return HKQuantityTypeIdentifier;
|
|
162
765
|
}({});
|
|
@@ -188,6 +791,10 @@ export let HKCategoryTypeIdentifier = /*#__PURE__*/function (HKCategoryTypeIdent
|
|
|
188
791
|
HKCategoryTypeIdentifier["appleStandHour"] = "HKCategoryTypeIdentifierAppleStandHour";
|
|
189
792
|
HKCategoryTypeIdentifier["cervicalMucusQuality"] = "HKCategoryTypeIdentifierCervicalMucusQuality";
|
|
190
793
|
HKCategoryTypeIdentifier["ovulationTestResult"] = "HKCategoryTypeIdentifierOvulationTestResult";
|
|
794
|
+
/**
|
|
795
|
+
* @deprecated In iOS 18 beta
|
|
796
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifiermenstrualflow Apple Docs }
|
|
797
|
+
*/
|
|
191
798
|
HKCategoryTypeIdentifier["menstrualFlow"] = "HKCategoryTypeIdentifierMenstrualFlow";
|
|
192
799
|
HKCategoryTypeIdentifier["intermenstrualBleeding"] = "HKCategoryTypeIdentifierIntermenstrualBleeding";
|
|
193
800
|
HKCategoryTypeIdentifier["sexualActivity"] = "HKCategoryTypeIdentifierSexualActivity";
|
|
@@ -195,6 +802,9 @@ export let HKCategoryTypeIdentifier = /*#__PURE__*/function (HKCategoryTypeIdent
|
|
|
195
802
|
HKCategoryTypeIdentifier["highHeartRateEvent"] = "HKCategoryTypeIdentifierHighHeartRateEvent";
|
|
196
803
|
HKCategoryTypeIdentifier["lowHeartRateEvent"] = "HKCategoryTypeIdentifierLowHeartRateEvent";
|
|
197
804
|
HKCategoryTypeIdentifier["irregularHeartRhythmEvent"] = "HKCategoryTypeIdentifierIrregularHeartRhythmEvent";
|
|
805
|
+
/**
|
|
806
|
+
* @deprecated Use environmentalAudioExposureEvent instead.
|
|
807
|
+
*/
|
|
198
808
|
HKCategoryTypeIdentifier["audioExposureEvent"] = "HKCategoryTypeIdentifierAudioExposureEvent";
|
|
199
809
|
HKCategoryTypeIdentifier["toothbrushingEvent"] = "HKCategoryTypeIdentifierToothbrushingEvent";
|
|
200
810
|
HKCategoryTypeIdentifier["lowCardioFitnessEvent"] = "HKCategoryTypeIdentifierLowCardioFitnessEvent";
|
|
@@ -207,49 +817,101 @@ export let HKCategoryTypeIdentifier = /*#__PURE__*/function (HKCategoryTypeIdent
|
|
|
207
817
|
HKCategoryTypeIdentifier["headphoneAudioExposureEvent"] = "HKCategoryTypeIdentifierHeadphoneAudioExposureEvent";
|
|
208
818
|
HKCategoryTypeIdentifier["appleWalkingSteadinessEvent"] = "HKCategoryTypeIdentifierAppleWalkingSteadinessEvent";
|
|
209
819
|
HKCategoryTypeIdentifier["handwashingEvent"] = "HKCategoryTypeIdentifierHandwashingEvent";
|
|
820
|
+
// HKCategoryValue
|
|
821
|
+
// Symptoms
|
|
210
822
|
HKCategoryTypeIdentifier["abdominalCramps"] = "HKCategoryTypeIdentifierAbdominalCramps";
|
|
823
|
+
// HKCategoryValueSeverity
|
|
211
824
|
HKCategoryTypeIdentifier["acne"] = "HKCategoryTypeIdentifierAcne";
|
|
825
|
+
// HKCategoryValueSeverity
|
|
212
826
|
HKCategoryTypeIdentifier["appetiteChanges"] = "HKCategoryTypeIdentifierAppetiteChanges";
|
|
827
|
+
// HKCategoryValueAppetiteChanges
|
|
213
828
|
HKCategoryTypeIdentifier["bladderIncontinence"] = "HKCategoryTypeIdentifierBladderIncontinence";
|
|
829
|
+
// HKCategoryValueSeverity
|
|
214
830
|
HKCategoryTypeIdentifier["bloating"] = "HKCategoryTypeIdentifierBloating";
|
|
831
|
+
// HKCategoryValueSeverity
|
|
215
832
|
HKCategoryTypeIdentifier["breastPain"] = "HKCategoryTypeIdentifierBreastPain";
|
|
833
|
+
// HKCategoryValueSeverity
|
|
216
834
|
HKCategoryTypeIdentifier["chestTightnessOrPain"] = "HKCategoryTypeIdentifierChestTightnessOrPain";
|
|
835
|
+
// HKCategoryValueSeverity
|
|
217
836
|
HKCategoryTypeIdentifier["chills"] = "HKCategoryTypeIdentifierChills";
|
|
837
|
+
// HKCategoryValueSeverity
|
|
218
838
|
HKCategoryTypeIdentifier["constipation"] = "HKCategoryTypeIdentifierConstipation";
|
|
839
|
+
// HKCategoryValueSeverity
|
|
219
840
|
HKCategoryTypeIdentifier["coughing"] = "HKCategoryTypeIdentifierCoughing";
|
|
841
|
+
// HKCategoryValueSeverity
|
|
220
842
|
HKCategoryTypeIdentifier["diarrhea"] = "HKCategoryTypeIdentifierDiarrhea";
|
|
843
|
+
// HKCategoryValueSeverity
|
|
221
844
|
HKCategoryTypeIdentifier["dizziness"] = "HKCategoryTypeIdentifierDizziness";
|
|
845
|
+
// HKCategoryValueSeverity
|
|
222
846
|
HKCategoryTypeIdentifier["drySkin"] = "HKCategoryTypeIdentifierDrySkin";
|
|
847
|
+
// HKCategoryValueSeverity
|
|
223
848
|
HKCategoryTypeIdentifier["fainting"] = "HKCategoryTypeIdentifierFainting";
|
|
849
|
+
// HKCategoryValueSeverity
|
|
224
850
|
HKCategoryTypeIdentifier["fatigue"] = "HKCategoryTypeIdentifierFatigue";
|
|
851
|
+
// HKCategoryValueSeverity
|
|
225
852
|
HKCategoryTypeIdentifier["fever"] = "HKCategoryTypeIdentifierFever";
|
|
853
|
+
// HKCategoryValueSeverity
|
|
226
854
|
HKCategoryTypeIdentifier["generalizedBodyAche"] = "HKCategoryTypeIdentifierGeneralizedBodyAche";
|
|
855
|
+
// HKCategoryValueSeverity
|
|
227
856
|
HKCategoryTypeIdentifier["hairLoss"] = "HKCategoryTypeIdentifierHairLoss";
|
|
857
|
+
// HKCategoryValueSeverity
|
|
228
858
|
HKCategoryTypeIdentifier["headache"] = "HKCategoryTypeIdentifierHeadache";
|
|
859
|
+
// HKCategoryValueSeverity
|
|
229
860
|
HKCategoryTypeIdentifier["heartburn"] = "HKCategoryTypeIdentifierHeartburn";
|
|
861
|
+
// HKCategoryValueSeverity
|
|
230
862
|
HKCategoryTypeIdentifier["hotFlashes"] = "HKCategoryTypeIdentifierHotFlashes";
|
|
863
|
+
// HKCategoryValueSeverity
|
|
231
864
|
HKCategoryTypeIdentifier["lossOfSmell"] = "HKCategoryTypeIdentifierLossOfSmell";
|
|
865
|
+
// HKCategoryValueSeverity
|
|
232
866
|
HKCategoryTypeIdentifier["lossOfTaste"] = "HKCategoryTypeIdentifierLossOfTaste";
|
|
867
|
+
// HKCategoryValueSeverity
|
|
233
868
|
HKCategoryTypeIdentifier["lowerBackPain"] = "HKCategoryTypeIdentifierLowerBackPain";
|
|
869
|
+
// HKCategoryValueSeverity
|
|
234
870
|
HKCategoryTypeIdentifier["memoryLapse"] = "HKCategoryTypeIdentifierMemoryLapse";
|
|
871
|
+
// HKCategoryValueSeverity
|
|
235
872
|
HKCategoryTypeIdentifier["moodChanges"] = "HKCategoryTypeIdentifierMoodChanges";
|
|
873
|
+
// HKCategoryValuePresence
|
|
236
874
|
HKCategoryTypeIdentifier["nausea"] = "HKCategoryTypeIdentifierNausea";
|
|
875
|
+
// HKCategoryValueSeverity
|
|
237
876
|
HKCategoryTypeIdentifier["nightSweats"] = "HKCategoryTypeIdentifierNightSweats";
|
|
877
|
+
// HKCategoryValueSeverity
|
|
238
878
|
HKCategoryTypeIdentifier["pelvicPain"] = "HKCategoryTypeIdentifierPelvicPain";
|
|
879
|
+
// HKCategoryValueSeverity
|
|
239
880
|
HKCategoryTypeIdentifier["rapidPoundingOrFlutteringHeartbeat"] = "HKCategoryTypeIdentifierRapidPoundingOrFlutteringHeartbeat";
|
|
881
|
+
// HKCategoryValueSeverity
|
|
240
882
|
HKCategoryTypeIdentifier["runnyNose"] = "HKCategoryTypeIdentifierRunnyNose";
|
|
883
|
+
// HKCategoryValueSeverity
|
|
241
884
|
HKCategoryTypeIdentifier["shortnessOfBreath"] = "HKCategoryTypeIdentifierShortnessOfBreath";
|
|
885
|
+
// HKCategoryValueSeverity
|
|
242
886
|
HKCategoryTypeIdentifier["sinusCongestion"] = "HKCategoryTypeIdentifierSinusCongestion";
|
|
887
|
+
// HKCategoryValueSeverity
|
|
243
888
|
HKCategoryTypeIdentifier["skippedHeartbeat"] = "HKCategoryTypeIdentifierSkippedHeartbeat";
|
|
889
|
+
// HKCategoryValueSeverity
|
|
244
890
|
HKCategoryTypeIdentifier["sleepChanges"] = "HKCategoryTypeIdentifierSleepChanges";
|
|
891
|
+
// HKCategoryValuePresence
|
|
245
892
|
HKCategoryTypeIdentifier["soreThroat"] = "HKCategoryTypeIdentifierSoreThroat";
|
|
893
|
+
// HKCategoryValueSeverity
|
|
246
894
|
HKCategoryTypeIdentifier["vaginalDryness"] = "HKCategoryTypeIdentifierVaginalDryness";
|
|
895
|
+
// HKCategoryValueSeverity
|
|
247
896
|
HKCategoryTypeIdentifier["vomiting"] = "HKCategoryTypeIdentifierVomiting";
|
|
897
|
+
// HKCategoryValueSeverity
|
|
248
898
|
HKCategoryTypeIdentifier["wheezing"] = "HKCategoryTypeIdentifierWheezing";
|
|
899
|
+
// HKCategoryValueSeverity
|
|
900
|
+
/**
|
|
901
|
+
* Bleeding After Pregnancy
|
|
902
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifierbleedingafterpregnancy Apple Docs }
|
|
903
|
+
* @since iOS 18
|
|
904
|
+
*/
|
|
249
905
|
HKCategoryTypeIdentifier["bleedingAfterPregnancy"] = "HKCategoryTypeIdentifierBleedingAfterPregnancy";
|
|
250
|
-
|
|
906
|
+
// HKCategoryValueSeverity
|
|
907
|
+
/**
|
|
908
|
+
* Bleeding During Pregnancy
|
|
909
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkcategorytypeidentifierbleedingduringpregnancy Apple Docs }
|
|
910
|
+
* @since iOS 18
|
|
911
|
+
*/
|
|
912
|
+
HKCategoryTypeIdentifier["bleedingDuringPregnancy"] = "HKCategoryTypeIdentifierBleedingDuringPregnancy"; // HKCategoryValueSeverity
|
|
251
913
|
return HKCategoryTypeIdentifier;
|
|
252
|
-
}({});
|
|
914
|
+
}({});
|
|
253
915
|
export let HKCategoryValueAppleStandHour = /*#__PURE__*/function (HKCategoryValueAppleStandHour) {
|
|
254
916
|
HKCategoryValueAppleStandHour[HKCategoryValueAppleStandHour["stood"] = 0] = "stood";
|
|
255
917
|
HKCategoryValueAppleStandHour[HKCategoryValueAppleStandHour["idle"] = 1] = "idle";
|
|
@@ -264,56 +926,75 @@ export let HKWorkoutActivityType = /*#__PURE__*/function (HKWorkoutActivityType)
|
|
|
264
926
|
HKWorkoutActivityType[HKWorkoutActivityType["basketball"] = 6] = "basketball";
|
|
265
927
|
HKWorkoutActivityType[HKWorkoutActivityType["bowling"] = 7] = "bowling";
|
|
266
928
|
HKWorkoutActivityType[HKWorkoutActivityType["boxing"] = 8] = "boxing";
|
|
929
|
+
// See also HKWorkoutActivityTypeKickboxing.,
|
|
267
930
|
HKWorkoutActivityType[HKWorkoutActivityType["climbing"] = 9] = "climbing";
|
|
268
931
|
HKWorkoutActivityType[HKWorkoutActivityType["cricket"] = 10] = "cricket";
|
|
269
932
|
HKWorkoutActivityType[HKWorkoutActivityType["crossTraining"] = 11] = "crossTraining";
|
|
933
|
+
// Any mix of cardio and/or strength training. See also HKWorkoutActivityTypeCoreTraining and HKWorkoutActivityTypeFlexibility.,
|
|
270
934
|
HKWorkoutActivityType[HKWorkoutActivityType["curling"] = 12] = "curling";
|
|
271
935
|
HKWorkoutActivityType[HKWorkoutActivityType["cycling"] = 13] = "cycling";
|
|
272
936
|
HKWorkoutActivityType[HKWorkoutActivityType["dance"] = 14] = "dance";
|
|
273
937
|
HKWorkoutActivityType[HKWorkoutActivityType["danceInspiredTraining"] = 15] = "danceInspiredTraining";
|
|
938
|
+
// This enum remains available to access older data.,
|
|
274
939
|
HKWorkoutActivityType[HKWorkoutActivityType["elliptical"] = 16] = "elliptical";
|
|
275
940
|
HKWorkoutActivityType[HKWorkoutActivityType["equestrianSports"] = 17] = "equestrianSports";
|
|
941
|
+
// Polo, Horse Racing, Horse Riding, etc.,
|
|
276
942
|
HKWorkoutActivityType[HKWorkoutActivityType["fencing"] = 18] = "fencing";
|
|
277
943
|
HKWorkoutActivityType[HKWorkoutActivityType["fishing"] = 19] = "fishing";
|
|
278
944
|
HKWorkoutActivityType[HKWorkoutActivityType["functionalStrengthTraining"] = 20] = "functionalStrengthTraining";
|
|
945
|
+
// Primarily free weights and/or body weight and/or accessories,
|
|
279
946
|
HKWorkoutActivityType[HKWorkoutActivityType["golf"] = 21] = "golf";
|
|
280
947
|
HKWorkoutActivityType[HKWorkoutActivityType["gymnastics"] = 22] = "gymnastics";
|
|
281
948
|
HKWorkoutActivityType[HKWorkoutActivityType["handball"] = 23] = "handball";
|
|
282
949
|
HKWorkoutActivityType[HKWorkoutActivityType["hiking"] = 24] = "hiking";
|
|
283
950
|
HKWorkoutActivityType[HKWorkoutActivityType["hockey"] = 25] = "hockey";
|
|
951
|
+
// Ice Hockey, Field Hockey, etc.,
|
|
284
952
|
HKWorkoutActivityType[HKWorkoutActivityType["hunting"] = 26] = "hunting";
|
|
285
953
|
HKWorkoutActivityType[HKWorkoutActivityType["lacrosse"] = 27] = "lacrosse";
|
|
286
954
|
HKWorkoutActivityType[HKWorkoutActivityType["martialArts"] = 28] = "martialArts";
|
|
287
955
|
HKWorkoutActivityType[HKWorkoutActivityType["mindAndBody"] = 29] = "mindAndBody";
|
|
956
|
+
// Qigong, meditation, etc.,
|
|
288
957
|
HKWorkoutActivityType[HKWorkoutActivityType["mixedMetabolicCardioTraining"] = 30] = "mixedMetabolicCardioTraining";
|
|
958
|
+
// This enum remains available to access older data.,
|
|
289
959
|
HKWorkoutActivityType[HKWorkoutActivityType["paddleSports"] = 31] = "paddleSports";
|
|
960
|
+
// Canoeing, Kayaking, Outrigger, Stand Up Paddle Board, etc.,
|
|
290
961
|
HKWorkoutActivityType[HKWorkoutActivityType["play"] = 32] = "play";
|
|
962
|
+
// Dodge Ball, Hopscotch, Tetherball, Jungle Gym, etc.,
|
|
291
963
|
HKWorkoutActivityType[HKWorkoutActivityType["preparationAndRecovery"] = 33] = "preparationAndRecovery";
|
|
964
|
+
// Foam rolling, stretching, etc.,
|
|
292
965
|
HKWorkoutActivityType[HKWorkoutActivityType["racquetball"] = 34] = "racquetball";
|
|
293
966
|
HKWorkoutActivityType[HKWorkoutActivityType["rowing"] = 35] = "rowing";
|
|
294
967
|
HKWorkoutActivityType[HKWorkoutActivityType["rugby"] = 36] = "rugby";
|
|
295
968
|
HKWorkoutActivityType[HKWorkoutActivityType["running"] = 37] = "running";
|
|
296
969
|
HKWorkoutActivityType[HKWorkoutActivityType["sailing"] = 38] = "sailing";
|
|
297
970
|
HKWorkoutActivityType[HKWorkoutActivityType["skatingSports"] = 39] = "skatingSports";
|
|
971
|
+
// Ice Skating, Speed Skating, Inline Skating, Skateboarding, etc.,
|
|
298
972
|
HKWorkoutActivityType[HKWorkoutActivityType["snowSports"] = 40] = "snowSports";
|
|
973
|
+
// Sledding, Snowmobiling, Building a Snowman, etc. See also HKWorkoutActivityTypeCrossCountrySkiing, HKWorkoutActivityTypeSnowboarding, and HKWorkoutActivityTypeDownhillSkiing.,
|
|
299
974
|
HKWorkoutActivityType[HKWorkoutActivityType["soccer"] = 41] = "soccer";
|
|
300
975
|
HKWorkoutActivityType[HKWorkoutActivityType["softball"] = 42] = "softball";
|
|
301
976
|
HKWorkoutActivityType[HKWorkoutActivityType["squash"] = 43] = "squash";
|
|
302
977
|
HKWorkoutActivityType[HKWorkoutActivityType["stairClimbing"] = 44] = "stairClimbing";
|
|
978
|
+
// See also HKWorkoutActivityTypeStairs and HKWorkoutActivityTypeStepTraining.,
|
|
303
979
|
HKWorkoutActivityType[HKWorkoutActivityType["surfingSports"] = 45] = "surfingSports";
|
|
980
|
+
// Traditional Surfing, Kite Surfing, Wind Surfing, etc.,
|
|
304
981
|
HKWorkoutActivityType[HKWorkoutActivityType["swimming"] = 46] = "swimming";
|
|
305
982
|
HKWorkoutActivityType[HKWorkoutActivityType["tableTennis"] = 47] = "tableTennis";
|
|
306
983
|
HKWorkoutActivityType[HKWorkoutActivityType["tennis"] = 48] = "tennis";
|
|
307
984
|
HKWorkoutActivityType[HKWorkoutActivityType["trackAndField"] = 49] = "trackAndField";
|
|
985
|
+
// Shot Put, Javelin, Pole Vaulting, etc.,
|
|
308
986
|
HKWorkoutActivityType[HKWorkoutActivityType["traditionalStrengthTraining"] = 50] = "traditionalStrengthTraining";
|
|
987
|
+
// Primarily machines and/or free weights,
|
|
309
988
|
HKWorkoutActivityType[HKWorkoutActivityType["volleyball"] = 51] = "volleyball";
|
|
310
989
|
HKWorkoutActivityType[HKWorkoutActivityType["walking"] = 52] = "walking";
|
|
311
990
|
HKWorkoutActivityType[HKWorkoutActivityType["waterFitness"] = 53] = "waterFitness";
|
|
312
991
|
HKWorkoutActivityType[HKWorkoutActivityType["waterPolo"] = 54] = "waterPolo";
|
|
313
992
|
HKWorkoutActivityType[HKWorkoutActivityType["waterSports"] = 55] = "waterSports";
|
|
993
|
+
// Water Skiing, Wake Boarding, etc.,
|
|
314
994
|
HKWorkoutActivityType[HKWorkoutActivityType["wrestling"] = 56] = "wrestling";
|
|
315
995
|
HKWorkoutActivityType[HKWorkoutActivityType["yoga"] = 57] = "yoga";
|
|
316
996
|
HKWorkoutActivityType[HKWorkoutActivityType["barre"] = 58] = "barre";
|
|
997
|
+
// HKWorkoutActivityTypeDanceInspiredTraining,
|
|
317
998
|
HKWorkoutActivityType[HKWorkoutActivityType["coreTraining"] = 59] = "coreTraining";
|
|
318
999
|
HKWorkoutActivityType[HKWorkoutActivityType["crossCountrySkiing"] = 60] = "crossCountrySkiing";
|
|
319
1000
|
HKWorkoutActivityType[HKWorkoutActivityType["downhillSkiing"] = 61] = "downhillSkiing";
|
|
@@ -322,6 +1003,7 @@ export let HKWorkoutActivityType = /*#__PURE__*/function (HKWorkoutActivityType)
|
|
|
322
1003
|
HKWorkoutActivityType[HKWorkoutActivityType["jumpRope"] = 64] = "jumpRope";
|
|
323
1004
|
HKWorkoutActivityType[HKWorkoutActivityType["kickboxing"] = 65] = "kickboxing";
|
|
324
1005
|
HKWorkoutActivityType[HKWorkoutActivityType["pilates"] = 66] = "pilates";
|
|
1006
|
+
// HKWorkoutActivityTypeDanceInspiredTraining,
|
|
325
1007
|
HKWorkoutActivityType[HKWorkoutActivityType["snowboarding"] = 67] = "snowboarding";
|
|
326
1008
|
HKWorkoutActivityType[HKWorkoutActivityType["stairs"] = 68] = "stairs";
|
|
327
1009
|
HKWorkoutActivityType[HKWorkoutActivityType["stepTraining"] = 69] = "stepTraining";
|
|
@@ -329,6 +1011,7 @@ export let HKWorkoutActivityType = /*#__PURE__*/function (HKWorkoutActivityType)
|
|
|
329
1011
|
HKWorkoutActivityType[HKWorkoutActivityType["wheelchairRunPace"] = 71] = "wheelchairRunPace";
|
|
330
1012
|
HKWorkoutActivityType[HKWorkoutActivityType["taiChi"] = 72] = "taiChi";
|
|
331
1013
|
HKWorkoutActivityType[HKWorkoutActivityType["mixedCardio"] = 73] = "mixedCardio";
|
|
1014
|
+
// HKWorkoutActivityTypeMixedMetabolicCardioTraining,
|
|
332
1015
|
HKWorkoutActivityType[HKWorkoutActivityType["handCycling"] = 74] = "handCycling";
|
|
333
1016
|
HKWorkoutActivityType[HKWorkoutActivityType["discSports"] = 75] = "discSports";
|
|
334
1017
|
HKWorkoutActivityType[HKWorkoutActivityType["fitnessGaming"] = 76] = "fitnessGaming";
|
|
@@ -631,6 +1314,10 @@ export let HKUnits = /*#__PURE__*/function (HKUnits) {
|
|
|
631
1314
|
*/
|
|
632
1315
|
export let UnitOfLength = /*#__PURE__*/function (UnitOfLength) {
|
|
633
1316
|
UnitOfLength["Feet"] = "ft";
|
|
1317
|
+
/**
|
|
1318
|
+
* More SI prefixes also available as literals, just type the string
|
|
1319
|
+
* @example 'cm', 'km'
|
|
1320
|
+
*/
|
|
634
1321
|
UnitOfLength["Meter"] = "m";
|
|
635
1322
|
UnitOfLength["Inches"] = "in";
|
|
636
1323
|
UnitOfLength["Yards"] = "yd";
|
|
@@ -648,6 +1335,10 @@ export let UnitOfVolume = /*#__PURE__*/function (UnitOfVolume) {
|
|
|
648
1335
|
UnitOfVolume["USCup"] = "cup_us";
|
|
649
1336
|
UnitOfVolume["USFluidOunces"] = "fl_oz_us";
|
|
650
1337
|
UnitOfVolume["USPint"] = "pt_us";
|
|
1338
|
+
/**
|
|
1339
|
+
* More SI prefixes also available as literals, just type the string
|
|
1340
|
+
* @example 'ml', 'cl'
|
|
1341
|
+
*/
|
|
651
1342
|
UnitOfVolume["Liter"] = "l";
|
|
652
1343
|
return UnitOfVolume;
|
|
653
1344
|
}({});
|
|
@@ -659,6 +1350,10 @@ export let UnitOfMass = /*#__PURE__*/function (UnitOfMass) {
|
|
|
659
1350
|
UnitOfMass["Ounces"] = "oz";
|
|
660
1351
|
UnitOfMass["Stones"] = "st";
|
|
661
1352
|
UnitOfMass["Pounds"] = "lb";
|
|
1353
|
+
/**
|
|
1354
|
+
* More SI prefixes also available as literals, just type the string
|
|
1355
|
+
* @example 'mg', 'kg'
|
|
1356
|
+
*/
|
|
662
1357
|
UnitOfMass["Gram"] = "g";
|
|
663
1358
|
return UnitOfMass;
|
|
664
1359
|
}({});
|
|
@@ -677,6 +1372,10 @@ export let UnitOfPressure = /*#__PURE__*/function (UnitOfPressure) {
|
|
|
677
1372
|
UnitOfPressure["MillimetersOfMercury"] = "mmHg";
|
|
678
1373
|
UnitOfPressure["InchesOfMercury"] = "inHg";
|
|
679
1374
|
UnitOfPressure["DecibelAWeightedSoundPressureLevel"] = "dBASPL";
|
|
1375
|
+
/**
|
|
1376
|
+
* More SI prefixes also available as literals, just type the string
|
|
1377
|
+
* @example 'kPa', 'hPa'
|
|
1378
|
+
*/
|
|
680
1379
|
UnitOfPressure["Pascals"] = "Pa";
|
|
681
1380
|
return UnitOfPressure;
|
|
682
1381
|
}({});
|
|
@@ -694,6 +1393,10 @@ export let UnitOfTime = /*#__PURE__*/function (UnitOfTime) {
|
|
|
694
1393
|
UnitOfTime["Days"] = "d";
|
|
695
1394
|
UnitOfTime["Minutes"] = "min";
|
|
696
1395
|
UnitOfTime["Hours"] = "hr";
|
|
1396
|
+
/**
|
|
1397
|
+
* More SI prefixes also available as literals, just type the string
|
|
1398
|
+
* @example 'ms'
|
|
1399
|
+
*/
|
|
697
1400
|
UnitOfTime["Seconds"] = "s";
|
|
698
1401
|
return UnitOfTime;
|
|
699
1402
|
}({});
|
|
@@ -717,6 +1420,10 @@ export let UnitOfEnergy = /*#__PURE__*/function (UnitOfEnergy) {
|
|
|
717
1420
|
UnitOfEnergy["Kilocalories"] = "kcal";
|
|
718
1421
|
UnitOfEnergy["LargeCalories"] = "Cal";
|
|
719
1422
|
UnitOfEnergy["SmallCalories"] = "cal";
|
|
1423
|
+
/**
|
|
1424
|
+
* More SI prefixes also available as literals, just type the string
|
|
1425
|
+
* @example 'kJ'
|
|
1426
|
+
*/
|
|
720
1427
|
UnitOfEnergy["Joules"] = "J";
|
|
721
1428
|
return UnitOfEnergy;
|
|
722
1429
|
}({});
|
|
@@ -742,6 +1449,9 @@ export let BloodGlucoseUnit = /*#__PURE__*/function (BloodGlucoseUnit) {
|
|
|
742
1449
|
* @see {@link https://developer.apple.com/documentation/healthkit/hkquantitysample Apple Docs }
|
|
743
1450
|
*/
|
|
744
1451
|
|
|
1452
|
+
/**
|
|
1453
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkworkouteventtype Apple Docs }
|
|
1454
|
+
*/
|
|
745
1455
|
export let HKWorkoutEventType = /*#__PURE__*/function (HKWorkoutEventType) {
|
|
746
1456
|
HKWorkoutEventType[HKWorkoutEventType["pause"] = 1] = "pause";
|
|
747
1457
|
HKWorkoutEventType[HKWorkoutEventType["resume"] = 2] = "resume";
|
|
@@ -760,9 +1470,9 @@ export let HKCharacteristicTypeIdentifier = /*#__PURE__*/function (HKCharacteris
|
|
|
760
1470
|
HKCharacteristicTypeIdentifier["bloodType"] = "HKCharacteristicTypeIdentifierBloodType";
|
|
761
1471
|
HKCharacteristicTypeIdentifier["dateOfBirth"] = "HKCharacteristicTypeIdentifierDateOfBirth";
|
|
762
1472
|
HKCharacteristicTypeIdentifier["wheelchairUse"] = "HKCharacteristicTypeIdentifierWheelchairUse";
|
|
763
|
-
HKCharacteristicTypeIdentifier["activityMoveMode"] = "HKCharacteristicTypeIdentifierActivityMoveMode";
|
|
1473
|
+
HKCharacteristicTypeIdentifier["activityMoveMode"] = "HKCharacteristicTypeIdentifierActivityMoveMode"; // HKActivityMoveModeObject
|
|
764
1474
|
return HKCharacteristicTypeIdentifier;
|
|
765
|
-
}({});
|
|
1475
|
+
}({});
|
|
766
1476
|
/**
|
|
767
1477
|
* @see {@link https://developer.apple.com/documentation/healthkit/hkupdatefrequency Apple Docs }
|
|
768
1478
|
*/
|
|
@@ -787,6 +1497,19 @@ export let HKWorkoutSessionLocationType = /*#__PURE__*/function (HKWorkoutSessio
|
|
|
787
1497
|
HKWorkoutSessionLocationType[HKWorkoutSessionLocationType["outdoor"] = 3] = "outdoor";
|
|
788
1498
|
return HKWorkoutSessionLocationType;
|
|
789
1499
|
}({});
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* @see {@link https://developer.apple.com/documentation/healthkit/hkworkoutsessionstate Apple Docs }
|
|
1503
|
+
*/
|
|
1504
|
+
export let WorkoutSessionState = /*#__PURE__*/function (WorkoutSessionState) {
|
|
1505
|
+
WorkoutSessionState[WorkoutSessionState["NotStarted"] = 1] = "NotStarted";
|
|
1506
|
+
WorkoutSessionState[WorkoutSessionState["Running"] = 2] = "Running";
|
|
1507
|
+
WorkoutSessionState[WorkoutSessionState["Ended"] = 3] = "Ended";
|
|
1508
|
+
WorkoutSessionState[WorkoutSessionState["Paused"] = 4] = "Paused";
|
|
1509
|
+
WorkoutSessionState[WorkoutSessionState["Prepared"] = 5] = "Prepared";
|
|
1510
|
+
WorkoutSessionState[WorkoutSessionState["Stopped"] = 6] = "Stopped";
|
|
1511
|
+
return WorkoutSessionState;
|
|
1512
|
+
}({});
|
|
790
1513
|
export let HKStateOfMindValenceClassification = /*#__PURE__*/function (HKStateOfMindValenceClassification) {
|
|
791
1514
|
HKStateOfMindValenceClassification[HKStateOfMindValenceClassification["veryUnpleasant"] = 1] = "veryUnpleasant";
|
|
792
1515
|
HKStateOfMindValenceClassification[HKStateOfMindValenceClassification["unpleasant"] = 2] = "unpleasant";
|