Sanity App SDK
    Preparing search index...

    Interface UserPresence

    One participant's session and everywhere it currently is.

    Keyed by session, not by user: the same person in two tabs is two entries with the same user.

    interface UserPresence {
        locations: PresenceLocation[];
        sessionId: string;
        user: SanityUser;
    }
    Index

    Properties

    locations: PresenceLocation[]
    sessionId: string

    Identifies one tab. Stable while that tab is open, and not reused.