SessionDeviceState
Defined in: console-sdk/src/session/types.ts:373
The live view of one session device (SDK_PLAN.md §3.6.5). link is the
session’s degraded-not-dead view of the fleet connection: a reconnecting
fleet device is still part of the workout (link: 'reconnecting'), and only
an exhausted link is 'lost'.
Properties
Section titled “Properties”deviceId
Section titled “deviceId”deviceId:
DeviceId
Defined in: console-sdk/src/session/types.ts:375
The device driving this role.
link:
"ready"|"reconnecting"|"lost"
Defined in: console-sdk/src/session/types.ts:379
Session view of the connection (degraded model).
role:
Modality
Defined in: console-sdk/src/session/types.ts:377
The modality this device fills in the session.
splits
Section titled “splits”splits: readonly
Split[]
Defined in: console-sdk/src/session/types.ts:383
Splits committed so far.
totals
Section titled “totals”totals:
DeviceTotals
Defined in: console-sdk/src/session/types.ts:381
Running totals, immutable per snapshot.