// تایپ‌های مربوط به برند

export type BrandType = {
  _id: string;
  title_fa: string;
  title_en: string;
  category: {
    _id: string;
    name: string;
  } | null;
  status: string;
  description: string;
  logoUrl: string;
  images: string[];
  deleted: boolean;
};

// تایپ‌های صفحه‌بندی
export type PagerType = {
  page: number;
  limit: number;
  totalItems: number;
  totalPages: number;
  prevPage: boolean | null;
  nextPage: string | null;
};

export type BrandsResponseType = {
  status: number;
  success: boolean;
  results: {
    brands: BrandType[];
    pager: PagerType;
  };
};

export type CreateBrandType = {
  title_fa: string;
  title_en: string;
  category: string; // category ID
  description: string;
  logoUrl: string;
  images: string[];
};
