export interface BlogPostSection {
  id: string
  text?: string | null
  image?: string | null
}

export interface BlogPost {
  id: number
  title: string
  slug: string
  previewImage?: string | null
  linkUrl?: string | null
  sections: BlogPostSection[]
  footer?: string | null
  isEditorsPick: boolean
  excerpt?: string
  createdAt: string
  updatedAt: string
}

export interface ApiResponse<T> {
  data: T
  error?: string
}

export interface ApiListResponse<T> {
  data: T[]
  error?: string
}
