Port navigate and weather

This commit is contained in:
James Babcock committed 2026-09-18 23:46:27 -07:00
1 parent 2b3e068a23
commit 9e18745e53
33 files changed
+630 -60

No files matched your search

@@ -0,0 +1,11 @@
import { type TrackedLocation } from '../../native/location-types'
import { type CompassEvent } from '../../native/compass-types'
export type NavigationSensorRequest =
| { action: 'start'; id: number; intervalMs: number }
| { action: 'stop'; id: number }
| { action: 'compass'; enabled: boolean }
export type NavigationSensorEvent =
| { kind: 'location'; id: number; location: TrackedLocation }
| { kind: 'error'; id: number; message: string }
| { kind: 'compass'; event: CompassEvent; declination: number | null }