Interface: DevtoolsStateSnapshot
@roomful/devtools / DevtoolsStateSnapshot
Interface: DevtoolsStateSnapshot
Section titled “Interface: DevtoolsStateSnapshot”Defined in: types.ts:174
Represents the shared-state snapshot shown in devtools.
Properties
Section titled “Properties”available
Section titled “available”available:
boolean
Defined in: types.ts:178
Indicates whether shared state has been configured.
diff:
DevtoolsStateDiffEntry[]
Defined in: types.ts:183
Stores the diff from the previous snapshot.
lastChangedBy
Section titled “lastChangedBy”lastChangedBy:
string|null
Defined in: types.ts:188
Identifies the peer that last changed the state when available.
lastUpdatedAt
Section titled “lastUpdatedAt”lastUpdatedAt:
number|null
Defined in: types.ts:193
Records when the state last changed when available.
pending
Section titled “pending”pending:
boolean
Defined in: types.ts:198
Indicates whether local changes are still pending sync.
queuedMutationCount
Section titled “queuedMutationCount”queuedMutationCount:
number
Defined in: types.ts:203
Counts queued offline mutations.
reason
Section titled “reason”reason:
DevtoolsStateReason
Defined in: types.ts:208
Stores the latest state mutation reason.
strategy
Section titled “strategy”strategy:
DevtoolsStateStrategy
Defined in: types.ts:213
Stores the active state strategy.
value:
DevtoolsSerializedValue
Defined in: types.ts:218
Stores the serialized shared-state value.