export interface UserProfile {
  id: string
  username: string
  post_count: number
  created_at: string
}

export interface AuthResponse {
  token: string
  user: UserProfile
  served_by: string
}

export interface Category {
  id: string
  name: string
  description: string
  thread_count: number
  post_count: number
  created_at: string
}

export interface Thread {
  id: string
  category_id: string
  author_id: string
  author_username: string
  title: string
  is_pinned: boolean
  is_locked: boolean
  reply_count: number
  view_count: number
  last_post_at: string
  created_at: string
}

export interface Post {
  id: string
  thread_id: string
  author_id: string
  author_username: string
  author_post_count: number
  author_created_at: string
  content: string
  created_at: string
  updated_at: string
}
