13 lines
244 B
TypeScript
13 lines
244 B
TypeScript
export interface RemoteClient {
|
|
id: string
|
|
username: string
|
|
}
|
|
|
|
export interface ChadClient extends RemoteClient {
|
|
isMe: boolean
|
|
inputMuted?: boolean
|
|
outputMuted?: boolean
|
|
}
|
|
|
|
export type UpdatedClient = Omit<ChadClient, 'id' | 'isMe'>
|