export type PortfolioStatus = 'draft' | 'published' | 'archived'

export interface PortfolioGalleryItem {
  mediaId: string
  url: string
}

export interface Portfolio {
  id: string
  title: string
  titleFa: string
  titleEn: string | null
  slug: string
  abstract: string
  status: PortfolioStatus
  categoryId: string | null
  categoryName: string
  tags: string[]
  titleImageUrl: string | null
  sortOrder: number
  commentCount: number
  publishedAt: string | null
  createdAt: string
  updatedAt: string
}

export interface PortfolioDetail extends Portfolio {
  mainTextHtml: string
  gallery: PortfolioGalleryItem[]
}
