mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: expose more collaborator status icons (#7777)
This commit is contained in:
parent
b7babe554b
commit
068895db0e
18 changed files with 652 additions and 335 deletions
|
@ -61,6 +61,9 @@ export type Collaborator = Readonly<{
|
|||
id?: string;
|
||||
socketId?: SocketId;
|
||||
isCurrentUser?: boolean;
|
||||
isInCall?: boolean;
|
||||
isSpeaking?: boolean;
|
||||
isMuted?: boolean;
|
||||
}>;
|
||||
|
||||
export type CollaboratorPointer = {
|
||||
|
@ -319,9 +322,9 @@ export interface AppState {
|
|||
y: number;
|
||||
} | null;
|
||||
objectsSnapModeEnabled: boolean;
|
||||
/** the user's clientId & username who is being followed on the canvas */
|
||||
/** the user's socket id & username who is being followed on the canvas */
|
||||
userToFollow: UserToFollow | null;
|
||||
/** the clientIds of the users following the current user */
|
||||
/** the socket ids of the users following the current user */
|
||||
followedBy: Set<SocketId>;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue