@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,496 @@
|
|
|
1
|
+
///
|
|
2
|
+
/// QuantityTypeIdentifierWriteable.swift
|
|
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
|
+
/**
|
|
9
|
+
* Represents the JS union `QuantityTypeIdentifierWriteable`, backed by a C++ enum.
|
|
10
|
+
*/
|
|
11
|
+
public typealias QuantityTypeIdentifierWriteable = margelo.nitro.healthkit.QuantityTypeIdentifierWriteable
|
|
12
|
+
|
|
13
|
+
public extension QuantityTypeIdentifierWriteable {
|
|
14
|
+
/**
|
|
15
|
+
* Get a QuantityTypeIdentifierWriteable for the given String value, or
|
|
16
|
+
* return `nil` if the given value was invalid/unknown.
|
|
17
|
+
*/
|
|
18
|
+
init?(fromString string: String) {
|
|
19
|
+
switch string {
|
|
20
|
+
case "HKQuantityTypeIdentifierBodyMassIndex":
|
|
21
|
+
self = .hkquantitytypeidentifierbodymassindex
|
|
22
|
+
case "HKQuantityTypeIdentifierBodyFatPercentage":
|
|
23
|
+
self = .hkquantitytypeidentifierbodyfatpercentage
|
|
24
|
+
case "HKQuantityTypeIdentifierHeight":
|
|
25
|
+
self = .hkquantitytypeidentifierheight
|
|
26
|
+
case "HKQuantityTypeIdentifierBodyMass":
|
|
27
|
+
self = .hkquantitytypeidentifierbodymass
|
|
28
|
+
case "HKQuantityTypeIdentifierLeanBodyMass":
|
|
29
|
+
self = .hkquantitytypeidentifierleanbodymass
|
|
30
|
+
case "HKQuantityTypeIdentifierWaistCircumference":
|
|
31
|
+
self = .hkquantitytypeidentifierwaistcircumference
|
|
32
|
+
case "HKQuantityTypeIdentifierStepCount":
|
|
33
|
+
self = .hkquantitytypeidentifierstepcount
|
|
34
|
+
case "HKQuantityTypeIdentifierDistanceWalkingRunning":
|
|
35
|
+
self = .hkquantitytypeidentifierdistancewalkingrunning
|
|
36
|
+
case "HKQuantityTypeIdentifierDistanceCycling":
|
|
37
|
+
self = .hkquantitytypeidentifierdistancecycling
|
|
38
|
+
case "HKQuantityTypeIdentifierDistanceWheelchair":
|
|
39
|
+
self = .hkquantitytypeidentifierdistancewheelchair
|
|
40
|
+
case "HKQuantityTypeIdentifierBasalEnergyBurned":
|
|
41
|
+
self = .hkquantitytypeidentifierbasalenergyburned
|
|
42
|
+
case "HKQuantityTypeIdentifierActiveEnergyBurned":
|
|
43
|
+
self = .hkquantitytypeidentifieractiveenergyburned
|
|
44
|
+
case "HKQuantityTypeIdentifierFlightsClimbed":
|
|
45
|
+
self = .hkquantitytypeidentifierflightsclimbed
|
|
46
|
+
case "HKQuantityTypeIdentifierNikeFuel":
|
|
47
|
+
self = .hkquantitytypeidentifiernikefuel
|
|
48
|
+
case "HKQuantityTypeIdentifierPushCount":
|
|
49
|
+
self = .hkquantitytypeidentifierpushcount
|
|
50
|
+
case "HKQuantityTypeIdentifierDistanceSwimming":
|
|
51
|
+
self = .hkquantitytypeidentifierdistanceswimming
|
|
52
|
+
case "HKQuantityTypeIdentifierSwimmingStrokeCount":
|
|
53
|
+
self = .hkquantitytypeidentifierswimmingstrokecount
|
|
54
|
+
case "HKQuantityTypeIdentifierVO2Max":
|
|
55
|
+
self = .hkquantitytypeidentifiervo2max
|
|
56
|
+
case "HKQuantityTypeIdentifierDistanceDownhillSnowSports":
|
|
57
|
+
self = .hkquantitytypeidentifierdistancedownhillsnowsports
|
|
58
|
+
case "HKQuantityTypeIdentifierHeartRate":
|
|
59
|
+
self = .hkquantitytypeidentifierheartrate
|
|
60
|
+
case "HKQuantityTypeIdentifierBodyTemperature":
|
|
61
|
+
self = .hkquantitytypeidentifierbodytemperature
|
|
62
|
+
case "HKQuantityTypeIdentifierBasalBodyTemperature":
|
|
63
|
+
self = .hkquantitytypeidentifierbasalbodytemperature
|
|
64
|
+
case "HKQuantityTypeIdentifierBloodPressureSystolic":
|
|
65
|
+
self = .hkquantitytypeidentifierbloodpressuresystolic
|
|
66
|
+
case "HKQuantityTypeIdentifierBloodPressureDiastolic":
|
|
67
|
+
self = .hkquantitytypeidentifierbloodpressurediastolic
|
|
68
|
+
case "HKQuantityTypeIdentifierRespiratoryRate":
|
|
69
|
+
self = .hkquantitytypeidentifierrespiratoryrate
|
|
70
|
+
case "HKQuantityTypeIdentifierRestingHeartRate":
|
|
71
|
+
self = .hkquantitytypeidentifierrestingheartrate
|
|
72
|
+
case "HKQuantityTypeIdentifierHeartRateVariabilitySDNN":
|
|
73
|
+
self = .hkquantitytypeidentifierheartratevariabilitysdnn
|
|
74
|
+
case "HKQuantityTypeIdentifierOxygenSaturation":
|
|
75
|
+
self = .hkquantitytypeidentifieroxygensaturation
|
|
76
|
+
case "HKQuantityTypeIdentifierPeripheralPerfusionIndex":
|
|
77
|
+
self = .hkquantitytypeidentifierperipheralperfusionindex
|
|
78
|
+
case "HKQuantityTypeIdentifierBloodGlucose":
|
|
79
|
+
self = .hkquantitytypeidentifierbloodglucose
|
|
80
|
+
case "HKQuantityTypeIdentifierBloodKetones":
|
|
81
|
+
self = .hkquantitytypeidentifierbloodketones
|
|
82
|
+
case "HKQuantityTypeIdentifierNumberOfTimesFallen":
|
|
83
|
+
self = .hkquantitytypeidentifiernumberoftimesfallen
|
|
84
|
+
case "HKQuantityTypeIdentifierElectrodermalActivity":
|
|
85
|
+
self = .hkquantitytypeidentifierelectrodermalactivity
|
|
86
|
+
case "HKQuantityTypeIdentifierInhalerUsage":
|
|
87
|
+
self = .hkquantitytypeidentifierinhalerusage
|
|
88
|
+
case "HKQuantityTypeIdentifierInsulinDelivery":
|
|
89
|
+
self = .hkquantitytypeidentifierinsulindelivery
|
|
90
|
+
case "HKQuantityTypeIdentifierBloodAlcoholContent":
|
|
91
|
+
self = .hkquantitytypeidentifierbloodalcoholcontent
|
|
92
|
+
case "HKQuantityTypeIdentifierForcedVitalCapacity":
|
|
93
|
+
self = .hkquantitytypeidentifierforcedvitalcapacity
|
|
94
|
+
case "HKQuantityTypeIdentifierForcedExpiratoryVolume1":
|
|
95
|
+
self = .hkquantitytypeidentifierforcedexpiratoryvolume1
|
|
96
|
+
case "HKQuantityTypeIdentifierPeakExpiratoryFlowRate":
|
|
97
|
+
self = .hkquantitytypeidentifierpeakexpiratoryflowrate
|
|
98
|
+
case "HKQuantityTypeIdentifierEnvironmentalAudioExposure":
|
|
99
|
+
self = .hkquantitytypeidentifierenvironmentalaudioexposure
|
|
100
|
+
case "HKQuantityTypeIdentifierHeadphoneAudioExposure":
|
|
101
|
+
self = .hkquantitytypeidentifierheadphoneaudioexposure
|
|
102
|
+
case "HKQuantityTypeIdentifierDietaryFatTotal":
|
|
103
|
+
self = .hkquantitytypeidentifierdietaryfattotal
|
|
104
|
+
case "HKQuantityTypeIdentifierDietaryFatPolyunsaturated":
|
|
105
|
+
self = .hkquantitytypeidentifierdietaryfatpolyunsaturated
|
|
106
|
+
case "HKQuantityTypeIdentifierDietaryFatMonounsaturated":
|
|
107
|
+
self = .hkquantitytypeidentifierdietaryfatmonounsaturated
|
|
108
|
+
case "HKQuantityTypeIdentifierDietaryFatSaturated":
|
|
109
|
+
self = .hkquantitytypeidentifierdietaryfatsaturated
|
|
110
|
+
case "HKQuantityTypeIdentifierDietaryCholesterol":
|
|
111
|
+
self = .hkquantitytypeidentifierdietarycholesterol
|
|
112
|
+
case "HKQuantityTypeIdentifierDietarySodium":
|
|
113
|
+
self = .hkquantitytypeidentifierdietarysodium
|
|
114
|
+
case "HKQuantityTypeIdentifierDietaryCarbohydrates":
|
|
115
|
+
self = .hkquantitytypeidentifierdietarycarbohydrates
|
|
116
|
+
case "HKQuantityTypeIdentifierDietaryFiber":
|
|
117
|
+
self = .hkquantitytypeidentifierdietaryfiber
|
|
118
|
+
case "HKQuantityTypeIdentifierDietarySugar":
|
|
119
|
+
self = .hkquantitytypeidentifierdietarysugar
|
|
120
|
+
case "HKQuantityTypeIdentifierDietaryEnergyConsumed":
|
|
121
|
+
self = .hkquantitytypeidentifierdietaryenergyconsumed
|
|
122
|
+
case "HKQuantityTypeIdentifierDietaryProtein":
|
|
123
|
+
self = .hkquantitytypeidentifierdietaryprotein
|
|
124
|
+
case "HKQuantityTypeIdentifierDietaryVitaminA":
|
|
125
|
+
self = .hkquantitytypeidentifierdietaryvitamina
|
|
126
|
+
case "HKQuantityTypeIdentifierDietaryVitaminB6":
|
|
127
|
+
self = .hkquantitytypeidentifierdietaryvitaminb6
|
|
128
|
+
case "HKQuantityTypeIdentifierDietaryVitaminB12":
|
|
129
|
+
self = .hkquantitytypeidentifierdietaryvitaminb12
|
|
130
|
+
case "HKQuantityTypeIdentifierDietaryVitaminC":
|
|
131
|
+
self = .hkquantitytypeidentifierdietaryvitaminc
|
|
132
|
+
case "HKQuantityTypeIdentifierDietaryVitaminD":
|
|
133
|
+
self = .hkquantitytypeidentifierdietaryvitamind
|
|
134
|
+
case "HKQuantityTypeIdentifierDietaryVitaminE":
|
|
135
|
+
self = .hkquantitytypeidentifierdietaryvitamine
|
|
136
|
+
case "HKQuantityTypeIdentifierDietaryVitaminK":
|
|
137
|
+
self = .hkquantitytypeidentifierdietaryvitamink
|
|
138
|
+
case "HKQuantityTypeIdentifierDietaryCalcium":
|
|
139
|
+
self = .hkquantitytypeidentifierdietarycalcium
|
|
140
|
+
case "HKQuantityTypeIdentifierDietaryIron":
|
|
141
|
+
self = .hkquantitytypeidentifierdietaryiron
|
|
142
|
+
case "HKQuantityTypeIdentifierDietaryThiamin":
|
|
143
|
+
self = .hkquantitytypeidentifierdietarythiamin
|
|
144
|
+
case "HKQuantityTypeIdentifierDietaryRiboflavin":
|
|
145
|
+
self = .hkquantitytypeidentifierdietaryriboflavin
|
|
146
|
+
case "HKQuantityTypeIdentifierDietaryNiacin":
|
|
147
|
+
self = .hkquantitytypeidentifierdietaryniacin
|
|
148
|
+
case "HKQuantityTypeIdentifierDietaryFolate":
|
|
149
|
+
self = .hkquantitytypeidentifierdietaryfolate
|
|
150
|
+
case "HKQuantityTypeIdentifierDietaryBiotin":
|
|
151
|
+
self = .hkquantitytypeidentifierdietarybiotin
|
|
152
|
+
case "HKQuantityTypeIdentifierDietaryPantothenicAcid":
|
|
153
|
+
self = .hkquantitytypeidentifierdietarypantothenicacid
|
|
154
|
+
case "HKQuantityTypeIdentifierDietaryPhosphorus":
|
|
155
|
+
self = .hkquantitytypeidentifierdietaryphosphorus
|
|
156
|
+
case "HKQuantityTypeIdentifierDietaryIodine":
|
|
157
|
+
self = .hkquantitytypeidentifierdietaryiodine
|
|
158
|
+
case "HKQuantityTypeIdentifierDietaryMagnesium":
|
|
159
|
+
self = .hkquantitytypeidentifierdietarymagnesium
|
|
160
|
+
case "HKQuantityTypeIdentifierDietaryZinc":
|
|
161
|
+
self = .hkquantitytypeidentifierdietaryzinc
|
|
162
|
+
case "HKQuantityTypeIdentifierDietarySelenium":
|
|
163
|
+
self = .hkquantitytypeidentifierdietaryselenium
|
|
164
|
+
case "HKQuantityTypeIdentifierDietaryCopper":
|
|
165
|
+
self = .hkquantitytypeidentifierdietarycopper
|
|
166
|
+
case "HKQuantityTypeIdentifierDietaryManganese":
|
|
167
|
+
self = .hkquantitytypeidentifierdietarymanganese
|
|
168
|
+
case "HKQuantityTypeIdentifierDietaryChromium":
|
|
169
|
+
self = .hkquantitytypeidentifierdietarychromium
|
|
170
|
+
case "HKQuantityTypeIdentifierDietaryMolybdenum":
|
|
171
|
+
self = .hkquantitytypeidentifierdietarymolybdenum
|
|
172
|
+
case "HKQuantityTypeIdentifierDietaryChloride":
|
|
173
|
+
self = .hkquantitytypeidentifierdietarychloride
|
|
174
|
+
case "HKQuantityTypeIdentifierDietaryPotassium":
|
|
175
|
+
self = .hkquantitytypeidentifierdietarypotassium
|
|
176
|
+
case "HKQuantityTypeIdentifierDietaryCaffeine":
|
|
177
|
+
self = .hkquantitytypeidentifierdietarycaffeine
|
|
178
|
+
case "HKQuantityTypeIdentifierDietaryWater":
|
|
179
|
+
self = .hkquantitytypeidentifierdietarywater
|
|
180
|
+
case "HKQuantityTypeIdentifierSixMinuteWalkTestDistance":
|
|
181
|
+
self = .hkquantitytypeidentifiersixminutewalktestdistance
|
|
182
|
+
case "HKQuantityTypeIdentifierWalkingSpeed":
|
|
183
|
+
self = .hkquantitytypeidentifierwalkingspeed
|
|
184
|
+
case "HKQuantityTypeIdentifierWalkingStepLength":
|
|
185
|
+
self = .hkquantitytypeidentifierwalkingsteplength
|
|
186
|
+
case "HKQuantityTypeIdentifierWalkingAsymmetryPercentage":
|
|
187
|
+
self = .hkquantitytypeidentifierwalkingasymmetrypercentage
|
|
188
|
+
case "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage":
|
|
189
|
+
self = .hkquantitytypeidentifierwalkingdoublesupportpercentage
|
|
190
|
+
case "HKQuantityTypeIdentifierStairAscentSpeed":
|
|
191
|
+
self = .hkquantitytypeidentifierstairascentspeed
|
|
192
|
+
case "HKQuantityTypeIdentifierStairDescentSpeed":
|
|
193
|
+
self = .hkquantitytypeidentifierstairdescentspeed
|
|
194
|
+
case "HKQuantityTypeIdentifierUVExposure":
|
|
195
|
+
self = .hkquantitytypeidentifieruvexposure
|
|
196
|
+
case "HKQuantityTypeIdentifierAppleMoveTime":
|
|
197
|
+
self = .hkquantitytypeidentifierapplemovetime
|
|
198
|
+
case "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages":
|
|
199
|
+
self = .hkquantitytypeidentifiernumberofalcoholicbeverages
|
|
200
|
+
case "HKQuantityTypeIdentifierUnderwaterDepth":
|
|
201
|
+
self = .hkquantitytypeidentifierunderwaterdepth
|
|
202
|
+
case "HKQuantityTypeIdentifierWaterTemperature":
|
|
203
|
+
self = .hkquantitytypeidentifierwatertemperature
|
|
204
|
+
case "HKQuantityTypeIdentifierAppleSleepingWristTemperature":
|
|
205
|
+
self = .hkquantitytypeidentifierapplesleepingwristtemperature
|
|
206
|
+
case "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances":
|
|
207
|
+
self = .hkquantitytypeidentifierapplesleepingbreathingdisturbances
|
|
208
|
+
case "HKQuantityTypeIdentifierTimeInDaylight":
|
|
209
|
+
self = .hkquantitytypeidentifiertimeindaylight
|
|
210
|
+
case "HKQuantityTypeIdentifierPhysicalEffort":
|
|
211
|
+
self = .hkquantitytypeidentifierphysicaleffort
|
|
212
|
+
case "HKQuantityTypeIdentifierCyclingSpeed":
|
|
213
|
+
self = .hkquantitytypeidentifiercyclingspeed
|
|
214
|
+
case "HKQuantityTypeIdentifierCyclingPower":
|
|
215
|
+
self = .hkquantitytypeidentifiercyclingpower
|
|
216
|
+
case "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower":
|
|
217
|
+
self = .hkquantitytypeidentifiercyclingfunctionalthresholdpower
|
|
218
|
+
case "HKQuantityTypeIdentifierCyclingCadence":
|
|
219
|
+
self = .hkquantitytypeidentifiercyclingcadence
|
|
220
|
+
case "HKQuantityTypeIdentifierEnvironmentalSoundReduction":
|
|
221
|
+
self = .hkquantitytypeidentifierenvironmentalsoundreduction
|
|
222
|
+
case "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute":
|
|
223
|
+
self = .hkquantitytypeidentifierheartraterecoveryoneminute
|
|
224
|
+
case "HKQuantityTypeIdentifierRunningGroundContactTime":
|
|
225
|
+
self = .hkquantitytypeidentifierrunninggroundcontacttime
|
|
226
|
+
case "HKQuantityTypeIdentifierRunningStrideLength":
|
|
227
|
+
self = .hkquantitytypeidentifierrunningstridelength
|
|
228
|
+
case "HKQuantityTypeIdentifierRunningPower":
|
|
229
|
+
self = .hkquantitytypeidentifierrunningpower
|
|
230
|
+
case "HKQuantityTypeIdentifierRunningVerticalOscillation":
|
|
231
|
+
self = .hkquantitytypeidentifierrunningverticaloscillation
|
|
232
|
+
case "HKQuantityTypeIdentifierRunningSpeed":
|
|
233
|
+
self = .hkquantitytypeidentifierrunningspeed
|
|
234
|
+
case "HKQuantityTypeIdentifierCrossCountrySkiingSpeed":
|
|
235
|
+
self = .hkquantitytypeidentifiercrosscountryskiingspeed
|
|
236
|
+
case "HKQuantityTypeIdentifierDistanceCrossCountrySkiing":
|
|
237
|
+
self = .hkquantitytypeidentifierdistancecrosscountryskiing
|
|
238
|
+
case "HKQuantityTypeIdentifierDistancePaddleSports":
|
|
239
|
+
self = .hkquantitytypeidentifierdistancepaddlesports
|
|
240
|
+
case "HKQuantityTypeIdentifierDistanceRowing":
|
|
241
|
+
self = .hkquantitytypeidentifierdistancerowing
|
|
242
|
+
case "HKQuantityTypeIdentifierDistanceSkatingSports":
|
|
243
|
+
self = .hkquantitytypeidentifierdistanceskatingsports
|
|
244
|
+
case "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore":
|
|
245
|
+
self = .hkquantitytypeidentifierestimatedworkouteffortscore
|
|
246
|
+
case "HKQuantityTypeIdentifierPaddleSportsSpeed":
|
|
247
|
+
self = .hkquantitytypeidentifierpaddlesportsspeed
|
|
248
|
+
case "HKQuantityTypeIdentifierRowingSpeed":
|
|
249
|
+
self = .hkquantitytypeidentifierrowingspeed
|
|
250
|
+
case "HKQuantityTypeIdentifierWorkoutEffortScore":
|
|
251
|
+
self = .hkquantitytypeidentifierworkouteffortscore
|
|
252
|
+
default:
|
|
253
|
+
return nil
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* Get the String value this QuantityTypeIdentifierWriteable represents.
|
|
259
|
+
*/
|
|
260
|
+
var stringValue: String {
|
|
261
|
+
switch self {
|
|
262
|
+
case .hkquantitytypeidentifierbodymassindex:
|
|
263
|
+
return "HKQuantityTypeIdentifierBodyMassIndex"
|
|
264
|
+
case .hkquantitytypeidentifierbodyfatpercentage:
|
|
265
|
+
return "HKQuantityTypeIdentifierBodyFatPercentage"
|
|
266
|
+
case .hkquantitytypeidentifierheight:
|
|
267
|
+
return "HKQuantityTypeIdentifierHeight"
|
|
268
|
+
case .hkquantitytypeidentifierbodymass:
|
|
269
|
+
return "HKQuantityTypeIdentifierBodyMass"
|
|
270
|
+
case .hkquantitytypeidentifierleanbodymass:
|
|
271
|
+
return "HKQuantityTypeIdentifierLeanBodyMass"
|
|
272
|
+
case .hkquantitytypeidentifierwaistcircumference:
|
|
273
|
+
return "HKQuantityTypeIdentifierWaistCircumference"
|
|
274
|
+
case .hkquantitytypeidentifierstepcount:
|
|
275
|
+
return "HKQuantityTypeIdentifierStepCount"
|
|
276
|
+
case .hkquantitytypeidentifierdistancewalkingrunning:
|
|
277
|
+
return "HKQuantityTypeIdentifierDistanceWalkingRunning"
|
|
278
|
+
case .hkquantitytypeidentifierdistancecycling:
|
|
279
|
+
return "HKQuantityTypeIdentifierDistanceCycling"
|
|
280
|
+
case .hkquantitytypeidentifierdistancewheelchair:
|
|
281
|
+
return "HKQuantityTypeIdentifierDistanceWheelchair"
|
|
282
|
+
case .hkquantitytypeidentifierbasalenergyburned:
|
|
283
|
+
return "HKQuantityTypeIdentifierBasalEnergyBurned"
|
|
284
|
+
case .hkquantitytypeidentifieractiveenergyburned:
|
|
285
|
+
return "HKQuantityTypeIdentifierActiveEnergyBurned"
|
|
286
|
+
case .hkquantitytypeidentifierflightsclimbed:
|
|
287
|
+
return "HKQuantityTypeIdentifierFlightsClimbed"
|
|
288
|
+
case .hkquantitytypeidentifiernikefuel:
|
|
289
|
+
return "HKQuantityTypeIdentifierNikeFuel"
|
|
290
|
+
case .hkquantitytypeidentifierpushcount:
|
|
291
|
+
return "HKQuantityTypeIdentifierPushCount"
|
|
292
|
+
case .hkquantitytypeidentifierdistanceswimming:
|
|
293
|
+
return "HKQuantityTypeIdentifierDistanceSwimming"
|
|
294
|
+
case .hkquantitytypeidentifierswimmingstrokecount:
|
|
295
|
+
return "HKQuantityTypeIdentifierSwimmingStrokeCount"
|
|
296
|
+
case .hkquantitytypeidentifiervo2max:
|
|
297
|
+
return "HKQuantityTypeIdentifierVO2Max"
|
|
298
|
+
case .hkquantitytypeidentifierdistancedownhillsnowsports:
|
|
299
|
+
return "HKQuantityTypeIdentifierDistanceDownhillSnowSports"
|
|
300
|
+
case .hkquantitytypeidentifierheartrate:
|
|
301
|
+
return "HKQuantityTypeIdentifierHeartRate"
|
|
302
|
+
case .hkquantitytypeidentifierbodytemperature:
|
|
303
|
+
return "HKQuantityTypeIdentifierBodyTemperature"
|
|
304
|
+
case .hkquantitytypeidentifierbasalbodytemperature:
|
|
305
|
+
return "HKQuantityTypeIdentifierBasalBodyTemperature"
|
|
306
|
+
case .hkquantitytypeidentifierbloodpressuresystolic:
|
|
307
|
+
return "HKQuantityTypeIdentifierBloodPressureSystolic"
|
|
308
|
+
case .hkquantitytypeidentifierbloodpressurediastolic:
|
|
309
|
+
return "HKQuantityTypeIdentifierBloodPressureDiastolic"
|
|
310
|
+
case .hkquantitytypeidentifierrespiratoryrate:
|
|
311
|
+
return "HKQuantityTypeIdentifierRespiratoryRate"
|
|
312
|
+
case .hkquantitytypeidentifierrestingheartrate:
|
|
313
|
+
return "HKQuantityTypeIdentifierRestingHeartRate"
|
|
314
|
+
case .hkquantitytypeidentifierheartratevariabilitysdnn:
|
|
315
|
+
return "HKQuantityTypeIdentifierHeartRateVariabilitySDNN"
|
|
316
|
+
case .hkquantitytypeidentifieroxygensaturation:
|
|
317
|
+
return "HKQuantityTypeIdentifierOxygenSaturation"
|
|
318
|
+
case .hkquantitytypeidentifierperipheralperfusionindex:
|
|
319
|
+
return "HKQuantityTypeIdentifierPeripheralPerfusionIndex"
|
|
320
|
+
case .hkquantitytypeidentifierbloodglucose:
|
|
321
|
+
return "HKQuantityTypeIdentifierBloodGlucose"
|
|
322
|
+
case .hkquantitytypeidentifierbloodketones:
|
|
323
|
+
return "HKQuantityTypeIdentifierBloodKetones"
|
|
324
|
+
case .hkquantitytypeidentifiernumberoftimesfallen:
|
|
325
|
+
return "HKQuantityTypeIdentifierNumberOfTimesFallen"
|
|
326
|
+
case .hkquantitytypeidentifierelectrodermalactivity:
|
|
327
|
+
return "HKQuantityTypeIdentifierElectrodermalActivity"
|
|
328
|
+
case .hkquantitytypeidentifierinhalerusage:
|
|
329
|
+
return "HKQuantityTypeIdentifierInhalerUsage"
|
|
330
|
+
case .hkquantitytypeidentifierinsulindelivery:
|
|
331
|
+
return "HKQuantityTypeIdentifierInsulinDelivery"
|
|
332
|
+
case .hkquantitytypeidentifierbloodalcoholcontent:
|
|
333
|
+
return "HKQuantityTypeIdentifierBloodAlcoholContent"
|
|
334
|
+
case .hkquantitytypeidentifierforcedvitalcapacity:
|
|
335
|
+
return "HKQuantityTypeIdentifierForcedVitalCapacity"
|
|
336
|
+
case .hkquantitytypeidentifierforcedexpiratoryvolume1:
|
|
337
|
+
return "HKQuantityTypeIdentifierForcedExpiratoryVolume1"
|
|
338
|
+
case .hkquantitytypeidentifierpeakexpiratoryflowrate:
|
|
339
|
+
return "HKQuantityTypeIdentifierPeakExpiratoryFlowRate"
|
|
340
|
+
case .hkquantitytypeidentifierenvironmentalaudioexposure:
|
|
341
|
+
return "HKQuantityTypeIdentifierEnvironmentalAudioExposure"
|
|
342
|
+
case .hkquantitytypeidentifierheadphoneaudioexposure:
|
|
343
|
+
return "HKQuantityTypeIdentifierHeadphoneAudioExposure"
|
|
344
|
+
case .hkquantitytypeidentifierdietaryfattotal:
|
|
345
|
+
return "HKQuantityTypeIdentifierDietaryFatTotal"
|
|
346
|
+
case .hkquantitytypeidentifierdietaryfatpolyunsaturated:
|
|
347
|
+
return "HKQuantityTypeIdentifierDietaryFatPolyunsaturated"
|
|
348
|
+
case .hkquantitytypeidentifierdietaryfatmonounsaturated:
|
|
349
|
+
return "HKQuantityTypeIdentifierDietaryFatMonounsaturated"
|
|
350
|
+
case .hkquantitytypeidentifierdietaryfatsaturated:
|
|
351
|
+
return "HKQuantityTypeIdentifierDietaryFatSaturated"
|
|
352
|
+
case .hkquantitytypeidentifierdietarycholesterol:
|
|
353
|
+
return "HKQuantityTypeIdentifierDietaryCholesterol"
|
|
354
|
+
case .hkquantitytypeidentifierdietarysodium:
|
|
355
|
+
return "HKQuantityTypeIdentifierDietarySodium"
|
|
356
|
+
case .hkquantitytypeidentifierdietarycarbohydrates:
|
|
357
|
+
return "HKQuantityTypeIdentifierDietaryCarbohydrates"
|
|
358
|
+
case .hkquantitytypeidentifierdietaryfiber:
|
|
359
|
+
return "HKQuantityTypeIdentifierDietaryFiber"
|
|
360
|
+
case .hkquantitytypeidentifierdietarysugar:
|
|
361
|
+
return "HKQuantityTypeIdentifierDietarySugar"
|
|
362
|
+
case .hkquantitytypeidentifierdietaryenergyconsumed:
|
|
363
|
+
return "HKQuantityTypeIdentifierDietaryEnergyConsumed"
|
|
364
|
+
case .hkquantitytypeidentifierdietaryprotein:
|
|
365
|
+
return "HKQuantityTypeIdentifierDietaryProtein"
|
|
366
|
+
case .hkquantitytypeidentifierdietaryvitamina:
|
|
367
|
+
return "HKQuantityTypeIdentifierDietaryVitaminA"
|
|
368
|
+
case .hkquantitytypeidentifierdietaryvitaminb6:
|
|
369
|
+
return "HKQuantityTypeIdentifierDietaryVitaminB6"
|
|
370
|
+
case .hkquantitytypeidentifierdietaryvitaminb12:
|
|
371
|
+
return "HKQuantityTypeIdentifierDietaryVitaminB12"
|
|
372
|
+
case .hkquantitytypeidentifierdietaryvitaminc:
|
|
373
|
+
return "HKQuantityTypeIdentifierDietaryVitaminC"
|
|
374
|
+
case .hkquantitytypeidentifierdietaryvitamind:
|
|
375
|
+
return "HKQuantityTypeIdentifierDietaryVitaminD"
|
|
376
|
+
case .hkquantitytypeidentifierdietaryvitamine:
|
|
377
|
+
return "HKQuantityTypeIdentifierDietaryVitaminE"
|
|
378
|
+
case .hkquantitytypeidentifierdietaryvitamink:
|
|
379
|
+
return "HKQuantityTypeIdentifierDietaryVitaminK"
|
|
380
|
+
case .hkquantitytypeidentifierdietarycalcium:
|
|
381
|
+
return "HKQuantityTypeIdentifierDietaryCalcium"
|
|
382
|
+
case .hkquantitytypeidentifierdietaryiron:
|
|
383
|
+
return "HKQuantityTypeIdentifierDietaryIron"
|
|
384
|
+
case .hkquantitytypeidentifierdietarythiamin:
|
|
385
|
+
return "HKQuantityTypeIdentifierDietaryThiamin"
|
|
386
|
+
case .hkquantitytypeidentifierdietaryriboflavin:
|
|
387
|
+
return "HKQuantityTypeIdentifierDietaryRiboflavin"
|
|
388
|
+
case .hkquantitytypeidentifierdietaryniacin:
|
|
389
|
+
return "HKQuantityTypeIdentifierDietaryNiacin"
|
|
390
|
+
case .hkquantitytypeidentifierdietaryfolate:
|
|
391
|
+
return "HKQuantityTypeIdentifierDietaryFolate"
|
|
392
|
+
case .hkquantitytypeidentifierdietarybiotin:
|
|
393
|
+
return "HKQuantityTypeIdentifierDietaryBiotin"
|
|
394
|
+
case .hkquantitytypeidentifierdietarypantothenicacid:
|
|
395
|
+
return "HKQuantityTypeIdentifierDietaryPantothenicAcid"
|
|
396
|
+
case .hkquantitytypeidentifierdietaryphosphorus:
|
|
397
|
+
return "HKQuantityTypeIdentifierDietaryPhosphorus"
|
|
398
|
+
case .hkquantitytypeidentifierdietaryiodine:
|
|
399
|
+
return "HKQuantityTypeIdentifierDietaryIodine"
|
|
400
|
+
case .hkquantitytypeidentifierdietarymagnesium:
|
|
401
|
+
return "HKQuantityTypeIdentifierDietaryMagnesium"
|
|
402
|
+
case .hkquantitytypeidentifierdietaryzinc:
|
|
403
|
+
return "HKQuantityTypeIdentifierDietaryZinc"
|
|
404
|
+
case .hkquantitytypeidentifierdietaryselenium:
|
|
405
|
+
return "HKQuantityTypeIdentifierDietarySelenium"
|
|
406
|
+
case .hkquantitytypeidentifierdietarycopper:
|
|
407
|
+
return "HKQuantityTypeIdentifierDietaryCopper"
|
|
408
|
+
case .hkquantitytypeidentifierdietarymanganese:
|
|
409
|
+
return "HKQuantityTypeIdentifierDietaryManganese"
|
|
410
|
+
case .hkquantitytypeidentifierdietarychromium:
|
|
411
|
+
return "HKQuantityTypeIdentifierDietaryChromium"
|
|
412
|
+
case .hkquantitytypeidentifierdietarymolybdenum:
|
|
413
|
+
return "HKQuantityTypeIdentifierDietaryMolybdenum"
|
|
414
|
+
case .hkquantitytypeidentifierdietarychloride:
|
|
415
|
+
return "HKQuantityTypeIdentifierDietaryChloride"
|
|
416
|
+
case .hkquantitytypeidentifierdietarypotassium:
|
|
417
|
+
return "HKQuantityTypeIdentifierDietaryPotassium"
|
|
418
|
+
case .hkquantitytypeidentifierdietarycaffeine:
|
|
419
|
+
return "HKQuantityTypeIdentifierDietaryCaffeine"
|
|
420
|
+
case .hkquantitytypeidentifierdietarywater:
|
|
421
|
+
return "HKQuantityTypeIdentifierDietaryWater"
|
|
422
|
+
case .hkquantitytypeidentifiersixminutewalktestdistance:
|
|
423
|
+
return "HKQuantityTypeIdentifierSixMinuteWalkTestDistance"
|
|
424
|
+
case .hkquantitytypeidentifierwalkingspeed:
|
|
425
|
+
return "HKQuantityTypeIdentifierWalkingSpeed"
|
|
426
|
+
case .hkquantitytypeidentifierwalkingsteplength:
|
|
427
|
+
return "HKQuantityTypeIdentifierWalkingStepLength"
|
|
428
|
+
case .hkquantitytypeidentifierwalkingasymmetrypercentage:
|
|
429
|
+
return "HKQuantityTypeIdentifierWalkingAsymmetryPercentage"
|
|
430
|
+
case .hkquantitytypeidentifierwalkingdoublesupportpercentage:
|
|
431
|
+
return "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"
|
|
432
|
+
case .hkquantitytypeidentifierstairascentspeed:
|
|
433
|
+
return "HKQuantityTypeIdentifierStairAscentSpeed"
|
|
434
|
+
case .hkquantitytypeidentifierstairdescentspeed:
|
|
435
|
+
return "HKQuantityTypeIdentifierStairDescentSpeed"
|
|
436
|
+
case .hkquantitytypeidentifieruvexposure:
|
|
437
|
+
return "HKQuantityTypeIdentifierUVExposure"
|
|
438
|
+
case .hkquantitytypeidentifierapplemovetime:
|
|
439
|
+
return "HKQuantityTypeIdentifierAppleMoveTime"
|
|
440
|
+
case .hkquantitytypeidentifiernumberofalcoholicbeverages:
|
|
441
|
+
return "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"
|
|
442
|
+
case .hkquantitytypeidentifierunderwaterdepth:
|
|
443
|
+
return "HKQuantityTypeIdentifierUnderwaterDepth"
|
|
444
|
+
case .hkquantitytypeidentifierwatertemperature:
|
|
445
|
+
return "HKQuantityTypeIdentifierWaterTemperature"
|
|
446
|
+
case .hkquantitytypeidentifierapplesleepingwristtemperature:
|
|
447
|
+
return "HKQuantityTypeIdentifierAppleSleepingWristTemperature"
|
|
448
|
+
case .hkquantitytypeidentifierapplesleepingbreathingdisturbances:
|
|
449
|
+
return "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"
|
|
450
|
+
case .hkquantitytypeidentifiertimeindaylight:
|
|
451
|
+
return "HKQuantityTypeIdentifierTimeInDaylight"
|
|
452
|
+
case .hkquantitytypeidentifierphysicaleffort:
|
|
453
|
+
return "HKQuantityTypeIdentifierPhysicalEffort"
|
|
454
|
+
case .hkquantitytypeidentifiercyclingspeed:
|
|
455
|
+
return "HKQuantityTypeIdentifierCyclingSpeed"
|
|
456
|
+
case .hkquantitytypeidentifiercyclingpower:
|
|
457
|
+
return "HKQuantityTypeIdentifierCyclingPower"
|
|
458
|
+
case .hkquantitytypeidentifiercyclingfunctionalthresholdpower:
|
|
459
|
+
return "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"
|
|
460
|
+
case .hkquantitytypeidentifiercyclingcadence:
|
|
461
|
+
return "HKQuantityTypeIdentifierCyclingCadence"
|
|
462
|
+
case .hkquantitytypeidentifierenvironmentalsoundreduction:
|
|
463
|
+
return "HKQuantityTypeIdentifierEnvironmentalSoundReduction"
|
|
464
|
+
case .hkquantitytypeidentifierheartraterecoveryoneminute:
|
|
465
|
+
return "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"
|
|
466
|
+
case .hkquantitytypeidentifierrunninggroundcontacttime:
|
|
467
|
+
return "HKQuantityTypeIdentifierRunningGroundContactTime"
|
|
468
|
+
case .hkquantitytypeidentifierrunningstridelength:
|
|
469
|
+
return "HKQuantityTypeIdentifierRunningStrideLength"
|
|
470
|
+
case .hkquantitytypeidentifierrunningpower:
|
|
471
|
+
return "HKQuantityTypeIdentifierRunningPower"
|
|
472
|
+
case .hkquantitytypeidentifierrunningverticaloscillation:
|
|
473
|
+
return "HKQuantityTypeIdentifierRunningVerticalOscillation"
|
|
474
|
+
case .hkquantitytypeidentifierrunningspeed:
|
|
475
|
+
return "HKQuantityTypeIdentifierRunningSpeed"
|
|
476
|
+
case .hkquantitytypeidentifiercrosscountryskiingspeed:
|
|
477
|
+
return "HKQuantityTypeIdentifierCrossCountrySkiingSpeed"
|
|
478
|
+
case .hkquantitytypeidentifierdistancecrosscountryskiing:
|
|
479
|
+
return "HKQuantityTypeIdentifierDistanceCrossCountrySkiing"
|
|
480
|
+
case .hkquantitytypeidentifierdistancepaddlesports:
|
|
481
|
+
return "HKQuantityTypeIdentifierDistancePaddleSports"
|
|
482
|
+
case .hkquantitytypeidentifierdistancerowing:
|
|
483
|
+
return "HKQuantityTypeIdentifierDistanceRowing"
|
|
484
|
+
case .hkquantitytypeidentifierdistanceskatingsports:
|
|
485
|
+
return "HKQuantityTypeIdentifierDistanceSkatingSports"
|
|
486
|
+
case .hkquantitytypeidentifierestimatedworkouteffortscore:
|
|
487
|
+
return "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"
|
|
488
|
+
case .hkquantitytypeidentifierpaddlesportsspeed:
|
|
489
|
+
return "HKQuantityTypeIdentifierPaddleSportsSpeed"
|
|
490
|
+
case .hkquantitytypeidentifierrowingspeed:
|
|
491
|
+
return "HKQuantityTypeIdentifierRowingSpeed"
|
|
492
|
+
case .hkquantitytypeidentifierworkouteffortscore:
|
|
493
|
+
return "HKQuantityTypeIdentifierWorkoutEffortScore"
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// QueryCorrelationSamplesWithAnchorResponse.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -35,48 +34,18 @@ public extension QueryCorrelationSamplesWithAnchorResponse {
|
|
|
35
34
|
}(), std.string(newAnchor))
|
|
36
35
|
}
|
|
37
36
|
|
|
37
|
+
@inline(__always)
|
|
38
38
|
var correlations: [CorrelationSample] {
|
|
39
|
-
|
|
40
|
-
get {
|
|
41
|
-
return self.__correlations.map({ __item in __item })
|
|
42
|
-
}
|
|
43
|
-
@inline(__always)
|
|
44
|
-
set {
|
|
45
|
-
self.__correlations = { () -> bridge.std__vector_CorrelationSample_ in
|
|
46
|
-
var __vector = bridge.create_std__vector_CorrelationSample_(newValue.count)
|
|
47
|
-
for __item in newValue {
|
|
48
|
-
__vector.push_back(__item)
|
|
49
|
-
}
|
|
50
|
-
return __vector
|
|
51
|
-
}()
|
|
52
|
-
}
|
|
39
|
+
return self.__correlations.map({ __item in __item })
|
|
53
40
|
}
|
|
54
41
|
|
|
42
|
+
@inline(__always)
|
|
55
43
|
var deletedSamples: [DeletedSample] {
|
|
56
|
-
|
|
57
|
-
get {
|
|
58
|
-
return self.__deletedSamples.map({ __item in __item })
|
|
59
|
-
}
|
|
60
|
-
@inline(__always)
|
|
61
|
-
set {
|
|
62
|
-
self.__deletedSamples = { () -> bridge.std__vector_DeletedSample_ in
|
|
63
|
-
var __vector = bridge.create_std__vector_DeletedSample_(newValue.count)
|
|
64
|
-
for __item in newValue {
|
|
65
|
-
__vector.push_back(__item)
|
|
66
|
-
}
|
|
67
|
-
return __vector
|
|
68
|
-
}()
|
|
69
|
-
}
|
|
44
|
+
return self.__deletedSamples.map({ __item in __item })
|
|
70
45
|
}
|
|
71
46
|
|
|
47
|
+
@inline(__always)
|
|
72
48
|
var newAnchor: String {
|
|
73
|
-
|
|
74
|
-
get {
|
|
75
|
-
return String(self.__newAnchor)
|
|
76
|
-
}
|
|
77
|
-
@inline(__always)
|
|
78
|
-
set {
|
|
79
|
-
self.__newAnchor = std.string(newValue)
|
|
80
|
-
}
|
|
49
|
+
return String(self.__newAnchor)
|
|
81
50
|
}
|
|
82
51
|
}
|
|
@@ -2,10 +2,9 @@
|
|
|
2
2
|
/// QueryOptionsWithAnchor.swift
|
|
3
3
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
4
4
|
/// https://github.com/mrousavy/nitro
|
|
5
|
-
/// Copyright ©
|
|
5
|
+
/// Copyright © Marc Rousavy @ Margelo
|
|
6
6
|
///
|
|
7
7
|
|
|
8
|
-
import Foundation
|
|
9
8
|
import NitroModules
|
|
10
9
|
|
|
11
10
|
/**
|
|
@@ -35,55 +34,25 @@ public extension QueryOptionsWithAnchor {
|
|
|
35
34
|
}(), limit)
|
|
36
35
|
}
|
|
37
36
|
|
|
37
|
+
@inline(__always)
|
|
38
38
|
var anchor: String? {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
}()
|
|
49
|
-
}
|
|
50
|
-
@inline(__always)
|
|
51
|
-
set {
|
|
52
|
-
self.__anchor = { () -> bridge.std__optional_std__string_ in
|
|
53
|
-
if let __unwrappedValue = newValue {
|
|
54
|
-
return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
|
|
55
|
-
} else {
|
|
56
|
-
return .init()
|
|
57
|
-
}
|
|
58
|
-
}()
|
|
59
|
-
}
|
|
39
|
+
return { () -> String? in
|
|
40
|
+
if bridge.has_value_std__optional_std__string_(self.__anchor) {
|
|
41
|
+
let __unwrapped = bridge.get_std__optional_std__string_(self.__anchor)
|
|
42
|
+
return String(__unwrapped)
|
|
43
|
+
} else {
|
|
44
|
+
return nil
|
|
45
|
+
}
|
|
46
|
+
}()
|
|
60
47
|
}
|
|
61
48
|
|
|
49
|
+
@inline(__always)
|
|
62
50
|
var filter: FilterForSamples? {
|
|
63
|
-
|
|
64
|
-
get {
|
|
65
|
-
return self.__filter.value
|
|
66
|
-
}
|
|
67
|
-
@inline(__always)
|
|
68
|
-
set {
|
|
69
|
-
self.__filter = { () -> bridge.std__optional_FilterForSamples_ in
|
|
70
|
-
if let __unwrappedValue = newValue {
|
|
71
|
-
return bridge.create_std__optional_FilterForSamples_(__unwrappedValue)
|
|
72
|
-
} else {
|
|
73
|
-
return .init()
|
|
74
|
-
}
|
|
75
|
-
}()
|
|
76
|
-
}
|
|
51
|
+
return self.__filter.value
|
|
77
52
|
}
|
|
78
53
|
|
|
54
|
+
@inline(__always)
|
|
79
55
|
var limit: Double {
|
|
80
|
-
|
|
81
|
-
get {
|
|
82
|
-
return self.__limit
|
|
83
|
-
}
|
|
84
|
-
@inline(__always)
|
|
85
|
-
set {
|
|
86
|
-
self.__limit = newValue
|
|
87
|
-
}
|
|
56
|
+
return self.__limit
|
|
88
57
|
}
|
|
89
58
|
}
|