export interface CmsPage {
  id: number;
  title: string;
  slug: string;
  content: string | null;
  status: "draft" | "published";
  meta_title: string | null;
  meta_description: string | null;
  og_image: string | null;
  created_at: string;
  updated_at: string;
}

export interface Faq {
  id: number;
  question: string;
  answer: string;
  display_order: number;
  is_active: boolean;
}

export interface Announcement {
  id: number;
  title: string;
  content: string;
  is_active: boolean;
  starts_at: string | null;
  ends_at: string | null;
}

export interface Banner {
  id: number;
  title: string | null;
  image_url: string;
  link_url: string | null;
  display_order: number;
  is_active: boolean;
}

/** FR-CMS-007/014: homepage section visibility/ordering + Hero copy override. */
export interface HomepageSection {
  id: number;
  key: string;
  label: string;
  display_order: number;
  is_visible: boolean;
  hero_title: string | null;
  hero_subtitle: string | null;
  hero_cta_label: string | null;
  hero_cta_url: string | null;
}
