TimeWindow — @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 { TimeWindow } from '@gj-kit/expo-workouts/core';Signature, parameters, and return type
Section titled “Signature, parameters, and return type”/** * Epoch-ms half-open window. Everywhere in this library it means: the record's **START instant** in * `[fromMs, toMs)`. There is no overlap variant and no local-day variant — day bucketing is your * job, done afterwards from `utcOffsetMin`. * * Both bounds are validated against `EPOCH_MS_FLOOR`: a value in `(0, 1e11)` is rejected with * `invalidArgument` because it is a seconds timestamp in a milliseconds field. */interface TimeWindow { /** Inclusive. Epoch MILLISECONDS, integer. */ readonly fromMs: number; /** EXCLUSIVE. Epoch MILLISECONDS, integer, > `fromMs`. */ readonly toMs: 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