La referencia de la API está disponible solo en inglés por ahora.

StateSnapshot

interface
messages.ts:118

extends BaseMessage

Full state snapshot, sent in response to RequestState.

Contains the complete serialized state tree at a specific version. Extensions use this to hydrate their local state representation or to re-sync after reconnection. The reducerNames array lists all registered reducer slices for UI display.

Properties

NameTypeDescription
reducerNamesstring[]List of reducer slice names.
sourceIdstringUUID of the sender (store wrapper ID or extension ID).
sourceRoleDevtoolsRoleRole of the sender.
stateunknownSerialized state tree, complete unless StateSnapshot.truncated says otherwise.
storeIdstring
timestampstringISO 8601 timestamp of when the message was created.
truncated?booleantrue when the state was too large to send whole and parts were replaced by markers.
truncationNote?stringExplains what was dropped and why, for display alongside a truncated tree.
type"STATE_SNAPSHOT"Discriminant field identifying the message type.
versionnumberSnapshot version matching the latest event's snapshotVersion.