feat: expose more collaborator status icons (#7777)

This commit is contained in:
David Luzar
2024-03-18 10:20:07 +01:00
committed by GitHub
parent b7babe554b
commit 068895db0e
18 changed files with 652 additions and 335 deletions

View File

@@ -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>;
}