You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(types): improve type coverage by generating types
* chore: nuke typedMetadata and type existing metadata instead
* fix(types): tighten metadata typing surface
* feat: nuked metadataX and improve types
* chore: update changeset
* feat: add healthkit contract harness
* feat: add zod support and more tests
* refactor: scope healthkit contracts to example app
* fix: tap applesimutils in CI
* fix: let contract runner boot simulator in CI
* fix: filter ios CI and tighten typed bindings
* fix: filter ios CI and tighten typed bindings
* fix: restore expo prebuild in ios CI
* fix: secure preview workflow and widen ios build filter
---------
Co-authored-by: Robert Herber <robert@kingstinct.com>
Make typed `metadata` the canonical metadata API and generate more of the HealthKit type surface from Apple’s SDK.
6
+
7
+
This release introduces generated identifier/value/unit metadata, typed metadata payloads on returned models, generic quantity sample typing, and SDK-backed schema verification to keep the surfaced API aligned with the pinned Xcode HealthKit SDK.
8
+
9
+
Breaking changes:
10
+
11
+
- Remove the legacy flattened `metadataX` fields from returned models.
12
+
- Make `metadata` the single canonical metadata surface.
This is intended to make the library easier to extend over time: Apple SDK metadata flows into the generated schema and typed `metadata` surface with much less hand-maintained code.
0 commit comments