unpopulatedWorkoutMetrics — @gj-kit/expo-workouts
A public function 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 { unpopulatedWorkoutMetrics } from '@gj-kit/expo-workouts';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * READ-side answer to "why is this field `undefined` on every workout?", without a device. * * Returns the `Workout` FIELD names — not scope names — whose gating read scope is `'denied'` or * `'undetermined'`. `'undetermined'` is the load-bearing half: it is the exact shape of the * `read: ['workouts']` trap (never asked), and an implementation that only looked for `'denied'` * would miss the trap entirely. * * It returns ONLY what we positively know: * - `'unknown'` NEVER produces an accusation, so on iOS this always returns `[]`. * - On an unavailable / updateRequired platform it returns `[]`. */declare function unpopulatedWorkoutMetrics(state: AuthorizationState): readonly WorkoutMetricField[];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