WorkoutResult
Defined in: console-sdk/src/session/types.ts:728
The reconciled workout result (SDK_PLAN.md §3.6.6) — a value, not a
record. end() resolves it and session.result carries it, complete
with the full metric sample series. The SDK persists nothing (re-scope,
§1.1): rendering, storing, or uploading it is the consuming app’s business.
Properties
Section titled “Properties”devices
Section titled “devices”devices: readonly
DeviceResult[]
Defined in: console-sdk/src/session/types.ts:740
Per-device attribution (N=1 ⇒ one entry).
flags:
object
Defined in: console-sdk/src/session/types.ts:749
Terminal-state flags.
aborted
Section titled “aborted”aborted:
boolean
partial
Section titled “partial”partial:
boolean
heartRate
Section titled “heartRate”heartRate: readonly
HeartRateSample[]
Defined in: console-sdk/src/session/types.ts:742
Heart-rate track recorded via useHeartRateBroadcast (row 41).
id:
WorkoutId
Defined in: console-sdk/src/session/types.ts:730
Stable id assigned at session start — a key for the consumer’s own storage.
metrics
Section titled “metrics”metrics:
WorkoutMetrics
Defined in: console-sdk/src/session/types.ts:747
The full capture: 0.5 s samples per device, in memory, complete at phase
'completed'. Nothing to fetch, reconstruct, or decompress.
performedAt
Section titled “performedAt”performedAt:
object
Defined in: console-sdk/src/session/types.ts:732
When the workout ran.
endedAt
Section titled “endedAt”endedAt:
number
startedAt
Section titled “startedAt”startedAt:
number
plan:
ResolvedPlan
Defined in: console-sdk/src/session/types.ts:736
What was programmed (the normalized input).
reconciliation
Section titled “reconciliation”reconciliation:
object
Defined in: console-sdk/src/session/types.ts:751
Provenance: which totals came from firmware records vs app estimates.
source
Section titled “source”source:
"console-records"|"app-estimated"
splitsMatched
Section titled “splitsMatched”splitsMatched:
boolean
timing
Section titled “timing”timing:
TimingSnapshot
Defined in: console-sdk/src/session/types.ts:734
The timing spine.
totals
Section titled “totals”totals:
PerformanceTotals
Defined in: console-sdk/src/session/types.ts:738
Merged, firmware-reconciled session totals.