IosWorkoutData — @gj-kit/expo-workouts
A public interface from @gj-kit/expo-workouts/core. The signature below is taken directly from the 0.1.1 release declaration.
Verified import example
Section titled “Verified import example”import { IosWorkoutData } from '@gj-kit/expo-workouts/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** Raw iOS values the common model deliberately does not model. */interface IosWorkoutData { /** Raw HKWorkoutActivityType — the escape hatch for everything D11 collapses into 'other'. */ readonly activityTypeRaw: number; readonly bundleIdentifier: string; readonly productType?: string | undefined; readonly osVersion?: string | undefined; /** IANA identifier from HKMetadataKeyTimeZone, present only when the writer supplied one. */ readonly timeZoneId?: string | undefined; readonly elevationDescendedM?: number | undefined; /** `(endMs - startMs) / 1000`. Differs from `activeDurationS`, which honours the writer's own * `duration` argument. */ readonly wallClockS: number; readonly syncIdentifier?: string | undefined; readonly syncVersion?: number | undefined; /** Number of HKWorkoutActivity entries (multi-sport workouts). */ readonly activityCount: number; /** Whether the HKIndoorWorkout metadata key was present — the only honest indoor discriminator. */ readonly hasIndoorMetadataKey: boolean; readonly routeSampleCount: 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.
Release context
Section titled “Release context”- Package:
@gj-kit/expo-workouts - Version:
0.1.1 - Public entry:
./core - Source: GitHub