Skip to content

StepTotal — @gj-kit/expo-workouts

A public interface from @gj-kit/expo-workouts. The signature below is taken directly from the 0.1.1 release declaration.

import { StepTotal } from '@gj-kit/expo-workouts';
interface StepTotal {
/**
* Steps in the window. `0` is a real answer.
* When several apps wrote steps over the window this is the LARGEST SINGLE-`dataOrigin` total, not
* the sum — a phone + watch device is never double-counted. It will therefore disagree with the
* number Health Connect's own UI shows, which merges by an app-priority list we cannot read.
* On iOS a denied read scope is indistinguishable from no data, so `0` can also mean "not granted".
*/
readonly count: number;
}

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.

  • Package: @gj-kit/expo-workouts
  • Version: 0.1.1
  • Public entry: .
  • Source: GitHub