export interface ApiResponse<T> {
  success: boolean;
  data: T;
  message: string;
}
export interface ServiceCategory {
  id: number;
  title: string;
  key: string;
  type: string;
}

export interface Project {
  id: number;
  title: string;
  short_description: string;
  website_image: string;
  application_image: string;
  is_scroll: boolean;
  video: string;
  logo: string;
  slug: string;
  slug_ar: string;
  slug_en: string;
  slider: string;
  card_display_type: string;
}

export interface PaginationLink {
  url: string | null;
  label: string;
  active: boolean;
}

export interface PaginatedProjects {
  current_page: number;
  data: Project[];
  first_page_url: string;
  from: number;
  last_page: number;
  last_page_url: string;
  links: PaginationLink[];
  next_page_url: string | null;
  path: string;
  per_page: number;
  prev_page_url: string | null;
  to: number;
  total: number;
}

export interface FeaturedProject {
  services: ServiceCategory[];
  projects: Project[];
}
export interface ProjectsResponse {
  data: {
    services: ServiceCategory[];
    projects: PaginatedProjects;
  };
}
