export interface MessageType {
user: User;
body: string;
id: string;
key: string;
name: string;
timestamp: string;
type: string;
visible: boolean;
}
export interface User {
displayName: string;
createdAt: Date;
disabledAt: Date;
previousNames: [string];
nameChangedAt: Date;
scopes?: [string];
export interface UsernameHistory {
changedAt: Date;
export interface UserConnectionInfo {
connectedAt: Date;
messageCount: number;
userAgent: string;
export interface Client extends UserConnectionInfo {