// Service type definitions (aligned with Rails ServiceSerializer)
export interface Service {
  id: number;
  name: string;
  slug: string;
  description_markdown: string;
  summary?: string;
  pricing_info?: string;
  features_markdown?: string;
  featured: boolean;
  sort_order: number;
  photo_attachments?: Array<{
    id: number;
    featured: boolean;
    attachable_id?: number;
    attachable_type?: string;
    photo?: {
      id: number;
      title: string;
      thumbnail_url?: string;
      medium_url?: string;
      large_url?: string;
      original_url?: string;
    };
  }>;
  created_at: string;
  updated_at: string;
}

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

export type ServiceResponse = Service[];
