@kingstinct/react-native-healthkit 14.0.2 → 15.1.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/README.md +32 -2
- package/app.plugin.js +49 -94
- package/app.plugin.ts +6 -40
- package/ios/BackgroundDeliveryManager.swift +95 -7
- package/ios/BackgroundLaunchHook.mm +41 -0
- package/ios/Constants.swift +24 -0
- package/ios/CoreModule.swift +64 -18
- package/ios/ExceptionCatcher.h +1 -0
- package/ios/ExceptionCatcher.mm +15 -0
- package/ios/Helpers.swift +29 -1
- package/ios/MemoryEstimation.swift +83 -0
- package/ios/QuantityTypeModule.swift +34 -26
- package/ios/Serializers.swift +18 -3
- package/ios/SourceProxy.swift +14 -5
- package/ios/WorkoutProxy.swift +41 -12
- package/lib/commonjs/generated/healthkit.generated.js +13 -1
- package/lib/commonjs/healthkit.ios.js +3 -1
- package/lib/commonjs/healthkit.js +4 -2
- package/lib/module/generated/healthkit.generated.js +12 -0
- package/lib/module/healthkit.ios.js +2 -0
- package/lib/module/healthkit.js +2 -0
- package/lib/typescript/generated/healthkit.generated.d.ts +16 -3
- package/lib/typescript/healthkit.d.ts +1 -0
- package/lib/typescript/healthkit.ios.d.ts +2 -0
- package/lib/typescript/specs/CoreModule.nitro.d.ts +6 -4
- package/lib/typescript/specs/SourceProxy.nitro.d.ts +1 -2
- package/lib/typescript/types/QuantityType.d.ts +3 -3
- package/lib/typescript/types/Source.d.ts +2 -2
- package/lib/typescript/types/Workouts.d.ts +1 -0
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.cpp +16 -16
- package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +23 -12
- package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +7 -4
- package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +7 -4
- package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.hpp +7 -4
- package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +7 -4
- package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.hpp +7 -4
- package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +7 -4
- package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +7 -4
- package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +3 -4
- package/nitrogen/generated/ios/c++/HybridWorkoutsModuleSpecSwift.hpp +6 -3
- package/nitrogen/generated/ios/swift/CategoryTypeIdentifier.swift +8 -0
- package/nitrogen/generated/ios/swift/CategoryTypeIdentifierWriteable.swift +8 -0
- package/nitrogen/generated/ios/swift/ObjectTypeIdentifier.swift +8 -0
- package/nitrogen/generated/ios/swift/QueryStatisticsResponse.swift +6 -13
- package/nitrogen/generated/ios/swift/QueryStatisticsResponseFromSingleSource.swift +4 -11
- package/nitrogen/generated/ios/swift/SampleTypeIdentifier.swift +8 -0
- package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +8 -0
- package/nitrogen/generated/ios/swift/SourceRevision.swift +4 -11
- package/nitrogen/generated/ios/swift/WorkoutActivity.swift +7 -2
- package/nitrogen/generated/ios/swift/WorkoutActivityType.swift +8 -0
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +67 -59
- package/nitrogen/generated/shared/c++/CategoryTypeIdentifierWriteable.hpp +67 -59
- package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +202 -194
- package/nitrogen/generated/shared/c++/QueryStatisticsResponse.hpp +8 -9
- package/nitrogen/generated/shared/c++/QueryStatisticsResponseFromSingleSource.hpp +8 -9
- package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +195 -187
- package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +189 -181
- package/nitrogen/generated/shared/c++/SourceRevision.hpp +8 -9
- package/nitrogen/generated/shared/c++/WorkoutActivity.hpp +9 -3
- package/nitrogen/generated/shared/c++/WorkoutActivityType.hpp +4 -0
- package/package.json +5 -3
- package/src/generated/healthkit-schema.json +50 -5
- package/src/generated/healthkit.generated.ts +18 -2
- package/src/healthkit.ios.ts +3 -0
- package/src/healthkit.ts +5 -0
- package/src/specs/CoreModule.nitro.ts +6 -4
- package/src/specs/SourceProxy.nitro.ts +1 -1
- package/src/type-tests/generated-typing.ts +36 -0
- package/src/types/QuantityType.ts +3 -3
- package/src/types/Source.ts +2 -2
- package/src/types/Workouts.ts +1 -0
|
@@ -35,65 +35,67 @@ namespace margelo::nitro::healthkit {
|
|
|
35
35
|
HKCATEGORYTYPEIDENTIFIERAPPLEWALKINGSTEADINESSEVENT SWIFT_NAME(hkcategorytypeidentifierapplewalkingsteadinessevent) = 3,
|
|
36
36
|
HKCATEGORYTYPEIDENTIFIERAUDIOEXPOSUREEVENT SWIFT_NAME(hkcategorytypeidentifieraudioexposureevent) = 4,
|
|
37
37
|
HKCATEGORYTYPEIDENTIFIERBLADDERINCONTINENCE SWIFT_NAME(hkcategorytypeidentifierbladderincontinence) = 5,
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
38
|
+
HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERMENOPAUSE SWIFT_NAME(hkcategorytypeidentifierbleedingaftermenopause) = 6,
|
|
39
|
+
HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY SWIFT_NAME(hkcategorytypeidentifierbleedingafterpregnancy) = 7,
|
|
40
|
+
HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY SWIFT_NAME(hkcategorytypeidentifierbleedingduringpregnancy) = 8,
|
|
41
|
+
HKCATEGORYTYPEIDENTIFIERBLOATING SWIFT_NAME(hkcategorytypeidentifierbloating) = 9,
|
|
42
|
+
HKCATEGORYTYPEIDENTIFIERBREASTPAIN SWIFT_NAME(hkcategorytypeidentifierbreastpain) = 10,
|
|
43
|
+
HKCATEGORYTYPEIDENTIFIERCERVICALMUCUSQUALITY SWIFT_NAME(hkcategorytypeidentifiercervicalmucusquality) = 11,
|
|
44
|
+
HKCATEGORYTYPEIDENTIFIERCHESTTIGHTNESSORPAIN SWIFT_NAME(hkcategorytypeidentifierchesttightnessorpain) = 12,
|
|
45
|
+
HKCATEGORYTYPEIDENTIFIERCHILLS SWIFT_NAME(hkcategorytypeidentifierchills) = 13,
|
|
46
|
+
HKCATEGORYTYPEIDENTIFIERCONSTIPATION SWIFT_NAME(hkcategorytypeidentifierconstipation) = 14,
|
|
47
|
+
HKCATEGORYTYPEIDENTIFIERCONTRACEPTIVE SWIFT_NAME(hkcategorytypeidentifiercontraceptive) = 15,
|
|
48
|
+
HKCATEGORYTYPEIDENTIFIERCOUGHING SWIFT_NAME(hkcategorytypeidentifiercoughing) = 16,
|
|
49
|
+
HKCATEGORYTYPEIDENTIFIERDIARRHEA SWIFT_NAME(hkcategorytypeidentifierdiarrhea) = 17,
|
|
50
|
+
HKCATEGORYTYPEIDENTIFIERDIZZINESS SWIFT_NAME(hkcategorytypeidentifierdizziness) = 18,
|
|
51
|
+
HKCATEGORYTYPEIDENTIFIERDRYSKIN SWIFT_NAME(hkcategorytypeidentifierdryskin) = 19,
|
|
52
|
+
HKCATEGORYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSUREEVENT SWIFT_NAME(hkcategorytypeidentifierenvironmentalaudioexposureevent) = 20,
|
|
53
|
+
HKCATEGORYTYPEIDENTIFIERFAINTING SWIFT_NAME(hkcategorytypeidentifierfainting) = 21,
|
|
54
|
+
HKCATEGORYTYPEIDENTIFIERFATIGUE SWIFT_NAME(hkcategorytypeidentifierfatigue) = 22,
|
|
55
|
+
HKCATEGORYTYPEIDENTIFIERFEVER SWIFT_NAME(hkcategorytypeidentifierfever) = 23,
|
|
56
|
+
HKCATEGORYTYPEIDENTIFIERGENERALIZEDBODYACHE SWIFT_NAME(hkcategorytypeidentifiergeneralizedbodyache) = 24,
|
|
57
|
+
HKCATEGORYTYPEIDENTIFIERHAIRLOSS SWIFT_NAME(hkcategorytypeidentifierhairloss) = 25,
|
|
58
|
+
HKCATEGORYTYPEIDENTIFIERHANDWASHINGEVENT SWIFT_NAME(hkcategorytypeidentifierhandwashingevent) = 26,
|
|
59
|
+
HKCATEGORYTYPEIDENTIFIERHEADACHE SWIFT_NAME(hkcategorytypeidentifierheadache) = 27,
|
|
60
|
+
HKCATEGORYTYPEIDENTIFIERHEARTBURN SWIFT_NAME(hkcategorytypeidentifierheartburn) = 28,
|
|
61
|
+
HKCATEGORYTYPEIDENTIFIERHOTFLASHES SWIFT_NAME(hkcategorytypeidentifierhotflashes) = 29,
|
|
62
|
+
HKCATEGORYTYPEIDENTIFIERINFREQUENTMENSTRUALCYCLES SWIFT_NAME(hkcategorytypeidentifierinfrequentmenstrualcycles) = 30,
|
|
63
|
+
HKCATEGORYTYPEIDENTIFIERINTERMENSTRUALBLEEDING SWIFT_NAME(hkcategorytypeidentifierintermenstrualbleeding) = 31,
|
|
64
|
+
HKCATEGORYTYPEIDENTIFIERIRREGULARHEARTRHYTHMEVENT SWIFT_NAME(hkcategorytypeidentifierirregularheartrhythmevent) = 32,
|
|
65
|
+
HKCATEGORYTYPEIDENTIFIERIRREGULARMENSTRUALCYCLES SWIFT_NAME(hkcategorytypeidentifierirregularmenstrualcycles) = 33,
|
|
66
|
+
HKCATEGORYTYPEIDENTIFIERLACTATION SWIFT_NAME(hkcategorytypeidentifierlactation) = 34,
|
|
67
|
+
HKCATEGORYTYPEIDENTIFIERLOSSOFSMELL SWIFT_NAME(hkcategorytypeidentifierlossofsmell) = 35,
|
|
68
|
+
HKCATEGORYTYPEIDENTIFIERLOSSOFTASTE SWIFT_NAME(hkcategorytypeidentifierlossoftaste) = 36,
|
|
69
|
+
HKCATEGORYTYPEIDENTIFIERLOWCARDIOFITNESSEVENT SWIFT_NAME(hkcategorytypeidentifierlowcardiofitnessevent) = 37,
|
|
70
|
+
HKCATEGORYTYPEIDENTIFIERLOWERBACKPAIN SWIFT_NAME(hkcategorytypeidentifierlowerbackpain) = 38,
|
|
71
|
+
HKCATEGORYTYPEIDENTIFIERMEMORYLAPSE SWIFT_NAME(hkcategorytypeidentifiermemorylapse) = 39,
|
|
72
|
+
HKCATEGORYTYPEIDENTIFIERMENOPAUSALSTATE SWIFT_NAME(hkcategorytypeidentifiermenopausalstate) = 40,
|
|
73
|
+
HKCATEGORYTYPEIDENTIFIERMENSTRUALFLOW SWIFT_NAME(hkcategorytypeidentifiermenstrualflow) = 41,
|
|
74
|
+
HKCATEGORYTYPEIDENTIFIERMINDFULSESSION SWIFT_NAME(hkcategorytypeidentifiermindfulsession) = 42,
|
|
75
|
+
HKCATEGORYTYPEIDENTIFIERMOODCHANGES SWIFT_NAME(hkcategorytypeidentifiermoodchanges) = 43,
|
|
76
|
+
HKCATEGORYTYPEIDENTIFIERNAUSEA SWIFT_NAME(hkcategorytypeidentifiernausea) = 44,
|
|
77
|
+
HKCATEGORYTYPEIDENTIFIERNIGHTSWEATS SWIFT_NAME(hkcategorytypeidentifiernightsweats) = 45,
|
|
78
|
+
HKCATEGORYTYPEIDENTIFIEROVULATIONTESTRESULT SWIFT_NAME(hkcategorytypeidentifierovulationtestresult) = 46,
|
|
79
|
+
HKCATEGORYTYPEIDENTIFIERPELVICPAIN SWIFT_NAME(hkcategorytypeidentifierpelvicpain) = 47,
|
|
80
|
+
HKCATEGORYTYPEIDENTIFIERPERSISTENTINTERMENSTRUALBLEEDING SWIFT_NAME(hkcategorytypeidentifierpersistentintermenstrualbleeding) = 48,
|
|
81
|
+
HKCATEGORYTYPEIDENTIFIERPREGNANCY SWIFT_NAME(hkcategorytypeidentifierpregnancy) = 49,
|
|
82
|
+
HKCATEGORYTYPEIDENTIFIERPREGNANCYTESTRESULT SWIFT_NAME(hkcategorytypeidentifierpregnancytestresult) = 50,
|
|
83
|
+
HKCATEGORYTYPEIDENTIFIERPROGESTERONETESTRESULT SWIFT_NAME(hkcategorytypeidentifierprogesteronetestresult) = 51,
|
|
84
|
+
HKCATEGORYTYPEIDENTIFIERPROLONGEDMENSTRUALPERIODS SWIFT_NAME(hkcategorytypeidentifierprolongedmenstrualperiods) = 52,
|
|
85
|
+
HKCATEGORYTYPEIDENTIFIERRAPIDPOUNDINGORFLUTTERINGHEARTBEAT SWIFT_NAME(hkcategorytypeidentifierrapidpoundingorflutteringheartbeat) = 53,
|
|
86
|
+
HKCATEGORYTYPEIDENTIFIERRUNNYNOSE SWIFT_NAME(hkcategorytypeidentifierrunnynose) = 54,
|
|
87
|
+
HKCATEGORYTYPEIDENTIFIERSEXUALACTIVITY SWIFT_NAME(hkcategorytypeidentifiersexualactivity) = 55,
|
|
88
|
+
HKCATEGORYTYPEIDENTIFIERSHORTNESSOFBREATH SWIFT_NAME(hkcategorytypeidentifiershortnessofbreath) = 56,
|
|
89
|
+
HKCATEGORYTYPEIDENTIFIERSINUSCONGESTION SWIFT_NAME(hkcategorytypeidentifiersinuscongestion) = 57,
|
|
90
|
+
HKCATEGORYTYPEIDENTIFIERSKIPPEDHEARTBEAT SWIFT_NAME(hkcategorytypeidentifierskippedheartbeat) = 58,
|
|
91
|
+
HKCATEGORYTYPEIDENTIFIERSLEEPANALYSIS SWIFT_NAME(hkcategorytypeidentifiersleepanalysis) = 59,
|
|
92
|
+
HKCATEGORYTYPEIDENTIFIERSLEEPAPNEAEVENT SWIFT_NAME(hkcategorytypeidentifiersleepapneaevent) = 60,
|
|
93
|
+
HKCATEGORYTYPEIDENTIFIERSLEEPCHANGES SWIFT_NAME(hkcategorytypeidentifiersleepchanges) = 61,
|
|
94
|
+
HKCATEGORYTYPEIDENTIFIERSORETHROAT SWIFT_NAME(hkcategorytypeidentifiersorethroat) = 62,
|
|
95
|
+
HKCATEGORYTYPEIDENTIFIERTOOTHBRUSHINGEVENT SWIFT_NAME(hkcategorytypeidentifiertoothbrushingevent) = 63,
|
|
96
|
+
HKCATEGORYTYPEIDENTIFIERVAGINALDRYNESS SWIFT_NAME(hkcategorytypeidentifiervaginaldryness) = 64,
|
|
97
|
+
HKCATEGORYTYPEIDENTIFIERVOMITING SWIFT_NAME(hkcategorytypeidentifiervomiting) = 65,
|
|
98
|
+
HKCATEGORYTYPEIDENTIFIERWHEEZING SWIFT_NAME(hkcategorytypeidentifierwheezing) = 66,
|
|
97
99
|
} CLOSED_ENUM;
|
|
98
100
|
|
|
99
101
|
} // namespace margelo::nitro::healthkit
|
|
@@ -112,6 +114,7 @@ namespace margelo::nitro {
|
|
|
112
114
|
case hashString("HKCategoryTypeIdentifierAppleWalkingSteadinessEvent"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERAPPLEWALKINGSTEADINESSEVENT;
|
|
113
115
|
case hashString("HKCategoryTypeIdentifierAudioExposureEvent"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERAUDIOEXPOSUREEVENT;
|
|
114
116
|
case hashString("HKCategoryTypeIdentifierBladderIncontinence"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERBLADDERINCONTINENCE;
|
|
117
|
+
case hashString("HKCategoryTypeIdentifierBleedingAfterMenopause"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERMENOPAUSE;
|
|
115
118
|
case hashString("HKCategoryTypeIdentifierBleedingAfterPregnancy"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY;
|
|
116
119
|
case hashString("HKCategoryTypeIdentifierBleedingDuringPregnancy"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY;
|
|
117
120
|
case hashString("HKCategoryTypeIdentifierBloating"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERBLOATING;
|
|
@@ -145,6 +148,7 @@ namespace margelo::nitro {
|
|
|
145
148
|
case hashString("HKCategoryTypeIdentifierLowCardioFitnessEvent"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERLOWCARDIOFITNESSEVENT;
|
|
146
149
|
case hashString("HKCategoryTypeIdentifierLowerBackPain"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERLOWERBACKPAIN;
|
|
147
150
|
case hashString("HKCategoryTypeIdentifierMemoryLapse"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERMEMORYLAPSE;
|
|
151
|
+
case hashString("HKCategoryTypeIdentifierMenopausalState"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERMENOPAUSALSTATE;
|
|
148
152
|
case hashString("HKCategoryTypeIdentifierMenstrualFlow"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERMENSTRUALFLOW;
|
|
149
153
|
case hashString("HKCategoryTypeIdentifierMindfulSession"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERMINDFULSESSION;
|
|
150
154
|
case hashString("HKCategoryTypeIdentifierMoodChanges"): return margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERMOODCHANGES;
|
|
@@ -183,6 +187,7 @@ namespace margelo::nitro {
|
|
|
183
187
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERAPPLEWALKINGSTEADINESSEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierAppleWalkingSteadinessEvent");
|
|
184
188
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERAUDIOEXPOSUREEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierAudioExposureEvent");
|
|
185
189
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERBLADDERINCONTINENCE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBladderIncontinence");
|
|
190
|
+
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERMENOPAUSE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBleedingAfterMenopause");
|
|
186
191
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBleedingAfterPregnancy");
|
|
187
192
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBleedingDuringPregnancy");
|
|
188
193
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERBLOATING: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBloating");
|
|
@@ -216,6 +221,7 @@ namespace margelo::nitro {
|
|
|
216
221
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERLOWCARDIOFITNESSEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierLowCardioFitnessEvent");
|
|
217
222
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERLOWERBACKPAIN: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierLowerBackPain");
|
|
218
223
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERMEMORYLAPSE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMemoryLapse");
|
|
224
|
+
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERMENOPAUSALSTATE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMenopausalState");
|
|
219
225
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERMENSTRUALFLOW: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMenstrualFlow");
|
|
220
226
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERMINDFULSESSION: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMindfulSession");
|
|
221
227
|
case margelo::nitro::healthkit::CategoryTypeIdentifierWriteable::HKCATEGORYTYPEIDENTIFIERMOODCHANGES: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMoodChanges");
|
|
@@ -259,6 +265,7 @@ namespace margelo::nitro {
|
|
|
259
265
|
case hashString("HKCategoryTypeIdentifierAppleWalkingSteadinessEvent"):
|
|
260
266
|
case hashString("HKCategoryTypeIdentifierAudioExposureEvent"):
|
|
261
267
|
case hashString("HKCategoryTypeIdentifierBladderIncontinence"):
|
|
268
|
+
case hashString("HKCategoryTypeIdentifierBleedingAfterMenopause"):
|
|
262
269
|
case hashString("HKCategoryTypeIdentifierBleedingAfterPregnancy"):
|
|
263
270
|
case hashString("HKCategoryTypeIdentifierBleedingDuringPregnancy"):
|
|
264
271
|
case hashString("HKCategoryTypeIdentifierBloating"):
|
|
@@ -292,6 +299,7 @@ namespace margelo::nitro {
|
|
|
292
299
|
case hashString("HKCategoryTypeIdentifierLowCardioFitnessEvent"):
|
|
293
300
|
case hashString("HKCategoryTypeIdentifierLowerBackPain"):
|
|
294
301
|
case hashString("HKCategoryTypeIdentifierMemoryLapse"):
|
|
302
|
+
case hashString("HKCategoryTypeIdentifierMenopausalState"):
|
|
295
303
|
case hashString("HKCategoryTypeIdentifierMenstrualFlow"):
|
|
296
304
|
case hashString("HKCategoryTypeIdentifierMindfulSession"):
|
|
297
305
|
case hashString("HKCategoryTypeIdentifierMoodChanges"):
|