@kingstinct/react-native-healthkit 13.3.1 → 14.0.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/ReactNativeHealthkit.podspec +1 -0
- package/app.plugin.ts +40 -2
- package/ios/BackgroundDeliveryManager.swift +196 -0
- package/ios/CategoryTypeModule.swift +1 -1
- package/ios/CoreModule.swift +24 -0
- package/ios/CorrelationTypeModule.swift +2 -35
- package/ios/ElectrocardiogramModule.swift +2 -34
- package/ios/HeartbeatSeriesModule.swift +2 -34
- package/ios/MedicationModule.swift +3 -35
- package/ios/PredicateHelpers.swift +2 -2
- package/ios/QuantityTypeModule.swift +11 -11
- package/ios/Serializers.swift +58 -90
- package/ios/StateOfMindModule.swift +2 -34
- package/ios/WorkoutProxy.swift +4 -149
- package/ios/generated/HealthkitGenerated.swift +52 -0
- package/lib/commonjs/generated/healthkit.generated.js +745 -0
- package/lib/commonjs/healthkit.ios.js +51 -17
- package/lib/commonjs/healthkit.js +120 -34
- package/lib/commonjs/specs/QuantityTypeModule.nitro.js +1 -0
- package/lib/commonjs/type-tests/generated-typing.js +2 -0
- package/lib/commonjs/types/CategoryType.js +19 -99
- package/lib/commonjs/types/Medication.js +2 -0
- package/lib/commonjs/types/MetadataEnums.js +17 -0
- package/lib/commonjs/types/QuantityType.js +4 -15
- package/lib/commonjs/types/WeatherCondition.js +2 -32
- package/lib/commonjs/types/Workouts.js +3 -98
- package/lib/commonjs/types/index.js +2 -0
- package/lib/module/generated/healthkit.generated.js +742 -0
- package/lib/module/healthkit.ios.js +49 -15
- package/lib/module/healthkit.js +94 -20
- package/lib/module/specs/QuantityTypeModule.nitro.js +1 -0
- package/lib/module/type-tests/generated-typing.js +1 -0
- package/lib/module/types/CategoryType.js +2 -98
- package/lib/module/types/Medication.js +1 -0
- package/lib/module/types/MetadataEnums.js +1 -0
- package/lib/module/types/QuantityType.js +2 -14
- package/lib/module/types/WeatherCondition.js +1 -32
- package/lib/module/types/Workouts.js +2 -98
- package/lib/module/types/index.js +2 -0
- package/lib/typescript/generated/healthkit.generated.d.ts +1006 -0
- package/lib/typescript/healthkit.d.ts +39 -36
- package/lib/typescript/healthkit.ios.d.ts +64 -53
- package/lib/typescript/hooks/useMostRecentQuantitySample.d.ts +3 -2
- package/lib/typescript/hooks/useMostRecentWorkout.d.ts +2 -2
- package/lib/typescript/hooks/useQuantitySampleById.d.ts +5 -4
- package/lib/typescript/hooks/useStatisticsForQuantity.d.ts +2 -2
- package/lib/typescript/hooks/useSubscribeToQuantitySamples.d.ts +1 -1
- package/lib/typescript/modules.d.ts +2 -2
- package/lib/typescript/specs/CategoryTypeModule.nitro.d.ts +3 -3
- package/lib/typescript/specs/CoreModule.nitro.d.ts +15 -0
- package/lib/typescript/specs/QuantityTypeModule.nitro.d.ts +20 -9
- package/lib/typescript/type-tests/generated-typing.d.ts +1 -0
- package/lib/typescript/types/CategoryType.d.ts +10 -104
- package/lib/typescript/types/CategoryTypeIdentifier.d.ts +1 -61
- package/lib/typescript/types/CorrelationType.d.ts +8 -2
- package/lib/typescript/types/ElectrocardiogramSample.d.ts +8 -1
- package/lib/typescript/types/HeartbeatSeries.d.ts +8 -1
- package/lib/typescript/types/InterfaceVerification.d.ts +14 -1
- package/lib/typescript/types/Medication.d.ts +10 -0
- package/lib/typescript/types/MetadataEnums.d.ts +1 -0
- package/lib/typescript/types/QuantitySample.d.ts +9 -1
- package/lib/typescript/types/QuantityType.d.ts +14 -18
- package/lib/typescript/types/QuantityTypeIdentifier.d.ts +1 -671
- package/lib/typescript/types/QueryOptions.d.ts +8 -4
- package/lib/typescript/types/Shared.d.ts +12 -41
- package/lib/typescript/types/StateOfMind.d.ts +8 -1
- package/lib/typescript/types/Subscriptions.d.ts +11 -11
- package/lib/typescript/types/WeatherCondition.d.ts +1 -30
- package/lib/typescript/types/Workouts.d.ts +20 -104
- package/lib/typescript/types/index.d.ts +2 -0
- package/lib/typescript/utils/getMostRecentQuantitySample.d.ts +2 -1
- package/lib/typescript/utils/getMostRecentWorkout.d.ts +2 -1
- package/lib/typescript/utils/getPreferredUnit.d.ts +2 -1
- package/lib/typescript/utils/getQuantitySampleById.d.ts +2 -1
- package/lib/typescript/utils/subscribeToQuantitySamples.d.ts +1 -1
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +55 -109
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Umbrella.hpp +12 -18
- package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +5 -14
- package/nitrogen/generated/ios/c++/HybridCoreModuleSpecSwift.hpp +18 -2
- package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +1 -13
- package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.hpp +1 -13
- package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +2 -14
- package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.hpp +1 -13
- package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +19 -28
- package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +2 -14
- package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +3 -116
- package/nitrogen/generated/ios/swift/CategorySample.swift +4 -329
- package/nitrogen/generated/ios/swift/CategoryTypeIdentifier.swift +112 -108
- package/nitrogen/generated/ios/swift/CategoryTypeIdentifierWriteable.swift +292 -0
- package/nitrogen/generated/ios/swift/CorrelationSample.swift +4 -347
- package/nitrogen/generated/ios/swift/ElectrocardiogramSample.swift +4 -329
- package/nitrogen/generated/ios/swift/FilterForWorkouts.swift +30 -30
- package/nitrogen/generated/ios/swift/FilterForWorkoutsBase.swift +30 -30
- package/nitrogen/generated/ios/swift/GeneralForm.swift +4 -4
- package/nitrogen/generated/ios/swift/HeartbeatSeriesSample.swift +4 -329
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridCategoryTypeModuleSpec_cxx.swift +1 -1
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec.swift +2 -0
- package/nitrogen/generated/ios/swift/HybridCoreModuleSpec_cxx.swift +38 -0
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec.swift +6 -6
- package/nitrogen/generated/ios/swift/HybridQuantityTypeModuleSpec_cxx.swift +6 -6
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec.swift +1 -27
- package/nitrogen/generated/ios/swift/HybridWorkoutProxySpec_cxx.swift +2 -340
- package/nitrogen/generated/ios/swift/MedicationDoseEvent.swift +4 -329
- package/nitrogen/generated/ios/swift/ObjectTypeIdentifier.swift +492 -492
- package/nitrogen/generated/ios/swift/QuantitySample.swift +4 -329
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifier.swift +380 -384
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifierWriteable.swift +372 -376
- package/nitrogen/generated/ios/swift/{QueryOptionsWithAnchorAndUnit.swift → QueryOptionsWithAnchorAndStringUnit.swift} +5 -5
- package/nitrogen/generated/ios/swift/{QueryOptionsWithSortOrderAndUnit.swift → QueryOptionsWithSortOrderAndStringUnit.swift} +5 -5
- package/nitrogen/generated/ios/swift/QueryStatisticsResponseFromSingleSource.swift +37 -37
- package/nitrogen/generated/ios/swift/SampleTypeIdentifier.swift +492 -492
- package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +482 -486
- package/nitrogen/generated/ios/swift/StateOfMindSample.swift +4 -329
- package/nitrogen/generated/ios/swift/{StatisticsQueryOptions.swift → StatisticsQueryOptionsWithStringUnit.swift} +5 -5
- package/nitrogen/generated/ios/swift/WorkoutEvent.swift +20 -2
- package/nitrogen/generated/ios/swift/WorkoutSample.swift +4 -402
- package/nitrogen/generated/shared/c++/CategorySample.hpp +8 -100
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +153 -149
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifierWriteable.hpp +328 -0
- package/nitrogen/generated/shared/c++/CorrelationSample.hpp +9 -105
- package/nitrogen/generated/shared/c++/ElectrocardiogramSample.hpp +7 -99
- package/nitrogen/generated/shared/c++/FilterForWorkouts.hpp +13 -13
- package/nitrogen/generated/shared/c++/FilterForWorkoutsBase.hpp +13 -13
- package/nitrogen/generated/shared/c++/GeneralForm.hpp +7 -7
- package/nitrogen/generated/shared/c++/HeartbeatSeriesSample.hpp +8 -100
- package/nitrogen/generated/shared/c++/HybridCategoryTypeModuleSpec.hpp +5 -2
- package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.cpp +2 -0
- package/nitrogen/generated/shared/c++/HybridCoreModuleSpec.hpp +4 -2
- package/nitrogen/generated/shared/c++/HybridQuantityTypeModuleSpec.hpp +15 -15
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.cpp +1 -27
- package/nitrogen/generated/shared/c++/HybridWorkoutProxySpec.hpp +2 -37
- package/nitrogen/generated/shared/c++/MedicationDoseEvent.hpp +7 -99
- package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +565 -565
- package/nitrogen/generated/shared/c++/QuantitySample.hpp +8 -100
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +407 -411
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifierWriteable.hpp +398 -402
- package/nitrogen/generated/shared/c++/{QueryOptionsWithAnchorAndUnit.hpp → QueryOptionsWithAnchorAndStringUnit.hpp} +11 -11
- package/nitrogen/generated/shared/c++/{QueryOptionsWithSortOrderAndUnit.hpp → QueryOptionsWithSortOrderAndStringUnit.hpp} +11 -11
- package/nitrogen/generated/shared/c++/QueryStatisticsResponseFromSingleSource.hpp +12 -12
- package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +559 -559
- package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +541 -545
- package/nitrogen/generated/shared/c++/StateOfMindSample.hpp +8 -100
- package/nitrogen/generated/shared/c++/{StatisticsQueryOptions.hpp → StatisticsQueryOptionsWithStringUnit.hpp} +11 -11
- package/nitrogen/generated/shared/c++/WorkoutEvent.hpp +8 -2
- package/nitrogen/generated/shared/c++/WorkoutSample.hpp +7 -120
- package/package.json +5 -2
- package/src/generated/healthkit-schema.json +3680 -0
- package/src/generated/healthkit.generated.ts +1307 -0
- package/src/healthkit.ios.ts +225 -19
- package/src/healthkit.ts +181 -55
- package/src/hooks/useMostRecentQuantitySample.ts +6 -5
- package/src/hooks/useMostRecentWorkout.ts +2 -2
- package/src/hooks/useQuantitySampleById.ts +6 -5
- package/src/hooks/useStatisticsForQuantity.ts +2 -1
- package/src/hooks/useSubscribeToQuantitySamples.ts +1 -1
- package/src/modules.ts +7 -2
- package/src/specs/CategoryTypeModule.nitro.ts +8 -5
- package/src/specs/CoreModule.nitro.ts +20 -0
- package/src/specs/QuantityTypeModule.nitro.ts +81 -7
- package/src/test-setup.ts +2 -0
- package/src/type-tests/generated-typing.ts +133 -0
- package/src/types/CategoryType.ts +52 -148
- package/src/types/CategoryTypeIdentifier.ts +5 -134
- package/src/types/CorrelationType.ts +13 -3
- package/src/types/ElectrocardiogramSample.ts +13 -1
- package/src/types/HeartbeatSeries.ts +13 -1
- package/src/types/InterfaceVerification.ts +38 -1
- package/src/types/Medication.ts +19 -0
- package/src/types/MetadataEnums.ts +15 -0
- package/src/types/QuantitySample.ts +14 -2
- package/src/types/QuantityType.ts +22 -122
- package/src/types/QuantityTypeIdentifier.ts +5 -772
- package/src/types/QueryOptions.ts +11 -4
- package/src/types/Shared.ts +22 -49
- package/src/types/StateOfMind.ts +13 -1
- package/src/types/Subscriptions.ts +19 -13
- package/src/types/WeatherCondition.ts +1 -31
- package/src/types/Workouts.ts +46 -108
- package/src/types/index.ts +2 -0
- package/src/utils/getMostRecentQuantitySample.ts +4 -3
- package/src/utils/getMostRecentWorkout.ts +5 -2
- package/src/utils/getPreferredUnit.ts +5 -4
- package/src/utils/getQuantitySampleById.ts +4 -3
- package/src/utils/subscribeToQuantitySamples.ts +5 -3
- package/nitrogen/generated/ios/swift/HeartRateMotionContext.swift +0 -44
- package/nitrogen/generated/ios/swift/InsulinDeliveryReason.swift +0 -40
- package/nitrogen/generated/ios/swift/WeatherCondition.swift +0 -144
- package/nitrogen/generated/shared/c++/HeartRateMotionContext.hpp +0 -67
- package/nitrogen/generated/shared/c++/InsulinDeliveryReason.hpp +0 -62
- package/nitrogen/generated/shared/c++/WeatherCondition.hpp +0 -88
|
@@ -29,127 +29,126 @@ namespace margelo::nitro::healthkit {
|
|
|
29
29
|
* An enum which can be represented as a JavaScript union (QuantityTypeIdentifier).
|
|
30
30
|
*/
|
|
31
31
|
enum class QuantityTypeIdentifier {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
32
|
+
HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME SWIFT_NAME(hkquantitytypeidentifierappleexercisetime) = 0,
|
|
33
|
+
HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME SWIFT_NAME(hkquantitytypeidentifierapplestandtime) = 1,
|
|
34
|
+
HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS SWIFT_NAME(hkquantitytypeidentifierapplewalkingsteadiness) = 2,
|
|
35
|
+
HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN SWIFT_NAME(hkquantitytypeidentifieratrialfibrillationburden) = 3,
|
|
36
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE SWIFT_NAME(hkquantitytypeidentifierwalkingheartrateaverage) = 4,
|
|
37
|
+
HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED SWIFT_NAME(hkquantitytypeidentifieractiveenergyburned) = 5,
|
|
38
|
+
HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME SWIFT_NAME(hkquantitytypeidentifierapplemovetime) = 6,
|
|
39
|
+
HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGBREATHINGDISTURBANCES SWIFT_NAME(hkquantitytypeidentifierapplesleepingbreathingdisturbances) = 7,
|
|
40
|
+
HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierapplesleepingwristtemperature) = 8,
|
|
41
|
+
HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierbasalbodytemperature) = 9,
|
|
42
|
+
HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED SWIFT_NAME(hkquantitytypeidentifierbasalenergyburned) = 10,
|
|
43
|
+
HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT SWIFT_NAME(hkquantitytypeidentifierbloodalcoholcontent) = 11,
|
|
44
|
+
HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE SWIFT_NAME(hkquantitytypeidentifierbloodglucose) = 12,
|
|
45
|
+
HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC SWIFT_NAME(hkquantitytypeidentifierbloodpressurediastolic) = 13,
|
|
46
|
+
HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC SWIFT_NAME(hkquantitytypeidentifierbloodpressuresystolic) = 14,
|
|
47
|
+
HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierbodyfatpercentage) = 15,
|
|
48
|
+
HKQUANTITYTYPEIDENTIFIERBODYMASS SWIFT_NAME(hkquantitytypeidentifierbodymass) = 16,
|
|
49
|
+
HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX SWIFT_NAME(hkquantitytypeidentifierbodymassindex) = 17,
|
|
50
|
+
HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierbodytemperature) = 18,
|
|
51
|
+
HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED SWIFT_NAME(hkquantitytypeidentifiercrosscountryskiingspeed) = 19,
|
|
52
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE SWIFT_NAME(hkquantitytypeidentifiercyclingcadence) = 20,
|
|
53
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER SWIFT_NAME(hkquantitytypeidentifiercyclingfunctionalthresholdpower) = 21,
|
|
54
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER SWIFT_NAME(hkquantitytypeidentifiercyclingpower) = 22,
|
|
55
|
+
HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED SWIFT_NAME(hkquantitytypeidentifiercyclingspeed) = 23,
|
|
56
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN SWIFT_NAME(hkquantitytypeidentifierdietarybiotin) = 24,
|
|
57
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE SWIFT_NAME(hkquantitytypeidentifierdietarycaffeine) = 25,
|
|
58
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM SWIFT_NAME(hkquantitytypeidentifierdietarycalcium) = 26,
|
|
59
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES SWIFT_NAME(hkquantitytypeidentifierdietarycarbohydrates) = 27,
|
|
60
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE SWIFT_NAME(hkquantitytypeidentifierdietarychloride) = 28,
|
|
61
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL SWIFT_NAME(hkquantitytypeidentifierdietarycholesterol) = 29,
|
|
62
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM SWIFT_NAME(hkquantitytypeidentifierdietarychromium) = 30,
|
|
63
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER SWIFT_NAME(hkquantitytypeidentifierdietarycopper) = 31,
|
|
64
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED SWIFT_NAME(hkquantitytypeidentifierdietaryenergyconsumed) = 32,
|
|
65
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatmonounsaturated) = 33,
|
|
66
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatpolyunsaturated) = 34,
|
|
67
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED SWIFT_NAME(hkquantitytypeidentifierdietaryfatsaturated) = 35,
|
|
68
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL SWIFT_NAME(hkquantitytypeidentifierdietaryfattotal) = 36,
|
|
69
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFIBER SWIFT_NAME(hkquantitytypeidentifierdietaryfiber) = 37,
|
|
70
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE SWIFT_NAME(hkquantitytypeidentifierdietaryfolate) = 38,
|
|
71
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYIODINE SWIFT_NAME(hkquantitytypeidentifierdietaryiodine) = 39,
|
|
72
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYIRON SWIFT_NAME(hkquantitytypeidentifierdietaryiron) = 40,
|
|
73
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM SWIFT_NAME(hkquantitytypeidentifierdietarymagnesium) = 41,
|
|
74
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE SWIFT_NAME(hkquantitytypeidentifierdietarymanganese) = 42,
|
|
75
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM SWIFT_NAME(hkquantitytypeidentifierdietarymolybdenum) = 43,
|
|
76
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN SWIFT_NAME(hkquantitytypeidentifierdietaryniacin) = 44,
|
|
77
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID SWIFT_NAME(hkquantitytypeidentifierdietarypantothenicacid) = 45,
|
|
78
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS SWIFT_NAME(hkquantitytypeidentifierdietaryphosphorus) = 46,
|
|
79
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM SWIFT_NAME(hkquantitytypeidentifierdietarypotassium) = 47,
|
|
80
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN SWIFT_NAME(hkquantitytypeidentifierdietaryprotein) = 48,
|
|
81
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN SWIFT_NAME(hkquantitytypeidentifierdietaryriboflavin) = 49,
|
|
82
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM SWIFT_NAME(hkquantitytypeidentifierdietaryselenium) = 50,
|
|
83
83
|
HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM SWIFT_NAME(hkquantitytypeidentifierdietarysodium) = 51,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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
|
-
HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE SWIFT_NAME(hkquantitytypeidentifierworkouteffortscore) = 120,
|
|
84
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR SWIFT_NAME(hkquantitytypeidentifierdietarysugar) = 52,
|
|
85
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN SWIFT_NAME(hkquantitytypeidentifierdietarythiamin) = 53,
|
|
86
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA SWIFT_NAME(hkquantitytypeidentifierdietaryvitamina) = 54,
|
|
87
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12 SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminb12) = 55,
|
|
88
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6 SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminb6) = 56,
|
|
89
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC SWIFT_NAME(hkquantitytypeidentifierdietaryvitaminc) = 57,
|
|
90
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND SWIFT_NAME(hkquantitytypeidentifierdietaryvitamind) = 58,
|
|
91
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE SWIFT_NAME(hkquantitytypeidentifierdietaryvitamine) = 59,
|
|
92
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK SWIFT_NAME(hkquantitytypeidentifierdietaryvitamink) = 60,
|
|
93
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYWATER SWIFT_NAME(hkquantitytypeidentifierdietarywater) = 61,
|
|
94
|
+
HKQUANTITYTYPEIDENTIFIERDIETARYZINC SWIFT_NAME(hkquantitytypeidentifierdietaryzinc) = 62,
|
|
95
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING SWIFT_NAME(hkquantitytypeidentifierdistancecrosscountryskiing) = 63,
|
|
96
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING SWIFT_NAME(hkquantitytypeidentifierdistancecycling) = 64,
|
|
97
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS SWIFT_NAME(hkquantitytypeidentifierdistancedownhillsnowsports) = 65,
|
|
98
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS SWIFT_NAME(hkquantitytypeidentifierdistancepaddlesports) = 66,
|
|
99
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEROWING SWIFT_NAME(hkquantitytypeidentifierdistancerowing) = 67,
|
|
100
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS SWIFT_NAME(hkquantitytypeidentifierdistanceskatingsports) = 68,
|
|
101
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING SWIFT_NAME(hkquantitytypeidentifierdistanceswimming) = 69,
|
|
102
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING SWIFT_NAME(hkquantitytypeidentifierdistancewalkingrunning) = 70,
|
|
103
|
+
HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR SWIFT_NAME(hkquantitytypeidentifierdistancewheelchair) = 71,
|
|
104
|
+
HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY SWIFT_NAME(hkquantitytypeidentifierelectrodermalactivity) = 72,
|
|
105
|
+
HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE SWIFT_NAME(hkquantitytypeidentifierenvironmentalaudioexposure) = 73,
|
|
106
|
+
HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION SWIFT_NAME(hkquantitytypeidentifierenvironmentalsoundreduction) = 74,
|
|
107
|
+
HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE SWIFT_NAME(hkquantitytypeidentifierestimatedworkouteffortscore) = 75,
|
|
108
|
+
HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED SWIFT_NAME(hkquantitytypeidentifierflightsclimbed) = 76,
|
|
109
|
+
HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1 SWIFT_NAME(hkquantitytypeidentifierforcedexpiratoryvolume1) = 77,
|
|
110
|
+
HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY SWIFT_NAME(hkquantitytypeidentifierforcedvitalcapacity) = 78,
|
|
111
|
+
HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE SWIFT_NAME(hkquantitytypeidentifierheadphoneaudioexposure) = 79,
|
|
112
|
+
HKQUANTITYTYPEIDENTIFIERHEARTRATE SWIFT_NAME(hkquantitytypeidentifierheartrate) = 80,
|
|
113
|
+
HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE SWIFT_NAME(hkquantitytypeidentifierheartraterecoveryoneminute) = 81,
|
|
114
|
+
HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN SWIFT_NAME(hkquantitytypeidentifierheartratevariabilitysdnn) = 82,
|
|
115
|
+
HKQUANTITYTYPEIDENTIFIERHEIGHT SWIFT_NAME(hkquantitytypeidentifierheight) = 83,
|
|
116
|
+
HKQUANTITYTYPEIDENTIFIERINHALERUSAGE SWIFT_NAME(hkquantitytypeidentifierinhalerusage) = 84,
|
|
117
|
+
HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY SWIFT_NAME(hkquantitytypeidentifierinsulindelivery) = 85,
|
|
118
|
+
HKQUANTITYTYPEIDENTIFIERLEANBODYMASS SWIFT_NAME(hkquantitytypeidentifierleanbodymass) = 86,
|
|
119
|
+
HKQUANTITYTYPEIDENTIFIERNIKEFUEL SWIFT_NAME(hkquantitytypeidentifiernikefuel) = 87,
|
|
120
|
+
HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES SWIFT_NAME(hkquantitytypeidentifiernumberofalcoholicbeverages) = 88,
|
|
121
|
+
HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN SWIFT_NAME(hkquantitytypeidentifiernumberoftimesfallen) = 89,
|
|
122
|
+
HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION SWIFT_NAME(hkquantitytypeidentifieroxygensaturation) = 90,
|
|
123
|
+
HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED SWIFT_NAME(hkquantitytypeidentifierpaddlesportsspeed) = 91,
|
|
124
|
+
HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE SWIFT_NAME(hkquantitytypeidentifierpeakexpiratoryflowrate) = 92,
|
|
125
|
+
HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX SWIFT_NAME(hkquantitytypeidentifierperipheralperfusionindex) = 93,
|
|
126
|
+
HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT SWIFT_NAME(hkquantitytypeidentifierphysicaleffort) = 94,
|
|
127
|
+
HKQUANTITYTYPEIDENTIFIERPUSHCOUNT SWIFT_NAME(hkquantitytypeidentifierpushcount) = 95,
|
|
128
|
+
HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE SWIFT_NAME(hkquantitytypeidentifierrespiratoryrate) = 96,
|
|
129
|
+
HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE SWIFT_NAME(hkquantitytypeidentifierrestingheartrate) = 97,
|
|
130
|
+
HKQUANTITYTYPEIDENTIFIERROWINGSPEED SWIFT_NAME(hkquantitytypeidentifierrowingspeed) = 98,
|
|
131
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME SWIFT_NAME(hkquantitytypeidentifierrunninggroundcontacttime) = 99,
|
|
132
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER SWIFT_NAME(hkquantitytypeidentifierrunningpower) = 100,
|
|
133
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED SWIFT_NAME(hkquantitytypeidentifierrunningspeed) = 101,
|
|
134
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH SWIFT_NAME(hkquantitytypeidentifierrunningstridelength) = 102,
|
|
135
|
+
HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION SWIFT_NAME(hkquantitytypeidentifierrunningverticaloscillation) = 103,
|
|
136
|
+
HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE SWIFT_NAME(hkquantitytypeidentifiersixminutewalktestdistance) = 104,
|
|
137
|
+
HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED SWIFT_NAME(hkquantitytypeidentifierstairascentspeed) = 105,
|
|
138
|
+
HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED SWIFT_NAME(hkquantitytypeidentifierstairdescentspeed) = 106,
|
|
139
|
+
HKQUANTITYTYPEIDENTIFIERSTEPCOUNT SWIFT_NAME(hkquantitytypeidentifierstepcount) = 107,
|
|
140
|
+
HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT SWIFT_NAME(hkquantitytypeidentifierswimmingstrokecount) = 108,
|
|
141
|
+
HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT SWIFT_NAME(hkquantitytypeidentifiertimeindaylight) = 109,
|
|
142
|
+
HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH SWIFT_NAME(hkquantitytypeidentifierunderwaterdepth) = 110,
|
|
143
|
+
HKQUANTITYTYPEIDENTIFIERUVEXPOSURE SWIFT_NAME(hkquantitytypeidentifieruvexposure) = 111,
|
|
144
|
+
HKQUANTITYTYPEIDENTIFIERVO2MAX SWIFT_NAME(hkquantitytypeidentifiervo2max) = 112,
|
|
145
|
+
HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE SWIFT_NAME(hkquantitytypeidentifierwaistcircumference) = 113,
|
|
146
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierwalkingasymmetrypercentage) = 114,
|
|
147
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE SWIFT_NAME(hkquantitytypeidentifierwalkingdoublesupportpercentage) = 115,
|
|
148
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGSPEED SWIFT_NAME(hkquantitytypeidentifierwalkingspeed) = 116,
|
|
149
|
+
HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH SWIFT_NAME(hkquantitytypeidentifierwalkingsteplength) = 117,
|
|
150
|
+
HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE SWIFT_NAME(hkquantitytypeidentifierwatertemperature) = 118,
|
|
151
|
+
HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE SWIFT_NAME(hkquantitytypeidentifierworkouteffortscore) = 119,
|
|
153
152
|
} CLOSED_ENUM;
|
|
154
153
|
|
|
155
154
|
} // namespace margelo::nitro::healthkit
|
|
@@ -162,126 +161,125 @@ namespace margelo::nitro {
|
|
|
162
161
|
static inline margelo::nitro::healthkit::QuantityTypeIdentifier fromJSI(jsi::Runtime& runtime, const jsi::Value& arg) {
|
|
163
162
|
std::string unionValue = JSIConverter<std::string>::fromJSI(runtime, arg);
|
|
164
163
|
switch (hashString(unionValue.c_str(), unionValue.size())) {
|
|
165
|
-
case hashString("HKQuantityTypeIdentifierWalkingHeartRateAverage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE;
|
|
166
|
-
case hashString("HKQuantityTypeIdentifierAtrialFibrillationBurden"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN;
|
|
167
164
|
case hashString("HKQuantityTypeIdentifierAppleExerciseTime"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME;
|
|
168
165
|
case hashString("HKQuantityTypeIdentifierAppleStandTime"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME;
|
|
169
166
|
case hashString("HKQuantityTypeIdentifierAppleWalkingSteadiness"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS;
|
|
170
|
-
case hashString("
|
|
171
|
-
case hashString("
|
|
172
|
-
case hashString("HKQuantityTypeIdentifierHeight"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEIGHT;
|
|
173
|
-
case hashString("HKQuantityTypeIdentifierBodyMass"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASS;
|
|
174
|
-
case hashString("HKQuantityTypeIdentifierLeanBodyMass"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS;
|
|
175
|
-
case hashString("HKQuantityTypeIdentifierWaistCircumference"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE;
|
|
176
|
-
case hashString("HKQuantityTypeIdentifierStepCount"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT;
|
|
177
|
-
case hashString("HKQuantityTypeIdentifierDistanceWalkingRunning"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING;
|
|
178
|
-
case hashString("HKQuantityTypeIdentifierDistanceCycling"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING;
|
|
179
|
-
case hashString("HKQuantityTypeIdentifierDistanceWheelchair"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR;
|
|
180
|
-
case hashString("HKQuantityTypeIdentifierBasalEnergyBurned"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED;
|
|
167
|
+
case hashString("HKQuantityTypeIdentifierAtrialFibrillationBurden"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN;
|
|
168
|
+
case hashString("HKQuantityTypeIdentifierWalkingHeartRateAverage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE;
|
|
181
169
|
case hashString("HKQuantityTypeIdentifierActiveEnergyBurned"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED;
|
|
182
|
-
case hashString("
|
|
183
|
-
case hashString("
|
|
184
|
-
case hashString("
|
|
185
|
-
case hashString("HKQuantityTypeIdentifierDistanceSwimming"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING;
|
|
186
|
-
case hashString("HKQuantityTypeIdentifierSwimmingStrokeCount"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT;
|
|
187
|
-
case hashString("HKQuantityTypeIdentifierVO2Max"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERVO2MAX;
|
|
188
|
-
case hashString("HKQuantityTypeIdentifierDistanceDownhillSnowSports"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS;
|
|
189
|
-
case hashString("HKQuantityTypeIdentifierHeartRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATE;
|
|
190
|
-
case hashString("HKQuantityTypeIdentifierBodyTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE;
|
|
170
|
+
case hashString("HKQuantityTypeIdentifierAppleMoveTime"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME;
|
|
171
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGBREATHINGDISTURBANCES;
|
|
172
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE;
|
|
191
173
|
case hashString("HKQuantityTypeIdentifierBasalBodyTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE;
|
|
192
|
-
case hashString("
|
|
193
|
-
case hashString("HKQuantityTypeIdentifierBloodPressureDiastolic"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC;
|
|
194
|
-
case hashString("HKQuantityTypeIdentifierRespiratoryRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE;
|
|
195
|
-
case hashString("HKQuantityTypeIdentifierRestingHeartRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE;
|
|
196
|
-
case hashString("HKQuantityTypeIdentifierHeartRateVariabilitySDNN"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN;
|
|
197
|
-
case hashString("HKQuantityTypeIdentifierOxygenSaturation"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION;
|
|
198
|
-
case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX;
|
|
199
|
-
case hashString("HKQuantityTypeIdentifierBloodGlucose"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE;
|
|
200
|
-
case hashString("HKQuantityTypeIdentifierBloodKetones"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODKETONES;
|
|
201
|
-
case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN;
|
|
202
|
-
case hashString("HKQuantityTypeIdentifierElectrodermalActivity"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY;
|
|
203
|
-
case hashString("HKQuantityTypeIdentifierInhalerUsage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE;
|
|
204
|
-
case hashString("HKQuantityTypeIdentifierInsulinDelivery"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY;
|
|
174
|
+
case hashString("HKQuantityTypeIdentifierBasalEnergyBurned"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED;
|
|
205
175
|
case hashString("HKQuantityTypeIdentifierBloodAlcoholContent"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT;
|
|
206
|
-
case hashString("
|
|
207
|
-
case hashString("
|
|
208
|
-
case hashString("
|
|
209
|
-
case hashString("
|
|
210
|
-
case hashString("
|
|
211
|
-
case hashString("
|
|
212
|
-
case hashString("
|
|
176
|
+
case hashString("HKQuantityTypeIdentifierBloodGlucose"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE;
|
|
177
|
+
case hashString("HKQuantityTypeIdentifierBloodPressureDiastolic"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC;
|
|
178
|
+
case hashString("HKQuantityTypeIdentifierBloodPressureSystolic"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC;
|
|
179
|
+
case hashString("HKQuantityTypeIdentifierBodyFatPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE;
|
|
180
|
+
case hashString("HKQuantityTypeIdentifierBodyMass"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASS;
|
|
181
|
+
case hashString("HKQuantityTypeIdentifierBodyMassIndex"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX;
|
|
182
|
+
case hashString("HKQuantityTypeIdentifierBodyTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE;
|
|
183
|
+
case hashString("HKQuantityTypeIdentifierCrossCountrySkiingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED;
|
|
184
|
+
case hashString("HKQuantityTypeIdentifierCyclingCadence"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE;
|
|
185
|
+
case hashString("HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER;
|
|
186
|
+
case hashString("HKQuantityTypeIdentifierCyclingPower"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER;
|
|
187
|
+
case hashString("HKQuantityTypeIdentifierCyclingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED;
|
|
188
|
+
case hashString("HKQuantityTypeIdentifierDietaryBiotin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN;
|
|
189
|
+
case hashString("HKQuantityTypeIdentifierDietaryCaffeine"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE;
|
|
190
|
+
case hashString("HKQuantityTypeIdentifierDietaryCalcium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM;
|
|
191
|
+
case hashString("HKQuantityTypeIdentifierDietaryCarbohydrates"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES;
|
|
192
|
+
case hashString("HKQuantityTypeIdentifierDietaryChloride"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE;
|
|
193
|
+
case hashString("HKQuantityTypeIdentifierDietaryCholesterol"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL;
|
|
194
|
+
case hashString("HKQuantityTypeIdentifierDietaryChromium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM;
|
|
195
|
+
case hashString("HKQuantityTypeIdentifierDietaryCopper"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER;
|
|
196
|
+
case hashString("HKQuantityTypeIdentifierDietaryEnergyConsumed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED;
|
|
213
197
|
case hashString("HKQuantityTypeIdentifierDietaryFatMonounsaturated"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED;
|
|
198
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatPolyunsaturated"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED;
|
|
214
199
|
case hashString("HKQuantityTypeIdentifierDietaryFatSaturated"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED;
|
|
215
|
-
case hashString("
|
|
216
|
-
case hashString("HKQuantityTypeIdentifierDietarySodium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM;
|
|
217
|
-
case hashString("HKQuantityTypeIdentifierDietaryCarbohydrates"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES;
|
|
200
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatTotal"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL;
|
|
218
201
|
case hashString("HKQuantityTypeIdentifierDietaryFiber"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFIBER;
|
|
219
|
-
case hashString("
|
|
220
|
-
case hashString("
|
|
202
|
+
case hashString("HKQuantityTypeIdentifierDietaryFolate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE;
|
|
203
|
+
case hashString("HKQuantityTypeIdentifierDietaryIodine"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE;
|
|
204
|
+
case hashString("HKQuantityTypeIdentifierDietaryIron"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIRON;
|
|
205
|
+
case hashString("HKQuantityTypeIdentifierDietaryMagnesium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM;
|
|
206
|
+
case hashString("HKQuantityTypeIdentifierDietaryManganese"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE;
|
|
207
|
+
case hashString("HKQuantityTypeIdentifierDietaryMolybdenum"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM;
|
|
208
|
+
case hashString("HKQuantityTypeIdentifierDietaryNiacin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN;
|
|
209
|
+
case hashString("HKQuantityTypeIdentifierDietaryPantothenicAcid"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID;
|
|
210
|
+
case hashString("HKQuantityTypeIdentifierDietaryPhosphorus"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS;
|
|
211
|
+
case hashString("HKQuantityTypeIdentifierDietaryPotassium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM;
|
|
221
212
|
case hashString("HKQuantityTypeIdentifierDietaryProtein"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN;
|
|
213
|
+
case hashString("HKQuantityTypeIdentifierDietaryRiboflavin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN;
|
|
214
|
+
case hashString("HKQuantityTypeIdentifierDietarySelenium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM;
|
|
215
|
+
case hashString("HKQuantityTypeIdentifierDietarySodium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM;
|
|
216
|
+
case hashString("HKQuantityTypeIdentifierDietarySugar"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR;
|
|
217
|
+
case hashString("HKQuantityTypeIdentifierDietaryThiamin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN;
|
|
222
218
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminA"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA;
|
|
223
|
-
case hashString("HKQuantityTypeIdentifierDietaryVitaminB6"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6;
|
|
224
219
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminB12"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12;
|
|
220
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminB6"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6;
|
|
225
221
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminC"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC;
|
|
226
222
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminD"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND;
|
|
227
223
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminE"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE;
|
|
228
224
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminK"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK;
|
|
229
|
-
case hashString("HKQuantityTypeIdentifierDietaryCalcium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM;
|
|
230
|
-
case hashString("HKQuantityTypeIdentifierDietaryIron"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIRON;
|
|
231
|
-
case hashString("HKQuantityTypeIdentifierDietaryThiamin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN;
|
|
232
|
-
case hashString("HKQuantityTypeIdentifierDietaryRiboflavin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN;
|
|
233
|
-
case hashString("HKQuantityTypeIdentifierDietaryNiacin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN;
|
|
234
|
-
case hashString("HKQuantityTypeIdentifierDietaryFolate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE;
|
|
235
|
-
case hashString("HKQuantityTypeIdentifierDietaryBiotin"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN;
|
|
236
|
-
case hashString("HKQuantityTypeIdentifierDietaryPantothenicAcid"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID;
|
|
237
|
-
case hashString("HKQuantityTypeIdentifierDietaryPhosphorus"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS;
|
|
238
|
-
case hashString("HKQuantityTypeIdentifierDietaryIodine"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE;
|
|
239
|
-
case hashString("HKQuantityTypeIdentifierDietaryMagnesium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM;
|
|
240
|
-
case hashString("HKQuantityTypeIdentifierDietaryZinc"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYZINC;
|
|
241
|
-
case hashString("HKQuantityTypeIdentifierDietarySelenium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM;
|
|
242
|
-
case hashString("HKQuantityTypeIdentifierDietaryCopper"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER;
|
|
243
|
-
case hashString("HKQuantityTypeIdentifierDietaryManganese"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE;
|
|
244
|
-
case hashString("HKQuantityTypeIdentifierDietaryChromium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM;
|
|
245
|
-
case hashString("HKQuantityTypeIdentifierDietaryMolybdenum"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM;
|
|
246
|
-
case hashString("HKQuantityTypeIdentifierDietaryChloride"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE;
|
|
247
|
-
case hashString("HKQuantityTypeIdentifierDietaryPotassium"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM;
|
|
248
|
-
case hashString("HKQuantityTypeIdentifierDietaryCaffeine"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE;
|
|
249
225
|
case hashString("HKQuantityTypeIdentifierDietaryWater"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYWATER;
|
|
250
|
-
case hashString("
|
|
251
|
-
case hashString("HKQuantityTypeIdentifierWalkingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED;
|
|
252
|
-
case hashString("HKQuantityTypeIdentifierWalkingStepLength"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH;
|
|
253
|
-
case hashString("HKQuantityTypeIdentifierWalkingAsymmetryPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE;
|
|
254
|
-
case hashString("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE;
|
|
255
|
-
case hashString("HKQuantityTypeIdentifierStairAscentSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED;
|
|
256
|
-
case hashString("HKQuantityTypeIdentifierStairDescentSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED;
|
|
257
|
-
case hashString("HKQuantityTypeIdentifierUVExposure"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE;
|
|
258
|
-
case hashString("HKQuantityTypeIdentifierAppleMoveTime"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME;
|
|
259
|
-
case hashString("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES;
|
|
260
|
-
case hashString("HKQuantityTypeIdentifierUnderwaterDepth"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH;
|
|
261
|
-
case hashString("HKQuantityTypeIdentifierWaterTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE;
|
|
262
|
-
case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE;
|
|
263
|
-
case hashString("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGBREATHINGDISTURBANCES;
|
|
264
|
-
case hashString("HKQuantityTypeIdentifierTimeInDaylight"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT;
|
|
265
|
-
case hashString("HKQuantityTypeIdentifierPhysicalEffort"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT;
|
|
266
|
-
case hashString("HKQuantityTypeIdentifierCyclingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED;
|
|
267
|
-
case hashString("HKQuantityTypeIdentifierCyclingPower"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER;
|
|
268
|
-
case hashString("HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER;
|
|
269
|
-
case hashString("HKQuantityTypeIdentifierCyclingCadence"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE;
|
|
270
|
-
case hashString("HKQuantityTypeIdentifierEnvironmentalSoundReduction"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION;
|
|
271
|
-
case hashString("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE;
|
|
272
|
-
case hashString("HKQuantityTypeIdentifierRunningGroundContactTime"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME;
|
|
273
|
-
case hashString("HKQuantityTypeIdentifierRunningStrideLength"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH;
|
|
274
|
-
case hashString("HKQuantityTypeIdentifierRunningPower"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER;
|
|
275
|
-
case hashString("HKQuantityTypeIdentifierRunningVerticalOscillation"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION;
|
|
276
|
-
case hashString("HKQuantityTypeIdentifierRunningSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED;
|
|
277
|
-
case hashString("HKQuantityTypeIdentifierCrossCountrySkiingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED;
|
|
226
|
+
case hashString("HKQuantityTypeIdentifierDietaryZinc"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYZINC;
|
|
278
227
|
case hashString("HKQuantityTypeIdentifierDistanceCrossCountrySkiing"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING;
|
|
228
|
+
case hashString("HKQuantityTypeIdentifierDistanceCycling"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING;
|
|
229
|
+
case hashString("HKQuantityTypeIdentifierDistanceDownhillSnowSports"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS;
|
|
279
230
|
case hashString("HKQuantityTypeIdentifierDistancePaddleSports"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS;
|
|
280
231
|
case hashString("HKQuantityTypeIdentifierDistanceRowing"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEROWING;
|
|
281
232
|
case hashString("HKQuantityTypeIdentifierDistanceSkatingSports"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS;
|
|
233
|
+
case hashString("HKQuantityTypeIdentifierDistanceSwimming"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING;
|
|
234
|
+
case hashString("HKQuantityTypeIdentifierDistanceWalkingRunning"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING;
|
|
235
|
+
case hashString("HKQuantityTypeIdentifierDistanceWheelchair"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR;
|
|
236
|
+
case hashString("HKQuantityTypeIdentifierElectrodermalActivity"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY;
|
|
237
|
+
case hashString("HKQuantityTypeIdentifierEnvironmentalAudioExposure"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE;
|
|
238
|
+
case hashString("HKQuantityTypeIdentifierEnvironmentalSoundReduction"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION;
|
|
282
239
|
case hashString("HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE;
|
|
240
|
+
case hashString("HKQuantityTypeIdentifierFlightsClimbed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED;
|
|
241
|
+
case hashString("HKQuantityTypeIdentifierForcedExpiratoryVolume1"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1;
|
|
242
|
+
case hashString("HKQuantityTypeIdentifierForcedVitalCapacity"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY;
|
|
243
|
+
case hashString("HKQuantityTypeIdentifierHeadphoneAudioExposure"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE;
|
|
244
|
+
case hashString("HKQuantityTypeIdentifierHeartRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATE;
|
|
245
|
+
case hashString("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE;
|
|
246
|
+
case hashString("HKQuantityTypeIdentifierHeartRateVariabilitySDNN"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN;
|
|
247
|
+
case hashString("HKQuantityTypeIdentifierHeight"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEIGHT;
|
|
248
|
+
case hashString("HKQuantityTypeIdentifierInhalerUsage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE;
|
|
249
|
+
case hashString("HKQuantityTypeIdentifierInsulinDelivery"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY;
|
|
250
|
+
case hashString("HKQuantityTypeIdentifierLeanBodyMass"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS;
|
|
251
|
+
case hashString("HKQuantityTypeIdentifierNikeFuel"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNIKEFUEL;
|
|
252
|
+
case hashString("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES;
|
|
253
|
+
case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN;
|
|
254
|
+
case hashString("HKQuantityTypeIdentifierOxygenSaturation"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION;
|
|
283
255
|
case hashString("HKQuantityTypeIdentifierPaddleSportsSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED;
|
|
256
|
+
case hashString("HKQuantityTypeIdentifierPeakExpiratoryFlowRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE;
|
|
257
|
+
case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX;
|
|
258
|
+
case hashString("HKQuantityTypeIdentifierPhysicalEffort"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT;
|
|
259
|
+
case hashString("HKQuantityTypeIdentifierPushCount"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPUSHCOUNT;
|
|
260
|
+
case hashString("HKQuantityTypeIdentifierRespiratoryRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE;
|
|
261
|
+
case hashString("HKQuantityTypeIdentifierRestingHeartRate"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE;
|
|
284
262
|
case hashString("HKQuantityTypeIdentifierRowingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERROWINGSPEED;
|
|
263
|
+
case hashString("HKQuantityTypeIdentifierRunningGroundContactTime"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME;
|
|
264
|
+
case hashString("HKQuantityTypeIdentifierRunningPower"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER;
|
|
265
|
+
case hashString("HKQuantityTypeIdentifierRunningSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED;
|
|
266
|
+
case hashString("HKQuantityTypeIdentifierRunningStrideLength"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH;
|
|
267
|
+
case hashString("HKQuantityTypeIdentifierRunningVerticalOscillation"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION;
|
|
268
|
+
case hashString("HKQuantityTypeIdentifierSixMinuteWalkTestDistance"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE;
|
|
269
|
+
case hashString("HKQuantityTypeIdentifierStairAscentSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED;
|
|
270
|
+
case hashString("HKQuantityTypeIdentifierStairDescentSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED;
|
|
271
|
+
case hashString("HKQuantityTypeIdentifierStepCount"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT;
|
|
272
|
+
case hashString("HKQuantityTypeIdentifierSwimmingStrokeCount"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT;
|
|
273
|
+
case hashString("HKQuantityTypeIdentifierTimeInDaylight"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT;
|
|
274
|
+
case hashString("HKQuantityTypeIdentifierUnderwaterDepth"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH;
|
|
275
|
+
case hashString("HKQuantityTypeIdentifierUVExposure"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE;
|
|
276
|
+
case hashString("HKQuantityTypeIdentifierVO2Max"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERVO2MAX;
|
|
277
|
+
case hashString("HKQuantityTypeIdentifierWaistCircumference"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE;
|
|
278
|
+
case hashString("HKQuantityTypeIdentifierWalkingAsymmetryPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE;
|
|
279
|
+
case hashString("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE;
|
|
280
|
+
case hashString("HKQuantityTypeIdentifierWalkingSpeed"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED;
|
|
281
|
+
case hashString("HKQuantityTypeIdentifierWalkingStepLength"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH;
|
|
282
|
+
case hashString("HKQuantityTypeIdentifierWaterTemperature"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE;
|
|
285
283
|
case hashString("HKQuantityTypeIdentifierWorkoutEffortScore"): return margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE;
|
|
286
284
|
default: [[unlikely]]
|
|
287
285
|
throw std::invalid_argument("Cannot convert \"" + unionValue + "\" to enum QuantityTypeIdentifier - invalid value!");
|
|
@@ -289,126 +287,125 @@ namespace margelo::nitro {
|
|
|
289
287
|
}
|
|
290
288
|
static inline jsi::Value toJSI(jsi::Runtime& runtime, margelo::nitro::healthkit::QuantityTypeIdentifier arg) {
|
|
291
289
|
switch (arg) {
|
|
292
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingHeartRateAverage");
|
|
293
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAtrialFibrillationBurden");
|
|
294
290
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEEXERCISETIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleExerciseTime");
|
|
295
291
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESTANDTIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleStandTime");
|
|
296
292
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEWALKINGSTEADINESS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleWalkingSteadiness");
|
|
297
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
298
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
299
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeight");
|
|
300
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMass");
|
|
301
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierLeanBodyMass");
|
|
302
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaistCircumference");
|
|
303
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStepCount");
|
|
304
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWalkingRunning");
|
|
305
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCycling");
|
|
306
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWheelchair");
|
|
307
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalEnergyBurned");
|
|
293
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERATRIALFIBRILLATIONBURDEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAtrialFibrillationBurden");
|
|
294
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGHEARTRATEAVERAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingHeartRateAverage");
|
|
308
295
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERACTIVEENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierActiveEnergyBurned");
|
|
309
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
310
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
311
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
312
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSwimming");
|
|
313
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSwimmingStrokeCount");
|
|
314
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERVO2MAX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierVO2Max");
|
|
315
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceDownhillSnowSports");
|
|
316
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRate");
|
|
317
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyTemperature");
|
|
296
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLEMOVETIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleMoveTime");
|
|
297
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGBREATHINGDISTURBANCES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances");
|
|
298
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERAPPLESLEEPINGWRISTTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierAppleSleepingWristTemperature");
|
|
318
299
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalBodyTemperature");
|
|
319
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
320
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureDiastolic");
|
|
321
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRespiratoryRate");
|
|
322
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRestingHeartRate");
|
|
323
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateVariabilitySDNN");
|
|
324
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierOxygenSaturation");
|
|
325
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeripheralPerfusionIndex");
|
|
326
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodGlucose");
|
|
327
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODKETONES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodKetones");
|
|
328
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfTimesFallen");
|
|
329
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierElectrodermalActivity");
|
|
330
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInhalerUsage");
|
|
331
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInsulinDelivery");
|
|
300
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBASALENERGYBURNED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBasalEnergyBurned");
|
|
332
301
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODALCOHOLCONTENT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodAlcoholContent");
|
|
333
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
334
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
335
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
336
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
337
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
338
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
339
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
302
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODGLUCOSE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodGlucose");
|
|
303
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSUREDIASTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureDiastolic");
|
|
304
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBLOODPRESSURESYSTOLIC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBloodPressureSystolic");
|
|
305
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYFATPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyFatPercentage");
|
|
306
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMass");
|
|
307
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYMASSINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyMassIndex");
|
|
308
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERBODYTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierBodyTemperature");
|
|
309
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCrossCountrySkiingSpeed");
|
|
310
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingCadence");
|
|
311
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower");
|
|
312
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingPower");
|
|
313
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingSpeed");
|
|
314
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryBiotin");
|
|
315
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCAFFEINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCaffeine");
|
|
316
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCalcium");
|
|
317
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCarbohydrates");
|
|
318
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHLORIDE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChloride");
|
|
319
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHOLESTEROL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCholesterol");
|
|
320
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChromium");
|
|
321
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCopper");
|
|
322
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryEnergyConsumed");
|
|
340
323
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATMONOUNSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatMonounsaturated");
|
|
324
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATPOLYUNSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatPolyunsaturated");
|
|
341
325
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATSATURATED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatSaturated");
|
|
342
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
343
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySodium");
|
|
344
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCARBOHYDRATES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCarbohydrates");
|
|
326
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFATTOTAL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFatTotal");
|
|
345
327
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFIBER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFiber");
|
|
346
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySugar");
|
|
347
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYENERGYCONSUMED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryEnergyConsumed");
|
|
348
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryProtein");
|
|
349
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminA");
|
|
350
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB6");
|
|
351
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB12");
|
|
352
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminC");
|
|
353
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminD");
|
|
354
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminE");
|
|
355
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminK");
|
|
356
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCALCIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCalcium");
|
|
357
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIRON: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIron");
|
|
358
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryThiamin");
|
|
359
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryRiboflavin");
|
|
360
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryNiacin");
|
|
361
328
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYFOLATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryFolate");
|
|
362
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYBIOTIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryBiotin");
|
|
363
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPantothenicAcid");
|
|
364
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPhosphorus");
|
|
365
329
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIODINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIodine");
|
|
330
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYIRON: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryIron");
|
|
366
331
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMAGNESIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryMagnesium");
|
|
367
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYZINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryZinc");
|
|
368
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySelenium");
|
|
369
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCOPPER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryCopper");
|
|
370
332
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMANGANESE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryManganese");
|
|
371
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYCHROMIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryChromium");
|
|
372
333
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYMOLYBDENUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryMolybdenum");
|
|
373
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
374
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
375
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
376
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
377
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
378
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
379
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
380
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
381
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
382
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
383
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
384
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
385
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
386
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
387
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
388
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
389
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
390
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
391
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::
|
|
392
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPhysicalEffort");
|
|
393
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingSpeed");
|
|
394
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingPower");
|
|
395
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGFUNCTIONALTHRESHOLDPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingFunctionalThresholdPower");
|
|
396
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCYCLINGCADENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCyclingCadence");
|
|
397
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalSoundReduction");
|
|
398
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute");
|
|
399
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningGroundContactTime");
|
|
400
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningStrideLength");
|
|
401
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningPower");
|
|
402
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningVerticalOscillation");
|
|
403
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningSpeed");
|
|
404
|
-
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERCROSSCOUNTRYSKIINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierCrossCountrySkiingSpeed");
|
|
334
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYNIACIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryNiacin");
|
|
335
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPANTOTHENICACID: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPantothenicAcid");
|
|
336
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPHOSPHORUS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPhosphorus");
|
|
337
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPOTASSIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryPotassium");
|
|
338
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYPROTEIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryProtein");
|
|
339
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYRIBOFLAVIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryRiboflavin");
|
|
340
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSELENIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySelenium");
|
|
341
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSODIUM: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySodium");
|
|
342
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYSUGAR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietarySugar");
|
|
343
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYTHIAMIN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryThiamin");
|
|
344
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINA: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminA");
|
|
345
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB12: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB12");
|
|
346
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINB6: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminB6");
|
|
347
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminC");
|
|
348
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMIND: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminD");
|
|
349
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminE");
|
|
350
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYVITAMINK: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryVitaminK");
|
|
351
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYWATER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryWater");
|
|
352
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDIETARYZINC: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDietaryZinc");
|
|
405
353
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECROSSCOUNTRYSKIING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCrossCountrySkiing");
|
|
354
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCECYCLING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceCycling");
|
|
355
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEDOWNHILLSNOWSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceDownhillSnowSports");
|
|
406
356
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEPADDLESPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistancePaddleSports");
|
|
407
357
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEROWING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceRowing");
|
|
408
358
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESKATINGSPORTS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSkatingSports");
|
|
359
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCESWIMMING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceSwimming");
|
|
360
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWALKINGRUNNING: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWalkingRunning");
|
|
361
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERDISTANCEWHEELCHAIR: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierDistanceWheelchair");
|
|
362
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERELECTRODERMALACTIVITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierElectrodermalActivity");
|
|
363
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalAudioExposure");
|
|
364
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERENVIRONMENTALSOUNDREDUCTION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEnvironmentalSoundReduction");
|
|
409
365
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERESTIMATEDWORKOUTEFFORTSCORE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierEstimatedWorkoutEffortScore");
|
|
366
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFLIGHTSCLIMBED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierFlightsClimbed");
|
|
367
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDEXPIRATORYVOLUME1: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierForcedExpiratoryVolume1");
|
|
368
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERFORCEDVITALCAPACITY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierForcedVitalCapacity");
|
|
369
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEADPHONEAUDIOEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeadphoneAudioExposure");
|
|
370
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRate");
|
|
371
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATERECOVERYONEMINUTE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateRecoveryOneMinute");
|
|
372
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEARTRATEVARIABILITYSDNN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeartRateVariabilitySDNN");
|
|
373
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERHEIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierHeight");
|
|
374
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINHALERUSAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInhalerUsage");
|
|
375
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERINSULINDELIVERY: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierInsulinDelivery");
|
|
376
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERLEANBODYMASS: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierLeanBodyMass");
|
|
377
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNIKEFUEL: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNikeFuel");
|
|
378
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFALCOHOLICBEVERAGES: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfAlcoholicBeverages");
|
|
379
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERNUMBEROFTIMESFALLEN: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierNumberOfTimesFallen");
|
|
380
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIEROXYGENSATURATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierOxygenSaturation");
|
|
410
381
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPADDLESPORTSSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPaddleSportsSpeed");
|
|
382
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPEAKEXPIRATORYFLOWRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeakExpiratoryFlowRate");
|
|
383
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPERIPHERALPERFUSIONINDEX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPeripheralPerfusionIndex");
|
|
384
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPHYSICALEFFORT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPhysicalEffort");
|
|
385
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERPUSHCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierPushCount");
|
|
386
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESPIRATORYRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRespiratoryRate");
|
|
387
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRESTINGHEARTRATE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRestingHeartRate");
|
|
411
388
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERROWINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRowingSpeed");
|
|
389
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGGROUNDCONTACTTIME: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningGroundContactTime");
|
|
390
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGPOWER: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningPower");
|
|
391
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningSpeed");
|
|
392
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGSTRIDELENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningStrideLength");
|
|
393
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERRUNNINGVERTICALOSCILLATION: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierRunningVerticalOscillation");
|
|
394
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSIXMINUTEWALKTESTDISTANCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSixMinuteWalkTestDistance");
|
|
395
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRASCENTSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStairAscentSpeed");
|
|
396
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTAIRDESCENTSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStairDescentSpeed");
|
|
397
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSTEPCOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierStepCount");
|
|
398
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERSWIMMINGSTROKECOUNT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierSwimmingStrokeCount");
|
|
399
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERTIMEINDAYLIGHT: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierTimeInDaylight");
|
|
400
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUNDERWATERDEPTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUnderwaterDepth");
|
|
401
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERUVEXPOSURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierUVExposure");
|
|
402
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERVO2MAX: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierVO2Max");
|
|
403
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWAISTCIRCUMFERENCE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaistCircumference");
|
|
404
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGASYMMETRYPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingAsymmetryPercentage");
|
|
405
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGDOUBLESUPPORTPERCENTAGE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingDoubleSupportPercentage");
|
|
406
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSPEED: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingSpeed");
|
|
407
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWALKINGSTEPLENGTH: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWalkingStepLength");
|
|
408
|
+
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWATERTEMPERATURE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWaterTemperature");
|
|
412
409
|
case margelo::nitro::healthkit::QuantityTypeIdentifier::HKQUANTITYTYPEIDENTIFIERWORKOUTEFFORTSCORE: return JSIConverter<std::string>::toJSI(runtime, "HKQuantityTypeIdentifierWorkoutEffortScore");
|
|
413
410
|
default: [[unlikely]]
|
|
414
411
|
throw std::invalid_argument("Cannot convert QuantityTypeIdentifier to JS - invalid value: "
|
|
@@ -421,126 +418,125 @@ namespace margelo::nitro {
|
|
|
421
418
|
}
|
|
422
419
|
std::string unionValue = JSIConverter<std::string>::fromJSI(runtime, value);
|
|
423
420
|
switch (hashString(unionValue.c_str(), unionValue.size())) {
|
|
424
|
-
case hashString("HKQuantityTypeIdentifierWalkingHeartRateAverage"):
|
|
425
|
-
case hashString("HKQuantityTypeIdentifierAtrialFibrillationBurden"):
|
|
426
421
|
case hashString("HKQuantityTypeIdentifierAppleExerciseTime"):
|
|
427
422
|
case hashString("HKQuantityTypeIdentifierAppleStandTime"):
|
|
428
423
|
case hashString("HKQuantityTypeIdentifierAppleWalkingSteadiness"):
|
|
429
|
-
case hashString("
|
|
430
|
-
case hashString("
|
|
431
|
-
case hashString("HKQuantityTypeIdentifierHeight"):
|
|
432
|
-
case hashString("HKQuantityTypeIdentifierBodyMass"):
|
|
433
|
-
case hashString("HKQuantityTypeIdentifierLeanBodyMass"):
|
|
434
|
-
case hashString("HKQuantityTypeIdentifierWaistCircumference"):
|
|
435
|
-
case hashString("HKQuantityTypeIdentifierStepCount"):
|
|
436
|
-
case hashString("HKQuantityTypeIdentifierDistanceWalkingRunning"):
|
|
437
|
-
case hashString("HKQuantityTypeIdentifierDistanceCycling"):
|
|
438
|
-
case hashString("HKQuantityTypeIdentifierDistanceWheelchair"):
|
|
439
|
-
case hashString("HKQuantityTypeIdentifierBasalEnergyBurned"):
|
|
424
|
+
case hashString("HKQuantityTypeIdentifierAtrialFibrillationBurden"):
|
|
425
|
+
case hashString("HKQuantityTypeIdentifierWalkingHeartRateAverage"):
|
|
440
426
|
case hashString("HKQuantityTypeIdentifierActiveEnergyBurned"):
|
|
441
|
-
case hashString("
|
|
442
|
-
case hashString("
|
|
443
|
-
case hashString("
|
|
444
|
-
case hashString("HKQuantityTypeIdentifierDistanceSwimming"):
|
|
445
|
-
case hashString("HKQuantityTypeIdentifierSwimmingStrokeCount"):
|
|
446
|
-
case hashString("HKQuantityTypeIdentifierVO2Max"):
|
|
447
|
-
case hashString("HKQuantityTypeIdentifierDistanceDownhillSnowSports"):
|
|
448
|
-
case hashString("HKQuantityTypeIdentifierHeartRate"):
|
|
449
|
-
case hashString("HKQuantityTypeIdentifierBodyTemperature"):
|
|
427
|
+
case hashString("HKQuantityTypeIdentifierAppleMoveTime"):
|
|
428
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"):
|
|
429
|
+
case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"):
|
|
450
430
|
case hashString("HKQuantityTypeIdentifierBasalBodyTemperature"):
|
|
451
|
-
case hashString("
|
|
452
|
-
case hashString("HKQuantityTypeIdentifierBloodPressureDiastolic"):
|
|
453
|
-
case hashString("HKQuantityTypeIdentifierRespiratoryRate"):
|
|
454
|
-
case hashString("HKQuantityTypeIdentifierRestingHeartRate"):
|
|
455
|
-
case hashString("HKQuantityTypeIdentifierHeartRateVariabilitySDNN"):
|
|
456
|
-
case hashString("HKQuantityTypeIdentifierOxygenSaturation"):
|
|
457
|
-
case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"):
|
|
458
|
-
case hashString("HKQuantityTypeIdentifierBloodGlucose"):
|
|
459
|
-
case hashString("HKQuantityTypeIdentifierBloodKetones"):
|
|
460
|
-
case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"):
|
|
461
|
-
case hashString("HKQuantityTypeIdentifierElectrodermalActivity"):
|
|
462
|
-
case hashString("HKQuantityTypeIdentifierInhalerUsage"):
|
|
463
|
-
case hashString("HKQuantityTypeIdentifierInsulinDelivery"):
|
|
431
|
+
case hashString("HKQuantityTypeIdentifierBasalEnergyBurned"):
|
|
464
432
|
case hashString("HKQuantityTypeIdentifierBloodAlcoholContent"):
|
|
465
|
-
case hashString("
|
|
466
|
-
case hashString("
|
|
467
|
-
case hashString("
|
|
468
|
-
case hashString("
|
|
469
|
-
case hashString("
|
|
470
|
-
case hashString("
|
|
471
|
-
case hashString("
|
|
433
|
+
case hashString("HKQuantityTypeIdentifierBloodGlucose"):
|
|
434
|
+
case hashString("HKQuantityTypeIdentifierBloodPressureDiastolic"):
|
|
435
|
+
case hashString("HKQuantityTypeIdentifierBloodPressureSystolic"):
|
|
436
|
+
case hashString("HKQuantityTypeIdentifierBodyFatPercentage"):
|
|
437
|
+
case hashString("HKQuantityTypeIdentifierBodyMass"):
|
|
438
|
+
case hashString("HKQuantityTypeIdentifierBodyMassIndex"):
|
|
439
|
+
case hashString("HKQuantityTypeIdentifierBodyTemperature"):
|
|
440
|
+
case hashString("HKQuantityTypeIdentifierCrossCountrySkiingSpeed"):
|
|
441
|
+
case hashString("HKQuantityTypeIdentifierCyclingCadence"):
|
|
442
|
+
case hashString("HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"):
|
|
443
|
+
case hashString("HKQuantityTypeIdentifierCyclingPower"):
|
|
444
|
+
case hashString("HKQuantityTypeIdentifierCyclingSpeed"):
|
|
445
|
+
case hashString("HKQuantityTypeIdentifierDietaryBiotin"):
|
|
446
|
+
case hashString("HKQuantityTypeIdentifierDietaryCaffeine"):
|
|
447
|
+
case hashString("HKQuantityTypeIdentifierDietaryCalcium"):
|
|
448
|
+
case hashString("HKQuantityTypeIdentifierDietaryCarbohydrates"):
|
|
449
|
+
case hashString("HKQuantityTypeIdentifierDietaryChloride"):
|
|
450
|
+
case hashString("HKQuantityTypeIdentifierDietaryCholesterol"):
|
|
451
|
+
case hashString("HKQuantityTypeIdentifierDietaryChromium"):
|
|
452
|
+
case hashString("HKQuantityTypeIdentifierDietaryCopper"):
|
|
453
|
+
case hashString("HKQuantityTypeIdentifierDietaryEnergyConsumed"):
|
|
472
454
|
case hashString("HKQuantityTypeIdentifierDietaryFatMonounsaturated"):
|
|
455
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatPolyunsaturated"):
|
|
473
456
|
case hashString("HKQuantityTypeIdentifierDietaryFatSaturated"):
|
|
474
|
-
case hashString("
|
|
475
|
-
case hashString("HKQuantityTypeIdentifierDietarySodium"):
|
|
476
|
-
case hashString("HKQuantityTypeIdentifierDietaryCarbohydrates"):
|
|
457
|
+
case hashString("HKQuantityTypeIdentifierDietaryFatTotal"):
|
|
477
458
|
case hashString("HKQuantityTypeIdentifierDietaryFiber"):
|
|
478
|
-
case hashString("
|
|
479
|
-
case hashString("
|
|
459
|
+
case hashString("HKQuantityTypeIdentifierDietaryFolate"):
|
|
460
|
+
case hashString("HKQuantityTypeIdentifierDietaryIodine"):
|
|
461
|
+
case hashString("HKQuantityTypeIdentifierDietaryIron"):
|
|
462
|
+
case hashString("HKQuantityTypeIdentifierDietaryMagnesium"):
|
|
463
|
+
case hashString("HKQuantityTypeIdentifierDietaryManganese"):
|
|
464
|
+
case hashString("HKQuantityTypeIdentifierDietaryMolybdenum"):
|
|
465
|
+
case hashString("HKQuantityTypeIdentifierDietaryNiacin"):
|
|
466
|
+
case hashString("HKQuantityTypeIdentifierDietaryPantothenicAcid"):
|
|
467
|
+
case hashString("HKQuantityTypeIdentifierDietaryPhosphorus"):
|
|
468
|
+
case hashString("HKQuantityTypeIdentifierDietaryPotassium"):
|
|
480
469
|
case hashString("HKQuantityTypeIdentifierDietaryProtein"):
|
|
470
|
+
case hashString("HKQuantityTypeIdentifierDietaryRiboflavin"):
|
|
471
|
+
case hashString("HKQuantityTypeIdentifierDietarySelenium"):
|
|
472
|
+
case hashString("HKQuantityTypeIdentifierDietarySodium"):
|
|
473
|
+
case hashString("HKQuantityTypeIdentifierDietarySugar"):
|
|
474
|
+
case hashString("HKQuantityTypeIdentifierDietaryThiamin"):
|
|
481
475
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminA"):
|
|
482
|
-
case hashString("HKQuantityTypeIdentifierDietaryVitaminB6"):
|
|
483
476
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminB12"):
|
|
477
|
+
case hashString("HKQuantityTypeIdentifierDietaryVitaminB6"):
|
|
484
478
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminC"):
|
|
485
479
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminD"):
|
|
486
480
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminE"):
|
|
487
481
|
case hashString("HKQuantityTypeIdentifierDietaryVitaminK"):
|
|
488
|
-
case hashString("HKQuantityTypeIdentifierDietaryCalcium"):
|
|
489
|
-
case hashString("HKQuantityTypeIdentifierDietaryIron"):
|
|
490
|
-
case hashString("HKQuantityTypeIdentifierDietaryThiamin"):
|
|
491
|
-
case hashString("HKQuantityTypeIdentifierDietaryRiboflavin"):
|
|
492
|
-
case hashString("HKQuantityTypeIdentifierDietaryNiacin"):
|
|
493
|
-
case hashString("HKQuantityTypeIdentifierDietaryFolate"):
|
|
494
|
-
case hashString("HKQuantityTypeIdentifierDietaryBiotin"):
|
|
495
|
-
case hashString("HKQuantityTypeIdentifierDietaryPantothenicAcid"):
|
|
496
|
-
case hashString("HKQuantityTypeIdentifierDietaryPhosphorus"):
|
|
497
|
-
case hashString("HKQuantityTypeIdentifierDietaryIodine"):
|
|
498
|
-
case hashString("HKQuantityTypeIdentifierDietaryMagnesium"):
|
|
499
|
-
case hashString("HKQuantityTypeIdentifierDietaryZinc"):
|
|
500
|
-
case hashString("HKQuantityTypeIdentifierDietarySelenium"):
|
|
501
|
-
case hashString("HKQuantityTypeIdentifierDietaryCopper"):
|
|
502
|
-
case hashString("HKQuantityTypeIdentifierDietaryManganese"):
|
|
503
|
-
case hashString("HKQuantityTypeIdentifierDietaryChromium"):
|
|
504
|
-
case hashString("HKQuantityTypeIdentifierDietaryMolybdenum"):
|
|
505
|
-
case hashString("HKQuantityTypeIdentifierDietaryChloride"):
|
|
506
|
-
case hashString("HKQuantityTypeIdentifierDietaryPotassium"):
|
|
507
|
-
case hashString("HKQuantityTypeIdentifierDietaryCaffeine"):
|
|
508
482
|
case hashString("HKQuantityTypeIdentifierDietaryWater"):
|
|
509
|
-
case hashString("
|
|
510
|
-
case hashString("HKQuantityTypeIdentifierWalkingSpeed"):
|
|
511
|
-
case hashString("HKQuantityTypeIdentifierWalkingStepLength"):
|
|
512
|
-
case hashString("HKQuantityTypeIdentifierWalkingAsymmetryPercentage"):
|
|
513
|
-
case hashString("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"):
|
|
514
|
-
case hashString("HKQuantityTypeIdentifierStairAscentSpeed"):
|
|
515
|
-
case hashString("HKQuantityTypeIdentifierStairDescentSpeed"):
|
|
516
|
-
case hashString("HKQuantityTypeIdentifierUVExposure"):
|
|
517
|
-
case hashString("HKQuantityTypeIdentifierAppleMoveTime"):
|
|
518
|
-
case hashString("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"):
|
|
519
|
-
case hashString("HKQuantityTypeIdentifierUnderwaterDepth"):
|
|
520
|
-
case hashString("HKQuantityTypeIdentifierWaterTemperature"):
|
|
521
|
-
case hashString("HKQuantityTypeIdentifierAppleSleepingWristTemperature"):
|
|
522
|
-
case hashString("HKQuantityTypeIdentifierAppleSleepingBreathingDisturbances"):
|
|
523
|
-
case hashString("HKQuantityTypeIdentifierTimeInDaylight"):
|
|
524
|
-
case hashString("HKQuantityTypeIdentifierPhysicalEffort"):
|
|
525
|
-
case hashString("HKQuantityTypeIdentifierCyclingSpeed"):
|
|
526
|
-
case hashString("HKQuantityTypeIdentifierCyclingPower"):
|
|
527
|
-
case hashString("HKQuantityTypeIdentifierCyclingFunctionalThresholdPower"):
|
|
528
|
-
case hashString("HKQuantityTypeIdentifierCyclingCadence"):
|
|
529
|
-
case hashString("HKQuantityTypeIdentifierEnvironmentalSoundReduction"):
|
|
530
|
-
case hashString("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"):
|
|
531
|
-
case hashString("HKQuantityTypeIdentifierRunningGroundContactTime"):
|
|
532
|
-
case hashString("HKQuantityTypeIdentifierRunningStrideLength"):
|
|
533
|
-
case hashString("HKQuantityTypeIdentifierRunningPower"):
|
|
534
|
-
case hashString("HKQuantityTypeIdentifierRunningVerticalOscillation"):
|
|
535
|
-
case hashString("HKQuantityTypeIdentifierRunningSpeed"):
|
|
536
|
-
case hashString("HKQuantityTypeIdentifierCrossCountrySkiingSpeed"):
|
|
483
|
+
case hashString("HKQuantityTypeIdentifierDietaryZinc"):
|
|
537
484
|
case hashString("HKQuantityTypeIdentifierDistanceCrossCountrySkiing"):
|
|
485
|
+
case hashString("HKQuantityTypeIdentifierDistanceCycling"):
|
|
486
|
+
case hashString("HKQuantityTypeIdentifierDistanceDownhillSnowSports"):
|
|
538
487
|
case hashString("HKQuantityTypeIdentifierDistancePaddleSports"):
|
|
539
488
|
case hashString("HKQuantityTypeIdentifierDistanceRowing"):
|
|
540
489
|
case hashString("HKQuantityTypeIdentifierDistanceSkatingSports"):
|
|
490
|
+
case hashString("HKQuantityTypeIdentifierDistanceSwimming"):
|
|
491
|
+
case hashString("HKQuantityTypeIdentifierDistanceWalkingRunning"):
|
|
492
|
+
case hashString("HKQuantityTypeIdentifierDistanceWheelchair"):
|
|
493
|
+
case hashString("HKQuantityTypeIdentifierElectrodermalActivity"):
|
|
494
|
+
case hashString("HKQuantityTypeIdentifierEnvironmentalAudioExposure"):
|
|
495
|
+
case hashString("HKQuantityTypeIdentifierEnvironmentalSoundReduction"):
|
|
541
496
|
case hashString("HKQuantityTypeIdentifierEstimatedWorkoutEffortScore"):
|
|
497
|
+
case hashString("HKQuantityTypeIdentifierFlightsClimbed"):
|
|
498
|
+
case hashString("HKQuantityTypeIdentifierForcedExpiratoryVolume1"):
|
|
499
|
+
case hashString("HKQuantityTypeIdentifierForcedVitalCapacity"):
|
|
500
|
+
case hashString("HKQuantityTypeIdentifierHeadphoneAudioExposure"):
|
|
501
|
+
case hashString("HKQuantityTypeIdentifierHeartRate"):
|
|
502
|
+
case hashString("HKQuantityTypeIdentifierHeartRateRecoveryOneMinute"):
|
|
503
|
+
case hashString("HKQuantityTypeIdentifierHeartRateVariabilitySDNN"):
|
|
504
|
+
case hashString("HKQuantityTypeIdentifierHeight"):
|
|
505
|
+
case hashString("HKQuantityTypeIdentifierInhalerUsage"):
|
|
506
|
+
case hashString("HKQuantityTypeIdentifierInsulinDelivery"):
|
|
507
|
+
case hashString("HKQuantityTypeIdentifierLeanBodyMass"):
|
|
508
|
+
case hashString("HKQuantityTypeIdentifierNikeFuel"):
|
|
509
|
+
case hashString("HKQuantityTypeIdentifierNumberOfAlcoholicBeverages"):
|
|
510
|
+
case hashString("HKQuantityTypeIdentifierNumberOfTimesFallen"):
|
|
511
|
+
case hashString("HKQuantityTypeIdentifierOxygenSaturation"):
|
|
542
512
|
case hashString("HKQuantityTypeIdentifierPaddleSportsSpeed"):
|
|
513
|
+
case hashString("HKQuantityTypeIdentifierPeakExpiratoryFlowRate"):
|
|
514
|
+
case hashString("HKQuantityTypeIdentifierPeripheralPerfusionIndex"):
|
|
515
|
+
case hashString("HKQuantityTypeIdentifierPhysicalEffort"):
|
|
516
|
+
case hashString("HKQuantityTypeIdentifierPushCount"):
|
|
517
|
+
case hashString("HKQuantityTypeIdentifierRespiratoryRate"):
|
|
518
|
+
case hashString("HKQuantityTypeIdentifierRestingHeartRate"):
|
|
543
519
|
case hashString("HKQuantityTypeIdentifierRowingSpeed"):
|
|
520
|
+
case hashString("HKQuantityTypeIdentifierRunningGroundContactTime"):
|
|
521
|
+
case hashString("HKQuantityTypeIdentifierRunningPower"):
|
|
522
|
+
case hashString("HKQuantityTypeIdentifierRunningSpeed"):
|
|
523
|
+
case hashString("HKQuantityTypeIdentifierRunningStrideLength"):
|
|
524
|
+
case hashString("HKQuantityTypeIdentifierRunningVerticalOscillation"):
|
|
525
|
+
case hashString("HKQuantityTypeIdentifierSixMinuteWalkTestDistance"):
|
|
526
|
+
case hashString("HKQuantityTypeIdentifierStairAscentSpeed"):
|
|
527
|
+
case hashString("HKQuantityTypeIdentifierStairDescentSpeed"):
|
|
528
|
+
case hashString("HKQuantityTypeIdentifierStepCount"):
|
|
529
|
+
case hashString("HKQuantityTypeIdentifierSwimmingStrokeCount"):
|
|
530
|
+
case hashString("HKQuantityTypeIdentifierTimeInDaylight"):
|
|
531
|
+
case hashString("HKQuantityTypeIdentifierUnderwaterDepth"):
|
|
532
|
+
case hashString("HKQuantityTypeIdentifierUVExposure"):
|
|
533
|
+
case hashString("HKQuantityTypeIdentifierVO2Max"):
|
|
534
|
+
case hashString("HKQuantityTypeIdentifierWaistCircumference"):
|
|
535
|
+
case hashString("HKQuantityTypeIdentifierWalkingAsymmetryPercentage"):
|
|
536
|
+
case hashString("HKQuantityTypeIdentifierWalkingDoubleSupportPercentage"):
|
|
537
|
+
case hashString("HKQuantityTypeIdentifierWalkingSpeed"):
|
|
538
|
+
case hashString("HKQuantityTypeIdentifierWalkingStepLength"):
|
|
539
|
+
case hashString("HKQuantityTypeIdentifierWaterTemperature"):
|
|
544
540
|
case hashString("HKQuantityTypeIdentifierWorkoutEffortScore"):
|
|
545
541
|
return true;
|
|
546
542
|
default:
|