@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.
Files changed (71) hide show
  1. package/README.md +32 -2
  2. package/app.plugin.js +49 -94
  3. package/app.plugin.ts +6 -56
  4. package/ios/BackgroundDeliveryManager.swift +13 -6
  5. package/ios/BackgroundLaunchHook.mm +41 -0
  6. package/ios/Constants.swift +24 -0
  7. package/ios/CoreModule.swift +5 -1
  8. package/ios/Helpers.swift +29 -1
  9. package/ios/MemoryEstimation.swift +83 -0
  10. package/ios/QuantityTypeModule.swift +34 -26
  11. package/ios/Serializers.swift +18 -3
  12. package/ios/SourceProxy.swift +14 -5
  13. package/ios/WorkoutProxy.swift +28 -11
  14. package/lib/commonjs/generated/healthkit.generated.js +13 -3
  15. package/lib/commonjs/healthkit.ios.js +3 -1
  16. package/lib/commonjs/healthkit.js +4 -2
  17. package/lib/module/generated/healthkit.generated.js +12 -2
  18. package/lib/module/healthkit.ios.js +2 -0
  19. package/lib/module/healthkit.js +2 -0
  20. package/lib/typescript/generated/healthkit.generated.d.ts +17 -7
  21. package/lib/typescript/healthkit.d.ts +1 -0
  22. package/lib/typescript/healthkit.ios.d.ts +2 -0
  23. package/lib/typescript/specs/CoreModule.nitro.d.ts +6 -4
  24. package/lib/typescript/specs/SourceProxy.nitro.d.ts +1 -2
  25. package/lib/typescript/types/QuantityType.d.ts +3 -3
  26. package/lib/typescript/types/Source.d.ts +2 -2
  27. package/lib/typescript/types/Units.d.ts +1 -1
  28. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.cpp +16 -16
  29. package/nitrogen/generated/ios/ReactNativeHealthkit-Swift-Cxx-Bridge.hpp +23 -12
  30. package/nitrogen/generated/ios/c++/HybridCategoryTypeModuleSpecSwift.hpp +7 -4
  31. package/nitrogen/generated/ios/c++/HybridCorrelationTypeModuleSpecSwift.hpp +7 -4
  32. package/nitrogen/generated/ios/c++/HybridElectrocardiogramModuleSpecSwift.hpp +7 -4
  33. package/nitrogen/generated/ios/c++/HybridHeartbeatSeriesModuleSpecSwift.hpp +7 -4
  34. package/nitrogen/generated/ios/c++/HybridMedicationModuleSpecSwift.hpp +7 -4
  35. package/nitrogen/generated/ios/c++/HybridQuantityTypeModuleSpecSwift.hpp +7 -4
  36. package/nitrogen/generated/ios/c++/HybridStateOfMindModuleSpecSwift.hpp +7 -4
  37. package/nitrogen/generated/ios/c++/HybridWorkoutProxySpecSwift.hpp +3 -4
  38. package/nitrogen/generated/ios/c++/HybridWorkoutsModuleSpecSwift.hpp +6 -3
  39. package/nitrogen/generated/ios/swift/CategoryTypeIdentifier.swift +8 -0
  40. package/nitrogen/generated/ios/swift/CategoryTypeIdentifierWriteable.swift +8 -0
  41. package/nitrogen/generated/ios/swift/ObjectTypeIdentifier.swift +8 -4
  42. package/nitrogen/generated/ios/swift/QuantityTypeIdentifier.swift +0 -4
  43. package/nitrogen/generated/ios/swift/QuantityTypeIdentifierWriteable.swift +0 -4
  44. package/nitrogen/generated/ios/swift/QueryStatisticsResponse.swift +6 -13
  45. package/nitrogen/generated/ios/swift/QueryStatisticsResponseFromSingleSource.swift +4 -11
  46. package/nitrogen/generated/ios/swift/SampleTypeIdentifier.swift +8 -4
  47. package/nitrogen/generated/ios/swift/SampleTypeIdentifierWriteable.swift +8 -4
  48. package/nitrogen/generated/ios/swift/SourceRevision.swift +4 -11
  49. package/nitrogen/generated/ios/swift/WorkoutActivityType.swift +8 -0
  50. package/nitrogen/generated/shared/c++/CategoryTypeIdentifier.hpp +67 -59
  51. package/nitrogen/generated/shared/c++/CategoryTypeIdentifierWriteable.hpp +67 -59
  52. package/nitrogen/generated/shared/c++/ObjectTypeIdentifier.hpp +202 -198
  53. package/nitrogen/generated/shared/c++/QuantityTypeIdentifier.hpp +107 -111
  54. package/nitrogen/generated/shared/c++/QuantityTypeIdentifierWriteable.hpp +107 -111
  55. package/nitrogen/generated/shared/c++/QueryStatisticsResponse.hpp +8 -9
  56. package/nitrogen/generated/shared/c++/QueryStatisticsResponseFromSingleSource.hpp +8 -9
  57. package/nitrogen/generated/shared/c++/SampleTypeIdentifier.hpp +195 -191
  58. package/nitrogen/generated/shared/c++/SampleTypeIdentifierWriteable.hpp +189 -185
  59. package/nitrogen/generated/shared/c++/SourceRevision.hpp +8 -9
  60. package/nitrogen/generated/shared/c++/WorkoutActivityType.hpp +4 -0
  61. package/package.json +5 -3
  62. package/src/generated/healthkit-schema.json +45 -8
  63. package/src/generated/healthkit.generated.ts +18 -6
  64. package/src/healthkit.ios.ts +3 -0
  65. package/src/healthkit.ts +5 -0
  66. package/src/specs/CoreModule.nitro.ts +6 -4
  67. package/src/specs/SourceProxy.nitro.ts +1 -1
  68. package/src/type-tests/generated-typing.ts +30 -8
  69. package/src/types/QuantityType.ts +3 -3
  70. package/src/types/Source.ts +2 -2
  71. package/src/types/Units.ts +1 -1
@@ -27,13 +27,15 @@ export interface CoreModule extends HybridObject<{
27
27
  */
28
28
  disableAllBackgroundDelivery(): Promise<boolean>;
29
29
  /**
30
- * Configure background delivery types that will be registered natively in
31
- * AppDelegate.didFinishLaunchingWithOptions — surviving app termination.
30
+ * Configure background delivery types whose observer queries are registered
31
+ * natively at launch (during didFinishLaunchingWithOptions), so background
32
+ * delivery survives app termination.
32
33
  * Types and frequency are persisted to UserDefaults so they're available
33
34
  * before the JS bridge boots on subsequent cold launches.
34
35
  *
35
- * Requires the Expo config plugin with `background: true` (default) or
36
- * manual AppDelegate setup: `BackgroundDeliveryManager.shared.setupBackgroundObservers()`
36
+ * Requires the background-delivery entitlement (added by the config plugin
37
+ * unless `background: false`). No AppDelegate change is needed; the pod
38
+ * registers the observers on UIApplicationDidFinishLaunchingNotification.
37
39
  */
38
40
  configureBackgroundTypes(typeIdentifiers: string[], updateFrequency: UpdateFrequency): Promise<boolean>;
39
41
  /**
@@ -1,5 +1,5 @@
1
1
  import type { HybridObject } from 'react-native-nitro-modules';
2
- interface Source {
2
+ export interface Source {
3
3
  readonly name: string;
4
4
  readonly bundleIdentifier: string;
5
5
  }
@@ -11,4 +11,3 @@ export interface SourceProxy extends HybridObject<{
11
11
  }>, Source {
12
12
  toJSON(key?: string): Source;
13
13
  }
14
- export {};
@@ -1,6 +1,6 @@
1
1
  import type { UnitForIdentifierGenerated } from '../generated/healthkit.generated';
2
2
  import { HeartRateMotionContext, InsulinDeliveryReason } from '../generated/healthkit.generated';
3
- import type { SourceProxy } from '../specs/SourceProxy.nitro';
3
+ import type { Source } from '../specs/SourceProxy.nitro';
4
4
  import type { QuantitySample, QuantitySampleTyped } from './QuantitySample';
5
5
  import type { QuantityTypeIdentifier } from './QuantityTypeIdentifier';
6
6
  import type { FilterForSamples } from './QueryOptions';
@@ -20,10 +20,10 @@ export interface QueryStatisticsResponse {
20
20
  readonly duration?: Quantity;
21
21
  readonly startDate?: Date;
22
22
  readonly endDate?: Date;
23
- sources: SourceProxy[];
23
+ readonly sources: readonly Source[];
24
24
  }
25
25
  export interface QueryStatisticsResponseFromSingleSource extends Omit<QueryStatisticsResponse, 'sources'> {
26
- readonly source: SourceProxy;
26
+ readonly source: Source;
27
27
  }
28
28
  export declare enum AggregationStyle {
29
29
  cumulative = 0,
@@ -1,9 +1,9 @@
1
- import type { SourceProxy } from '../specs/SourceProxy.nitro';
1
+ import type { Source } from '../specs/SourceProxy.nitro';
2
2
  /**
3
3
  * @see {@link https://developer.apple.com/documentation/healthkit/hkobject/1615483-sourcerevision Apple Docs }
4
4
  */
5
5
  export interface SourceRevision {
6
- readonly source: SourceProxy;
6
+ readonly source: Source;
7
7
  readonly version?: string;
8
8
  readonly operatingSystemVersion: string;
9
9
  readonly productType?: string;
@@ -87,7 +87,7 @@ export type TemperatureUnit = 'degC' | 'degF' | 'K';
87
87
  */
88
88
  export type UnitOfEnergy = 'kcal' | 'Cal' | 'cal' | 'J';
89
89
  export type EnergyUnit = JouleUnit<MetricPrefix> | UnitOfEnergy;
90
- export type BloodGlucoseUnit = 'mmol<180.15588000005408>/l' | 'mmol/L' | 'mg/dL';
90
+ export type BloodGlucoseUnit = 'mmol<180.15588000005408>/l' | 'mg/dL';
91
91
  export type SpeedUnit<TLength extends LengthUnit, TTime extends TimeUnit> = `${TLength}/${TTime}`;
92
92
  export type CountPerTime<TTime extends TimeUnit> = `count/${TTime}`;
93
93
  export type Unit = BloodGlucoseUnit | CountPerTime<TimeUnit> | EnergyUnit | FrequencyUnit | Units | LengthUnit | MassUnit | PressureUnit | SpeedUnit<LengthUnit, TimeUnit> | TemperatureUnit | TimeUnit | VolumeUnit;
@@ -25,22 +25,6 @@
25
25
 
26
26
  namespace margelo::nitro::healthkit::bridge::swift {
27
27
 
28
- // pragma MARK: std::shared_ptr<HybridSourceProxySpec>
29
- std::shared_ptr<HybridSourceProxySpec> create_std__shared_ptr_HybridSourceProxySpec_(void* NON_NULL swiftUnsafePointer) noexcept {
30
- ReactNativeHealthkit::HybridSourceProxySpec_cxx swiftPart = ReactNativeHealthkit::HybridSourceProxySpec_cxx::fromUnsafe(swiftUnsafePointer);
31
- return std::make_shared<margelo::nitro::healthkit::HybridSourceProxySpecSwift>(swiftPart);
32
- }
33
- void* NON_NULL get_std__shared_ptr_HybridSourceProxySpec_(std__shared_ptr_HybridSourceProxySpec_ cppType) {
34
- std::shared_ptr<margelo::nitro::healthkit::HybridSourceProxySpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridSourceProxySpecSwift>(cppType);
35
- #ifdef NITRO_DEBUG
36
- if (swiftWrapper == nullptr) [[unlikely]] {
37
- throw std::runtime_error("Class \"HybridSourceProxySpec\" is not implemented in Swift!");
38
- }
39
- #endif
40
- ReactNativeHealthkit::HybridSourceProxySpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
41
- return swiftPart.toUnsafe();
42
- }
43
-
44
28
  // pragma MARK: std::function<void(const std::optional<CategorySample>& /* result */)>
45
29
  Func_void_std__optional_CategorySample_ create_Func_void_std__optional_CategorySample_(void* NON_NULL swiftClosureWrapper) noexcept {
46
30
  auto swiftClosure = ReactNativeHealthkit::Func_void_std__optional_CategorySample_::fromUnsafe(swiftClosureWrapper);
@@ -65,6 +49,22 @@ namespace margelo::nitro::healthkit::bridge::swift {
65
49
  };
66
50
  }
67
51
 
52
+ // pragma MARK: std::shared_ptr<HybridSourceProxySpec>
53
+ std::shared_ptr<HybridSourceProxySpec> create_std__shared_ptr_HybridSourceProxySpec_(void* NON_NULL swiftUnsafePointer) noexcept {
54
+ ReactNativeHealthkit::HybridSourceProxySpec_cxx swiftPart = ReactNativeHealthkit::HybridSourceProxySpec_cxx::fromUnsafe(swiftUnsafePointer);
55
+ return std::make_shared<margelo::nitro::healthkit::HybridSourceProxySpecSwift>(swiftPart);
56
+ }
57
+ void* NON_NULL get_std__shared_ptr_HybridSourceProxySpec_(std__shared_ptr_HybridSourceProxySpec_ cppType) {
58
+ std::shared_ptr<margelo::nitro::healthkit::HybridSourceProxySpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::healthkit::HybridSourceProxySpecSwift>(cppType);
59
+ #ifdef NITRO_DEBUG
60
+ if (swiftWrapper == nullptr) [[unlikely]] {
61
+ throw std::runtime_error("Class \"HybridSourceProxySpec\" is not implemented in Swift!");
62
+ }
63
+ #endif
64
+ ReactNativeHealthkit::HybridSourceProxySpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
65
+ return swiftPart.toUnsafe();
66
+ }
67
+
68
68
  // pragma MARK: std::shared_ptr<HybridWorkoutProxySpec>
69
69
  std::shared_ptr<HybridWorkoutProxySpec> create_std__shared_ptr_HybridWorkoutProxySpec_(void* NON_NULL swiftUnsafePointer) noexcept {
70
70
  ReactNativeHealthkit::HybridWorkoutProxySpec_cxx swiftPart = ReactNativeHealthkit::HybridWorkoutProxySpec_cxx::fromUnsafe(swiftUnsafePointer);
@@ -323,18 +323,6 @@ namespace ReactNativeHealthkit { class HybridWorkoutsModuleSpec_cxx; }
323
323
  */
324
324
  namespace margelo::nitro::healthkit::bridge::swift {
325
325
 
326
- // pragma MARK: std::shared_ptr<HybridSourceProxySpec>
327
- /**
328
- * Specialized version of `std::shared_ptr<HybridSourceProxySpec>`.
329
- */
330
- using std__shared_ptr_HybridSourceProxySpec_ = std::shared_ptr<HybridSourceProxySpec>;
331
- std::shared_ptr<HybridSourceProxySpec> create_std__shared_ptr_HybridSourceProxySpec_(void* NON_NULL swiftUnsafePointer) noexcept;
332
- void* NON_NULL get_std__shared_ptr_HybridSourceProxySpec_(std__shared_ptr_HybridSourceProxySpec_ cppType);
333
-
334
- // pragma MARK: std::weak_ptr<HybridSourceProxySpec>
335
- using std__weak_ptr_HybridSourceProxySpec_ = std::weak_ptr<HybridSourceProxySpec>;
336
- inline std__weak_ptr_HybridSourceProxySpec_ weakify_std__shared_ptr_HybridSourceProxySpec_(const std::shared_ptr<HybridSourceProxySpec>& strong) noexcept { return strong; }
337
-
338
326
  // pragma MARK: std::optional<std::string>
339
327
  /**
340
328
  * Specialized version of `std::optional<std::string>`.
@@ -511,6 +499,18 @@ namespace margelo::nitro::healthkit::bridge::swift {
511
499
  return optional.value();
512
500
  }
513
501
 
502
+ // pragma MARK: std::shared_ptr<HybridSourceProxySpec>
503
+ /**
504
+ * Specialized version of `std::shared_ptr<HybridSourceProxySpec>`.
505
+ */
506
+ using std__shared_ptr_HybridSourceProxySpec_ = std::shared_ptr<HybridSourceProxySpec>;
507
+ std::shared_ptr<HybridSourceProxySpec> create_std__shared_ptr_HybridSourceProxySpec_(void* NON_NULL swiftUnsafePointer) noexcept;
508
+ void* NON_NULL get_std__shared_ptr_HybridSourceProxySpec_(std__shared_ptr_HybridSourceProxySpec_ cppType);
509
+
510
+ // pragma MARK: std::weak_ptr<HybridSourceProxySpec>
511
+ using std__weak_ptr_HybridSourceProxySpec_ = std::weak_ptr<HybridSourceProxySpec>;
512
+ inline std__weak_ptr_HybridSourceProxySpec_ weakify_std__shared_ptr_HybridSourceProxySpec_(const std::shared_ptr<HybridSourceProxySpec>& strong) noexcept { return strong; }
513
+
514
514
  // pragma MARK: std::vector<std::shared_ptr<HybridSourceProxySpec>>
515
515
  /**
516
516
  * Specialized version of `std::vector<std::shared_ptr<HybridSourceProxySpec>>`.
@@ -2421,6 +2421,17 @@ namespace margelo::nitro::healthkit::bridge::swift {
2421
2421
  return optional.value();
2422
2422
  }
2423
2423
 
2424
+ // pragma MARK: std::vector<Source>
2425
+ /**
2426
+ * Specialized version of `std::vector<Source>`.
2427
+ */
2428
+ using std__vector_Source_ = std::vector<Source>;
2429
+ inline std::vector<Source> create_std__vector_Source_(size_t size) noexcept {
2430
+ std::vector<Source> vector;
2431
+ vector.reserve(size);
2432
+ return vector;
2433
+ }
2434
+
2424
2435
  // pragma MARK: std::shared_ptr<Promise<QueryStatisticsResponse>>
2425
2436
  /**
2426
2437
  * Specialized version of `std::shared_ptr<Promise<QueryStatisticsResponse>>`.
@@ -20,8 +20,8 @@ namespace margelo::nitro::healthkit { enum class CategoryTypeIdentifier; }
20
20
  namespace margelo::nitro::healthkit { struct SampleType; }
21
21
  // Forward declaration of `SourceRevision` to properly resolve imports.
22
22
  namespace margelo::nitro::healthkit { struct SourceRevision; }
23
- // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
24
- namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
23
+ // Forward declaration of `Source` to properly resolve imports.
24
+ namespace margelo::nitro::healthkit { struct Source; }
25
25
  // Forward declaration of `Device` to properly resolve imports.
26
26
  namespace margelo::nitro::healthkit { struct Device; }
27
27
  // Forward declaration of `CategoryTypeIdentifierWriteable` to properly resolve imports.
@@ -30,6 +30,8 @@ namespace margelo::nitro::healthkit { enum class CategoryTypeIdentifierWriteable
30
30
  namespace margelo::nitro::healthkit { struct QueryOptionsWithSortOrder; }
31
31
  // Forward declaration of `FilterForSamples` to properly resolve imports.
32
32
  namespace margelo::nitro::healthkit { struct FilterForSamples; }
33
+ // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
34
+ namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
33
35
  // Forward declaration of `FilterForSamplesBase` to properly resolve imports.
34
36
  namespace margelo::nitro::healthkit { struct FilterForSamplesBase; }
35
37
  // Forward declaration of `PredicateWithMetadataKey` to properly resolve imports.
@@ -56,13 +58,14 @@ namespace margelo::nitro::healthkit { struct QueryOptionsWithAnchor; }
56
58
  #include <chrono>
57
59
  #include <NitroModules/AnyMap.hpp>
58
60
  #include "SourceRevision.hpp"
59
- #include <memory>
60
- #include "HybridSourceProxySpec.hpp"
61
+ #include "Source.hpp"
61
62
  #include "Device.hpp"
62
63
  #include "CategoryTypeIdentifierWriteable.hpp"
63
64
  #include <vector>
64
65
  #include "QueryOptionsWithSortOrder.hpp"
65
66
  #include "FilterForSamples.hpp"
67
+ #include <memory>
68
+ #include "HybridSourceProxySpec.hpp"
66
69
  #include "FilterForSamplesBase.hpp"
67
70
  #include "PredicateWithMetadataKey.hpp"
68
71
  #include "ComparisonPredicateOperator.hpp"
@@ -26,8 +26,8 @@ namespace margelo::nitro::healthkit { enum class CategoryTypeIdentifier; }
26
26
  namespace margelo::nitro::healthkit { struct SampleType; }
27
27
  // Forward declaration of `SourceRevision` to properly resolve imports.
28
28
  namespace margelo::nitro::healthkit { struct SourceRevision; }
29
- // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
30
- namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
29
+ // Forward declaration of `Source` to properly resolve imports.
30
+ namespace margelo::nitro::healthkit { struct Source; }
31
31
  // Forward declaration of `Device` to properly resolve imports.
32
32
  namespace margelo::nitro::healthkit { struct Device; }
33
33
  // Forward declaration of `QuantityTypeIdentifier` to properly resolve imports.
@@ -40,6 +40,8 @@ namespace margelo::nitro::healthkit { struct QuantitySampleForSaving; }
40
40
  namespace margelo::nitro::healthkit { struct QueryOptionsWithSortOrder; }
41
41
  // Forward declaration of `FilterForSamples` to properly resolve imports.
42
42
  namespace margelo::nitro::healthkit { struct FilterForSamples; }
43
+ // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
44
+ namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
43
45
  // Forward declaration of `FilterForSamplesBase` to properly resolve imports.
44
46
  namespace margelo::nitro::healthkit { struct FilterForSamplesBase; }
45
47
  // Forward declaration of `PredicateWithMetadataKey` to properly resolve imports.
@@ -71,14 +73,15 @@ namespace margelo::nitro::healthkit { struct QueryOptionsWithAnchor; }
71
73
  #include <chrono>
72
74
  #include <NitroModules/AnyMap.hpp>
73
75
  #include "SourceRevision.hpp"
74
- #include <memory>
75
- #include "HybridSourceProxySpec.hpp"
76
+ #include "Source.hpp"
76
77
  #include "Device.hpp"
77
78
  #include "QuantityTypeIdentifier.hpp"
78
79
  #include "CategorySampleForSaving.hpp"
79
80
  #include "QuantitySampleForSaving.hpp"
80
81
  #include "QueryOptionsWithSortOrder.hpp"
81
82
  #include "FilterForSamples.hpp"
83
+ #include <memory>
84
+ #include "HybridSourceProxySpec.hpp"
82
85
  #include "FilterForSamplesBase.hpp"
83
86
  #include "PredicateWithMetadataKey.hpp"
84
87
  #include "ComparisonPredicateOperator.hpp"
@@ -26,14 +26,16 @@ namespace margelo::nitro::healthkit { enum class ElectrocardiogramLead; }
26
26
  namespace margelo::nitro::healthkit { struct SampleType; }
27
27
  // Forward declaration of `SourceRevision` to properly resolve imports.
28
28
  namespace margelo::nitro::healthkit { struct SourceRevision; }
29
- // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
30
- namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
29
+ // Forward declaration of `Source` to properly resolve imports.
30
+ namespace margelo::nitro::healthkit { struct Source; }
31
31
  // Forward declaration of `Device` to properly resolve imports.
32
32
  namespace margelo::nitro::healthkit { struct Device; }
33
33
  // Forward declaration of `ECGQueryOptionsWithSortOrder` to properly resolve imports.
34
34
  namespace margelo::nitro::healthkit { struct ECGQueryOptionsWithSortOrder; }
35
35
  // Forward declaration of `FilterForSamples` to properly resolve imports.
36
36
  namespace margelo::nitro::healthkit { struct FilterForSamples; }
37
+ // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
38
+ namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
37
39
  // Forward declaration of `FilterForSamplesBase` to properly resolve imports.
38
40
  namespace margelo::nitro::healthkit { struct FilterForSamplesBase; }
39
41
  // Forward declaration of `PredicateWithMetadataKey` to properly resolve imports.
@@ -64,11 +66,12 @@ namespace margelo::nitro::healthkit { struct ECGQueryOptionsWithAnchor; }
64
66
  #include <chrono>
65
67
  #include <NitroModules/AnyMap.hpp>
66
68
  #include "SourceRevision.hpp"
67
- #include <memory>
68
- #include "HybridSourceProxySpec.hpp"
69
+ #include "Source.hpp"
69
70
  #include "Device.hpp"
70
71
  #include "ECGQueryOptionsWithSortOrder.hpp"
71
72
  #include "FilterForSamples.hpp"
73
+ #include <memory>
74
+ #include "HybridSourceProxySpec.hpp"
72
75
  #include "FilterForSamplesBase.hpp"
73
76
  #include "PredicateWithMetadataKey.hpp"
74
77
  #include "ComparisonPredicateOperator.hpp"
@@ -20,14 +20,16 @@ namespace margelo::nitro::healthkit { struct Heartbeat; }
20
20
  namespace margelo::nitro::healthkit { struct SampleType; }
21
21
  // Forward declaration of `SourceRevision` to properly resolve imports.
22
22
  namespace margelo::nitro::healthkit { struct SourceRevision; }
23
- // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
24
- namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
23
+ // Forward declaration of `Source` to properly resolve imports.
24
+ namespace margelo::nitro::healthkit { struct Source; }
25
25
  // Forward declaration of `Device` to properly resolve imports.
26
26
  namespace margelo::nitro::healthkit { struct Device; }
27
27
  // Forward declaration of `QueryOptionsWithSortOrder` to properly resolve imports.
28
28
  namespace margelo::nitro::healthkit { struct QueryOptionsWithSortOrder; }
29
29
  // Forward declaration of `FilterForSamples` to properly resolve imports.
30
30
  namespace margelo::nitro::healthkit { struct FilterForSamples; }
31
+ // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
32
+ namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
31
33
  // Forward declaration of `FilterForSamplesBase` to properly resolve imports.
32
34
  namespace margelo::nitro::healthkit { struct FilterForSamplesBase; }
33
35
  // Forward declaration of `PredicateWithMetadataKey` to properly resolve imports.
@@ -54,12 +56,13 @@ namespace margelo::nitro::healthkit { struct QueryOptionsWithAnchor; }
54
56
  #include <chrono>
55
57
  #include <NitroModules/AnyMap.hpp>
56
58
  #include "SourceRevision.hpp"
57
- #include <memory>
58
- #include "HybridSourceProxySpec.hpp"
59
+ #include "Source.hpp"
59
60
  #include <optional>
60
61
  #include "Device.hpp"
61
62
  #include "QueryOptionsWithSortOrder.hpp"
62
63
  #include "FilterForSamples.hpp"
64
+ #include <memory>
65
+ #include "HybridSourceProxySpec.hpp"
63
66
  #include "FilterForSamplesBase.hpp"
64
67
  #include "PredicateWithMetadataKey.hpp"
65
68
  #include "ComparisonPredicateOperator.hpp"
@@ -30,14 +30,16 @@ namespace margelo::nitro::healthkit { enum class MedicationDoseEventLogStatus; }
30
30
  namespace margelo::nitro::healthkit { struct SampleType; }
31
31
  // Forward declaration of `SourceRevision` to properly resolve imports.
32
32
  namespace margelo::nitro::healthkit { struct SourceRevision; }
33
- // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
34
- namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
33
+ // Forward declaration of `Source` to properly resolve imports.
34
+ namespace margelo::nitro::healthkit { struct Source; }
35
35
  // Forward declaration of `Device` to properly resolve imports.
36
36
  namespace margelo::nitro::healthkit { struct Device; }
37
37
  // Forward declaration of `QueryOptionsWithSortOrder` to properly resolve imports.
38
38
  namespace margelo::nitro::healthkit { struct QueryOptionsWithSortOrder; }
39
39
  // Forward declaration of `FilterForSamples` to properly resolve imports.
40
40
  namespace margelo::nitro::healthkit { struct FilterForSamples; }
41
+ // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
42
+ namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
41
43
  // Forward declaration of `FilterForSamplesBase` to properly resolve imports.
42
44
  namespace margelo::nitro::healthkit { struct FilterForSamplesBase; }
43
45
  // Forward declaration of `PredicateWithMetadataKey` to properly resolve imports.
@@ -70,11 +72,12 @@ namespace margelo::nitro::healthkit { struct QueryOptionsWithAnchor; }
70
72
  #include "SampleType.hpp"
71
73
  #include <NitroModules/AnyMap.hpp>
72
74
  #include "SourceRevision.hpp"
73
- #include <memory>
74
- #include "HybridSourceProxySpec.hpp"
75
+ #include "Source.hpp"
75
76
  #include "Device.hpp"
76
77
  #include "QueryOptionsWithSortOrder.hpp"
77
78
  #include "FilterForSamples.hpp"
79
+ #include <memory>
80
+ #include "HybridSourceProxySpec.hpp"
78
81
  #include "FilterForSamplesBase.hpp"
79
82
  #include "PredicateWithMetadataKey.hpp"
80
83
  #include "ComparisonPredicateOperator.hpp"
@@ -22,8 +22,8 @@ namespace margelo::nitro::healthkit { struct QuantitySample; }
22
22
  namespace margelo::nitro::healthkit { struct SampleType; }
23
23
  // Forward declaration of `SourceRevision` to properly resolve imports.
24
24
  namespace margelo::nitro::healthkit { struct SourceRevision; }
25
- // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
26
- namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
25
+ // Forward declaration of `Source` to properly resolve imports.
26
+ namespace margelo::nitro::healthkit { struct Source; }
27
27
  // Forward declaration of `Device` to properly resolve imports.
28
28
  namespace margelo::nitro::healthkit { struct Device; }
29
29
  // Forward declaration of `QuantityTypeIdentifierWriteable` to properly resolve imports.
@@ -32,6 +32,8 @@ namespace margelo::nitro::healthkit { enum class QuantityTypeIdentifierWriteable
32
32
  namespace margelo::nitro::healthkit { struct QueryOptionsWithSortOrderAndStringUnit; }
33
33
  // Forward declaration of `FilterForSamples` to properly resolve imports.
34
34
  namespace margelo::nitro::healthkit { struct FilterForSamples; }
35
+ // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
36
+ namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
35
37
  // Forward declaration of `FilterForSamplesBase` to properly resolve imports.
36
38
  namespace margelo::nitro::healthkit { struct FilterForSamplesBase; }
37
39
  // Forward declaration of `PredicateWithMetadataKey` to properly resolve imports.
@@ -73,13 +75,14 @@ namespace margelo::nitro::healthkit { struct QueryOptionsWithAnchorAndStringUnit
73
75
  #include <chrono>
74
76
  #include <NitroModules/AnyMap.hpp>
75
77
  #include "SourceRevision.hpp"
76
- #include <memory>
77
- #include "HybridSourceProxySpec.hpp"
78
+ #include "Source.hpp"
78
79
  #include "Device.hpp"
79
80
  #include "QuantityTypeIdentifierWriteable.hpp"
80
81
  #include <vector>
81
82
  #include "QueryOptionsWithSortOrderAndStringUnit.hpp"
82
83
  #include "FilterForSamples.hpp"
84
+ #include <memory>
85
+ #include "HybridSourceProxySpec.hpp"
83
86
  #include "FilterForSamplesBase.hpp"
84
87
  #include "PredicateWithMetadataKey.hpp"
85
88
  #include "ComparisonPredicateOperator.hpp"
@@ -26,14 +26,16 @@ namespace margelo::nitro::healthkit { enum class StateOfMindLabel; }
26
26
  namespace margelo::nitro::healthkit { struct SampleType; }
27
27
  // Forward declaration of `SourceRevision` to properly resolve imports.
28
28
  namespace margelo::nitro::healthkit { struct SourceRevision; }
29
- // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
30
- namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
29
+ // Forward declaration of `Source` to properly resolve imports.
30
+ namespace margelo::nitro::healthkit { struct Source; }
31
31
  // Forward declaration of `Device` to properly resolve imports.
32
32
  namespace margelo::nitro::healthkit { struct Device; }
33
33
  // Forward declaration of `QueryOptionsWithSortOrder` to properly resolve imports.
34
34
  namespace margelo::nitro::healthkit { struct QueryOptionsWithSortOrder; }
35
35
  // Forward declaration of `FilterForSamples` to properly resolve imports.
36
36
  namespace margelo::nitro::healthkit { struct FilterForSamples; }
37
+ // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
38
+ namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
37
39
  // Forward declaration of `FilterForSamplesBase` to properly resolve imports.
38
40
  namespace margelo::nitro::healthkit { struct FilterForSamplesBase; }
39
41
  // Forward declaration of `PredicateWithMetadataKey` to properly resolve imports.
@@ -63,12 +65,13 @@ namespace margelo::nitro::healthkit { struct QueryOptionsWithAnchor; }
63
65
  #include <chrono>
64
66
  #include <NitroModules/AnyMap.hpp>
65
67
  #include "SourceRevision.hpp"
66
- #include <memory>
67
- #include "HybridSourceProxySpec.hpp"
68
+ #include "Source.hpp"
68
69
  #include <optional>
69
70
  #include "Device.hpp"
70
71
  #include "QueryOptionsWithSortOrder.hpp"
71
72
  #include "FilterForSamples.hpp"
73
+ #include <memory>
74
+ #include "HybridSourceProxySpec.hpp"
72
75
  #include "FilterForSamplesBase.hpp"
73
76
  #include "PredicateWithMetadataKey.hpp"
74
77
  #include "ComparisonPredicateOperator.hpp"
@@ -26,8 +26,8 @@ namespace margelo::nitro::healthkit { struct WorkoutActivity; }
26
26
  namespace margelo::nitro::healthkit { struct SampleType; }
27
27
  // Forward declaration of `SourceRevision` to properly resolve imports.
28
28
  namespace margelo::nitro::healthkit { struct SourceRevision; }
29
- // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
30
- namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
29
+ // Forward declaration of `Source` to properly resolve imports.
30
+ namespace margelo::nitro::healthkit { struct Source; }
31
31
  // Forward declaration of `Device` to properly resolve imports.
32
32
  namespace margelo::nitro::healthkit { struct Device; }
33
33
  // Forward declaration of `WorkoutSample` to properly resolve imports.
@@ -59,8 +59,7 @@ namespace margelo::nitro::healthkit { enum class QuantityTypeIdentifier; }
59
59
  #include "WorkoutActivity.hpp"
60
60
  #include "SampleType.hpp"
61
61
  #include "SourceRevision.hpp"
62
- #include <memory>
63
- #include "HybridSourceProxySpec.hpp"
62
+ #include "Source.hpp"
64
63
  #include "Device.hpp"
65
64
  #include "WorkoutSample.hpp"
66
65
  #include <NitroModules/Promise.hpp>
@@ -22,8 +22,8 @@ namespace margelo::nitro::healthkit { struct QuantitySampleForSaving; }
22
22
  namespace margelo::nitro::healthkit { enum class QuantityTypeIdentifier; }
23
23
  // Forward declaration of `SourceRevision` to properly resolve imports.
24
24
  namespace margelo::nitro::healthkit { struct SourceRevision; }
25
- // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
26
- namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
25
+ // Forward declaration of `Source` to properly resolve imports.
26
+ namespace margelo::nitro::healthkit { struct Source; }
27
27
  // Forward declaration of `WorkoutTotals` to properly resolve imports.
28
28
  namespace margelo::nitro::healthkit { struct WorkoutTotals; }
29
29
  // Forward declaration of `QueryWorkoutSamplesWithAnchorResponse` to properly resolve imports.
@@ -42,6 +42,8 @@ namespace margelo::nitro::healthkit { struct WorkoutDurationPredicate; }
42
42
  namespace margelo::nitro::healthkit { enum class ComparisonPredicateOperator; }
43
43
  // Forward declaration of `PredicateWithMetadataKey` to properly resolve imports.
44
44
  namespace margelo::nitro::healthkit { struct PredicateWithMetadataKey; }
45
+ // Forward declaration of `HybridSourceProxySpec` to properly resolve imports.
46
+ namespace margelo::nitro::healthkit { class HybridSourceProxySpec; }
45
47
  // Forward declaration of `DateFilter` to properly resolve imports.
46
48
  namespace margelo::nitro::healthkit { struct DateFilter; }
47
49
  // Forward declaration of `WorkoutQueryOptions` to properly resolve imports.
@@ -63,7 +65,7 @@ namespace margelo::nitro::healthkit { enum class WorkoutSessionLocationType; }
63
65
  #include <NitroModules/AnyMap.hpp>
64
66
  #include <optional>
65
67
  #include "SourceRevision.hpp"
66
- #include "HybridSourceProxySpec.hpp"
68
+ #include "Source.hpp"
67
69
  #include "WorkoutTotals.hpp"
68
70
  #include "QueryWorkoutSamplesWithAnchorResponse.hpp"
69
71
  #include "DeletedSample.hpp"
@@ -74,6 +76,7 @@ namespace margelo::nitro::healthkit { enum class WorkoutSessionLocationType; }
74
76
  #include "ComparisonPredicateOperator.hpp"
75
77
  #include "PredicateWithMetadataKey.hpp"
76
78
  #include <variant>
79
+ #include "HybridSourceProxySpec.hpp"
77
80
  #include "DateFilter.hpp"
78
81
  #include "WorkoutQueryOptions.hpp"
79
82
  #include "WorkoutConfiguration.hpp"
@@ -39,6 +39,8 @@ public extension CategoryTypeIdentifier {
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 CategoryTypeIdentifier {
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":
@@ -189,6 +193,8 @@ public extension CategoryTypeIdentifier {
189
193
  return "HKCategoryTypeIdentifierAudioExposureEvent"
190
194
  case .hkcategorytypeidentifierbladderincontinence:
191
195
  return "HKCategoryTypeIdentifierBladderIncontinence"
196
+ case .hkcategorytypeidentifierbleedingaftermenopause:
197
+ return "HKCategoryTypeIdentifierBleedingAfterMenopause"
192
198
  case .hkcategorytypeidentifierbleedingafterpregnancy:
193
199
  return "HKCategoryTypeIdentifierBleedingAfterPregnancy"
194
200
  case .hkcategorytypeidentifierbleedingduringpregnancy:
@@ -255,6 +261,8 @@ public extension CategoryTypeIdentifier {
255
261
  return "HKCategoryTypeIdentifierLowerBackPain"
256
262
  case .hkcategorytypeidentifiermemorylapse:
257
263
  return "HKCategoryTypeIdentifierMemoryLapse"
264
+ case .hkcategorytypeidentifiermenopausalstate:
265
+ return "HKCategoryTypeIdentifierMenopausalState"
258
266
  case .hkcategorytypeidentifiermenstrualflow:
259
267
  return "HKCategoryTypeIdentifierMenstrualFlow"
260
268
  case .hkcategorytypeidentifiermindfulsession:
@@ -29,6 +29,8 @@ public extension CategoryTypeIdentifierWriteable {
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 CategoryTypeIdentifierWriteable {
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":
@@ -169,6 +173,8 @@ public extension CategoryTypeIdentifierWriteable {
169
173
  return "HKCategoryTypeIdentifierAudioExposureEvent"
170
174
  case .hkcategorytypeidentifierbladderincontinence:
171
175
  return "HKCategoryTypeIdentifierBladderIncontinence"
176
+ case .hkcategorytypeidentifierbleedingaftermenopause:
177
+ return "HKCategoryTypeIdentifierBleedingAfterMenopause"
172
178
  case .hkcategorytypeidentifierbleedingafterpregnancy:
173
179
  return "HKCategoryTypeIdentifierBleedingAfterPregnancy"
174
180
  case .hkcategorytypeidentifierbleedingduringpregnancy:
@@ -235,6 +241,8 @@ public extension CategoryTypeIdentifierWriteable {
235
241
  return "HKCategoryTypeIdentifierLowerBackPain"
236
242
  case .hkcategorytypeidentifiermemorylapse:
237
243
  return "HKCategoryTypeIdentifierMemoryLapse"
244
+ case .hkcategorytypeidentifiermenopausalstate:
245
+ return "HKCategoryTypeIdentifierMenopausalState"
238
246
  case .hkcategorytypeidentifiermenstrualflow:
239
247
  return "HKCategoryTypeIdentifierMenstrualFlow"
240
248
  case .hkcategorytypeidentifiermindfulsession:
@@ -39,6 +39,8 @@ public extension ObjectTypeIdentifier {
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 ObjectTypeIdentifier {
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":
@@ -199,8 +203,6 @@ public extension ObjectTypeIdentifier {
199
203
  self = .hkquantitytypeidentifierbloodalcoholcontent
200
204
  case "HKQuantityTypeIdentifierBloodGlucose":
201
205
  self = .hkquantitytypeidentifierbloodglucose
202
- case "HKQuantityTypeIdentifierBloodKetones":
203
- self = .hkquantitytypeidentifierbloodketones
204
206
  case "HKQuantityTypeIdentifierBloodPressureDiastolic":
205
207
  self = .hkquantitytypeidentifierbloodpressurediastolic
206
208
  case "HKQuantityTypeIdentifierBloodPressureSystolic":
@@ -461,6 +463,8 @@ public extension ObjectTypeIdentifier {
461
463
  return "HKCategoryTypeIdentifierAudioExposureEvent"
462
464
  case .hkcategorytypeidentifierbladderincontinence:
463
465
  return "HKCategoryTypeIdentifierBladderIncontinence"
466
+ case .hkcategorytypeidentifierbleedingaftermenopause:
467
+ return "HKCategoryTypeIdentifierBleedingAfterMenopause"
464
468
  case .hkcategorytypeidentifierbleedingafterpregnancy:
465
469
  return "HKCategoryTypeIdentifierBleedingAfterPregnancy"
466
470
  case .hkcategorytypeidentifierbleedingduringpregnancy:
@@ -527,6 +531,8 @@ public extension ObjectTypeIdentifier {
527
531
  return "HKCategoryTypeIdentifierLowerBackPain"
528
532
  case .hkcategorytypeidentifiermemorylapse:
529
533
  return "HKCategoryTypeIdentifierMemoryLapse"
534
+ case .hkcategorytypeidentifiermenopausalstate:
535
+ return "HKCategoryTypeIdentifierMenopausalState"
530
536
  case .hkcategorytypeidentifiermenstrualflow:
531
537
  return "HKCategoryTypeIdentifierMenstrualFlow"
532
538
  case .hkcategorytypeidentifiermindfulsession:
@@ -621,8 +627,6 @@ public extension ObjectTypeIdentifier {
621
627
  return "HKQuantityTypeIdentifierBloodAlcoholContent"
622
628
  case .hkquantitytypeidentifierbloodglucose:
623
629
  return "HKQuantityTypeIdentifierBloodGlucose"
624
- case .hkquantitytypeidentifierbloodketones:
625
- return "HKQuantityTypeIdentifierBloodKetones"
626
630
  case .hkquantitytypeidentifierbloodpressurediastolic:
627
631
  return "HKQuantityTypeIdentifierBloodPressureDiastolic"
628
632
  case .hkquantitytypeidentifierbloodpressuresystolic:
@@ -43,8 +43,6 @@ public extension QuantityTypeIdentifier {
43
43
  self = .hkquantitytypeidentifierbloodalcoholcontent
44
44
  case "HKQuantityTypeIdentifierBloodGlucose":
45
45
  self = .hkquantitytypeidentifierbloodglucose
46
- case "HKQuantityTypeIdentifierBloodKetones":
47
- self = .hkquantitytypeidentifierbloodketones
48
46
  case "HKQuantityTypeIdentifierBloodPressureDiastolic":
49
47
  self = .hkquantitytypeidentifierbloodpressurediastolic
50
48
  case "HKQuantityTypeIdentifierBloodPressureSystolic":
@@ -295,8 +293,6 @@ public extension QuantityTypeIdentifier {
295
293
  return "HKQuantityTypeIdentifierBloodAlcoholContent"
296
294
  case .hkquantitytypeidentifierbloodglucose:
297
295
  return "HKQuantityTypeIdentifierBloodGlucose"
298
- case .hkquantitytypeidentifierbloodketones:
299
- return "HKQuantityTypeIdentifierBloodKetones"
300
296
  case .hkquantitytypeidentifierbloodpressurediastolic:
301
297
  return "HKQuantityTypeIdentifierBloodPressureDiastolic"
302
298
  case .hkquantitytypeidentifierbloodpressuresystolic: