import type { ProductStatus } from '../ProductList/data';

export type ProductInventoryStatus = 'in_stock' | 'out_of_stock';

export interface ProductItem {
  id: string;
  name: string;
  price: number;
  category: string;
  stock: number;
  status: ProductStatus;
  inventoryStatus: ProductInventoryStatus;
  description?: string;
  imageUrl?: string;
  createdAt: string;
}

export interface ProductParams {
  name?: string;
  category?: string;
  status?: string;
  current?: number;
  pageSize?: number;
}
