
import type { PublicUserSummary } from "..//User"
import type { SellerSummary } from "..//seller/Seller"
import type { DealImage } from "./DealImage"
import type { DealComment } from "./DealComment"
export type DealDetail = {
  id: number
  title: string
  description: string

  url?: string
  price?: number
  score: number
  commentsCount: number

  status: "PENDING" | "ACTIVE" | "EXPIRED" | "REJECTED"
  saleType: "ONLINE" | "OFFLINE" | "CODE"
  affiliateType: "AFFILIATE" | "NON_AFFILIATE" | "USER_AFFILIATE"
  createdAt: string
  updatedAt: string

  // ilişkiler
  user: PublicUserSummary
  seller: SellerSummary
  images: DealImage[]
  comments: DealComment[]
}
