export type WishlistVariant = {
  _id: string;
  name: string;
  sku: string;
  price: number;
  compareAtPrice?: number;
  stockQuantity: number;
  isActive: boolean;
};

export type WishlistProduct = {
  _id: string;
  name: string;
  slug: string;
  brand?: string;
  status: "active" | "draft" | "archived";
  averageRating?: number;
  reviewCount?: number;
  parentCategorySlug: string;
  childCategorySlug: string;
  images: Array<{ url: string; alt?: string; position: number }>;
  variants: WishlistVariant[];
};

export type WishlistItem = {
  _id: string;
  _creationTime: number;
  productId: string;
  variantId?: string;
  addedAt: number;
  priceWhenAdded: number;
  notifyOnPriceDrop: boolean;
  notifyOnBackInStock: boolean;
  product?: WishlistProduct;
  variant?: WishlistVariant;
};
