@kingstinct/react-native-healthkit 13.2.1 → 13.2.2
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/Constants.swift +1 -1
- package/ios/QuantityTypeModule.swift +97 -64
- package/lib/typescript/healthkit.d.ts +2 -2
- package/lib/typescript/healthkit.ios.d.ts +4 -4
- package/lib/typescript/specs/CoreModule.nitro.d.ts +1 -1
- package/lib/typescript/specs/QuantityTypeModule.nitro.d.ts +2 -2
- package/lib/typescript/types/QuantityType.d.ts +1 -1
- package/lib/typescript/types/QueryOptions.d.ts +5 -4
- package/lib/typescript/types/Workouts.d.ts +3 -3
- package/nitrogen/generated/ios/ReactNativeHealthkit+autolinking.rb +2 -2
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.cpp +1 -1
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +68 -68
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Umbrella.hpp +4 -1
- package/nitrogen/generated/ios/ReactNativeHealthkitAutolinking.mm +1 -1
- package/nitrogen/generated/ios/ReactNativeHealthkitAutolinking.swift +45 -71
- package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridCharacteristicTypeModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridCharacteristicTypeModuleSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +11 -2
- package/nitrogen/generated/ios/c++/HybridSourceProxySpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridSourceProxySpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/c++/HybridWorkoutsModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridWorkoutsModuleSpecSwift.hpp +7 -1
- package/nitrogen/generated/ios/swift/AggregationStyle.swift +1 -1
- package/nitrogen/generated/ios/swift/AuthDataTypes.swift +19 -56
- package/nitrogen/generated/ios/swift/AuthorizationRequestStatus.swift +1 -1
- package/nitrogen/generated/ios/swift/AuthorizationStatus.swift +1 -1
- package/nitrogen/generated/ios/swift/BiologicalSex.swift +1 -1
- package/nitrogen/generated/ios/swift/BloodType.swift +1 -1
- package/nitrogen/generated/ios/swift/CategorySample.swift +166 -445
- package/nitrogen/generated/ios/swift/CategorySampleForSaving.swift +13 -56
- package/nitrogen/generated/ios/swift/CategorySamplesWithAnchorResponse.swift +7 -38
- package/nitrogen/generated/ios/swift/CategoryTypeIdentifier.swift +1 -1
- package/nitrogen/generated/ios/swift/ComparisonPredicateOperator.swift +1 -1
- package/nitrogen/generated/ios/swift/CorrelationObject.swift +1 -1
- package/nitrogen/generated/ios/swift/CorrelationSample.swift +187 -491
- package/nitrogen/generated/ios/swift/CorrelationTypeIdentifier.swift +1 -1
- package/nitrogen/generated/ios/swift/DateFilter.swift +37 -86
- package/nitrogen/generated/ios/swift/DeletedSample.swift +12 -31
- package/nitrogen/generated/ios/swift/Device.swift +73 -170
- package/nitrogen/generated/ios/swift/ECGQueryOptionsWithAnchor.swift +16 -53
- package/nitrogen/generated/ios/swift/ECGQueryOptionsWithSortOrder.swift +23 -66
- package/nitrogen/generated/ios/swift/ElectrocardiogramClassification.swift +1 -1
- package/nitrogen/generated/ios/swift/ElectrocardiogramLead.swift +1 -1
- package/nitrogen/generated/ios/swift/ElectrocardiogramSample.swift +195 -508
- package/nitrogen/generated/ios/swift/ElectrocardiogramSamplesWithAnchorResponse.swift +7 -38
- package/nitrogen/generated/ios/swift/ElectrocardiogramSymptomsStatus.swift +1 -1
- package/nitrogen/generated/ios/swift/ElectrocardiogramVoltage.swift +7 -26
- package/nitrogen/generated/ios/swift/FilterForSamples.swift +96 -241
- package/nitrogen/generated/ios/swift/FilterForSamplesBase.swift +49 -140
- package/nitrogen/generated/ios/swift/FilterForWorkouts.swift +67 -221
- package/nitrogen/generated/ios/swift/FilterForWorkoutsBase.swift +40 -140
- package/nitrogen/generated/ios/swift/FitzpatrickSkinType.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_AuthorizationRequestStatus.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_BiologicalSex.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_BloodType.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_CategorySamplesWithAnchorResponse.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_ElectrocardiogramSamplesWithAnchorResponse.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_FitzpatrickSkinType.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_HeartbeatSeriesSamplesWithAnchorResponse.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_MedicationDoseEventsWithAnchorResponse.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_OnChangeCallbackArgs.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_QuantitySamplesWithAnchorResponse.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_QueryCorrelationSamplesWithAnchorResponse.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_QueryStatisticsResponse.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_QueryWorkoutSamplesWithAnchorResponse.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_StateOfMindSamplesWithAnchorResponse.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_WheelchairUse.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_bool.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_double.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__optional_CategorySample_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__optional_CorrelationSample_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__optional_QuantitySample_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__optional_QueryStatisticsResponse_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__optional_StateOfMindSample_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__optional_WorkoutPlan_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__optional_std__chrono__system_clock__time_point_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__shared_ptr_HybridWorkoutProxySpec_.swift +2 -3
- package/nitrogen/generated/ios/swift/Func_void_std__unordered_map_std__string__QueryStatisticsResponse_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__unordered_map_std__string__bool_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_CategorySample_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_CorrelationSample_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_ElectrocardiogramSample_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_HeartbeatSeriesSample_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_IdentifierWithUnit_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_MedicationDoseEvent_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_QuantitySample_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_QueryStatisticsResponseFromSingleSource_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_QueryStatisticsResponse_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_StateOfMindSample_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_UserAnnotatedMedication_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_WorkoutRoute_.swift +1 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_std__shared_ptr_HybridSourceProxySpec__.swift +2 -3
- package/nitrogen/generated/ios/swift/Func_void_std__vector_std__shared_ptr_HybridWorkoutProxySpec__.swift +2 -3
- package/nitrogen/generated/ios/swift/GeneralForm.swift +1 -1
- package/nitrogen/generated/ios/swift/HeartRateMotionContext.swift +1 -1
- package/nitrogen/generated/ios/swift/Heartbeat.swift +5 -18
- package/nitrogen/generated/ios/swift/HeartbeatSeriesSample.swift +164 -443
- package/nitrogen/generated/ios/swift/HeartbeatSeriesSamplesWithAnchorResponse.swift +7 -38
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridCharacteristicTypeModuleSpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridCharacteristicTypeModuleSpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridCorrelationTypeModuleSpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridCorrelationTypeModuleSpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridElectrocardiogramModuleSpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridElectrocardiogramModuleSpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridHeartbeatSeriesModuleSpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridHeartbeatSeriesModuleSpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridMedicationModuleSpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridMedicationModuleSpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec.swift +4 -5
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec_cxx.swift +10 -3
- package/nitrogen/generated/ios/swift/HybridSourceProxySpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridSourceProxySpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridStateOfMindModuleSpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridStateOfMindModuleSpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/HybridWorkoutsModuleSpec.swift +3 -4
- package/nitrogen/generated/ios/swift/HybridWorkoutsModuleSpec_cxx.swift +9 -2
- package/nitrogen/generated/ios/swift/IdentifierWithUnit.swift +5 -18
- package/nitrogen/generated/ios/swift/InsulinDeliveryReason.swift +1 -1
- package/nitrogen/generated/ios/swift/IntervalComponents.swift +46 -72
- package/nitrogen/generated/ios/swift/LocationForSaving.swift +17 -66
- package/nitrogen/generated/ios/swift/MedicationConcept.swift +9 -40
- package/nitrogen/generated/ios/swift/MedicationDoseEvent.swift +206 -531
- package/nitrogen/generated/ios/swift/MedicationDoseEventLogStatus.swift +1 -1
- package/nitrogen/generated/ios/swift/MedicationDoseEventScheduleType.swift +1 -1
- package/nitrogen/generated/ios/swift/MedicationDoseEventsWithAnchorResponse.swift +7 -38
- package/nitrogen/generated/ios/swift/ObjectTypeIdentifier.swift +1 -1
- package/nitrogen/generated/ios/swift/OnChangeCallbackArgs.swift +12 -31
- package/nitrogen/generated/ios/swift/PerObjectTypeIdentifier.swift +1 -1
- package/nitrogen/generated/ios/swift/PredicateWithMetadataKey.swift +32 -74
- package/nitrogen/generated/ios/swift/Quantity.swift +5 -18
- package/nitrogen/generated/ios/swift/QuantityDateInterval.swift +5 -18
- package/nitrogen/generated/ios/swift/QuantitySample.swift +168 -453
- package/nitrogen/generated/ios/swift/QuantitySampleForSaving.swift +22 -77
- package/nitrogen/generated/ios/swift/QuantitySamplesWithAnchorResponse.swift +7 -38
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifier.swift +1 -1
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifierWriteable.swift +496 -0
- package/nitrogen/generated/ios/swift/QueryCorrelationSamplesWithAnchorResponse.swift +7 -38
- package/nitrogen/generated/ios/swift/QueryOptionsWithAnchor.swift +14 -45
- package/nitrogen/generated/ios/swift/QueryOptionsWithAnchorAndUnit.swift +23 -66
- package/nitrogen/generated/ios/swift/QueryOptionsWithSortOrder.swift +14 -45
- package/nitrogen/generated/ios/swift/QueryOptionsWithSortOrderAndUnit.swift +23 -66
- package/nitrogen/generated/ios/swift/QueryStatisticsResponse.swift +39 -163
- package/nitrogen/generated/ios/swift/QueryStatisticsResponseFromSingleSource.swift +39 -157
- package/nitrogen/generated/ios/swift/QueryWorkoutSamplesWithAnchorResponse.swift +11 -45
- package/nitrogen/generated/ios/swift/RelatedCoding.swift +14 -39
- package/nitrogen/generated/ios/swift/SampleForSaving.swift +1 -1
- package/nitrogen/generated/ios/swift/SampleType.swift +9 -34
- package/nitrogen/generated/ios/swift/SampleTypeIdentifier.swift +1 -1
- package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +1 -1
- package/nitrogen/generated/ios/swift/Source.swift +5 -18
- package/nitrogen/generated/ios/swift/SourceRevision.swift +27 -67
- package/nitrogen/generated/ios/swift/StateOfMindAssociation.swift +1 -1
- package/nitrogen/generated/ios/swift/StateOfMindKind.swift +1 -1
- package/nitrogen/generated/ios/swift/StateOfMindLabel.swift +1 -1
- package/nitrogen/generated/ios/swift/StateOfMindSample.swift +172 -481
- package/nitrogen/generated/ios/swift/StateOfMindSamplesWithAnchorResponse.swift +7 -38
- package/nitrogen/generated/ios/swift/StateOfMindValenceClassification.swift +1 -1
- package/nitrogen/generated/ios/swift/StatisticsOptions.swift +1 -1
- package/nitrogen/generated/ios/swift/StatisticsQueryOptions.swift +12 -37
- package/nitrogen/generated/ios/swift/UpdateFrequency.swift +1 -1
- package/nitrogen/generated/ios/swift/UserAnnotatedMedication.swift +16 -47
- package/nitrogen/generated/ios/swift/Variant_Bool_String_Double_Date.swift +1 -1
- package/nitrogen/generated/ios/swift/WeatherCondition.swift +1 -1
- package/nitrogen/generated/ios/swift/WheelchairUse.swift +1 -1
- package/nitrogen/generated/ios/swift/WorkoutActivity.swift +9 -34
- package/nitrogen/generated/ios/swift/WorkoutActivityType.swift +1 -1
- package/nitrogen/generated/ios/swift/WorkoutConfiguration.swift +5 -24
- package/nitrogen/generated/ios/swift/WorkoutDurationPredicate.swift +5 -18
- package/nitrogen/generated/ios/swift/WorkoutEvent.swift +7 -26
- package/nitrogen/generated/ios/swift/WorkoutEventType.swift +1 -1
- package/nitrogen/generated/ios/swift/WorkoutPlan.swift +5 -18
- package/nitrogen/generated/ios/swift/WorkoutQueryOptions.swift +14 -45
- package/nitrogen/generated/ios/swift/WorkoutQueryOptionsWithAnchor.swift +14 -45
- package/nitrogen/generated/ios/swift/WorkoutRoute.swift +21 -51
- package/nitrogen/generated/ios/swift/WorkoutRouteLocation.swift +28 -88
- package/nitrogen/generated/ios/swift/WorkoutSample.swift +211 -646
- package/nitrogen/generated/ios/swift/WorkoutSessionLocationType.swift +1 -1
- package/nitrogen/generated/ios/swift/WorkoutTotals.swift +19 -30
- package/nitrogen/generated/shared/c++/AggregationStyle.hpp +1 -1
- package/nitrogen/generated/shared/c++/AuthDataTypes.hpp +16 -8
- package/nitrogen/generated/shared/c++/AuthorizationRequestStatus.hpp +1 -1
- package/nitrogen/generated/shared/c++/AuthorizationStatus.hpp +1 -1
- package/nitrogen/generated/shared/c++/BiologicalSex.hpp +1 -1
- package/nitrogen/generated/shared/c++/BloodType.hpp +1 -1
- package/nitrogen/generated/shared/c++/CategorySample.hpp +100 -92
- package/nitrogen/generated/shared/c++/CategorySampleForSaving.hpp +28 -20
- package/nitrogen/generated/shared/c++/CategorySamplesWithAnchorResponse.hpp +19 -11
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +1 -1
- package/nitrogen/generated/shared/c++/ComparisonPredicateOperator.hpp +1 -1
- package/nitrogen/generated/shared/c++/CorrelationSample.hpp +103 -95
- package/nitrogen/generated/shared/c++/CorrelationTypeIdentifier.hpp +1 -1
- package/nitrogen/generated/shared/c++/DateFilter.hpp +22 -14
- package/nitrogen/generated/shared/c++/DeletedSample.hpp +16 -8
- package/nitrogen/generated/shared/c++/Device.hpp +34 -26
- package/nitrogen/generated/shared/c++/ECGQueryOptionsWithAnchor.hpp +22 -14
- package/nitrogen/generated/shared/c++/ECGQueryOptionsWithSortOrder.hpp +22 -14
- package/nitrogen/generated/shared/c++/ElectrocardiogramClassification.hpp +1 -1
- package/nitrogen/generated/shared/c++/ElectrocardiogramLead.hpp +1 -1
- package/nitrogen/generated/shared/c++/ElectrocardiogramSample.hpp +112 -104
- package/nitrogen/generated/shared/c++/ElectrocardiogramSamplesWithAnchorResponse.hpp +19 -11
- package/nitrogen/generated/shared/c++/ElectrocardiogramSymptomsStatus.hpp +1 -1
- package/nitrogen/generated/shared/c++/ElectrocardiogramVoltage.hpp +19 -11
- package/nitrogen/generated/shared/c++/FilterForSamples.hpp +44 -36
- package/nitrogen/generated/shared/c++/FilterForSamplesBase.hpp +28 -20
- package/nitrogen/generated/shared/c++/FilterForWorkouts.hpp +40 -32
- package/nitrogen/generated/shared/c++/FilterForWorkoutsBase.hpp +31 -23
- package/nitrogen/generated/shared/c++/FitzpatrickSkinType.hpp +1 -1
- package/nitrogen/generated/shared/c++/GeneralForm.hpp +1 -1
- package/nitrogen/generated/shared/c++/HeartRateMotionContext.hpp +1 -1
- package/nitrogen/generated/shared/c++/Heartbeat.hpp +16 -8
- package/nitrogen/generated/shared/c++/HeartbeatSeriesSample.hpp +97 -89
- package/nitrogen/generated/shared/c++/HeartbeatSeriesSamplesWithAnchorResponse.hpp +19 -11
- package/nitrogen/generated/shared/c++/HybridCategoryTypeModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridCategoryTypeModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridCharacteristicTypeModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridCharacteristicTypeModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridCorrelationTypeModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridCorrelationTypeModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridElectrocardiogramModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridElectrocardiogramModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridHeartbeatSeriesModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridHeartbeatSeriesModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridMedicationModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridMedicationModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridQuantityTypeModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridQuantityTypeModuleSpec.hpp +5 -2
- package/nitrogen/generated/shared/c++/HybridSourceProxySpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridSourceProxySpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridStateOfMindModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridStateOfMindModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/HybridWorkoutsModuleSpec.cpp +1 -1
- package/nitrogen/generated/shared/c++/HybridWorkoutsModuleSpec.hpp +1 -1
- package/nitrogen/generated/shared/c++/IdentifierWithUnit.hpp +16 -8
- package/nitrogen/generated/shared/c++/InsulinDeliveryReason.hpp +1 -1
- package/nitrogen/generated/shared/c++/IntervalComponents.hpp +25 -17
- package/nitrogen/generated/shared/c++/LocationForSaving.hpp +34 -26
- package/nitrogen/generated/shared/c++/MedicationConcept.hpp +22 -14
- package/nitrogen/generated/shared/c++/MedicationDoseEvent.hpp +118 -110
- package/nitrogen/generated/shared/c++/MedicationDoseEventLogStatus.hpp +1 -1
- package/nitrogen/generated/shared/c++/MedicationDoseEventScheduleType.hpp +1 -1
- package/nitrogen/generated/shared/c++/MedicationDoseEventsWithAnchorResponse.hpp +19 -11
- package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +1 -1
- package/nitrogen/generated/shared/c++/OnChangeCallbackArgs.hpp +16 -8
- package/nitrogen/generated/shared/c++/PerObjectTypeIdentifier.hpp +1 -1
- package/nitrogen/generated/shared/c++/PredicateWithMetadataKey.hpp +19 -11
- package/nitrogen/generated/shared/c++/Quantity.hpp +16 -8
- package/nitrogen/generated/shared/c++/QuantityDateInterval.hpp +16 -8
- package/nitrogen/generated/shared/c++/QuantitySample.hpp +103 -95
- package/nitrogen/generated/shared/c++/QuantitySampleForSaving.hpp +31 -23
- package/nitrogen/generated/shared/c++/QuantitySamplesWithAnchorResponse.hpp +19 -11
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +1 -1
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifierWriteable.hpp +532 -0
- package/nitrogen/generated/shared/c++/QueryCorrelationSamplesWithAnchorResponse.hpp +19 -11
- package/nitrogen/generated/shared/c++/QueryOptionsWithAnchor.hpp +19 -11
- package/nitrogen/generated/shared/c++/QueryOptionsWithAnchorAndUnit.hpp +22 -14
- package/nitrogen/generated/shared/c++/QueryOptionsWithSortOrder.hpp +19 -11
- package/nitrogen/generated/shared/c++/QueryOptionsWithSortOrderAndUnit.hpp +22 -14
- package/nitrogen/generated/shared/c++/QueryStatisticsResponse.hpp +40 -32
- package/nitrogen/generated/shared/c++/QueryStatisticsResponseFromSingleSource.hpp +40 -32
- package/nitrogen/generated/shared/c++/QueryWorkoutSamplesWithAnchorResponse.hpp +19 -11
- package/nitrogen/generated/shared/c++/RelatedCoding.hpp +19 -11
- package/nitrogen/generated/shared/c++/SampleType.hpp +22 -14
- package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +1 -1
- package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +1 -1
- package/nitrogen/generated/shared/c++/Source.hpp +16 -8
- package/nitrogen/generated/shared/c++/SourceRevision.hpp +22 -14
- package/nitrogen/generated/shared/c++/StateOfMindAssociation.hpp +1 -1
- package/nitrogen/generated/shared/c++/StateOfMindKind.hpp +1 -1
- package/nitrogen/generated/shared/c++/StateOfMindLabel.hpp +1 -1
- package/nitrogen/generated/shared/c++/StateOfMindSample.hpp +109 -101
- package/nitrogen/generated/shared/c++/StateOfMindSamplesWithAnchorResponse.hpp +19 -11
- package/nitrogen/generated/shared/c++/StateOfMindValenceClassification.hpp +1 -1
- package/nitrogen/generated/shared/c++/StatisticsOptions.hpp +1 -1
- package/nitrogen/generated/shared/c++/StatisticsQueryOptions.hpp +16 -8
- package/nitrogen/generated/shared/c++/UpdateFrequency.hpp +1 -1
- package/nitrogen/generated/shared/c++/UserAnnotatedMedication.hpp +22 -14
- package/nitrogen/generated/shared/c++/WeatherCondition.hpp +1 -1
- package/nitrogen/generated/shared/c++/WheelchairUse.hpp +1 -1
- package/nitrogen/generated/shared/c++/WorkoutActivity.hpp +22 -14
- package/nitrogen/generated/shared/c++/WorkoutActivityType.hpp +1 -1
- package/nitrogen/generated/shared/c++/WorkoutConfiguration.hpp +16 -8
- package/nitrogen/generated/shared/c++/WorkoutDurationPredicate.hpp +16 -8
- package/nitrogen/generated/shared/c++/WorkoutEvent.hpp +19 -11
- package/nitrogen/generated/shared/c++/WorkoutEventType.hpp +1 -1
- package/nitrogen/generated/shared/c++/WorkoutPlan.hpp +16 -8
- package/nitrogen/generated/shared/c++/WorkoutQueryOptions.hpp +19 -11
- package/nitrogen/generated/shared/c++/WorkoutQueryOptionsWithAnchor.hpp +19 -11
- package/nitrogen/generated/shared/c++/WorkoutRoute.hpp +19 -11
- package/nitrogen/generated/shared/c++/WorkoutRouteLocation.hpp +40 -32
- package/nitrogen/generated/shared/c++/WorkoutSample.hpp +136 -128
- package/nitrogen/generated/shared/c++/WorkoutSessionLocationType.hpp +1 -1
- package/nitrogen/generated/shared/c++/WorkoutTotals.hpp +16 -8
- package/package.json +4 -4
- package/src/specs/CoreModule.nitro.ts +1 -1
- package/src/specs/QuantityTypeModule.nitro.ts +5 -2
- package/src/types/QuantityType.ts +1 -1
- package/src/types/QueryOptions.ts +5 -4
- package/src/types/Workouts.ts +3 -3
|
@@ -0,0 +1,532 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// QuantityTypeIdentifierWriteable.hpp
|
|
3
|
+
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
|
+
/// https://github.com/mrousavy/nitro
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
|
+
///
|
|
7
|
+
|
|
8
|
+
#pragma once
|
|
9
|
+
|
|
10
|
+
#if __has_include(<NitroModules/NitroHash.hpp>)
|
|
11
|
+
#include <NitroModules/NitroHash.hpp>
|
|
12
|
+
#else
|
|
13
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
14
|
+
#endif
|
|
15
|
+
#if __has_include(<NitroModules/JSIConverter.hpp>)
|
|
16
|
+
#include <NitroModules/JSIConverter.hpp>
|
|
17
|
+
#else
|
|
18
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
19
|
+
#endif
|
|
20
|
+
#if __has_include(<NitroModules/NitroDefines.hpp>)
|
|
21
|
+
#include <NitroModules/NitroDefines.hpp>
|
|
22
|
+
#else
|
|
23
|
+
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
|
+
#endif
|
|
25
|
+
|
|
26
|
+
namespace margelo::nitro::healthkit {
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* An enum which can be represented as a JavaScript union (QuantityTypeIdentifierWriteable).
|
|
30
|
+
*/
|
|
31
|
+
enum class QuantityTypeIdentifierWriteable {
|
|
32
|
+
HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX SWIFT_NAME(hkquantitytypeidentifierbodymassindex) = 0,
|
|
33
|
+
HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierbodyfatpercentage) = 1,
|
|
34
|
+
HKQUANTITYTYPEIDENTIFIERHEIGHT SWIFT_NAME(hkquantitytypeidentifierheight) = 2,
|
|
35
|
+
HKQUANTITYTYPEIDENTIFIERBODYMASS SWIFT_NAME(hkquantitytypeidentifierbodymass) = 3,
|
|
36
|
+
HKQUANTITYTYPEIDENTIFIERLEANBODYMASS SWIFT_NAME(hkquantitytypeidentifierleanbodymass) = 4,
|
|
37
|
+
HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE SWIFT_NAME(hkquantitytypeidentifierwaistcircumference) = 5,
|
|
38
|
+
HKQUANTITYTYPEIDENTIFIERSTEPCOUNT SWIFT_NAME(hkquantitytypeidentifierstepcount) = 6,
|
|
39
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING SWIFT_NAME(hkquantitytypeidentifierdistancewalkingrunning) = 7,
|
|
40
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING SWIFT_NAME(hkquantitytypeidentifierdistancecycling) = 8,
|
|
41
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR SWIFT_NAME(hkquantitytypeidentifierdistancewheelchair) = 9,
|
|
42
|
+
HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED SWIFT_NAME(hkquantitytypeidentifierbasalenergyburned) = 10,
|
|
43
|
+
HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED SWIFT_NAME(hkquantitytypeidentifieractiveenergyburned) = 11,
|
|
44
|
+
HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED SWIFT_NAME(hkquantitytypeidentifierflightsclimbed) = 12,
|
|
45
|
+
HKQUANTITYTYPEIDENTIFIERNIKEFUEL SWIFT_NAME(hkquantitytypeidentifiernikefuel) = 13,
|
|
46
|
+
HKQUANTITYTYPEIDENTIFIERPUSHCOUNT SWIFT_NAME(hkquantitytypeidentifierpushcount) = 14,
|
|
47
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING SWIFT_NAME(hkquantitytypeidentifierdistanceswimming) = 15,
|
|
48
|
+
HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT SWIFT_NAME(hkquantitytypeidentifierswimmingstrokecount) = 16,
|
|
49
|
+
HKQUANTITYTYPEIDENTIFIERVO2MAX SWIFT_NAME(hkquantitytypeidentifiervo2max) = 17,
|
|
50
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS SWIFT_NAME(hkquantitytypeidentifierdistancedownhillsnowsports) = 18,
|
|
51
|
+
HKQUANTITYTYPEIDENTIFIERHEARTRATE SWIFT_NAME(hkquantitytypeidentifierheartrate) = 19,
|
|
52
|
+
HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierbodytemperature) = 20,
|
|
53
|
+
HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierbasalbodytemperature) = 21,
|
|
54
|
+
HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC SWIFT_NAME(hkquantitytypeidentifierbloodpressuresystolic) = 22,
|
|
55
|
+
HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC SWIFT_NAME(hkquantitytypeidentifierbloodpressurediastolic) = 23,
|
|
56
|
+
HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE SWIFT_NAME(hkquantitytypeidentifierrespiratoryrate) = 24,
|
|
57
|
+
HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE SWIFT_NAME(hkquantitytypeidentifierrestingheartrate) = 25,
|
|
58
|
+
HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN SWIFT_NAME(hkquantitytypeidentifierheartratevariabilitysdnn) = 26,
|
|
59
|
+
HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION SWIFT_NAME(hkquantitytypeidentifieroxygensaturation) = 27,
|
|
60
|
+
HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX SWIFT_NAME(hkquantitytypeidentifierperipheralperfusionindex) = 28,
|
|
61
|
+
HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE SWIFT_NAME(hkquantitytypeidentifierbloodglucose) = 29,
|
|
62
|
+
HKQUANTITYTYPEIDENTIFIERBLOODKETONES SWIFT_NAME(hkquantitytypeidentifierbloodketones) = 30,
|
|
63
|
+
HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN SWIFT_NAME(hkquantitytypeidentifiernumberoftimesfallen) = 31,
|
|
64
|
+
HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY SWIFT_NAME(hkquantitytypeidentifierelectrodermalactivity) = 32,
|
|
65
|
+
HKQUANTITYTYPEIDENTIFIERINHALERUSAGE SWIFT_NAME(hkquantitytypeidentifierinhalerusage) = 33,
|
|
66
|
+
HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY SWIFT_NAME(hkquantitytypeidentifierinsulindelivery) = 34,
|
|
67
|
+
HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT SWIFT_NAME(hkquantitytypeidentifierbloodalcoholcontent) = 35,
|
|
68
|
+
HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY SWIFT_NAME(hkquantitytypeidentifierforcedvitalcapacity) = 36,
|
|
69
|
+
HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1 SWIFT_NAME(hkquantitytypeidentifierforcedexpiratoryvolume1) = 37,
|
|
70
|
+
HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE SWIFT_NAME(hkquantitytypeidentifierpeakexpiratoryflowrate) = 38,
|
|
71
|
+
HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE SWIFT_NAME(hkquantitytypeidentifierenvironmentalaudioexposure) = 39,
|
|
72
|
+
HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE SWIFT_NAME(hkquantitytypeidentifierheadphoneaudioexposure) = 40,
|
|
73
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL SWIFT_NAME(hkquantitytypeidentifierdietaryfattotal) = 41,
|
|
74
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatpolyunsaturated) = 42,
|
|
75
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatmonounsaturated) = 43,
|
|
76
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatsaturated) = 44,
|
|
77
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL SWIFT_NAME(hkquantitytypeidentifierdietarycholesterol) = 45,
|
|
78
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM SWIFT_NAME(hkquantitytypeidentifierdietarysodium) = 46,
|
|
79
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES SWIFT_NAME(hkquantitytypeidentifierdietarycarbohydrates) = 47,
|
|
80
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFIBER SWIFT_NAME(hkquantitytypeidentifierdietaryfiber) = 48,
|
|
81
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR SWIFT_NAME(hkquantitytypeidentifierdietarysugar) = 49,
|
|
82
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED SWIFT_NAME(hkquantitytypeidentifierdietaryenergyconsumed) = 50,
|
|
83
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN SWIFT_NAME(hkquantitytypeidentifierdietaryprotein) = 51,
|
|
84
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA SWIFT_NAME(hkquantitytypeidentifierdietaryvitamina) = 52,
|
|
85
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6 SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminb6) = 53,
|
|
86
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12 SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminb12) = 54,
|
|
87
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminc) = 55,
|
|
88
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND SWIFT_NAME(hkquantitytypeidentifierdietaryvitamind) = 56,
|
|
89
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE SWIFT_NAME(hkquantitytypeidentifierdietaryvitamine) = 57,
|
|
90
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK SWIFT_NAME(hkquantitytypeidentifierdietaryvitamink) = 58,
|
|
91
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM SWIFT_NAME(hkquantitytypeidentifierdietarycalcium) = 59,
|
|
92
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYIRON SWIFT_NAME(hkquantitytypeidentifierdietaryiron) = 60,
|
|
93
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN SWIFT_NAME(hkquantitytypeidentifierdietarythiamin) = 61,
|
|
94
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN SWIFT_NAME(hkquantitytypeidentifierdietaryriboflavin) = 62,
|
|
95
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN SWIFT_NAME(hkquantitytypeidentifierdietaryniacin) = 63,
|
|
96
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE SWIFT_NAME(hkquantitytypeidentifierdietaryfolate) = 64,
|
|
97
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN SWIFT_NAME(hkquantitytypeidentifierdietarybiotin) = 65,
|
|
98
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID SWIFT_NAME(hkquantitytypeidentifierdietarypantothenicacid) = 66,
|
|
99
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS SWIFT_NAME(hkquantitytypeidentifierdietaryphosphorus) = 67,
|
|
100
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYIODINE SWIFT_NAME(hkquantitytypeidentifierdietaryiodine) = 68,
|
|
101
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM SWIFT_NAME(hkquantitytypeidentifierdietarymagnesium) = 69,
|
|
102
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYZINC SWIFT_NAME(hkquantitytypeidentifierdietaryzinc) = 70,
|
|
103
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM SWIFT_NAME(hkquantitytypeidentifierdietaryselenium) = 71,
|
|
104
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER SWIFT_NAME(hkquantitytypeidentifierdietarycopper) = 72,
|
|
105
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE SWIFT_NAME(hkquantitytypeidentifierdietarymanganese) = 73,
|
|
106
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM SWIFT_NAME(hkquantitytypeidentifierdietarychromium) = 74,
|
|
107
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM SWIFT_NAME(hkquantitytypeidentifierdietarymolybdenum) = 75,
|
|
108
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE SWIFT_NAME(hkquantitytypeidentifierdietarychloride) = 76,
|
|
109
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM SWIFT_NAME(hkquantitytypeidentifierdietarypotassium) = 77,
|
|
110
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE SWIFT_NAME(hkquantitytypeidentifierdietarycaffeine) = 78,
|
|
111
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYWATER SWIFT_NAME(hkquantitytypeidentifierdietarywater) = 79,
|
|
112
|
+
HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE SWIFT_NAME(hkquantitytypeidentifiersixminutewalktestdistance) = 80,
|
|
113
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGSPEED SWIFT_NAME(hkquantitytypeidentifierwalkingspeed) = 81,
|
|
114
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH SWIFT_NAME(hkquantitytypeidentifierwalkingsteplength) = 82,
|
|
115
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierwalkingasymmetrypercentage) = 83,
|
|
116
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierwalkingdoublesupportpercentage) = 84,
|
|
117
|
+
HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED SWIFT_NAME(hkquantitytypeidentifierstairascentspeed) = 85,
|
|
118
|
+
HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED SWIFT_NAME(hkquantitytypeidentifierstairdescentspeed) = 86,
|
|
119
|
+
HKQUANTITYTYPEIDENTIFIERUVEXPOSURE SWIFT_NAME(hkquantitytypeidentifieruvexposure) = 87,
|
|
120
|
+
HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME SWIFT_NAME(hkquantitytypeidentifierapplemovetime) = 88,
|
|
121
|
+
HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES SWIFT_NAME(hkquantitytypeidentifiernumberofalcoholicbeverages) = 89,
|
|
122
|
+
HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH SWIFT_NAME(hkquantitytypeidentifierunderwaterdepth) = 90,
|
|
123
|
+
HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierwatertemperature) = 91,
|
|
124
|
+
HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierapplesleepingwristtemperature) = 92,
|
|
125
|
+
HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGBREATHINGDISTURBANCES SWIFT_NAME(hkquantitytypeidentifierapplesleepingbreathingdisturbances) = 93,
|
|
126
|
+
HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT SWIFT_NAME(hkquantitytypeidentifiertimeindaylight) = 94,
|
|
127
|
+
HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT SWIFT_NAME(hkquantitytypeidentifierphysicaleffort) = 95,
|
|
128
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED SWIFT_NAME(hkquantitytypeidentifiercyclingspeed) = 96,
|
|
129
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER SWIFT_NAME(hkquantitytypeidentifiercyclingpower) = 97,
|
|
130
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER SWIFT_NAME(hkquantitytypeidentifiercyclingfunctionalthresholdpower) = 98,
|
|
131
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE SWIFT_NAME(hkquantitytypeidentifiercyclingcadence) = 99,
|
|
132
|
+
HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION SWIFT_NAME(hkquantitytypeidentifierenvironmentalsoundreduction) = 100,
|
|
133
|
+
HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE SWIFT_NAME(hkquantitytypeidentifierheartraterecoveryoneminute) = 101,
|
|
134
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME SWIFT_NAME(hkquantitytypeidentifierrunninggroundcontacttime) = 102,
|
|
135
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH SWIFT_NAME(hkquantitytypeidentifierrunningstridelength) = 103,
|
|
136
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER SWIFT_NAME(hkquantitytypeidentifierrunningpower) = 104,
|
|
137
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION SWIFT_NAME(hkquantitytypeidentifierrunningverticaloscillation) = 105,
|
|
138
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED SWIFT_NAME(hkquantitytypeidentifierrunningspeed) = 106,
|
|
139
|
+
HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED SWIFT_NAME(hkquantitytypeidentifiercrosscountryskiingspeed) = 107,
|
|
140
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING SWIFT_NAME(hkquantitytypeidentifierdistancecrosscountryskiing) = 108,
|
|
141
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS SWIFT_NAME(hkquantitytypeidentifierdistancepaddlesports) = 109,
|
|
142
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEROWING SWIFT_NAME(hkquantitytypeidentifierdistancerowing) = 110,
|
|
143
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS SWIFT_NAME(hkquantitytypeidentifierdistanceskatingsports) = 111,
|
|
144
|
+
HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE SWIFT_NAME(hkquantitytypeidentifierestimatedworkouteffortscore) = 112,
|
|
145
|
+
HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED SWIFT_NAME(hkquantitytypeidentifierpaddlesportsspeed) = 113,
|
|
146
|
+
HKQUANTITYTYPEIDENTIFIERROWINGSPEED SWIFT_NAME(hkquantitytypeidentifierrowingspeed) = 114,
|
|
147
|
+
HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE SWIFT_NAME(hkquantitytypeidentifierworkouteffortscore) = 115,
|
|
148
|
+
} CLOSED_ENUM;
|
|
149
|
+
|
|
150
|
+
} // namespace margelo::nitro::healthkit
|
|
151
|
+
|
|
152
|
+
namespace margelo::nitro {
|
|
153
|
+
|
|
154
|
+
// C++ QuantityTypeIdentifierWriteable <> JS QuantityTypeIdentifierWriteable (union)
|
|
155
|
+
template <>
|
|
156
|
+
struct JSIConverter<margelo::nitro::healthkit::QuantityTypeIdentifierWriteable> final {
|
|
157
|
+
static inline margelo::nitro::healthkit::QuantityTypeIdentifierWriteable fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
158
|
+
std::string unionValue = JSIConverter<std::string>::fromJSI(runtime, arg);
|
|
159
|
+
switch (hashString(unionValue.c_str(), unionValue.size())) {
|
|
160
|
+
case hashString("HKQuantityTypeIdentifierBodyMassIndex"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX;
|
|
161
|
+
case hashString("HKQuantityTypeIdentifierBodyFatPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE;
|
|
162
|
+
case hashString("HKQuantityTypeIdentifierHeight"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERHEIGHT;
|
|
163
|
+
case hashString("HKQuantityTypeIdentifierBodyMass"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBODYMASS;
|
|
164
|
+
case hashString("HKQuantityTypeIdentifierLeanBodyMass"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS;
|
|
165
|
+
case hashString("HKQuantityTypeIdentifierWaistCircumference"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE;
|
|
166
|
+
case hashString("HKQuantityTypeIdentifierStepCount"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT;
|
|
167
|
+
case hashString("HKQuantityTypeIdentifierDistanceWalkingRunning"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING;
|
|
168
|
+
case hashString("HKQuantityTypeIdentifierDistanceCycling"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING;
|
|
169
|
+
case hashString("HKQuantityTypeIdentifierDistanceWheelchair"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR;
|
|
170
|
+
case hashString("HKQuantityTypeIdentifierBasalEnergyBurned"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED;
|
|
171
|
+
case hashString("HKQuantityTypeIdentifierActiveEnergyBurned"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED;
|
|
172
|
+
case hashString("HKQuantityTypeIdentifierFlightsClimbed"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED;
|
|
173
|
+
case hashString("HKQuantityTypeIdentifierNikeFuel"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERNIKEFUEL;
|
|
174
|
+
case hashString("HKQuantityTypeIdentifierPushCount"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERPUSHCOUNT;
|
|
175
|
+
case hashString("HKQuantityTypeIdentifierDistanceSwimming"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING;
|
|
176
|
+
case hashString("HKQuantityTypeIdentifierSwimmingStrokeCount"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT;
|
|
177
|
+
case hashString("HKQuantityTypeIdentifierVO2Max"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERVO2MAX;
|
|
178
|
+
case hashString("HKQuantityTypeIdentifierDistanceDownhillSnowSports"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS;
|
|
179
|
+
case hashString("HKQuantityTypeIdentifierHeartRate"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERHEARTRATE;
|
|
180
|
+
case hashString("HKQuantityTypeIdentifierBodyTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE;
|
|
181
|
+
case hashString("HKQuantityTypeIdentifierBasalBodyTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE;
|
|
182
|
+
case hashString("HKQuantityTypeIdentifierBloodPressureSystolic"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC;
|
|
183
|
+
case hashString("HKQuantityTypeIdentifierBloodPressureDiastolic"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC;
|
|
184
|
+
case hashString("HKQuantityTypeIdentifierRespiratoryRate"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE;
|
|
185
|
+
case hashString("HKQuantityTypeIdentifierRestingHeartRate"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE;
|
|
186
|
+
case hashString("HKQuantityTypeIdentifierHeartRateVariabilitySDNN"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN;
|
|
187
|
+
case hashString("HKQuantityTypeIdentifierOxygenSaturation"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION;
|
|
188
|
+
case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX;
|
|
189
|
+
case hashString("HKQuantityTypeIdentifierBloodGlucose"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE;
|
|
190
|
+
case hashString("HKQuantityTypeIdentifierBloodKetones"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBLOODKETONES;
|
|
191
|
+
case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN;
|
|
192
|
+
case hashString("HKQuantityTypeIdentifierElectrodermalActivity"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY;
|
|
193
|
+
case hashString("HKQuantityTypeIdentifierInhalerUsage"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE;
|
|
194
|
+
case hashString("HKQuantityTypeIdentifierInsulinDelivery"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY;
|
|
195
|
+
case hashString("HKQuantityTypeIdentifierBloodAlcoholContent"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT;
|
|
196
|
+
case hashString("HKQuantityTypeIdentifierForcedVitalCapacity"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY;
|
|
197
|
+
case hashString("HKQuantityTypeIdentifierForcedExpiratoryVolume1"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1;
|
|
198
|
+
case hashString("HKQuantityTypeIdentifierPeakExpiratoryFlowRate"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE;
|
|
199
|
+
case hashString("HKQuantityTypeIdentifierEnvironmentalAudioExposure"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE;
|
|
200
|
+
case hashString("HKQuantityTypeIdentifierHeadphoneAudioExposure"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE;
|
|
201
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatTotal"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL;
|
|
202
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatPolyunsaturated"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED;
|
|
203
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatMonounsaturated"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED;
|
|
204
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatSaturated"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED;
|
|
205
|
+
case hashString("HKQuantityTypeIdentifierDietaryCholesterol"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL;
|
|
206
|
+
case hashString("HKQuantityTypeIdentifierDietarySodium"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM;
|
|
207
|
+
case hashString("HKQuantityTypeIdentifierDietaryCarbohydrates"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES;
|
|
208
|
+
case hashString("HKQuantityTypeIdentifierDietaryFiber"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFIBER;
|
|
209
|
+
case hashString("HKQuantityTypeIdentifierDietarySugar"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR;
|
|
210
|
+
case hashString("HKQuantityTypeIdentifierDietaryEnergyConsumed"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED;
|
|
211
|
+
case hashString("HKQuantityTypeIdentifierDietaryProtein"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN;
|
|
212
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminA"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA;
|
|
213
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminB6"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6;
|
|
214
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminB12"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12;
|
|
215
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminC"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC;
|
|
216
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminD"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND;
|
|
217
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminE"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE;
|
|
218
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminK"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK;
|
|
219
|
+
case hashString("HKQuantityTypeIdentifierDietaryCalcium"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM;
|
|
220
|
+
case hashString("HKQuantityTypeIdentifierDietaryIron"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYIRON;
|
|
221
|
+
case hashString("HKQuantityTypeIdentifierDietaryThiamin"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN;
|
|
222
|
+
case hashString("HKQuantityTypeIdentifierDietaryRiboflavin"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN;
|
|
223
|
+
case hashString("HKQuantityTypeIdentifierDietaryNiacin"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN;
|
|
224
|
+
case hashString("HKQuantityTypeIdentifierDietaryFolate"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE;
|
|
225
|
+
case hashString("HKQuantityTypeIdentifierDietaryBiotin"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN;
|
|
226
|
+
case hashString("HKQuantityTypeIdentifierDietaryPantothenicAcid"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID;
|
|
227
|
+
case hashString("HKQuantityTypeIdentifierDietaryPhosphorus"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS;
|
|
228
|
+
case hashString("HKQuantityTypeIdentifierDietaryIodine"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE;
|
|
229
|
+
case hashString("HKQuantityTypeIdentifierDietaryMagnesium"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM;
|
|
230
|
+
case hashString("HKQuantityTypeIdentifierDietaryZinc"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYZINC;
|
|
231
|
+
case hashString("HKQuantityTypeIdentifierDietarySelenium"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM;
|
|
232
|
+
case hashString("HKQuantityTypeIdentifierDietaryCopper"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER;
|
|
233
|
+
case hashString("HKQuantityTypeIdentifierDietaryManganese"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE;
|
|
234
|
+
case hashString("HKQuantityTypeIdentifierDietaryChromium"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM;
|
|
235
|
+
case hashString("HKQuantityTypeIdentifierDietaryMolybdenum"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM;
|
|
236
|
+
case hashString("HKQuantityTypeIdentifierDietaryChloride"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE;
|
|
237
|
+
case hashString("HKQuantityTypeIdentifierDietaryPotassium"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM;
|
|
238
|
+
case hashString("HKQuantityTypeIdentifierDietaryCaffeine"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE;
|
|
239
|
+
case hashString("HKQuantityTypeIdentifierDietaryWater"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYWATER;
|
|
240
|
+
case hashString("HKQuantityTypeIdentifierSixMinuteWalkTestDistance"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE;
|
|
241
|
+
case hashString("HKQuantityTypeIdentifierWalkingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED;
|
|
242
|
+
case hashString("HKQuantityTypeIdentifierWalkingStepLength"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH;
|
|
243
|
+
case hashString("HKQuantityTypeIdentifierWalkingAsymmetryPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE;
|
|
244
|
+
case hashString("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE;
|
|
245
|
+
case hashString("HKQuantityTypeIdentifierStairAscentSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED;
|
|
246
|
+
case hashString("HKQuantityTypeIdentifierStairDescentSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED;
|
|
247
|
+
case hashString("HKQuantityTypeIdentifierUVExposure"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE;
|
|
248
|
+
case hashString("HKQuantityTypeIdentifierAppleMoveTime"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME;
|
|
249
|
+
case hashString("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES;
|
|
250
|
+
case hashString("HKQuantityTypeIdentifierUnderwaterDepth"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH;
|
|
251
|
+
case hashString("HKQuantityTypeIdentifierWaterTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE;
|
|
252
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE;
|
|
253
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGBREATHINGDISTURBANCES;
|
|
254
|
+
case hashString("HKQuantityTypeIdentifierTimeInDaylight"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT;
|
|
255
|
+
case hashString("HKQuantityTypeIdentifierPhysicalEffort"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT;
|
|
256
|
+
case hashString("HKQuantityTypeIdentifierCyclingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED;
|
|
257
|
+
case hashString("HKQuantityTypeIdentifierCyclingPower"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER;
|
|
258
|
+
case hashString("HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER;
|
|
259
|
+
case hashString("HKQuantityTypeIdentifierCyclingCadence"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE;
|
|
260
|
+
case hashString("HKQuantityTypeIdentifierEnvironmentalSoundReduction"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION;
|
|
261
|
+
case hashString("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE;
|
|
262
|
+
case hashString("HKQuantityTypeIdentifierRunningGroundContactTime"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME;
|
|
263
|
+
case hashString("HKQuantityTypeIdentifierRunningStrideLength"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH;
|
|
264
|
+
case hashString("HKQuantityTypeIdentifierRunningPower"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER;
|
|
265
|
+
case hashString("HKQuantityTypeIdentifierRunningVerticalOscillation"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION;
|
|
266
|
+
case hashString("HKQuantityTypeIdentifierRunningSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED;
|
|
267
|
+
case hashString("HKQuantityTypeIdentifierCrossCountrySkiingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED;
|
|
268
|
+
case hashString("HKQuantityTypeIdentifierDistanceCrossCountrySkiing"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING;
|
|
269
|
+
case hashString("HKQuantityTypeIdentifierDistancePaddleSports"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS;
|
|
270
|
+
case hashString("HKQuantityTypeIdentifierDistanceRowing"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCEROWING;
|
|
271
|
+
case hashString("HKQuantityTypeIdentifierDistanceSkatingSports"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS;
|
|
272
|
+
case hashString("HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE;
|
|
273
|
+
case hashString("HKQuantityTypeIdentifierPaddleSportsSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED;
|
|
274
|
+
case hashString("HKQuantityTypeIdentifierRowingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERROWINGSPEED;
|
|
275
|
+
case hashString("HKQuantityTypeIdentifierWorkoutEffortScore"): return margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE;
|
|
276
|
+
default: [[unlikely]]
|
|
277
|
+
throw std::invalid_argument("Cannot convert \"" + unionValue + "\" to enum QuantityTypeIdentifierWriteable - invalid value!");
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
static inline jsi::Value toJSI(jsi::Runtime& runtime, margelo::nitro::healthkit::QuantityTypeIdentifierWriteable arg) {
|
|
281
|
+
switch (arg) {
|
|
282
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMassIndex");
|
|
283
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyFatPercentage");
|
|
284
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERHEIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeight");
|
|
285
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMass");
|
|
286
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierLeanBodyMass");
|
|
287
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaistCircumference");
|
|
288
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStepCount");
|
|
289
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWalkingRunning");
|
|
290
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCycling");
|
|
291
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWheelchair");
|
|
292
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalEnergyBurned");
|
|
293
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierActiveEnergyBurned");
|
|
294
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierFlightsClimbed");
|
|
295
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERNIKEFUEL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNikeFuel");
|
|
296
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERPUSHCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPushCount");
|
|
297
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSwimming");
|
|
298
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSwimmingStrokeCount");
|
|
299
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERVO2MAX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierVO2Max");
|
|
300
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceDownhillSnowSports");
|
|
301
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRate");
|
|
302
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyTemperature");
|
|
303
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalBodyTemperature");
|
|
304
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureSystolic");
|
|
305
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureDiastolic");
|
|
306
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRespiratoryRate");
|
|
307
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRestingHeartRate");
|
|
308
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateVariabilitySDNN");
|
|
309
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierOxygenSaturation");
|
|
310
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeripheralPerfusionIndex");
|
|
311
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodGlucose");
|
|
312
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBLOODKETONES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodKetones");
|
|
313
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfTimesFallen");
|
|
314
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierElectrodermalActivity");
|
|
315
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInhalerUsage");
|
|
316
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInsulinDelivery");
|
|
317
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodAlcoholContent");
|
|
318
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierForcedVitalCapacity");
|
|
319
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierForcedExpiratoryVolume1");
|
|
320
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeakExpiratoryFlowRate");
|
|
321
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalAudioExposure");
|
|
322
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeadphoneAudioExposure");
|
|
323
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatTotal");
|
|
324
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatPolyunsaturated");
|
|
325
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatMonounsaturated");
|
|
326
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatSaturated");
|
|
327
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCholesterol");
|
|
328
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySodium");
|
|
329
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCarbohydrates");
|
|
330
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFIBER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFiber");
|
|
331
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySugar");
|
|
332
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryEnergyConsumed");
|
|
333
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryProtein");
|
|
334
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminA");
|
|
335
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB6");
|
|
336
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB12");
|
|
337
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminC");
|
|
338
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminD");
|
|
339
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminE");
|
|
340
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminK");
|
|
341
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCalcium");
|
|
342
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYIRON: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIron");
|
|
343
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryThiamin");
|
|
344
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryRiboflavin");
|
|
345
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryNiacin");
|
|
346
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFolate");
|
|
347
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryBiotin");
|
|
348
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPantothenicAcid");
|
|
349
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPhosphorus");
|
|
350
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIodine");
|
|
351
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryMagnesium");
|
|
352
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYZINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryZinc");
|
|
353
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySelenium");
|
|
354
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCopper");
|
|
355
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryManganese");
|
|
356
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChromium");
|
|
357
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryMolybdenum");
|
|
358
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChloride");
|
|
359
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPotassium");
|
|
360
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCaffeine");
|
|
361
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDIETARYWATER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryWater");
|
|
362
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSixMinuteWalkTestDistance");
|
|
363
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingSpeed");
|
|
364
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingStepLength");
|
|
365
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingAsymmetryPercentage");
|
|
366
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage");
|
|
367
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStairAscentSpeed");
|
|
368
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStairDescentSpeed");
|
|
369
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUVExposure");
|
|
370
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleMoveTime");
|
|
371
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages");
|
|
372
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUnderwaterDepth");
|
|
373
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaterTemperature");
|
|
374
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleSleepingWristTemperature");
|
|
375
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGBREATHINGDISTURBANCES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances");
|
|
376
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierTimeInDaylight");
|
|
377
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPhysicalEffort");
|
|
378
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingSpeed");
|
|
379
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingPower");
|
|
380
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower");
|
|
381
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingCadence");
|
|
382
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalSoundReduction");
|
|
383
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute");
|
|
384
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningGroundContactTime");
|
|
385
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningStrideLength");
|
|
386
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningPower");
|
|
387
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningVerticalOscillation");
|
|
388
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningSpeed");
|
|
389
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCrossCountrySkiingSpeed");
|
|
390
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCrossCountrySkiing");
|
|
391
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistancePaddleSports");
|
|
392
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCEROWING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceRowing");
|
|
393
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSkatingSports");
|
|
394
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore");
|
|
395
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPaddleSportsSpeed");
|
|
396
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERROWINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRowingSpeed");
|
|
397
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifierWriteable::HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWorkoutEffortScore");
|
|
398
|
+
default: [[unlikely]]
|
|
399
|
+
throw std::invalid_argument("Cannot convert QuantityTypeIdentifierWriteable to JS - invalid value: "
|
|
400
|
+
+ std::to_string(static_cast<int>(arg)) + "!");
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
404
|
+
if (!value.isString()) {
|
|
405
|
+
return false;
|
|
406
|
+
}
|
|
407
|
+
std::string unionValue = JSIConverter<std::string>::fromJSI(runtime, value);
|
|
408
|
+
switch (hashString(unionValue.c_str(), unionValue.size())) {
|
|
409
|
+
case hashString("HKQuantityTypeIdentifierBodyMassIndex"):
|
|
410
|
+
case hashString("HKQuantityTypeIdentifierBodyFatPercentage"):
|
|
411
|
+
case hashString("HKQuantityTypeIdentifierHeight"):
|
|
412
|
+
case hashString("HKQuantityTypeIdentifierBodyMass"):
|
|
413
|
+
case hashString("HKQuantityTypeIdentifierLeanBodyMass"):
|
|
414
|
+
case hashString("HKQuantityTypeIdentifierWaistCircumference"):
|
|
415
|
+
case hashString("HKQuantityTypeIdentifierStepCount"):
|
|
416
|
+
case hashString("HKQuantityTypeIdentifierDistanceWalkingRunning"):
|
|
417
|
+
case hashString("HKQuantityTypeIdentifierDistanceCycling"):
|
|
418
|
+
case hashString("HKQuantityTypeIdentifierDistanceWheelchair"):
|
|
419
|
+
case hashString("HKQuantityTypeIdentifierBasalEnergyBurned"):
|
|
420
|
+
case hashString("HKQuantityTypeIdentifierActiveEnergyBurned"):
|
|
421
|
+
case hashString("HKQuantityTypeIdentifierFlightsClimbed"):
|
|
422
|
+
case hashString("HKQuantityTypeIdentifierNikeFuel"):
|
|
423
|
+
case hashString("HKQuantityTypeIdentifierPushCount"):
|
|
424
|
+
case hashString("HKQuantityTypeIdentifierDistanceSwimming"):
|
|
425
|
+
case hashString("HKQuantityTypeIdentifierSwimmingStrokeCount"):
|
|
426
|
+
case hashString("HKQuantityTypeIdentifierVO2Max"):
|
|
427
|
+
case hashString("HKQuantityTypeIdentifierDistanceDownhillSnowSports"):
|
|
428
|
+
case hashString("HKQuantityTypeIdentifierHeartRate"):
|
|
429
|
+
case hashString("HKQuantityTypeIdentifierBodyTemperature"):
|
|
430
|
+
case hashString("HKQuantityTypeIdentifierBasalBodyTemperature"):
|
|
431
|
+
case hashString("HKQuantityTypeIdentifierBloodPressureSystolic"):
|
|
432
|
+
case hashString("HKQuantityTypeIdentifierBloodPressureDiastolic"):
|
|
433
|
+
case hashString("HKQuantityTypeIdentifierRespiratoryRate"):
|
|
434
|
+
case hashString("HKQuantityTypeIdentifierRestingHeartRate"):
|
|
435
|
+
case hashString("HKQuantityTypeIdentifierHeartRateVariabilitySDNN"):
|
|
436
|
+
case hashString("HKQuantityTypeIdentifierOxygenSaturation"):
|
|
437
|
+
case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"):
|
|
438
|
+
case hashString("HKQuantityTypeIdentifierBloodGlucose"):
|
|
439
|
+
case hashString("HKQuantityTypeIdentifierBloodKetones"):
|
|
440
|
+
case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"):
|
|
441
|
+
case hashString("HKQuantityTypeIdentifierElectrodermalActivity"):
|
|
442
|
+
case hashString("HKQuantityTypeIdentifierInhalerUsage"):
|
|
443
|
+
case hashString("HKQuantityTypeIdentifierInsulinDelivery"):
|
|
444
|
+
case hashString("HKQuantityTypeIdentifierBloodAlcoholContent"):
|
|
445
|
+
case hashString("HKQuantityTypeIdentifierForcedVitalCapacity"):
|
|
446
|
+
case hashString("HKQuantityTypeIdentifierForcedExpiratoryVolume1"):
|
|
447
|
+
case hashString("HKQuantityTypeIdentifierPeakExpiratoryFlowRate"):
|
|
448
|
+
case hashString("HKQuantityTypeIdentifierEnvironmentalAudioExposure"):
|
|
449
|
+
case hashString("HKQuantityTypeIdentifierHeadphoneAudioExposure"):
|
|
450
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatTotal"):
|
|
451
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatPolyunsaturated"):
|
|
452
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatMonounsaturated"):
|
|
453
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatSaturated"):
|
|
454
|
+
case hashString("HKQuantityTypeIdentifierDietaryCholesterol"):
|
|
455
|
+
case hashString("HKQuantityTypeIdentifierDietarySodium"):
|
|
456
|
+
case hashString("HKQuantityTypeIdentifierDietaryCarbohydrates"):
|
|
457
|
+
case hashString("HKQuantityTypeIdentifierDietaryFiber"):
|
|
458
|
+
case hashString("HKQuantityTypeIdentifierDietarySugar"):
|
|
459
|
+
case hashString("HKQuantityTypeIdentifierDietaryEnergyConsumed"):
|
|
460
|
+
case hashString("HKQuantityTypeIdentifierDietaryProtein"):
|
|
461
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminA"):
|
|
462
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminB6"):
|
|
463
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminB12"):
|
|
464
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminC"):
|
|
465
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminD"):
|
|
466
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminE"):
|
|
467
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminK"):
|
|
468
|
+
case hashString("HKQuantityTypeIdentifierDietaryCalcium"):
|
|
469
|
+
case hashString("HKQuantityTypeIdentifierDietaryIron"):
|
|
470
|
+
case hashString("HKQuantityTypeIdentifierDietaryThiamin"):
|
|
471
|
+
case hashString("HKQuantityTypeIdentifierDietaryRiboflavin"):
|
|
472
|
+
case hashString("HKQuantityTypeIdentifierDietaryNiacin"):
|
|
473
|
+
case hashString("HKQuantityTypeIdentifierDietaryFolate"):
|
|
474
|
+
case hashString("HKQuantityTypeIdentifierDietaryBiotin"):
|
|
475
|
+
case hashString("HKQuantityTypeIdentifierDietaryPantothenicAcid"):
|
|
476
|
+
case hashString("HKQuantityTypeIdentifierDietaryPhosphorus"):
|
|
477
|
+
case hashString("HKQuantityTypeIdentifierDietaryIodine"):
|
|
478
|
+
case hashString("HKQuantityTypeIdentifierDietaryMagnesium"):
|
|
479
|
+
case hashString("HKQuantityTypeIdentifierDietaryZinc"):
|
|
480
|
+
case hashString("HKQuantityTypeIdentifierDietarySelenium"):
|
|
481
|
+
case hashString("HKQuantityTypeIdentifierDietaryCopper"):
|
|
482
|
+
case hashString("HKQuantityTypeIdentifierDietaryManganese"):
|
|
483
|
+
case hashString("HKQuantityTypeIdentifierDietaryChromium"):
|
|
484
|
+
case hashString("HKQuantityTypeIdentifierDietaryMolybdenum"):
|
|
485
|
+
case hashString("HKQuantityTypeIdentifierDietaryChloride"):
|
|
486
|
+
case hashString("HKQuantityTypeIdentifierDietaryPotassium"):
|
|
487
|
+
case hashString("HKQuantityTypeIdentifierDietaryCaffeine"):
|
|
488
|
+
case hashString("HKQuantityTypeIdentifierDietaryWater"):
|
|
489
|
+
case hashString("HKQuantityTypeIdentifierSixMinuteWalkTestDistance"):
|
|
490
|
+
case hashString("HKQuantityTypeIdentifierWalkingSpeed"):
|
|
491
|
+
case hashString("HKQuantityTypeIdentifierWalkingStepLength"):
|
|
492
|
+
case hashString("HKQuantityTypeIdentifierWalkingAsymmetryPercentage"):
|
|
493
|
+
case hashString("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"):
|
|
494
|
+
case hashString("HKQuantityTypeIdentifierStairAscentSpeed"):
|
|
495
|
+
case hashString("HKQuantityTypeIdentifierStairDescentSpeed"):
|
|
496
|
+
case hashString("HKQuantityTypeIdentifierUVExposure"):
|
|
497
|
+
case hashString("HKQuantityTypeIdentifierAppleMoveTime"):
|
|
498
|
+
case hashString("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"):
|
|
499
|
+
case hashString("HKQuantityTypeIdentifierUnderwaterDepth"):
|
|
500
|
+
case hashString("HKQuantityTypeIdentifierWaterTemperature"):
|
|
501
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"):
|
|
502
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"):
|
|
503
|
+
case hashString("HKQuantityTypeIdentifierTimeInDaylight"):
|
|
504
|
+
case hashString("HKQuantityTypeIdentifierPhysicalEffort"):
|
|
505
|
+
case hashString("HKQuantityTypeIdentifierCyclingSpeed"):
|
|
506
|
+
case hashString("HKQuantityTypeIdentifierCyclingPower"):
|
|
507
|
+
case hashString("HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"):
|
|
508
|
+
case hashString("HKQuantityTypeIdentifierCyclingCadence"):
|
|
509
|
+
case hashString("HKQuantityTypeIdentifierEnvironmentalSoundReduction"):
|
|
510
|
+
case hashString("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"):
|
|
511
|
+
case hashString("HKQuantityTypeIdentifierRunningGroundContactTime"):
|
|
512
|
+
case hashString("HKQuantityTypeIdentifierRunningStrideLength"):
|
|
513
|
+
case hashString("HKQuantityTypeIdentifierRunningPower"):
|
|
514
|
+
case hashString("HKQuantityTypeIdentifierRunningVerticalOscillation"):
|
|
515
|
+
case hashString("HKQuantityTypeIdentifierRunningSpeed"):
|
|
516
|
+
case hashString("HKQuantityTypeIdentifierCrossCountrySkiingSpeed"):
|
|
517
|
+
case hashString("HKQuantityTypeIdentifierDistanceCrossCountrySkiing"):
|
|
518
|
+
case hashString("HKQuantityTypeIdentifierDistancePaddleSports"):
|
|
519
|
+
case hashString("HKQuantityTypeIdentifierDistanceRowing"):
|
|
520
|
+
case hashString("HKQuantityTypeIdentifierDistanceSkatingSports"):
|
|
521
|
+
case hashString("HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"):
|
|
522
|
+
case hashString("HKQuantityTypeIdentifierPaddleSportsSpeed"):
|
|
523
|
+
case hashString("HKQuantityTypeIdentifierRowingSpeed"):
|
|
524
|
+
case hashString("HKQuantityTypeIdentifierWorkoutEffortScore"):
|
|
525
|
+
return true;
|
|
526
|
+
default:
|
|
527
|
+
return false;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
};
|
|
531
|
+
|
|
532
|
+
} // namespace margelo::nitro
|