Interface for an object representing a single collaborator on a realtime model.

interface ICollaborator {
    color: string;
    displayName: string;
    sessionId: string;
    shortName: string;
    userId: string;



color: string

A color to be used to identify the collaborator in UI elements.

displayName: string

A human-readable display name for a collaborator.

sessionId: string

A session id, which should be unique to a particular view on a collaborative model.

shortName: string

A human-readable short name for a collaborator, for use in places where the full displayName would take too much space.

userId: string

A user id for the collaborator. This might not be unique, if the user has more than one editing session at a time.