From f19743ddffd13fe612ea469f48fbec4fa2841d1b Mon Sep 17 00:00:00 2001 From: Severin Ibarluzea Date: Wed, 11 Mar 2026 16:43:13 -0700 Subject: [PATCH] Add v3 autorouterVersion option --- generated/COMPONENT_TYPES.md | 4 ++-- generated/PROPS_OVERVIEW.md | 2 +- lib/components/group.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/generated/COMPONENT_TYPES.md b/generated/COMPONENT_TYPES.md index 3c6daab..2387c60 100644 --- a/generated/COMPONENT_TYPES.md +++ b/generated/COMPONENT_TYPES.md @@ -2005,7 +2005,7 @@ export interface SubcircuitGroupProps extends BaseGroupProps { autorouter?: AutorouterProp autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x" - autorouterVersion?: "v1" | "v2" | "latest" + autorouterVersion?: "v1" | "v2" | "v3" | "latest" circuitJson?: any[] @@ -2146,7 +2146,7 @@ export const subcircuitGroupProps = baseGroupProps.extend({ pcbRouteCache: z.custom((v) => true).optional(), autorouter: autorouterProp.optional(), autorouterEffortLevel: autorouterEffortLevel.optional(), - autorouterVersion: z.enum(["v1", "v2", "latest"]).optional(), + autorouterVersion: z.enum(["v1", "v2", "v3", "latest"]).optional(), square: z.boolean().optional(), emptyArea: z.string().optional(), filledArea: z.string().optional(), diff --git a/generated/PROPS_OVERVIEW.md b/generated/PROPS_OVERVIEW.md index 03b5c7f..65d0f88 100644 --- a/generated/PROPS_OVERVIEW.md +++ b/generated/PROPS_OVERVIEW.md @@ -1941,7 +1941,7 @@ export interface SubcircuitGroupProps extends BaseGroupProps { autorouter?: AutorouterProp autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x" - autorouterVersion?: "v1" | "v2" | "latest" + autorouterVersion?: "v1" | "v2" | "v3" | "latest" /** * Serialized circuit JSON describing a precompiled subcircuit diff --git a/lib/components/group.ts b/lib/components/group.ts index 15be140..1aaacf9 100644 --- a/lib/components/group.ts +++ b/lib/components/group.ts @@ -424,7 +424,7 @@ export interface SubcircuitGroupProps extends BaseGroupProps { autorouter?: AutorouterProp autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x" - autorouterVersion?: "v1" | "v2" | "latest" + autorouterVersion?: "v1" | "v2" | "v3" | "latest" /** * Serialized circuit JSON describing a precompiled subcircuit @@ -587,7 +587,7 @@ export const subcircuitGroupProps = baseGroupProps.extend({ pcbRouteCache: z.custom((v) => true).optional(), autorouter: autorouterProp.optional(), autorouterEffortLevel: autorouterEffortLevel.optional(), - autorouterVersion: z.enum(["v1", "v2", "latest"]).optional(), + autorouterVersion: z.enum(["v1", "v2", "v3", "latest"]).optional(), square: z.boolean().optional(), emptyArea: z.string().optional(), filledArea: z.string().optional(),