import type { Category, Part } from "@/types/gunbuilder";

export const CATEGORIES: Category[] = [
  { id: "lower", name: "Lower Receiver" },
  { id: "upper", name: "Upper Receiver" },
  { id: "barrel", name: "Barrel" },
  { id: "handguard", name: "Handguard" },
  { id: "stock", name: "Stock" },
  { id: "optic", name: "Optic" },
];

export const PARTS: Part[] = [
  {
    id: "lower-aero-m4e1",
    name: "M4E1 Stripped Lower Receiver",
    brand: "Aero Precision",
    categoryId: "lower",
    price: 129.99,
    affiliateUrl: "https://example.com/aero-m4e1",
    notes: "Forged 7075-T6, threaded bolt catch",
  },
  {
    id: "lower-solgw",
    name: "Loyal 9 Stripped Lower",
    brand: "Sons of Liberty Gun Works",
    categoryId: "lower",
    price: 189.0,
    affiliateUrl: "https://example.com/solgw-lower",
  },
  {
    id: "upper-aero-enhanced",
    name: "Enhanced Upper Receiver",
    brand: "Aero Precision",
    categoryId: "upper",
    price: 149.99,
    affiliateUrl: "https://example.com/aero-enhanced-upper",
  },
  {
    id: "upper-bcm-m4",
    name: "M4 Upper Receiver",
    brand: "BCM",
    categoryId: "upper",
    price: 159.99,
    affiliateUrl: "https://example.com/bcm-m4-upper",
  },
  {
    id: "barrel-criterion-16",
    name: "16\" Hybrid Barrel",
    brand: "Criterion",
    categoryId: "barrel",
    price: 279.99,
    affiliateUrl: "https://example.com/criterion-16",
    notes: "Mid-length gas, chrome-lined",
  },
  {
    id: "barrel-ba-13-9",
    name: "13.9\" Hanson Performance Series",
    brand: "Ballistic Advantage",
    categoryId: "barrel",
    price: 209.99,
    affiliateUrl: "https://example.com/ba-13-9",
  },
  {
    id: "hg-geissele-mk8",
    name: "MK8 Rail 13.5\"",
    brand: "Geissele",
    categoryId: "handguard",
    price: 324.99,
    affiliateUrl: "https://example.com/geissele-mk8",
  },
  {
    id: "hg-centurion-c4",
    name: "C4 M-LOK 12\"",
    brand: "Centurion Arms",
    categoryId: "handguard",
    price: 284.99,
    affiliateUrl: "https://example.com/centurion-c4",
  },
  {
    id: "stock-b5-bravo",
    name: "BRAVO Stock",
    brand: "B5 Systems",
    categoryId: "stock",
    price: 74.99,
    affiliateUrl: "https://example.com/b5-bravo",
  },
  {
    id: "stock-magpul-sl",
    name: "MOE SL Carbine Stock",
    brand: "Magpul",
    categoryId: "stock",
    price: 69.99,
    affiliateUrl: "https://example.com/magpul-sl",
  },
  {
    id: "optic-eotech-exps3",
    name: "EXPS3 Holographic Sight",
    brand: "EOTECH",
    categoryId: "optic",
    price: 749.0,
    affiliateUrl: "https://example.com/eotech-exps3",
  },
  {
    id: "optic-holosun-509t",
    name: "HE509T Red Dot",
    brand: "Holosun",
    categoryId: "optic",
    price: 349.99,
    affiliateUrl: "https://example.com/holosun-509t",
  },
];
