ReadonlydescriptionReadonlyendReadonlyisReadonlynameReadonlyprivacyReadonlysrcReadonlystartReturns a copy of the recorded activity types, falling back to embedded child sports.
Canonical distance, hydrated on demand.
Canonical duration, hydrated on demand.
Returns the persisted identity, or null when the input has no ID.
Copies canonical raw stats, after sport semantics and before lazy pace derivation. Not an event export.
Returns one canonical metric, constructing it once on first access. Missing metrics return undefined; invalid stored metrics retain the loader's constructor error when requested. Returned metric objects are cached; changing one does not alter the raw-stat snapshot.
Materializes stats in canonical raw-snapshot order, followed by missing speed-derived stats. The returned map is a copy; enumeration order does not depend on earlier lazy reads.
Materializes all available stats, as an array.
StaticfromCreates an isolated raw-stat snapshot without eagerly constructing metrics or child models.
Read-oriented event projection for dashboards and lists. Restores metadata and raw canonical stats without constructing activities, laps, streams or metric objects. getStat constructs and caches only the requested metric and any speed-derived dependencies. This is not an editable EventInterface and deliberately has no persistence/export API.
Summary sport semantics use embedded activity types when present, otherwise the persisted Activity Types stat. Aliases, finite-scalar filtering and explicit canonical precedence match native JSON hydration. Invalid metric values and unknown types throw only when requested.