@mocanvas/editor · type

TLPresenceStateInfo

type TLPresenceStateInfo = Omit<InstancePresence, "id" | "typeName">

What one client broadcasts about itself, minus the record's own identity.

The presence *record* has an id (this tab) and a typeName; neither is something a host decides, so a custom getUserPresence never has to produce them. Everything else — where the cursor is, what is selected, which page — is the state, and this is its type.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.