Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Interface: DevtoolsStateSnapshot

@roomful/devtools


@roomful/devtools / DevtoolsStateSnapshot

Defined in: types.ts:174

Represents the shared-state snapshot shown in devtools.

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: string | null

Defined in: types.ts:188

Identifies the peer that last changed the state when available.


lastUpdatedAt: number | null

Defined in: types.ts:193

Records when the state last changed when available.


pending: boolean

Defined in: types.ts:198

Indicates whether local changes are still pending sync.


queuedMutationCount: number

Defined in: types.ts:203

Counts queued offline mutations.


reason: DevtoolsStateReason

Defined in: types.ts:208

Stores the latest state mutation reason.


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.