import { DanakSuggestService } from "@/app/home/types/HomeTypes";
import { ApiResponse } from "@/shared/types/SharedTypes";

export type ServiceResponse = ApiResponse<{
  services: DanakSuggestService[];
  nextPage: boolean;
}>;

export type CategoryResponse = ApiResponse<{
  categories: ServiceCategoryType[];
}>;

export type ServiceCategoryType = {
  id: string;
  createdAt: string;
  updatedAt: string;
  title: string;
  icon: string;
  isActive: boolean;
  order: number;
  parentId: string | null;
  deletedAt: string | null;
};

export type DanakServiceSuggestedResponse = ApiResponse<{
  danakServices: DanakSuggestService[];
}>;
