export interface AuthUser {
  id: string;
  username: string;
  passwordHash: string;
  displayName: string;
  createdAt: number;
}

export interface ServerInfo {
  id: string;
  name: string;
  description?: string;
  ownerId: string;
  ownerPublicKey: string;
  isPrivate: boolean;
  maxUsers: number;
  currentUsers: number;
  tags: string[];
  createdAt: number;
  lastSeen: number;
}

export interface JoinRequest {
  id: string;
  serverId: string;
  userId: string;
  userPublicKey: string;
  displayName: string;
  status: 'pending' | 'approved' | 'rejected';
  createdAt: number;
}
