RouteState — @gj-kit/expo-workouts
A public type from @gj-kit/expo-workouts. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { RouteState } from '@gj-kit/expo-workouts';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Whether a GPS route can be read for a workout, RECOMPUTED ON EVERY READ. * Never cache this across app sessions: on Android an app can lose read access to routes it wrote * itself once both route scopes are revoked. * * - 'available' — the route can be streamed with `getRoute()` right now. * - 'consentRequired' — a route EXISTS but is not readable. **Never collapse this to 'none'.** * - 'none' — there is no route at all. On iOS this is also what a denied read looks like. * CLOSED for 1.x. */type RouteState = 'available' | 'consentRequired' | 'none';This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-workouts - Version:
0.1.1 - Public entry:
. - Source: GitHub