export type CategoryId =
  | "upper"
  | "completeUpper"
  | "barrel"
  | "gasBlock"
  | "gasTube"
  | "muzzleDevice"
  | "suppressor"
  | "handguard"
  | "chargingHandle"
  | "bcg"
  | "buffer"
  | "lower"
  | "completeLower"
  | "lowerParts"
  | "trigger"
  | "grip"
  | "safety"
  | "sights"
  | "optic"
  | "stock";

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;
}
