@kingstinct/react-native-healthkit
Version:
React Native bindings for HealthKit
25 lines (24 loc) • 1.5 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HeartRateMotionContext = exports.InsulinDeliveryReason = exports.AggregationStyle = void 0;
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 || (exports.AggregationStyle = AggregationStyle = {}));
/**
* @see {@link https://developer.apple.com/documentation/healthkit/hkinsulindeliveryreason Apple Docs }
*/
var InsulinDeliveryReason;
(function (InsulinDeliveryReason) {
InsulinDeliveryReason[InsulinDeliveryReason["basal"] = 1] = "basal";
InsulinDeliveryReason[InsulinDeliveryReason["bolus"] = 2] = "bolus";
})(InsulinDeliveryReason || (exports.InsulinDeliveryReason = InsulinDeliveryReason = {}));
var HeartRateMotionContext;
(function (HeartRateMotionContext) {
HeartRateMotionContext[HeartRateMotionContext["active"] = 2] = "active";
HeartRateMotionContext[HeartRateMotionContext["notSet"] = 0] = "notSet";
HeartRateMotionContext[HeartRateMotionContext["sedentary"] = 1] = "sedentary";
})(HeartRateMotionContext || (exports.HeartRateMotionContext = HeartRateMotionContext = {}));