Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

MarkdownRemoteParticipant

Remote participant identity, appearance, selection, and cursor presence.

Import

import type { MarkdownRemoteParticipant } from "@dartwic/interface-sdk/markdown";

Declaration

export interface MarkdownRemoteParticipant {
    clientId?: string;
    username?: string;
    displayName?: string;
    accentColor?: string;
    avatarImageSrc?: string;
    avatarFallbackText?: string;
    selection?: MarkdownSelection | null;
    cursorPosition?: {x: number; y: number} | null;
    presenceMode?: MarkdownMode;
}

Members

NameTypeRequirementDescription
clientIdstringOptional
usernamestringOptional
displayNamestringOptional
accentColorstringOptional
avatarImageSrcstringOptional
avatarFallbackTextstringOptional
selectionMarkdownSelection | nullOptional
cursorPosition{x: number; y: number} | nullOptional
presenceModeMarkdownModeOptional