From 70d4fb68ddf663c292bc3f5d7f4d3bf86b241197 Mon Sep 17 00:00:00 2001 From: "posthog[bot]" <206114724+posthog[bot]@users.noreply.github.com> Date: Thu, 2 Jul 2026 22:06:07 +0000 Subject: [PATCH] Add "sparkfun" to supplier_name enum SparkFun is a legitimate electronics supplier, but it was missing from the supplier_name enum. Setting supplierPartNumbers: { sparkfun: [...] } on a component failed validation in source_component_base, blocking chip creation entirely. Generated-By: PostHog Code Task-Id: 5909e5bc-a00e-4611-a731-c94c230eb4ed --- src/pcb/properties/supplier_name.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pcb/properties/supplier_name.ts b/src/pcb/properties/supplier_name.ts index 58393bc2..e5778e04 100644 --- a/src/pcb/properties/supplier_name.ts +++ b/src/pcb/properties/supplier_name.ts @@ -8,6 +8,7 @@ export const supplier_name = z.enum([ "digikey", "mouser", "lcsc", + "sparkfun", ]) type InferredSupplierName = z.infer @@ -19,5 +20,6 @@ export type SupplierName = | "digikey" | "mouser" | "lcsc" + | "sparkfun" expectTypesMatch(true)