@kingstinct/react-native-healthkit 13.1.2 → 13.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ios/MedicationModule.swift +51 -4
- package/ios/QuantityTypeModule.swift +2 -2
- package/lib/typescript/specs/MedicationModule.nitro.d.ts +1 -0
- package/lib/typescript/types/CategoryTypeIdentifier.d.ts +31 -1
- package/lib/typescript/types/QuantityTypeIdentifier.d.ts +12 -0
- package/lib/typescript/types/Workouts.d.ts +4 -0
- 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 +43 -43
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Umbrella.hpp +1 -1
- package/nitrogen/generated/ios/ReactNativeHealthkitAutolinking.mm +1 -1
- package/nitrogen/generated/ios/ReactNativeHealthkitAutolinking.swift +71 -45
- package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/c++/HybridCharacteristicTypeModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridCharacteristicTypeModuleSpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/c++/HybridSourceProxySpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridSourceProxySpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +18 -8
- package/nitrogen/generated/ios/c++/HybridWorkoutsModuleSpecSwift.cpp +1 -1
- package/nitrogen/generated/ios/c++/HybridWorkoutsModuleSpecSwift.hpp +1 -7
- package/nitrogen/generated/ios/swift/AggregationStyle.swift +1 -1
- package/nitrogen/generated/ios/swift/AuthDataTypes.swift +56 -19
- 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 +445 -166
- package/nitrogen/generated/ios/swift/CategorySampleForSaving.swift +56 -13
- package/nitrogen/generated/ios/swift/CategorySamplesWithAnchorResponse.swift +38 -7
- package/nitrogen/generated/ios/swift/CategoryTypeIdentifier.swift +21 -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 +491 -187
- package/nitrogen/generated/ios/swift/CorrelationTypeIdentifier.swift +1 -1
- package/nitrogen/generated/ios/swift/DateFilter.swift +86 -37
- package/nitrogen/generated/ios/swift/DeletedSample.swift +31 -12
- package/nitrogen/generated/ios/swift/Device.swift +170 -73
- package/nitrogen/generated/ios/swift/ECGQueryOptionsWithAnchor.swift +53 -16
- package/nitrogen/generated/ios/swift/ECGQueryOptionsWithSortOrder.swift +66 -23
- 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 +508 -195
- package/nitrogen/generated/ios/swift/ElectrocardiogramSamplesWithAnchorResponse.swift +38 -7
- package/nitrogen/generated/ios/swift/ElectrocardiogramSymptomsStatus.swift +1 -1
- package/nitrogen/generated/ios/swift/ElectrocardiogramVoltage.swift +26 -7
- package/nitrogen/generated/ios/swift/FilterForSamples.swift +221 -76
- package/nitrogen/generated/ios/swift/FilterForSamplesBase.swift +140 -49
- package/nitrogen/generated/ios/swift/FilterForWorkouts.swift +221 -67
- package/nitrogen/generated/ios/swift/FilterForWorkoutsBase.swift +140 -40
- package/nitrogen/generated/ios/swift/FitzpatrickSkinType.swift +1 -1
- package/nitrogen/generated/ios/swift/Func_void.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_AuthorizationRequestStatus.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_BiologicalSex.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_BloodType.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_CategorySamplesWithAnchorResponse.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_ElectrocardiogramSamplesWithAnchorResponse.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_FitzpatrickSkinType.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_HeartbeatSeriesSamplesWithAnchorResponse.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_MedicationDoseEventsWithAnchorResponse.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_OnChangeCallbackArgs.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_QuantitySamplesWithAnchorResponse.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_QueryCorrelationSamplesWithAnchorResponse.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_QueryStatisticsResponse.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_QueryWorkoutSamplesWithAnchorResponse.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_StateOfMindSamplesWithAnchorResponse.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_WheelchairUse.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_bool.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_double.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__exception_ptr.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_CategorySample_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_CorrelationSample_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_QuantitySample_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_QueryStatisticsResponse_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_StateOfMindSample_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_WorkoutPlan_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__optional_std__chrono__system_clock__time_point_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__shared_ptr_HybridWorkoutProxySpec_.swift +3 -2
- package/nitrogen/generated/ios/swift/Func_void_std__unordered_map_std__string__QueryStatisticsResponse_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__unordered_map_std__string__bool_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_CategorySample_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_CorrelationSample_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_ElectrocardiogramSample_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_HeartbeatSeriesSample_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_IdentifierWithUnit_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_MedicationDoseEvent_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_QuantitySample_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_QueryStatisticsResponseFromSingleSource_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_QueryStatisticsResponse_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_StateOfMindSample_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_UserAnnotatedMedication_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_WorkoutRoute_.swift +2 -1
- package/nitrogen/generated/ios/swift/Func_void_std__vector_std__shared_ptr_HybridSourceProxySpec__.swift +3 -2
- package/nitrogen/generated/ios/swift/Func_void_std__vector_std__shared_ptr_HybridWorkoutProxySpec__.swift +3 -2
- 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 +18 -5
- package/nitrogen/generated/ios/swift/HeartbeatSeriesSample.swift +443 -164
- package/nitrogen/generated/ios/swift/HeartbeatSeriesSamplesWithAnchorResponse.swift +38 -7
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/HybridCharacteristicTypeModuleSpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridCharacteristicTypeModuleSpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/HybridCorrelationTypeModuleSpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridCorrelationTypeModuleSpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/HybridElectrocardiogramModuleSpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridElectrocardiogramModuleSpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/HybridHeartbeatSeriesModuleSpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridHeartbeatSeriesModuleSpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/HybridMedicationModuleSpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridMedicationModuleSpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/HybridSourceProxySpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridSourceProxySpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/HybridStateOfMindModuleSpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridStateOfMindModuleSpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec.swift +8 -3
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec_cxx.swift +54 -9
- package/nitrogen/generated/ios/swift/HybridWorkoutsModuleSpec.swift +4 -3
- package/nitrogen/generated/ios/swift/HybridWorkoutsModuleSpec_cxx.swift +2 -9
- package/nitrogen/generated/ios/swift/IdentifierWithUnit.swift +18 -5
- package/nitrogen/generated/ios/swift/InsulinDeliveryReason.swift +1 -1
- package/nitrogen/generated/ios/swift/IntervalComponents.swift +72 -46
- package/nitrogen/generated/ios/swift/LocationForSaving.swift +66 -17
- package/nitrogen/generated/ios/swift/MedicationConcept.swift +40 -9
- package/nitrogen/generated/ios/swift/MedicationDoseEvent.swift +542 -199
- 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 +38 -7
- package/nitrogen/generated/ios/swift/ObjectTypeIdentifier.swift +29 -1
- package/nitrogen/generated/ios/swift/OnChangeCallbackArgs.swift +31 -12
- package/nitrogen/generated/ios/swift/PerObjectTypeIdentifier.swift +1 -1
- package/nitrogen/generated/ios/swift/PredicateWithMetadataKey.swift +74 -32
- package/nitrogen/generated/ios/swift/Quantity.swift +18 -5
- package/nitrogen/generated/ios/swift/QuantityDateInterval.swift +18 -5
- package/nitrogen/generated/ios/swift/QuantitySample.swift +453 -168
- package/nitrogen/generated/ios/swift/QuantitySampleForSaving.swift +77 -22
- package/nitrogen/generated/ios/swift/QuantitySamplesWithAnchorResponse.swift +38 -7
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifier.swift +9 -1
- package/nitrogen/generated/ios/swift/QueryCorrelationSamplesWithAnchorResponse.swift +38 -7
- package/nitrogen/generated/ios/swift/QueryOptionsWithAnchor.swift +45 -14
- package/nitrogen/generated/ios/swift/QueryOptionsWithAnchorAndUnit.swift +66 -23
- package/nitrogen/generated/ios/swift/QueryOptionsWithSortOrder.swift +45 -14
- package/nitrogen/generated/ios/swift/QueryOptionsWithSortOrderAndUnit.swift +66 -23
- package/nitrogen/generated/ios/swift/QueryStatisticsResponse.swift +163 -39
- package/nitrogen/generated/ios/swift/QueryStatisticsResponseFromSingleSource.swift +157 -39
- package/nitrogen/generated/ios/swift/QueryWorkoutSamplesWithAnchorResponse.swift +45 -11
- package/nitrogen/generated/ios/swift/RelatedCoding.swift +39 -14
- package/nitrogen/generated/ios/swift/SampleForSaving.swift +1 -1
- package/nitrogen/generated/ios/swift/SampleType.swift +34 -9
- package/nitrogen/generated/ios/swift/SampleTypeIdentifier.swift +29 -1
- package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +29 -1
- package/nitrogen/generated/ios/swift/Source.swift +18 -5
- package/nitrogen/generated/ios/swift/SourceRevision.swift +67 -27
- 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 +481 -172
- package/nitrogen/generated/ios/swift/StateOfMindSamplesWithAnchorResponse.swift +38 -7
- 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 +37 -12
- package/nitrogen/generated/ios/swift/UpdateFrequency.swift +1 -1
- package/nitrogen/generated/ios/swift/UserAnnotatedMedication.swift +47 -16
- 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 +34 -9
- package/nitrogen/generated/ios/swift/WorkoutActivityType.swift +1 -1
- package/nitrogen/generated/ios/swift/WorkoutConfiguration.swift +24 -5
- package/nitrogen/generated/ios/swift/WorkoutDurationPredicate.swift +18 -5
- package/nitrogen/generated/ios/swift/WorkoutEvent.swift +26 -7
- package/nitrogen/generated/ios/swift/WorkoutEventType.swift +1 -1
- package/nitrogen/generated/ios/swift/WorkoutPlan.swift +18 -5
- package/nitrogen/generated/ios/swift/WorkoutQueryOptions.swift +45 -14
- package/nitrogen/generated/ios/swift/WorkoutQueryOptionsWithAnchor.swift +45 -14
- package/nitrogen/generated/ios/swift/WorkoutRoute.swift +51 -21
- package/nitrogen/generated/ios/swift/WorkoutRouteLocation.swift +88 -28
- package/nitrogen/generated/ios/swift/WorkoutSample.swift +684 -205
- package/nitrogen/generated/ios/swift/WorkoutSessionLocationType.swift +1 -1
- package/nitrogen/generated/ios/swift/WorkoutTotals.swift +30 -19
- package/nitrogen/generated/shared/c++/AggregationStyle.hpp +1 -1
- package/nitrogen/generated/shared/c++/AuthDataTypes.hpp +8 -16
- 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 +92 -100
- package/nitrogen/generated/shared/c++/CategorySampleForSaving.hpp +20 -28
- package/nitrogen/generated/shared/c++/CategorySamplesWithAnchorResponse.hpp +11 -19
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +21 -1
- package/nitrogen/generated/shared/c++/ComparisonPredicateOperator.hpp +1 -1
- package/nitrogen/generated/shared/c++/CorrelationSample.hpp +95 -103
- package/nitrogen/generated/shared/c++/CorrelationTypeIdentifier.hpp +1 -1
- package/nitrogen/generated/shared/c++/DateFilter.hpp +14 -22
- package/nitrogen/generated/shared/c++/DeletedSample.hpp +8 -16
- package/nitrogen/generated/shared/c++/Device.hpp +26 -34
- package/nitrogen/generated/shared/c++/ECGQueryOptionsWithAnchor.hpp +14 -22
- package/nitrogen/generated/shared/c++/ECGQueryOptionsWithSortOrder.hpp +14 -22
- 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 +104 -112
- package/nitrogen/generated/shared/c++/ElectrocardiogramSamplesWithAnchorResponse.hpp +11 -19
- package/nitrogen/generated/shared/c++/ElectrocardiogramSymptomsStatus.hpp +1 -1
- package/nitrogen/generated/shared/c++/ElectrocardiogramVoltage.hpp +11 -19
- package/nitrogen/generated/shared/c++/FilterForSamples.hpp +29 -37
- package/nitrogen/generated/shared/c++/FilterForSamplesBase.hpp +20 -28
- package/nitrogen/generated/shared/c++/FilterForWorkouts.hpp +32 -40
- package/nitrogen/generated/shared/c++/FilterForWorkoutsBase.hpp +23 -31
- 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 +8 -16
- package/nitrogen/generated/shared/c++/HeartbeatSeriesSample.hpp +89 -97
- package/nitrogen/generated/shared/c++/HeartbeatSeriesSamplesWithAnchorResponse.hpp +11 -19
- 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 +1 -1
- 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 +5 -1
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.hpp +6 -2
- 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 +8 -16
- package/nitrogen/generated/shared/c++/InsulinDeliveryReason.hpp +1 -1
- package/nitrogen/generated/shared/c++/IntervalComponents.hpp +17 -25
- package/nitrogen/generated/shared/c++/LocationForSaving.hpp +26 -34
- package/nitrogen/generated/shared/c++/MedicationConcept.hpp +14 -22
- package/nitrogen/generated/shared/c++/MedicationDoseEvent.hpp +113 -117
- 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 +11 -19
- package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +163 -135
- package/nitrogen/generated/shared/c++/OnChangeCallbackArgs.hpp +8 -16
- package/nitrogen/generated/shared/c++/PerObjectTypeIdentifier.hpp +1 -1
- package/nitrogen/generated/shared/c++/PredicateWithMetadataKey.hpp +11 -19
- package/nitrogen/generated/shared/c++/Quantity.hpp +8 -16
- package/nitrogen/generated/shared/c++/QuantityDateInterval.hpp +8 -16
- package/nitrogen/generated/shared/c++/QuantitySample.hpp +95 -103
- package/nitrogen/generated/shared/c++/QuantitySampleForSaving.hpp +23 -31
- package/nitrogen/generated/shared/c++/QuantitySamplesWithAnchorResponse.hpp +11 -19
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +93 -85
- package/nitrogen/generated/shared/c++/QueryCorrelationSamplesWithAnchorResponse.hpp +11 -19
- package/nitrogen/generated/shared/c++/QueryOptionsWithAnchor.hpp +11 -19
- package/nitrogen/generated/shared/c++/QueryOptionsWithAnchorAndUnit.hpp +14 -22
- package/nitrogen/generated/shared/c++/QueryOptionsWithSortOrder.hpp +11 -19
- package/nitrogen/generated/shared/c++/QueryOptionsWithSortOrderAndUnit.hpp +14 -22
- package/nitrogen/generated/shared/c++/QueryStatisticsResponse.hpp +32 -40
- package/nitrogen/generated/shared/c++/QueryStatisticsResponseFromSingleSource.hpp +32 -40
- package/nitrogen/generated/shared/c++/QueryWorkoutSamplesWithAnchorResponse.hpp +11 -19
- package/nitrogen/generated/shared/c++/RelatedCoding.hpp +11 -19
- package/nitrogen/generated/shared/c++/SampleType.hpp +14 -22
- package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +156 -128
- package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +150 -122
- package/nitrogen/generated/shared/c++/Source.hpp +8 -16
- package/nitrogen/generated/shared/c++/SourceRevision.hpp +14 -22
- 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 +101 -109
- package/nitrogen/generated/shared/c++/StateOfMindSamplesWithAnchorResponse.hpp +11 -19
- 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 +8 -16
- package/nitrogen/generated/shared/c++/UpdateFrequency.hpp +1 -1
- package/nitrogen/generated/shared/c++/UserAnnotatedMedication.hpp +14 -22
- 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 +14 -22
- package/nitrogen/generated/shared/c++/WorkoutActivityType.hpp +1 -1
- package/nitrogen/generated/shared/c++/WorkoutConfiguration.hpp +8 -16
- package/nitrogen/generated/shared/c++/WorkoutDurationPredicate.hpp +8 -16
- package/nitrogen/generated/shared/c++/WorkoutEvent.hpp +11 -19
- package/nitrogen/generated/shared/c++/WorkoutEventType.hpp +1 -1
- package/nitrogen/generated/shared/c++/WorkoutPlan.hpp +8 -16
- package/nitrogen/generated/shared/c++/WorkoutQueryOptions.hpp +11 -19
- package/nitrogen/generated/shared/c++/WorkoutQueryOptionsWithAnchor.hpp +11 -19
- package/nitrogen/generated/shared/c++/WorkoutRoute.hpp +11 -19
- package/nitrogen/generated/shared/c++/WorkoutRouteLocation.hpp +32 -40
- package/nitrogen/generated/shared/c++/WorkoutSample.hpp +134 -126
- package/nitrogen/generated/shared/c++/WorkoutSessionLocationType.hpp +1 -1
- package/nitrogen/generated/shared/c++/WorkoutTotals.hpp +8 -16
- package/package.json +3 -3
- package/src/specs/MedicationModule.nitro.ts +1 -0
- package/src/types/CategoryTypeIdentifier.ts +35 -0
- package/src/types/QuantityTypeIdentifier.ts +14 -0
- package/src/types/Workouts.ts +4 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// ObjectTypeIdentifier.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright © Marc Rousavy @ Margelo
|
|
5
|
+
/// Copyright © 2026 Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -93,140 +93,147 @@ namespace margelo::nitro::healthkit {
|
|
|
93
93
|
HKCATEGORYTYPEIDENTIFIERWHEEZING SWIFT_NAME(hkcategorytypeidentifierwheezing) = 61,
|
|
94
94
|
HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY SWIFT_NAME(hkcategorytypeidentifierbleedingafterpregnancy) = 62,
|
|
95
95
|
HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY SWIFT_NAME(hkcategorytypeidentifierbleedingduringpregnancy) = 63,
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
96
|
+
HKCATEGORYTYPEIDENTIFIERINFREQUENTMENSTRUALCYCLES SWIFT_NAME(hkcategorytypeidentifierinfrequentmenstrualcycles) = 64,
|
|
97
|
+
HKCATEGORYTYPEIDENTIFIERIRREGULARMENSTRUALCYCLES SWIFT_NAME(hkcategorytypeidentifierirregularmenstrualcycles) = 65,
|
|
98
|
+
HKCATEGORYTYPEIDENTIFIERPERSISTENTINTERMENSTRUALBLEEDING SWIFT_NAME(hkcategorytypeidentifierpersistentintermenstrualbleeding) = 66,
|
|
99
|
+
HKCATEGORYTYPEIDENTIFIERPROLONGEDMENSTRUALPERIODS SWIFT_NAME(hkcategorytypeidentifierprolongedmenstrualperiods) = 67,
|
|
100
|
+
HKCATEGORYTYPEIDENTIFIERSLEEPAPNEAEVENT SWIFT_NAME(hkcategorytypeidentifiersleepapneaevent) = 68,
|
|
101
|
+
HKCHARACTERISTICTYPEIDENTIFIERFITZPATRICKSKINTYPE SWIFT_NAME(hkcharacteristictypeidentifierfitzpatrickskintype) = 69,
|
|
102
|
+
HKCHARACTERISTICTYPEIDENTIFIERBIOLOGICALSEX SWIFT_NAME(hkcharacteristictypeidentifierbiologicalsex) = 70,
|
|
103
|
+
HKCHARACTERISTICTYPEIDENTIFIERBLOODTYPE SWIFT_NAME(hkcharacteristictypeidentifierbloodtype) = 71,
|
|
104
|
+
HKCHARACTERISTICTYPEIDENTIFIERDATEOFBIRTH SWIFT_NAME(hkcharacteristictypeidentifierdateofbirth) = 72,
|
|
105
|
+
HKCHARACTERISTICTYPEIDENTIFIERWHEELCHAIRUSE SWIFT_NAME(hkcharacteristictypeidentifierwheelchairuse) = 73,
|
|
106
|
+
HKCHARACTERISTICTYPEIDENTIFIERACTIVITYMOVEMODE SWIFT_NAME(hkcharacteristictypeidentifieractivitymovemode) = 74,
|
|
107
|
+
HKCORRELATIONTYPEIDENTIFIERBLOODPRESSURE SWIFT_NAME(hkcorrelationtypeidentifierbloodpressure) = 75,
|
|
108
|
+
HKCORRELATIONTYPEIDENTIFIERFOOD SWIFT_NAME(hkcorrelationtypeidentifierfood) = 76,
|
|
109
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE SWIFT_NAME(hkquantitytypeidentifierwalkingheartrateaverage) = 77,
|
|
110
|
+
HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN SWIFT_NAME(hkquantitytypeidentifieratrialfibrillationburden) = 78,
|
|
111
|
+
HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME SWIFT_NAME(hkquantitytypeidentifierappleexercisetime) = 79,
|
|
112
|
+
HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME SWIFT_NAME(hkquantitytypeidentifierapplestandtime) = 80,
|
|
113
|
+
HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS SWIFT_NAME(hkquantitytypeidentifierapplewalkingsteadiness) = 81,
|
|
114
|
+
HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX SWIFT_NAME(hkquantitytypeidentifierbodymassindex) = 82,
|
|
115
|
+
HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierbodyfatpercentage) = 83,
|
|
116
|
+
HKQUANTITYTYPEIDENTIFIERHEIGHT SWIFT_NAME(hkquantitytypeidentifierheight) = 84,
|
|
117
|
+
HKQUANTITYTYPEIDENTIFIERBODYMASS SWIFT_NAME(hkquantitytypeidentifierbodymass) = 85,
|
|
118
|
+
HKQUANTITYTYPEIDENTIFIERLEANBODYMASS SWIFT_NAME(hkquantitytypeidentifierleanbodymass) = 86,
|
|
119
|
+
HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE SWIFT_NAME(hkquantitytypeidentifierwaistcircumference) = 87,
|
|
120
|
+
HKQUANTITYTYPEIDENTIFIERSTEPCOUNT SWIFT_NAME(hkquantitytypeidentifierstepcount) = 88,
|
|
121
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING SWIFT_NAME(hkquantitytypeidentifierdistancewalkingrunning) = 89,
|
|
122
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING SWIFT_NAME(hkquantitytypeidentifierdistancecycling) = 90,
|
|
123
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR SWIFT_NAME(hkquantitytypeidentifierdistancewheelchair) = 91,
|
|
124
|
+
HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED SWIFT_NAME(hkquantitytypeidentifierbasalenergyburned) = 92,
|
|
125
|
+
HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED SWIFT_NAME(hkquantitytypeidentifieractiveenergyburned) = 93,
|
|
126
|
+
HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED SWIFT_NAME(hkquantitytypeidentifierflightsclimbed) = 94,
|
|
127
|
+
HKQUANTITYTYPEIDENTIFIERNIKEFUEL SWIFT_NAME(hkquantitytypeidentifiernikefuel) = 95,
|
|
128
|
+
HKQUANTITYTYPEIDENTIFIERPUSHCOUNT SWIFT_NAME(hkquantitytypeidentifierpushcount) = 96,
|
|
129
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING SWIFT_NAME(hkquantitytypeidentifierdistanceswimming) = 97,
|
|
130
|
+
HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT SWIFT_NAME(hkquantitytypeidentifierswimmingstrokecount) = 98,
|
|
131
|
+
HKQUANTITYTYPEIDENTIFIERVO2MAX SWIFT_NAME(hkquantitytypeidentifiervo2max) = 99,
|
|
132
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS SWIFT_NAME(hkquantitytypeidentifierdistancedownhillsnowsports) = 100,
|
|
133
|
+
HKQUANTITYTYPEIDENTIFIERHEARTRATE SWIFT_NAME(hkquantitytypeidentifierheartrate) = 101,
|
|
134
|
+
HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierbodytemperature) = 102,
|
|
135
|
+
HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierbasalbodytemperature) = 103,
|
|
136
|
+
HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC SWIFT_NAME(hkquantitytypeidentifierbloodpressuresystolic) = 104,
|
|
137
|
+
HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC SWIFT_NAME(hkquantitytypeidentifierbloodpressurediastolic) = 105,
|
|
138
|
+
HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE SWIFT_NAME(hkquantitytypeidentifierrespiratoryrate) = 106,
|
|
139
|
+
HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE SWIFT_NAME(hkquantitytypeidentifierrestingheartrate) = 107,
|
|
140
|
+
HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN SWIFT_NAME(hkquantitytypeidentifierheartratevariabilitysdnn) = 108,
|
|
141
|
+
HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION SWIFT_NAME(hkquantitytypeidentifieroxygensaturation) = 109,
|
|
142
|
+
HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX SWIFT_NAME(hkquantitytypeidentifierperipheralperfusionindex) = 110,
|
|
143
|
+
HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE SWIFT_NAME(hkquantitytypeidentifierbloodglucose) = 111,
|
|
144
|
+
HKQUANTITYTYPEIDENTIFIERBLOODKETONES SWIFT_NAME(hkquantitytypeidentifierbloodketones) = 112,
|
|
145
|
+
HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN SWIFT_NAME(hkquantitytypeidentifiernumberoftimesfallen) = 113,
|
|
146
|
+
HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY SWIFT_NAME(hkquantitytypeidentifierelectrodermalactivity) = 114,
|
|
147
|
+
HKQUANTITYTYPEIDENTIFIERINHALERUSAGE SWIFT_NAME(hkquantitytypeidentifierinhalerusage) = 115,
|
|
148
|
+
HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY SWIFT_NAME(hkquantitytypeidentifierinsulindelivery) = 116,
|
|
149
|
+
HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT SWIFT_NAME(hkquantitytypeidentifierbloodalcoholcontent) = 117,
|
|
150
|
+
HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY SWIFT_NAME(hkquantitytypeidentifierforcedvitalcapacity) = 118,
|
|
151
|
+
HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1 SWIFT_NAME(hkquantitytypeidentifierforcedexpiratoryvolume1) = 119,
|
|
152
|
+
HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE SWIFT_NAME(hkquantitytypeidentifierpeakexpiratoryflowrate) = 120,
|
|
153
|
+
HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE SWIFT_NAME(hkquantitytypeidentifierenvironmentalaudioexposure) = 121,
|
|
154
|
+
HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE SWIFT_NAME(hkquantitytypeidentifierheadphoneaudioexposure) = 122,
|
|
155
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL SWIFT_NAME(hkquantitytypeidentifierdietaryfattotal) = 123,
|
|
156
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatpolyunsaturated) = 124,
|
|
157
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatmonounsaturated) = 125,
|
|
158
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatsaturated) = 126,
|
|
159
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL SWIFT_NAME(hkquantitytypeidentifierdietarycholesterol) = 127,
|
|
160
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM SWIFT_NAME(hkquantitytypeidentifierdietarysodium) = 128,
|
|
161
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES SWIFT_NAME(hkquantitytypeidentifierdietarycarbohydrates) = 129,
|
|
162
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFIBER SWIFT_NAME(hkquantitytypeidentifierdietaryfiber) = 130,
|
|
163
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR SWIFT_NAME(hkquantitytypeidentifierdietarysugar) = 131,
|
|
164
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED SWIFT_NAME(hkquantitytypeidentifierdietaryenergyconsumed) = 132,
|
|
165
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN SWIFT_NAME(hkquantitytypeidentifierdietaryprotein) = 133,
|
|
166
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA SWIFT_NAME(hkquantitytypeidentifierdietaryvitamina) = 134,
|
|
167
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6 SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminb6) = 135,
|
|
168
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12 SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminb12) = 136,
|
|
169
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminc) = 137,
|
|
170
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND SWIFT_NAME(hkquantitytypeidentifierdietaryvitamind) = 138,
|
|
171
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE SWIFT_NAME(hkquantitytypeidentifierdietaryvitamine) = 139,
|
|
172
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK SWIFT_NAME(hkquantitytypeidentifierdietaryvitamink) = 140,
|
|
173
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM SWIFT_NAME(hkquantitytypeidentifierdietarycalcium) = 141,
|
|
174
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYIRON SWIFT_NAME(hkquantitytypeidentifierdietaryiron) = 142,
|
|
175
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN SWIFT_NAME(hkquantitytypeidentifierdietarythiamin) = 143,
|
|
176
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN SWIFT_NAME(hkquantitytypeidentifierdietaryriboflavin) = 144,
|
|
177
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN SWIFT_NAME(hkquantitytypeidentifierdietaryniacin) = 145,
|
|
178
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE SWIFT_NAME(hkquantitytypeidentifierdietaryfolate) = 146,
|
|
179
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN SWIFT_NAME(hkquantitytypeidentifierdietarybiotin) = 147,
|
|
180
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID SWIFT_NAME(hkquantitytypeidentifierdietarypantothenicacid) = 148,
|
|
181
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS SWIFT_NAME(hkquantitytypeidentifierdietaryphosphorus) = 149,
|
|
182
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYIODINE SWIFT_NAME(hkquantitytypeidentifierdietaryiodine) = 150,
|
|
183
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM SWIFT_NAME(hkquantitytypeidentifierdietarymagnesium) = 151,
|
|
184
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYZINC SWIFT_NAME(hkquantitytypeidentifierdietaryzinc) = 152,
|
|
185
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM SWIFT_NAME(hkquantitytypeidentifierdietaryselenium) = 153,
|
|
186
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER SWIFT_NAME(hkquantitytypeidentifierdietarycopper) = 154,
|
|
187
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE SWIFT_NAME(hkquantitytypeidentifierdietarymanganese) = 155,
|
|
188
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM SWIFT_NAME(hkquantitytypeidentifierdietarychromium) = 156,
|
|
189
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM SWIFT_NAME(hkquantitytypeidentifierdietarymolybdenum) = 157,
|
|
190
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE SWIFT_NAME(hkquantitytypeidentifierdietarychloride) = 158,
|
|
191
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM SWIFT_NAME(hkquantitytypeidentifierdietarypotassium) = 159,
|
|
192
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE SWIFT_NAME(hkquantitytypeidentifierdietarycaffeine) = 160,
|
|
193
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYWATER SWIFT_NAME(hkquantitytypeidentifierdietarywater) = 161,
|
|
194
|
+
HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE SWIFT_NAME(hkquantitytypeidentifiersixminutewalktestdistance) = 162,
|
|
195
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGSPEED SWIFT_NAME(hkquantitytypeidentifierwalkingspeed) = 163,
|
|
196
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH SWIFT_NAME(hkquantitytypeidentifierwalkingsteplength) = 164,
|
|
197
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierwalkingasymmetrypercentage) = 165,
|
|
198
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierwalkingdoublesupportpercentage) = 166,
|
|
199
|
+
HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED SWIFT_NAME(hkquantitytypeidentifierstairascentspeed) = 167,
|
|
200
|
+
HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED SWIFT_NAME(hkquantitytypeidentifierstairdescentspeed) = 168,
|
|
201
|
+
HKQUANTITYTYPEIDENTIFIERUVEXPOSURE SWIFT_NAME(hkquantitytypeidentifieruvexposure) = 169,
|
|
202
|
+
HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME SWIFT_NAME(hkquantitytypeidentifierapplemovetime) = 170,
|
|
203
|
+
HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES SWIFT_NAME(hkquantitytypeidentifiernumberofalcoholicbeverages) = 171,
|
|
204
|
+
HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH SWIFT_NAME(hkquantitytypeidentifierunderwaterdepth) = 172,
|
|
205
|
+
HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierwatertemperature) = 173,
|
|
206
|
+
HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierapplesleepingwristtemperature) = 174,
|
|
207
|
+
HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGBREATHINGDISTURBANCES SWIFT_NAME(hkquantitytypeidentifierapplesleepingbreathingdisturbances) = 175,
|
|
208
|
+
HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT SWIFT_NAME(hkquantitytypeidentifiertimeindaylight) = 176,
|
|
209
|
+
HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT SWIFT_NAME(hkquantitytypeidentifierphysicaleffort) = 177,
|
|
210
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED SWIFT_NAME(hkquantitytypeidentifiercyclingspeed) = 178,
|
|
211
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER SWIFT_NAME(hkquantitytypeidentifiercyclingpower) = 179,
|
|
212
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER SWIFT_NAME(hkquantitytypeidentifiercyclingfunctionalthresholdpower) = 180,
|
|
213
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE SWIFT_NAME(hkquantitytypeidentifiercyclingcadence) = 181,
|
|
214
|
+
HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION SWIFT_NAME(hkquantitytypeidentifierenvironmentalsoundreduction) = 182,
|
|
215
|
+
HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE SWIFT_NAME(hkquantitytypeidentifierheartraterecoveryoneminute) = 183,
|
|
216
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME SWIFT_NAME(hkquantitytypeidentifierrunninggroundcontacttime) = 184,
|
|
217
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH SWIFT_NAME(hkquantitytypeidentifierrunningstridelength) = 185,
|
|
218
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER SWIFT_NAME(hkquantitytypeidentifierrunningpower) = 186,
|
|
219
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION SWIFT_NAME(hkquantitytypeidentifierrunningverticaloscillation) = 187,
|
|
220
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED SWIFT_NAME(hkquantitytypeidentifierrunningspeed) = 188,
|
|
221
|
+
HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED SWIFT_NAME(hkquantitytypeidentifiercrosscountryskiingspeed) = 189,
|
|
222
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING SWIFT_NAME(hkquantitytypeidentifierdistancecrosscountryskiing) = 190,
|
|
223
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS SWIFT_NAME(hkquantitytypeidentifierdistancepaddlesports) = 191,
|
|
224
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEROWING SWIFT_NAME(hkquantitytypeidentifierdistancerowing) = 192,
|
|
225
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS SWIFT_NAME(hkquantitytypeidentifierdistanceskatingsports) = 193,
|
|
226
|
+
HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE SWIFT_NAME(hkquantitytypeidentifierestimatedworkouteffortscore) = 194,
|
|
227
|
+
HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED SWIFT_NAME(hkquantitytypeidentifierpaddlesportsspeed) = 195,
|
|
228
|
+
HKQUANTITYTYPEIDENTIFIERROWINGSPEED SWIFT_NAME(hkquantitytypeidentifierrowingspeed) = 196,
|
|
229
|
+
HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE SWIFT_NAME(hkquantitytypeidentifierworkouteffortscore) = 197,
|
|
230
|
+
HKSTATEOFMINDTYPEIDENTIFIER SWIFT_NAME(hkstateofmindtypeidentifier) = 198,
|
|
231
|
+
HKAUDIOGRAMSAMPLETYPE SWIFT_NAME(hkaudiogramsampletype) = 199,
|
|
232
|
+
HKDATATYPEIDENTIFIERHEARTBEATSERIES SWIFT_NAME(hkdatatypeidentifierheartbeatseries) = 200,
|
|
233
|
+
HKWORKOUTROUTETYPEIDENTIFIER SWIFT_NAME(hkworkoutroutetypeidentifier) = 201,
|
|
234
|
+
HKWORKOUTTYPEIDENTIFIER SWIFT_NAME(hkworkouttypeidentifier) = 202,
|
|
235
|
+
HKELECTROCARDIOGRAMTYPE SWIFT_NAME(hkelectrocardiogramtype) = 203,
|
|
236
|
+
HKACTIVITYSUMMARYTYPEIDENTIFIER SWIFT_NAME(hkactivitysummarytypeidentifier) = 204,
|
|
230
237
|
} CLOSED_ENUM;
|
|
231
238
|
|
|
232
239
|
} // namespace margelo::nitro::healthkit
|
|
@@ -303,6 +310,11 @@ namespace margelo::nitro {
|
|
|
303
310
|
case hashString("HKCategoryTypeIdentifierWheezing"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERWHEEZING;
|
|
304
311
|
case hashString("HKCategoryTypeIdentifierBleedingAfterPregnancy"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY;
|
|
305
312
|
case hashString("HKCategoryTypeIdentifierBleedingDuringPregnancy"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY;
|
|
313
|
+
case hashString("HKCategoryTypeIdentifierInfrequentMenstrualCycles"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERINFREQUENTMENSTRUALCYCLES;
|
|
314
|
+
case hashString("HKCategoryTypeIdentifierIrregularMenstrualCycles"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERIRREGULARMENSTRUALCYCLES;
|
|
315
|
+
case hashString("HKCategoryTypeIdentifierPersistentIntermenstrualBleeding"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPERSISTENTINTERMENSTRUALBLEEDING;
|
|
316
|
+
case hashString("HKCategoryTypeIdentifierProlongedMenstrualPeriods"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPROLONGEDMENSTRUALPERIODS;
|
|
317
|
+
case hashString("HKCategoryTypeIdentifierSleepApneaEvent"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSLEEPAPNEAEVENT;
|
|
306
318
|
case hashString("HKCharacteristicTypeIdentifierFitzpatrickSkinType"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERFITZPATRICKSKINTYPE;
|
|
307
319
|
case hashString("HKCharacteristicTypeIdentifierBiologicalSex"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERBIOLOGICALSEX;
|
|
308
320
|
case hashString("HKCharacteristicTypeIdentifierBloodType"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERBLOODTYPE;
|
|
@@ -346,6 +358,7 @@ namespace margelo::nitro {
|
|
|
346
358
|
case hashString("HKQuantityTypeIdentifierOxygenSaturation"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION;
|
|
347
359
|
case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX;
|
|
348
360
|
case hashString("HKQuantityTypeIdentifierBloodGlucose"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE;
|
|
361
|
+
case hashString("HKQuantityTypeIdentifierBloodKetones"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODKETONES;
|
|
349
362
|
case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN;
|
|
350
363
|
case hashString("HKQuantityTypeIdentifierElectrodermalActivity"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY;
|
|
351
364
|
case hashString("HKQuantityTypeIdentifierInhalerUsage"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE;
|
|
@@ -408,6 +421,7 @@ namespace margelo::nitro {
|
|
|
408
421
|
case hashString("HKQuantityTypeIdentifierUnderwaterDepth"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH;
|
|
409
422
|
case hashString("HKQuantityTypeIdentifierWaterTemperature"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE;
|
|
410
423
|
case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE;
|
|
424
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGBREATHINGDISTURBANCES;
|
|
411
425
|
case hashString("HKQuantityTypeIdentifierTimeInDaylight"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT;
|
|
412
426
|
case hashString("HKQuantityTypeIdentifierPhysicalEffort"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT;
|
|
413
427
|
case hashString("HKQuantityTypeIdentifierCyclingSpeed"): return margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED;
|
|
@@ -507,6 +521,11 @@ namespace margelo::nitro {
|
|
|
507
521
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERWHEEZING: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierWheezing");
|
|
508
522
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBleedingAfterPregnancy");
|
|
509
523
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBleedingDuringPregnancy");
|
|
524
|
+
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERINFREQUENTMENSTRUALCYCLES: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierInfrequentMenstrualCycles");
|
|
525
|
+
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERIRREGULARMENSTRUALCYCLES: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierIrregularMenstrualCycles");
|
|
526
|
+
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPERSISTENTINTERMENSTRUALBLEEDING: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierPersistentIntermenstrualBleeding");
|
|
527
|
+
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERPROLONGEDMENSTRUALPERIODS: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierProlongedMenstrualPeriods");
|
|
528
|
+
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCATEGORYTYPEIDENTIFIERSLEEPAPNEAEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierSleepApneaEvent");
|
|
510
529
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERFITZPATRICKSKINTYPE: return JSIConverter<std::string>::toJSI(runtime, "HKCharacteristicTypeIdentifierFitzpatrickSkinType");
|
|
511
530
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERBIOLOGICALSEX: return JSIConverter<std::string>::toJSI(runtime, "HKCharacteristicTypeIdentifierBiologicalSex");
|
|
512
531
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKCHARACTERISTICTYPEIDENTIFIERBLOODTYPE: return JSIConverter<std::string>::toJSI(runtime, "HKCharacteristicTypeIdentifierBloodType");
|
|
@@ -550,6 +569,7 @@ namespace margelo::nitro {
|
|
|
550
569
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierOxygenSaturation");
|
|
551
570
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeripheralPerfusionIndex");
|
|
552
571
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodGlucose");
|
|
572
|
+
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODKETONES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodKetones");
|
|
553
573
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfTimesFallen");
|
|
554
574
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierElectrodermalActivity");
|
|
555
575
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInhalerUsage");
|
|
@@ -612,6 +632,7 @@ namespace margelo::nitro {
|
|
|
612
632
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUnderwaterDepth");
|
|
613
633
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaterTemperature");
|
|
614
634
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleSleepingWristTemperature");
|
|
635
|
+
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGBREATHINGDISTURBANCES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances");
|
|
615
636
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierTimeInDaylight");
|
|
616
637
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPhysicalEffort");
|
|
617
638
|
case margelo::nitro::healthkit::ObjectTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingSpeed");
|
|
@@ -716,6 +737,11 @@ namespace margelo::nitro {
|
|
|
716
737
|
case hashString("HKCategoryTypeIdentifierWheezing"):
|
|
717
738
|
case hashString("HKCategoryTypeIdentifierBleedingAfterPregnancy"):
|
|
718
739
|
case hashString("HKCategoryTypeIdentifierBleedingDuringPregnancy"):
|
|
740
|
+
case hashString("HKCategoryTypeIdentifierInfrequentMenstrualCycles"):
|
|
741
|
+
case hashString("HKCategoryTypeIdentifierIrregularMenstrualCycles"):
|
|
742
|
+
case hashString("HKCategoryTypeIdentifierPersistentIntermenstrualBleeding"):
|
|
743
|
+
case hashString("HKCategoryTypeIdentifierProlongedMenstrualPeriods"):
|
|
744
|
+
case hashString("HKCategoryTypeIdentifierSleepApneaEvent"):
|
|
719
745
|
case hashString("HKCharacteristicTypeIdentifierFitzpatrickSkinType"):
|
|
720
746
|
case hashString("HKCharacteristicTypeIdentifierBiologicalSex"):
|
|
721
747
|
case hashString("HKCharacteristicTypeIdentifierBloodType"):
|
|
@@ -759,6 +785,7 @@ namespace margelo::nitro {
|
|
|
759
785
|
case hashString("HKQuantityTypeIdentifierOxygenSaturation"):
|
|
760
786
|
case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"):
|
|
761
787
|
case hashString("HKQuantityTypeIdentifierBloodGlucose"):
|
|
788
|
+
case hashString("HKQuantityTypeIdentifierBloodKetones"):
|
|
762
789
|
case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"):
|
|
763
790
|
case hashString("HKQuantityTypeIdentifierElectrodermalActivity"):
|
|
764
791
|
case hashString("HKQuantityTypeIdentifierInhalerUsage"):
|
|
@@ -821,6 +848,7 @@ namespace margelo::nitro {
|
|
|
821
848
|
case hashString("HKQuantityTypeIdentifierUnderwaterDepth"):
|
|
822
849
|
case hashString("HKQuantityTypeIdentifierWaterTemperature"):
|
|
823
850
|
case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"):
|
|
851
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"):
|
|
824
852
|
case hashString("HKQuantityTypeIdentifierTimeInDaylight"):
|
|
825
853
|
case hashString("HKQuantityTypeIdentifierPhysicalEffort"):
|
|
826
854
|
case hashString("HKQuantityTypeIdentifierCyclingSpeed"):
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// OnChangeCallbackArgs.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright © Marc Rousavy @ Margelo
|
|
5
|
+
/// Copyright © 2026 Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,11 +22,6 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
-
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
-
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
-
#else
|
|
28
|
-
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
-
#endif
|
|
30
25
|
|
|
31
26
|
// Forward declaration of `SampleTypeIdentifier` to properly resolve imports.
|
|
32
27
|
namespace margelo::nitro::healthkit { enum class SampleTypeIdentifier; }
|
|
@@ -40,7 +35,7 @@ namespace margelo::nitro::healthkit {
|
|
|
40
35
|
/**
|
|
41
36
|
* A struct which can be represented as a JavaScript object (OnChangeCallbackArgs).
|
|
42
37
|
*/
|
|
43
|
-
struct OnChangeCallbackArgs
|
|
38
|
+
struct OnChangeCallbackArgs {
|
|
44
39
|
public:
|
|
45
40
|
SampleTypeIdentifier typeIdentifier SWIFT_PRIVATE;
|
|
46
41
|
std::optional<std::string> errorMessage SWIFT_PRIVATE;
|
|
@@ -48,9 +43,6 @@ namespace margelo::nitro::healthkit {
|
|
|
48
43
|
public:
|
|
49
44
|
OnChangeCallbackArgs() = default;
|
|
50
45
|
explicit OnChangeCallbackArgs(SampleTypeIdentifier typeIdentifier, std::optional<std::string> errorMessage): typeIdentifier(typeIdentifier), errorMessage(errorMessage) {}
|
|
51
|
-
|
|
52
|
-
public:
|
|
53
|
-
friend bool operator==(const OnChangeCallbackArgs& lhs, const OnChangeCallbackArgs& rhs) = default;
|
|
54
46
|
};
|
|
55
47
|
|
|
56
48
|
} // namespace margelo::nitro::healthkit
|
|
@@ -63,14 +55,14 @@ namespace margelo::nitro {
|
|
|
63
55
|
static inline margelo::nitro::healthkit::OnChangeCallbackArgs fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
64
56
|
jsi::Object obj = arg.asObject(runtime);
|
|
65
57
|
return margelo::nitro::healthkit::OnChangeCallbackArgs(
|
|
66
|
-
JSIConverter<margelo::nitro::healthkit::SampleTypeIdentifier>::fromJSI(runtime, obj.getProperty(runtime,
|
|
67
|
-
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime,
|
|
58
|
+
JSIConverter<margelo::nitro::healthkit::SampleTypeIdentifier>::fromJSI(runtime, obj.getProperty(runtime, "typeIdentifier")),
|
|
59
|
+
JSIConverter<std::optional<std::string>>::fromJSI(runtime, obj.getProperty(runtime, "errorMessage"))
|
|
68
60
|
);
|
|
69
61
|
}
|
|
70
62
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::healthkit::OnChangeCallbackArgs& arg) {
|
|
71
63
|
jsi::Object obj(runtime);
|
|
72
|
-
obj.setProperty(runtime,
|
|
73
|
-
obj.setProperty(runtime,
|
|
64
|
+
obj.setProperty(runtime, "typeIdentifier", JSIConverter<margelo::nitro::healthkit::SampleTypeIdentifier>::toJSI(runtime, arg.typeIdentifier));
|
|
65
|
+
obj.setProperty(runtime, "errorMessage", JSIConverter<std::optional<std::string>>::toJSI(runtime, arg.errorMessage));
|
|
74
66
|
return obj;
|
|
75
67
|
}
|
|
76
68
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -81,8 +73,8 @@ namespace margelo::nitro {
|
|
|
81
73
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
82
74
|
return false;
|
|
83
75
|
}
|
|
84
|
-
if (!JSIConverter<margelo::nitro::healthkit::SampleTypeIdentifier>::canConvert(runtime, obj.getProperty(runtime,
|
|
85
|
-
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime,
|
|
76
|
+
if (!JSIConverter<margelo::nitro::healthkit::SampleTypeIdentifier>::canConvert(runtime, obj.getProperty(runtime, "typeIdentifier"))) return false;
|
|
77
|
+
if (!JSIConverter<std::optional<std::string>>::canConvert(runtime, obj.getProperty(runtime, "errorMessage"))) return false;
|
|
86
78
|
return true;
|
|
87
79
|
}
|
|
88
80
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/// PredicateWithMetadataKey.hpp
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright © Marc Rousavy @ Margelo
|
|
5
|
+
/// Copyright © 2026 Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
8
|
#pragma once
|
|
@@ -22,11 +22,6 @@
|
|
|
22
22
|
#else
|
|
23
23
|
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
24
24
|
#endif
|
|
25
|
-
#if __has_include(<NitroModules/PropNameIDCache.hpp>)
|
|
26
|
-
#include <NitroModules/PropNameIDCache.hpp>
|
|
27
|
-
#else
|
|
28
|
-
#error NitroModules cannot be found! Are you sure you installed NitroModules properly?
|
|
29
|
-
#endif
|
|
30
25
|
|
|
31
26
|
// Forward declaration of `ComparisonPredicateOperator` to properly resolve imports.
|
|
32
27
|
namespace margelo::nitro::healthkit { enum class ComparisonPredicateOperator; }
|
|
@@ -42,7 +37,7 @@ namespace margelo::nitro::healthkit {
|
|
|
42
37
|
/**
|
|
43
38
|
* A struct which can be represented as a JavaScript object (PredicateWithMetadataKey).
|
|
44
39
|
*/
|
|
45
|
-
struct PredicateWithMetadataKey
|
|
40
|
+
struct PredicateWithMetadataKey {
|
|
46
41
|
public:
|
|
47
42
|
std::string withMetadataKey SWIFT_PRIVATE;
|
|
48
43
|
std::optional<ComparisonPredicateOperator> operatorType SWIFT_PRIVATE;
|
|
@@ -51,9 +46,6 @@ namespace margelo::nitro::healthkit {
|
|
|
51
46
|
public:
|
|
52
47
|
PredicateWithMetadataKey() = default;
|
|
53
48
|
explicit PredicateWithMetadataKey(std::string withMetadataKey, std::optional<ComparisonPredicateOperator> operatorType, std::optional<std::variant<bool, std::string, double, std::chrono::system_clock::time_point>> value): withMetadataKey(withMetadataKey), operatorType(operatorType), value(value) {}
|
|
54
|
-
|
|
55
|
-
public:
|
|
56
|
-
friend bool operator==(const PredicateWithMetadataKey& lhs, const PredicateWithMetadataKey& rhs) = default;
|
|
57
49
|
};
|
|
58
50
|
|
|
59
51
|
} // namespace margelo::nitro::healthkit
|
|
@@ -66,16 +58,16 @@ namespace margelo::nitro {
|
|
|
66
58
|
static inline margelo::nitro::healthkit::PredicateWithMetadataKey fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
67
59
|
jsi::Object obj = arg.asObject(runtime);
|
|
68
60
|
return margelo::nitro::healthkit::PredicateWithMetadataKey(
|
|
69
|
-
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime,
|
|
70
|
-
JSIConverter<std::optional<margelo::nitro::healthkit::ComparisonPredicateOperator>>::fromJSI(runtime, obj.getProperty(runtime,
|
|
71
|
-
JSIConverter<std::optional<std::variant<bool, std::string, double, std::chrono::system_clock::time_point>>>::fromJSI(runtime, obj.getProperty(runtime,
|
|
61
|
+
JSIConverter<std::string>::fromJSI(runtime, obj.getProperty(runtime, "withMetadataKey")),
|
|
62
|
+
JSIConverter<std::optional<margelo::nitro::healthkit::ComparisonPredicateOperator>>::fromJSI(runtime, obj.getProperty(runtime, "operatorType")),
|
|
63
|
+
JSIConverter<std::optional<std::variant<bool, std::string, double, std::chrono::system_clock::time_point>>>::fromJSI(runtime, obj.getProperty(runtime, "value"))
|
|
72
64
|
);
|
|
73
65
|
}
|
|
74
66
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, const margelo::nitro::healthkit::PredicateWithMetadataKey& arg) {
|
|
75
67
|
jsi::Object obj(runtime);
|
|
76
|
-
obj.setProperty(runtime,
|
|
77
|
-
obj.setProperty(runtime,
|
|
78
|
-
obj.setProperty(runtime,
|
|
68
|
+
obj.setProperty(runtime, "withMetadataKey", JSIConverter<std::string>::toJSI(runtime, arg.withMetadataKey));
|
|
69
|
+
obj.setProperty(runtime, "operatorType", JSIConverter<std::optional<margelo::nitro::healthkit::ComparisonPredicateOperator>>::toJSI(runtime, arg.operatorType));
|
|
70
|
+
obj.setProperty(runtime, "value", JSIConverter<std::optional<std::variant<bool, std::string, double, std::chrono::system_clock::time_point>>>::toJSI(runtime, arg.value));
|
|
79
71
|
return obj;
|
|
80
72
|
}
|
|
81
73
|
static inline bool canConvert(jsi::Runtime& runtime, const jsi::Value& value) {
|
|
@@ -86,9 +78,9 @@ namespace margelo::nitro {
|
|
|
86
78
|
if (!nitro::isPlainObject(runtime, obj)) {
|
|
87
79
|
return false;
|
|
88
80
|
}
|
|
89
|
-
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime,
|
|
90
|
-
if (!JSIConverter<std::optional<margelo::nitro::healthkit::ComparisonPredicateOperator>>::canConvert(runtime, obj.getProperty(runtime,
|
|
91
|
-
if (!JSIConverter<std::optional<std::variant<bool, std::string, double, std::chrono::system_clock::time_point>>>::canConvert(runtime, obj.getProperty(runtime,
|
|
81
|
+
if (!JSIConverter<std::string>::canConvert(runtime, obj.getProperty(runtime, "withMetadataKey"))) return false;
|
|
82
|
+
if (!JSIConverter<std::optional<margelo::nitro::healthkit::ComparisonPredicateOperator>>::canConvert(runtime, obj.getProperty(runtime, "operatorType"))) return false;
|
|
83
|
+
if (!JSIConverter<std::optional<std::variant<bool, std::string, double, std::chrono::system_clock::time_point>>>::canConvert(runtime, obj.getProperty(runtime, "value"))) return false;
|
|
92
84
|
return true;
|
|
93
85
|
}
|
|
94
86
|
};
|