Files
chad/client/shared/types.ts
2026-01-29 21:59:41 +06:00

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
}