@kingstinct/react-native-healthkit
Version:
React Native bindings for HealthKit
22 lines (21 loc) • 1.25 kB
JavaScript
export var AggregationStyle;
(function (AggregationStyle) {
AggregationStyle[AggregationStyle["cumulative"] = 0] = "cumulative";
AggregationStyle[AggregationStyle["discreteArithmetic"] = 1] = "discreteArithmetic";
AggregationStyle[AggregationStyle["discreteTemporallyWeighted"] = 2] = "discreteTemporallyWeighted";
AggregationStyle[AggregationStyle["discreteEquivalentContinuousLevel"] = 3] = "discreteEquivalentContinuousLevel";
})(AggregationStyle || (AggregationStyle = {}));
/**
* @see {@link https://developer.apple.com/documentation/healthkit/hkinsulindeliveryreason Apple Docs }
*/
export var InsulinDeliveryReason;
(function (InsulinDeliveryReason) {
InsulinDeliveryReason[InsulinDeliveryReason["basal"] = 1] = "basal";
InsulinDeliveryReason[InsulinDeliveryReason["bolus"] = 2] = "bolus";
})(InsulinDeliveryReason || (InsulinDeliveryReason = {}));
export var HeartRateMotionContext;
(function (HeartRateMotionContext) {
HeartRateMotionContext[HeartRateMotionContext["active"] = 2] = "active";
HeartRateMotionContext[HeartRateMotionContext["notSet"] = 0] = "notSet";
HeartRateMotionContext[HeartRateMotionContext["sedentary"] = 1] = "sedentary";
})(HeartRateMotionContext || (HeartRateMotionContext = {}));