16 lines
323 B
TypeScript
16 lines
323 B
TypeScript
export interface ChadClient {
|
|
socketId: string
|
|
userId: string
|
|
username: string
|
|
displayName: string
|
|
inputMuted?: boolean
|
|
outputMuted?: boolean
|
|
}
|
|
|
|
export type UpdatedClient = Omit<ChadClient, 'socketId' | 'userId' | 'isMe'>
|
|
|
|
export interface SpeakingClient {
|
|
clientId: ChadClient['socketId']
|
|
volume: number
|
|
}
|