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