Vgbvcf's picture
download
raw
534 Bytes
export const USER_AVATAR = '/avatars/user.png';
export type ParticipantRole = 'teacher' | 'student' | 'user';
export interface Participant {
id: string;
name: string;
role: ParticipantRole;
avatar: string;
isOnline: boolean;
isSpeaking?: boolean;
}
export interface MessageAction {
id: string;
label: string;
icon?: string;
onClick: () => void;
}
export interface Message {
id: string;
senderId: string;
senderRole: ParticipantRole;
content: string;
timestamp: number;
actions?: MessageAction[];
}

Xet Storage Details

Size:
534 Bytes
·
Xet hash:
90190de0089b539d14f86bcce5124bd399e4f1fe45322114ae00d8286b2b1095

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.