MistKit
MistKit copied to clipboard
Fetching Zone Changes (zones/changes)
Status Update: The fetchZoneChanges operation exists in Sources/MistKit/Generated/Client.swift (line 1886) but is not exposed in the public CloudKitService API.
What needs to be done:
- Create a public wrapper method in
CloudKitService+Operations.swift - Handle continuation tokens for paginated results
- Map to user-friendly change types (added/modified/deleted)
- Add documentation explaining change tracking patterns
- Add tests including pagination scenarios
Generated operation signature:
internal func fetchZoneChanges(_ input: Operations.fetchZoneChanges.Input)
async throws -> Operations.fetchZoneChanges.Output
Related to #137 (incremental sync). Critical for offline-first apps and CloudKit sync.