BaseMessage

interface
wire.ts:17

Base structure shared by all DevTools protocol messages.

Every message sent over the DevTools WebSocket extends this interface. The type field acts as a discriminant for the DevtoolsMessage union, enabling exhaustive switch routing on the receiving side.

Properties

NameTypeDescription
sourceIdstringUUID of the sender (store wrapper ID or extension ID).
sourceRoleDevtoolsRoleRole of the sender.
timestampstringISO 8601 timestamp of when the message was created.
typestringDiscriminant field identifying the message type.