@kingstinct/react-native-healthkit 14.1.0 → 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 -56
- package/ios/BackgroundDeliveryManager.swift +13 -6
- package/ios/BackgroundLaunchHook.mm +41 -0
- package/ios/Constants.swift +24 -0
- package/ios/CoreModule.swift +5 -1
- 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 +28 -11
- package/lib/commonjs/generated/healthkit.generated.js +13 -3
- package/lib/commonjs/healthkit.ios.js +3 -1
- package/lib/commonjs/healthkit.js +4 -2
- package/lib/module/generated/healthkit.generated.js +12 -2
- package/lib/module/healthkit.ios.js +2 -0
- package/lib/module/healthkit.js +2 -0
- package/lib/typescript/generated/healthkit.generated.d.ts +17 -7
- 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/Units.d.ts +1 -1
- 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 -4
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifier.swift +0 -4
- package/nitrogen/generated/ios/swift/QuantityTypeIdentifierWriteable.swift +0 -4
- 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 -4
- package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +8 -4
- package/nitrogen/generated/ios/swift/SourceRevision.swift +4 -11
- 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 -198
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +107 -111
- package/nitrogen/generated/shared/c++/QuantityTypeIdentifierWriteable.hpp +107 -111
- 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 -191
- package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +189 -185
- package/nitrogen/generated/shared/c++/SourceRevision.hpp +8 -9
- package/nitrogen/generated/shared/c++/WorkoutActivityType.hpp +4 -0
- package/package.json +5 -3
- package/src/generated/healthkit-schema.json +45 -8
- package/src/generated/healthkit.generated.ts +18 -6
- 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 +30 -8
- package/src/types/QuantityType.ts +3 -3
- package/src/types/Source.ts +2 -2
- package/src/types/Units.ts +1 -1
|
@@ -33,8 +33,6 @@ public extension QuantityTypeIdentifierWriteable {
|
|
|
33
33
|
self = .hkquantitytypeidentifierbloodalcoholcontent
|
|
34
34
|
case "HKQuantityTypeIdentifierBloodGlucose":
|
|
35
35
|
self = .hkquantitytypeidentifierbloodglucose
|
|
36
|
-
case "HKQuantityTypeIdentifierBloodKetones":
|
|
37
|
-
self = .hkquantitytypeidentifierbloodketones
|
|
38
36
|
case "HKQuantityTypeIdentifierBloodPressureDiastolic":
|
|
39
37
|
self = .hkquantitytypeidentifierbloodpressurediastolic
|
|
40
38
|
case "HKQuantityTypeIdentifierBloodPressureSystolic":
|
|
@@ -275,8 +273,6 @@ public extension QuantityTypeIdentifierWriteable {
|
|
|
275
273
|
return "HKQuantityTypeIdentifierBloodAlcoholContent"
|
|
276
274
|
case .hkquantitytypeidentifierbloodglucose:
|
|
277
275
|
return "HKQuantityTypeIdentifierBloodGlucose"
|
|
278
|
-
case .hkquantitytypeidentifierbloodketones:
|
|
279
|
-
return "HKQuantityTypeIdentifierBloodKetones"
|
|
280
276
|
case .hkquantitytypeidentifierbloodpressurediastolic:
|
|
281
277
|
return "HKQuantityTypeIdentifierBloodPressureDiastolic"
|
|
282
278
|
case .hkquantitytypeidentifierbloodpressuresystolic:
|
|
@@ -18,7 +18,7 @@ public extension QueryStatisticsResponse {
|
|
|
18
18
|
/**
|
|
19
19
|
* Create a new instance of `QueryStatisticsResponse`.
|
|
20
20
|
*/
|
|
21
|
-
init(averageQuantity: Quantity?, maximumQuantity: Quantity?, minimumQuantity: Quantity?, sumQuantity: Quantity?, mostRecentQuantity: Quantity?, mostRecentQuantityDateInterval: QuantityDateInterval?, duration: Quantity?, startDate: Date?, endDate: Date?, sources: [
|
|
21
|
+
init(averageQuantity: Quantity?, maximumQuantity: Quantity?, minimumQuantity: Quantity?, sumQuantity: Quantity?, mostRecentQuantity: Quantity?, mostRecentQuantityDateInterval: QuantityDateInterval?, duration: Quantity?, startDate: Date?, endDate: Date?, sources: [Source]) {
|
|
22
22
|
self.init({ () -> bridge.std__optional_Quantity_ in
|
|
23
23
|
if let __unwrappedValue = averageQuantity {
|
|
24
24
|
return bridge.create_std__optional_Quantity_(__unwrappedValue)
|
|
@@ -73,13 +73,10 @@ public extension QueryStatisticsResponse {
|
|
|
73
73
|
} else {
|
|
74
74
|
return .init()
|
|
75
75
|
}
|
|
76
|
-
}(), { () -> bridge.
|
|
77
|
-
var __vector = bridge.
|
|
76
|
+
}(), { () -> bridge.std__vector_Source_ in
|
|
77
|
+
var __vector = bridge.create_std__vector_Source_(sources.count)
|
|
78
78
|
for __item in sources {
|
|
79
|
-
__vector.push_back(
|
|
80
|
-
let __cxxWrapped = __item.getCxxWrapper()
|
|
81
|
-
return __cxxWrapped.getCxxPart()
|
|
82
|
-
}())
|
|
79
|
+
__vector.push_back(__item)
|
|
83
80
|
}
|
|
84
81
|
return __vector
|
|
85
82
|
}())
|
|
@@ -145,11 +142,7 @@ public extension QueryStatisticsResponse {
|
|
|
145
142
|
}
|
|
146
143
|
|
|
147
144
|
@inline(__always)
|
|
148
|
-
var sources: [
|
|
149
|
-
return self.__sources.map({ __item in
|
|
150
|
-
let __unsafePointer = bridge.get_std__shared_ptr_HybridSourceProxySpec_(__item)
|
|
151
|
-
let __instance = HybridSourceProxySpec_cxx.fromUnsafe(__unsafePointer)
|
|
152
|
-
return __instance.getHybridSourceProxySpec()
|
|
153
|
-
}() })
|
|
145
|
+
var sources: [Source] {
|
|
146
|
+
return self.__sources.map({ __item in __item })
|
|
154
147
|
}
|
|
155
148
|
}
|
|
@@ -18,11 +18,8 @@ public extension QueryStatisticsResponseFromSingleSource {
|
|
|
18
18
|
/**
|
|
19
19
|
* Create a new instance of `QueryStatisticsResponseFromSingleSource`.
|
|
20
20
|
*/
|
|
21
|
-
init(source:
|
|
22
|
-
self.init({ () -> bridge.
|
|
23
|
-
let __cxxWrapped = source.getCxxWrapper()
|
|
24
|
-
return __cxxWrapped.getCxxPart()
|
|
25
|
-
}(), { () -> bridge.std__optional_std__chrono__system_clock__time_point_ in
|
|
21
|
+
init(source: Source, startDate: Date?, endDate: Date?, duration: Quantity?, averageQuantity: Quantity?, maximumQuantity: Quantity?, minimumQuantity: Quantity?, sumQuantity: Quantity?, mostRecentQuantity: Quantity?, mostRecentQuantityDateInterval: QuantityDateInterval?) {
|
|
22
|
+
self.init(source, { () -> bridge.std__optional_std__chrono__system_clock__time_point_ in
|
|
26
23
|
if let __unwrappedValue = startDate {
|
|
27
24
|
return bridge.create_std__optional_std__chrono__system_clock__time_point_(__unwrappedValue.toCpp())
|
|
28
25
|
} else {
|
|
@@ -80,12 +77,8 @@ public extension QueryStatisticsResponseFromSingleSource {
|
|
|
80
77
|
}
|
|
81
78
|
|
|
82
79
|
@inline(__always)
|
|
83
|
-
var source:
|
|
84
|
-
return
|
|
85
|
-
let __unsafePointer = bridge.get_std__shared_ptr_HybridSourceProxySpec_(self.__source)
|
|
86
|
-
let __instance = HybridSourceProxySpec_cxx.fromUnsafe(__unsafePointer)
|
|
87
|
-
return __instance.getHybridSourceProxySpec()
|
|
88
|
-
}()
|
|
80
|
+
var source: Source {
|
|
81
|
+
return self.__source
|
|
89
82
|
}
|
|
90
83
|
|
|
91
84
|
@inline(__always)
|
|
@@ -39,6 +39,8 @@ public extension SampleTypeIdentifier {
|
|
|
39
39
|
self = .hkcategorytypeidentifieraudioexposureevent
|
|
40
40
|
case "HKCategoryTypeIdentifierBladderIncontinence":
|
|
41
41
|
self = .hkcategorytypeidentifierbladderincontinence
|
|
42
|
+
case "HKCategoryTypeIdentifierBleedingAfterMenopause":
|
|
43
|
+
self = .hkcategorytypeidentifierbleedingaftermenopause
|
|
42
44
|
case "HKCategoryTypeIdentifierBleedingAfterPregnancy":
|
|
43
45
|
self = .hkcategorytypeidentifierbleedingafterpregnancy
|
|
44
46
|
case "HKCategoryTypeIdentifierBleedingDuringPregnancy":
|
|
@@ -105,6 +107,8 @@ public extension SampleTypeIdentifier {
|
|
|
105
107
|
self = .hkcategorytypeidentifierlowerbackpain
|
|
106
108
|
case "HKCategoryTypeIdentifierMemoryLapse":
|
|
107
109
|
self = .hkcategorytypeidentifiermemorylapse
|
|
110
|
+
case "HKCategoryTypeIdentifierMenopausalState":
|
|
111
|
+
self = .hkcategorytypeidentifiermenopausalstate
|
|
108
112
|
case "HKCategoryTypeIdentifierMenstrualFlow":
|
|
109
113
|
self = .hkcategorytypeidentifiermenstrualflow
|
|
110
114
|
case "HKCategoryTypeIdentifierMindfulSession":
|
|
@@ -187,8 +191,6 @@ public extension SampleTypeIdentifier {
|
|
|
187
191
|
self = .hkquantitytypeidentifierbloodalcoholcontent
|
|
188
192
|
case "HKQuantityTypeIdentifierBloodGlucose":
|
|
189
193
|
self = .hkquantitytypeidentifierbloodglucose
|
|
190
|
-
case "HKQuantityTypeIdentifierBloodKetones":
|
|
191
|
-
self = .hkquantitytypeidentifierbloodketones
|
|
192
194
|
case "HKQuantityTypeIdentifierBloodPressureDiastolic":
|
|
193
195
|
self = .hkquantitytypeidentifierbloodpressurediastolic
|
|
194
196
|
case "HKQuantityTypeIdentifierBloodPressureSystolic":
|
|
@@ -447,6 +449,8 @@ public extension SampleTypeIdentifier {
|
|
|
447
449
|
return "HKCategoryTypeIdentifierAudioExposureEvent"
|
|
448
450
|
case .hkcategorytypeidentifierbladderincontinence:
|
|
449
451
|
return "HKCategoryTypeIdentifierBladderIncontinence"
|
|
452
|
+
case .hkcategorytypeidentifierbleedingaftermenopause:
|
|
453
|
+
return "HKCategoryTypeIdentifierBleedingAfterMenopause"
|
|
450
454
|
case .hkcategorytypeidentifierbleedingafterpregnancy:
|
|
451
455
|
return "HKCategoryTypeIdentifierBleedingAfterPregnancy"
|
|
452
456
|
case .hkcategorytypeidentifierbleedingduringpregnancy:
|
|
@@ -513,6 +517,8 @@ public extension SampleTypeIdentifier {
|
|
|
513
517
|
return "HKCategoryTypeIdentifierLowerBackPain"
|
|
514
518
|
case .hkcategorytypeidentifiermemorylapse:
|
|
515
519
|
return "HKCategoryTypeIdentifierMemoryLapse"
|
|
520
|
+
case .hkcategorytypeidentifiermenopausalstate:
|
|
521
|
+
return "HKCategoryTypeIdentifierMenopausalState"
|
|
516
522
|
case .hkcategorytypeidentifiermenstrualflow:
|
|
517
523
|
return "HKCategoryTypeIdentifierMenstrualFlow"
|
|
518
524
|
case .hkcategorytypeidentifiermindfulsession:
|
|
@@ -595,8 +601,6 @@ public extension SampleTypeIdentifier {
|
|
|
595
601
|
return "HKQuantityTypeIdentifierBloodAlcoholContent"
|
|
596
602
|
case .hkquantitytypeidentifierbloodglucose:
|
|
597
603
|
return "HKQuantityTypeIdentifierBloodGlucose"
|
|
598
|
-
case .hkquantitytypeidentifierbloodketones:
|
|
599
|
-
return "HKQuantityTypeIdentifierBloodKetones"
|
|
600
604
|
case .hkquantitytypeidentifierbloodpressurediastolic:
|
|
601
605
|
return "HKQuantityTypeIdentifierBloodPressureDiastolic"
|
|
602
606
|
case .hkquantitytypeidentifierbloodpressuresystolic:
|
|
@@ -29,6 +29,8 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
29
29
|
self = .hkcategorytypeidentifieraudioexposureevent
|
|
30
30
|
case "HKCategoryTypeIdentifierBladderIncontinence":
|
|
31
31
|
self = .hkcategorytypeidentifierbladderincontinence
|
|
32
|
+
case "HKCategoryTypeIdentifierBleedingAfterMenopause":
|
|
33
|
+
self = .hkcategorytypeidentifierbleedingaftermenopause
|
|
32
34
|
case "HKCategoryTypeIdentifierBleedingAfterPregnancy":
|
|
33
35
|
self = .hkcategorytypeidentifierbleedingafterpregnancy
|
|
34
36
|
case "HKCategoryTypeIdentifierBleedingDuringPregnancy":
|
|
@@ -95,6 +97,8 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
95
97
|
self = .hkcategorytypeidentifierlowerbackpain
|
|
96
98
|
case "HKCategoryTypeIdentifierMemoryLapse":
|
|
97
99
|
self = .hkcategorytypeidentifiermemorylapse
|
|
100
|
+
case "HKCategoryTypeIdentifierMenopausalState":
|
|
101
|
+
self = .hkcategorytypeidentifiermenopausalstate
|
|
98
102
|
case "HKCategoryTypeIdentifierMenstrualFlow":
|
|
99
103
|
self = .hkcategorytypeidentifiermenstrualflow
|
|
100
104
|
case "HKCategoryTypeIdentifierMindfulSession":
|
|
@@ -167,8 +171,6 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
167
171
|
self = .hkquantitytypeidentifierbloodalcoholcontent
|
|
168
172
|
case "HKQuantityTypeIdentifierBloodGlucose":
|
|
169
173
|
self = .hkquantitytypeidentifierbloodglucose
|
|
170
|
-
case "HKQuantityTypeIdentifierBloodKetones":
|
|
171
|
-
self = .hkquantitytypeidentifierbloodketones
|
|
172
174
|
case "HKQuantityTypeIdentifierBloodPressureDiastolic":
|
|
173
175
|
self = .hkquantitytypeidentifierbloodpressurediastolic
|
|
174
176
|
case "HKQuantityTypeIdentifierBloodPressureSystolic":
|
|
@@ -415,6 +417,8 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
415
417
|
return "HKCategoryTypeIdentifierAudioExposureEvent"
|
|
416
418
|
case .hkcategorytypeidentifierbladderincontinence:
|
|
417
419
|
return "HKCategoryTypeIdentifierBladderIncontinence"
|
|
420
|
+
case .hkcategorytypeidentifierbleedingaftermenopause:
|
|
421
|
+
return "HKCategoryTypeIdentifierBleedingAfterMenopause"
|
|
418
422
|
case .hkcategorytypeidentifierbleedingafterpregnancy:
|
|
419
423
|
return "HKCategoryTypeIdentifierBleedingAfterPregnancy"
|
|
420
424
|
case .hkcategorytypeidentifierbleedingduringpregnancy:
|
|
@@ -481,6 +485,8 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
481
485
|
return "HKCategoryTypeIdentifierLowerBackPain"
|
|
482
486
|
case .hkcategorytypeidentifiermemorylapse:
|
|
483
487
|
return "HKCategoryTypeIdentifierMemoryLapse"
|
|
488
|
+
case .hkcategorytypeidentifiermenopausalstate:
|
|
489
|
+
return "HKCategoryTypeIdentifierMenopausalState"
|
|
484
490
|
case .hkcategorytypeidentifiermenstrualflow:
|
|
485
491
|
return "HKCategoryTypeIdentifierMenstrualFlow"
|
|
486
492
|
case .hkcategorytypeidentifiermindfulsession:
|
|
@@ -553,8 +559,6 @@ public extension SampleTypeIdentifierWriteable {
|
|
|
553
559
|
return "HKQuantityTypeIdentifierBloodAlcoholContent"
|
|
554
560
|
case .hkquantitytypeidentifierbloodglucose:
|
|
555
561
|
return "HKQuantityTypeIdentifierBloodGlucose"
|
|
556
|
-
case .hkquantitytypeidentifierbloodketones:
|
|
557
|
-
return "HKQuantityTypeIdentifierBloodKetones"
|
|
558
562
|
case .hkquantitytypeidentifierbloodpressurediastolic:
|
|
559
563
|
return "HKQuantityTypeIdentifierBloodPressureDiastolic"
|
|
560
564
|
case .hkquantitytypeidentifierbloodpressuresystolic:
|
|
@@ -18,11 +18,8 @@ public extension SourceRevision {
|
|
|
18
18
|
/**
|
|
19
19
|
* Create a new instance of `SourceRevision`.
|
|
20
20
|
*/
|
|
21
|
-
init(source:
|
|
22
|
-
self.init({ () -> bridge.
|
|
23
|
-
let __cxxWrapped = source.getCxxWrapper()
|
|
24
|
-
return __cxxWrapped.getCxxPart()
|
|
25
|
-
}(), { () -> bridge.std__optional_std__string_ in
|
|
21
|
+
init(source: Source, version: String?, operatingSystemVersion: String, productType: String?) {
|
|
22
|
+
self.init(source, { () -> bridge.std__optional_std__string_ in
|
|
26
23
|
if let __unwrappedValue = version {
|
|
27
24
|
return bridge.create_std__optional_std__string_(std.string(__unwrappedValue))
|
|
28
25
|
} else {
|
|
@@ -38,12 +35,8 @@ public extension SourceRevision {
|
|
|
38
35
|
}
|
|
39
36
|
|
|
40
37
|
@inline(__always)
|
|
41
|
-
var source:
|
|
42
|
-
return
|
|
43
|
-
let __unsafePointer = bridge.get_std__shared_ptr_HybridSourceProxySpec_(self.__source)
|
|
44
|
-
let __instance = HybridSourceProxySpec_cxx.fromUnsafe(__unsafePointer)
|
|
45
|
-
return __instance.getHybridSourceProxySpec()
|
|
46
|
-
}()
|
|
38
|
+
var source: Source {
|
|
39
|
+
return self.__source
|
|
47
40
|
}
|
|
48
41
|
|
|
49
42
|
@inline(__always)
|
|
@@ -183,6 +183,10 @@ public extension WorkoutActivityType {
|
|
|
183
183
|
self = .transition
|
|
184
184
|
case "underwaterDiving":
|
|
185
185
|
self = .underwaterdiving
|
|
186
|
+
case "rest":
|
|
187
|
+
self = .rest
|
|
188
|
+
case "group":
|
|
189
|
+
self = .group
|
|
186
190
|
case "other":
|
|
187
191
|
self = .other
|
|
188
192
|
default:
|
|
@@ -361,6 +365,10 @@ public extension WorkoutActivityType {
|
|
|
361
365
|
return "transition"
|
|
362
366
|
case .underwaterdiving:
|
|
363
367
|
return "underwaterDiving"
|
|
368
|
+
case .rest:
|
|
369
|
+
return "rest"
|
|
370
|
+
case .group:
|
|
371
|
+
return "group"
|
|
364
372
|
case .other:
|
|
365
373
|
return "other"
|
|
366
374
|
}
|
|
@@ -40,65 +40,67 @@ namespace margelo::nitro::healthkit {
|
|
|
40
40
|
HKCATEGORYTYPEIDENTIFIERAPPLEWALKINGSTEADINESSEVENT SWIFT_NAME(hkcategorytypeidentifierapplewalkingsteadinessevent) = 8,
|
|
41
41
|
HKCATEGORYTYPEIDENTIFIERAUDIOEXPOSUREEVENT SWIFT_NAME(hkcategorytypeidentifieraudioexposureevent) = 9,
|
|
42
42
|
HKCATEGORYTYPEIDENTIFIERBLADDERINCONTINENCE SWIFT_NAME(hkcategorytypeidentifierbladderincontinence) = 10,
|
|
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
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
43
|
+
HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERMENOPAUSE SWIFT_NAME(hkcategorytypeidentifierbleedingaftermenopause) = 11,
|
|
44
|
+
HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY SWIFT_NAME(hkcategorytypeidentifierbleedingafterpregnancy) = 12,
|
|
45
|
+
HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY SWIFT_NAME(hkcategorytypeidentifierbleedingduringpregnancy) = 13,
|
|
46
|
+
HKCATEGORYTYPEIDENTIFIERBLOATING SWIFT_NAME(hkcategorytypeidentifierbloating) = 14,
|
|
47
|
+
HKCATEGORYTYPEIDENTIFIERBREASTPAIN SWIFT_NAME(hkcategorytypeidentifierbreastpain) = 15,
|
|
48
|
+
HKCATEGORYTYPEIDENTIFIERCERVICALMUCUSQUALITY SWIFT_NAME(hkcategorytypeidentifiercervicalmucusquality) = 16,
|
|
49
|
+
HKCATEGORYTYPEIDENTIFIERCHESTTIGHTNESSORPAIN SWIFT_NAME(hkcategorytypeidentifierchesttightnessorpain) = 17,
|
|
50
|
+
HKCATEGORYTYPEIDENTIFIERCHILLS SWIFT_NAME(hkcategorytypeidentifierchills) = 18,
|
|
51
|
+
HKCATEGORYTYPEIDENTIFIERCONSTIPATION SWIFT_NAME(hkcategorytypeidentifierconstipation) = 19,
|
|
52
|
+
HKCATEGORYTYPEIDENTIFIERCONTRACEPTIVE SWIFT_NAME(hkcategorytypeidentifiercontraceptive) = 20,
|
|
53
|
+
HKCATEGORYTYPEIDENTIFIERCOUGHING SWIFT_NAME(hkcategorytypeidentifiercoughing) = 21,
|
|
54
|
+
HKCATEGORYTYPEIDENTIFIERDIARRHEA SWIFT_NAME(hkcategorytypeidentifierdiarrhea) = 22,
|
|
55
|
+
HKCATEGORYTYPEIDENTIFIERDIZZINESS SWIFT_NAME(hkcategorytypeidentifierdizziness) = 23,
|
|
56
|
+
HKCATEGORYTYPEIDENTIFIERDRYSKIN SWIFT_NAME(hkcategorytypeidentifierdryskin) = 24,
|
|
57
|
+
HKCATEGORYTYPEIDENTIFIERENVIRONMENTALAUDIOEXPOSUREEVENT SWIFT_NAME(hkcategorytypeidentifierenvironmentalaudioexposureevent) = 25,
|
|
58
|
+
HKCATEGORYTYPEIDENTIFIERFAINTING SWIFT_NAME(hkcategorytypeidentifierfainting) = 26,
|
|
59
|
+
HKCATEGORYTYPEIDENTIFIERFATIGUE SWIFT_NAME(hkcategorytypeidentifierfatigue) = 27,
|
|
60
|
+
HKCATEGORYTYPEIDENTIFIERFEVER SWIFT_NAME(hkcategorytypeidentifierfever) = 28,
|
|
61
|
+
HKCATEGORYTYPEIDENTIFIERGENERALIZEDBODYACHE SWIFT_NAME(hkcategorytypeidentifiergeneralizedbodyache) = 29,
|
|
62
|
+
HKCATEGORYTYPEIDENTIFIERHAIRLOSS SWIFT_NAME(hkcategorytypeidentifierhairloss) = 30,
|
|
63
|
+
HKCATEGORYTYPEIDENTIFIERHANDWASHINGEVENT SWIFT_NAME(hkcategorytypeidentifierhandwashingevent) = 31,
|
|
64
|
+
HKCATEGORYTYPEIDENTIFIERHEADACHE SWIFT_NAME(hkcategorytypeidentifierheadache) = 32,
|
|
65
|
+
HKCATEGORYTYPEIDENTIFIERHEARTBURN SWIFT_NAME(hkcategorytypeidentifierheartburn) = 33,
|
|
66
|
+
HKCATEGORYTYPEIDENTIFIERHOTFLASHES SWIFT_NAME(hkcategorytypeidentifierhotflashes) = 34,
|
|
67
|
+
HKCATEGORYTYPEIDENTIFIERINFREQUENTMENSTRUALCYCLES SWIFT_NAME(hkcategorytypeidentifierinfrequentmenstrualcycles) = 35,
|
|
68
|
+
HKCATEGORYTYPEIDENTIFIERINTERMENSTRUALBLEEDING SWIFT_NAME(hkcategorytypeidentifierintermenstrualbleeding) = 36,
|
|
69
|
+
HKCATEGORYTYPEIDENTIFIERIRREGULARHEARTRHYTHMEVENT SWIFT_NAME(hkcategorytypeidentifierirregularheartrhythmevent) = 37,
|
|
70
|
+
HKCATEGORYTYPEIDENTIFIERIRREGULARMENSTRUALCYCLES SWIFT_NAME(hkcategorytypeidentifierirregularmenstrualcycles) = 38,
|
|
71
|
+
HKCATEGORYTYPEIDENTIFIERLACTATION SWIFT_NAME(hkcategorytypeidentifierlactation) = 39,
|
|
72
|
+
HKCATEGORYTYPEIDENTIFIERLOSSOFSMELL SWIFT_NAME(hkcategorytypeidentifierlossofsmell) = 40,
|
|
73
|
+
HKCATEGORYTYPEIDENTIFIERLOSSOFTASTE SWIFT_NAME(hkcategorytypeidentifierlossoftaste) = 41,
|
|
74
|
+
HKCATEGORYTYPEIDENTIFIERLOWCARDIOFITNESSEVENT SWIFT_NAME(hkcategorytypeidentifierlowcardiofitnessevent) = 42,
|
|
75
|
+
HKCATEGORYTYPEIDENTIFIERLOWERBACKPAIN SWIFT_NAME(hkcategorytypeidentifierlowerbackpain) = 43,
|
|
76
|
+
HKCATEGORYTYPEIDENTIFIERMEMORYLAPSE SWIFT_NAME(hkcategorytypeidentifiermemorylapse) = 44,
|
|
77
|
+
HKCATEGORYTYPEIDENTIFIERMENOPAUSALSTATE SWIFT_NAME(hkcategorytypeidentifiermenopausalstate) = 45,
|
|
78
|
+
HKCATEGORYTYPEIDENTIFIERMENSTRUALFLOW SWIFT_NAME(hkcategorytypeidentifiermenstrualflow) = 46,
|
|
79
|
+
HKCATEGORYTYPEIDENTIFIERMINDFULSESSION SWIFT_NAME(hkcategorytypeidentifiermindfulsession) = 47,
|
|
80
|
+
HKCATEGORYTYPEIDENTIFIERMOODCHANGES SWIFT_NAME(hkcategorytypeidentifiermoodchanges) = 48,
|
|
81
|
+
HKCATEGORYTYPEIDENTIFIERNAUSEA SWIFT_NAME(hkcategorytypeidentifiernausea) = 49,
|
|
82
|
+
HKCATEGORYTYPEIDENTIFIERNIGHTSWEATS SWIFT_NAME(hkcategorytypeidentifiernightsweats) = 50,
|
|
83
|
+
HKCATEGORYTYPEIDENTIFIEROVULATIONTESTRESULT SWIFT_NAME(hkcategorytypeidentifierovulationtestresult) = 51,
|
|
84
|
+
HKCATEGORYTYPEIDENTIFIERPELVICPAIN SWIFT_NAME(hkcategorytypeidentifierpelvicpain) = 52,
|
|
85
|
+
HKCATEGORYTYPEIDENTIFIERPERSISTENTINTERMENSTRUALBLEEDING SWIFT_NAME(hkcategorytypeidentifierpersistentintermenstrualbleeding) = 53,
|
|
86
|
+
HKCATEGORYTYPEIDENTIFIERPREGNANCY SWIFT_NAME(hkcategorytypeidentifierpregnancy) = 54,
|
|
87
|
+
HKCATEGORYTYPEIDENTIFIERPREGNANCYTESTRESULT SWIFT_NAME(hkcategorytypeidentifierpregnancytestresult) = 55,
|
|
88
|
+
HKCATEGORYTYPEIDENTIFIERPROGESTERONETESTRESULT SWIFT_NAME(hkcategorytypeidentifierprogesteronetestresult) = 56,
|
|
89
|
+
HKCATEGORYTYPEIDENTIFIERPROLONGEDMENSTRUALPERIODS SWIFT_NAME(hkcategorytypeidentifierprolongedmenstrualperiods) = 57,
|
|
90
|
+
HKCATEGORYTYPEIDENTIFIERRAPIDPOUNDINGORFLUTTERINGHEARTBEAT SWIFT_NAME(hkcategorytypeidentifierrapidpoundingorflutteringheartbeat) = 58,
|
|
91
|
+
HKCATEGORYTYPEIDENTIFIERRUNNYNOSE SWIFT_NAME(hkcategorytypeidentifierrunnynose) = 59,
|
|
92
|
+
HKCATEGORYTYPEIDENTIFIERSEXUALACTIVITY SWIFT_NAME(hkcategorytypeidentifiersexualactivity) = 60,
|
|
93
|
+
HKCATEGORYTYPEIDENTIFIERSHORTNESSOFBREATH SWIFT_NAME(hkcategorytypeidentifiershortnessofbreath) = 61,
|
|
94
|
+
HKCATEGORYTYPEIDENTIFIERSINUSCONGESTION SWIFT_NAME(hkcategorytypeidentifiersinuscongestion) = 62,
|
|
95
|
+
HKCATEGORYTYPEIDENTIFIERSKIPPEDHEARTBEAT SWIFT_NAME(hkcategorytypeidentifierskippedheartbeat) = 63,
|
|
96
|
+
HKCATEGORYTYPEIDENTIFIERSLEEPANALYSIS SWIFT_NAME(hkcategorytypeidentifiersleepanalysis) = 64,
|
|
97
|
+
HKCATEGORYTYPEIDENTIFIERSLEEPAPNEAEVENT SWIFT_NAME(hkcategorytypeidentifiersleepapneaevent) = 65,
|
|
98
|
+
HKCATEGORYTYPEIDENTIFIERSLEEPCHANGES SWIFT_NAME(hkcategorytypeidentifiersleepchanges) = 66,
|
|
99
|
+
HKCATEGORYTYPEIDENTIFIERSORETHROAT SWIFT_NAME(hkcategorytypeidentifiersorethroat) = 67,
|
|
100
|
+
HKCATEGORYTYPEIDENTIFIERTOOTHBRUSHINGEVENT SWIFT_NAME(hkcategorytypeidentifiertoothbrushingevent) = 68,
|
|
101
|
+
HKCATEGORYTYPEIDENTIFIERVAGINALDRYNESS SWIFT_NAME(hkcategorytypeidentifiervaginaldryness) = 69,
|
|
102
|
+
HKCATEGORYTYPEIDENTIFIERVOMITING SWIFT_NAME(hkcategorytypeidentifiervomiting) = 70,
|
|
103
|
+
HKCATEGORYTYPEIDENTIFIERWHEEZING SWIFT_NAME(hkcategorytypeidentifierwheezing) = 71,
|
|
102
104
|
} CLOSED_ENUM;
|
|
103
105
|
|
|
104
106
|
} // namespace margelo::nitro::healthkit
|
|
@@ -122,6 +124,7 @@ namespace margelo::nitro {
|
|
|
122
124
|
case hashString("HKCategoryTypeIdentifierAppleWalkingSteadinessEvent"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAPPLEWALKINGSTEADINESSEVENT;
|
|
123
125
|
case hashString("HKCategoryTypeIdentifierAudioExposureEvent"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAUDIOEXPOSUREEVENT;
|
|
124
126
|
case hashString("HKCategoryTypeIdentifierBladderIncontinence"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLADDERINCONTINENCE;
|
|
127
|
+
case hashString("HKCategoryTypeIdentifierBleedingAfterMenopause"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERMENOPAUSE;
|
|
125
128
|
case hashString("HKCategoryTypeIdentifierBleedingAfterPregnancy"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY;
|
|
126
129
|
case hashString("HKCategoryTypeIdentifierBleedingDuringPregnancy"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY;
|
|
127
130
|
case hashString("HKCategoryTypeIdentifierBloating"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLOATING;
|
|
@@ -155,6 +158,7 @@ namespace margelo::nitro {
|
|
|
155
158
|
case hashString("HKCategoryTypeIdentifierLowCardioFitnessEvent"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOWCARDIOFITNESSEVENT;
|
|
156
159
|
case hashString("HKCategoryTypeIdentifierLowerBackPain"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOWERBACKPAIN;
|
|
157
160
|
case hashString("HKCategoryTypeIdentifierMemoryLapse"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMEMORYLAPSE;
|
|
161
|
+
case hashString("HKCategoryTypeIdentifierMenopausalState"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMENOPAUSALSTATE;
|
|
158
162
|
case hashString("HKCategoryTypeIdentifierMenstrualFlow"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMENSTRUALFLOW;
|
|
159
163
|
case hashString("HKCategoryTypeIdentifierMindfulSession"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMINDFULSESSION;
|
|
160
164
|
case hashString("HKCategoryTypeIdentifierMoodChanges"): return margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMOODCHANGES;
|
|
@@ -198,6 +202,7 @@ namespace margelo::nitro {
|
|
|
198
202
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAPPLEWALKINGSTEADINESSEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierAppleWalkingSteadinessEvent");
|
|
199
203
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERAUDIOEXPOSUREEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierAudioExposureEvent");
|
|
200
204
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLADDERINCONTINENCE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBladderIncontinence");
|
|
205
|
+
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERMENOPAUSE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBleedingAfterMenopause");
|
|
201
206
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGAFTERPREGNANCY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBleedingAfterPregnancy");
|
|
202
207
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLEEDINGDURINGPREGNANCY: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBleedingDuringPregnancy");
|
|
203
208
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERBLOATING: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierBloating");
|
|
@@ -231,6 +236,7 @@ namespace margelo::nitro {
|
|
|
231
236
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOWCARDIOFITNESSEVENT: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierLowCardioFitnessEvent");
|
|
232
237
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERLOWERBACKPAIN: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierLowerBackPain");
|
|
233
238
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMEMORYLAPSE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMemoryLapse");
|
|
239
|
+
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMENOPAUSALSTATE: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMenopausalState");
|
|
234
240
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMENSTRUALFLOW: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMenstrualFlow");
|
|
235
241
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMINDFULSESSION: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMindfulSession");
|
|
236
242
|
case margelo::nitro::healthkit::CategoryTypeIdentifier::HKCATEGORYTYPEIDENTIFIERMOODCHANGES: return JSIConverter<std::string>::toJSI(runtime, "HKCategoryTypeIdentifierMoodChanges");
|
|
@@ -279,6 +285,7 @@ namespace margelo::nitro {
|
|
|
279
285
|
case hashString("HKCategoryTypeIdentifierAppleWalkingSteadinessEvent"):
|
|
280
286
|
case hashString("HKCategoryTypeIdentifierAudioExposureEvent"):
|
|
281
287
|
case hashString("HKCategoryTypeIdentifierBladderIncontinence"):
|
|
288
|
+
case hashString("HKCategoryTypeIdentifierBleedingAfterMenopause"):
|
|
282
289
|
case hashString("HKCategoryTypeIdentifierBleedingAfterPregnancy"):
|
|
283
290
|
case hashString("HKCategoryTypeIdentifierBleedingDuringPregnancy"):
|
|
284
291
|
case hashString("HKCategoryTypeIdentifierBloating"):
|
|
@@ -312,6 +319,7 @@ namespace margelo::nitro {
|
|
|
312
319
|
case hashString("HKCategoryTypeIdentifierLowCardioFitnessEvent"):
|
|
313
320
|
case hashString("HKCategoryTypeIdentifierLowerBackPain"):
|
|
314
321
|
case hashString("HKCategoryTypeIdentifierMemoryLapse"):
|
|
322
|
+
case hashString("HKCategoryTypeIdentifierMenopausalState"):
|
|
315
323
|
case hashString("HKCategoryTypeIdentifierMenstrualFlow"):
|
|
316
324
|
case hashString("HKCategoryTypeIdentifierMindfulSession"):
|
|
317
325
|
case hashString("HKCategoryTypeIdentifierMoodChanges"):
|