import type { Deal } from "./Deal"
import type { User } from "./User"

export type Comment = {
  id: number
  text: string
  createdAt: string
  user:Pick<User,"username" | "avatarUrl">
  deal: Pick<Deal, "id" | "title"> // sadece id ve title yeterli
}