import { PhotoAttachment } from './photos';

// FAQ type definitions
export interface FaqQuestion {
  id: number;
  question: string;
  answer: string;
  answer_markdown?: string;
  category_slug?: string;
  featured: boolean;
  sort_order: number;
  created_at: string;
  updated_at: string;
  photo_attachments?: PhotoAttachment[];
}

export interface FaqCategory {
  id: number;
  name: string;
  slug: string;
  description?: string;
  active: boolean;
  sort_order: number;
  questions_count: number;
}

export interface FaqParams {
  category_slug?: string;
  featured?: boolean;
  q?: string;
  page?: number;
  per_page?: number;
}

export type FaqResponse = FaqQuestion[];

export type FaqCategoryResponse = FaqCategory[];
