export type CategoryId =
  | "lower"
  | "upper"
  | "barrel"
  | "handguard"
  | "stock"
  | "optic";

export interface Category {
  id: CategoryId;
  name: string;
  description?: string;
}

export interface Part {
  id: string;
  name: string;
  brand: string;
  categoryId: CategoryId;
  price: number;
  affiliateUrl: string;
  imageUrl?: string;
  notes?: string;
}
