export type TNews = {
  title: string
  description: string
  type: 'hero' | 'grid'
  items: Pick<
    TNewsDetail,
    'title' | 'content' | 'featured' | 'slug' | 'tags' | 'isPremium'
  >[]
}

export type TNewsDetail = {
  title: string
  content: string
  featured: string
  author: string
  date: Date
  slug: string
  tags?: Array<string>
  isPremium?: boolean
  categories?: Array<string>
}
