@tscircuit/props 0.0.653 → 0.0.654

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -78,6 +78,12 @@ export const boardOutlinePoint = z
78
78
  export interface BoardProps
79
79
  extends Omit<SubcircuitGroupProps, "subcircuit" | "connections" | "outline"> {
80
80
  title?: string
81
+ /** Fabricator preset, preserved as supplied. Omitted leaves the preset unset. */
82
+ fabricatorPreset?:
83
+ | "jlcpcb_economy"
84
+ | "jlcpcb_standard"
85
+ | "jlcpcb_economy_20260912"
86
+ | "jlcpcb_standard_20260912"
81
87
  material?: "fr4" | "fr1" | "flex"
82
88
  /** Number of layers for the PCB */
83
89
  layers?: 1 | 2 | 4 | 6 | 8 | 10
@@ -135,6 +141,17 @@ export interface BoardProps
135
141
  export const boardProps = subcircuitGroupProps
136
142
  .omit({ connections: true })
137
143
  .extend({
144
+ fabricatorPreset: z
145
+ .enum([
146
+ "jlcpcb_economy",
147
+ "jlcpcb_standard",
148
+ "jlcpcb_economy_20260912",
149
+ "jlcpcb_standard_20260912",
150
+ ])
151
+ .optional()
152
+ .describe(
153
+ "Fabricator preset, preserved as supplied. Omitted leaves the preset unset.",
154
+ ),
138
155
  material: z.enum(["fr4", "fr1", "flex"]).default("fr4"),
139
156
  layers: z
140
157
  .union([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.653",
3
+ "version": "0.0.654",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",