@tscircuit/props 0.0.628 → 0.0.629

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.
@@ -29,6 +29,11 @@ export interface BoardProps
29
29
  material?: "fr4" | "fr1" | "flex"
30
30
  /** Number of layers for the PCB */
31
31
  layers?: 1 | 2 | 4 | 6 | 8 | 10
32
+ /**
33
+ * Whether the autorouter may generate blind and buried vias. Defaults to
34
+ * false, which restricts newly generated vias to the full board stack.
35
+ */
36
+ allowBlindAndBuriedVias?: boolean
32
37
  borderRadius?: Distance
33
38
  thickness?: Distance
34
39
  boardAnchorPosition?: Point
@@ -68,6 +73,12 @@ export const boardProps = subcircuitGroupProps
68
73
  z.literal(10),
69
74
  ])
70
75
  .default(2),
76
+ allowBlindAndBuriedVias: z
77
+ .boolean()
78
+ .default(false)
79
+ .describe(
80
+ "Whether the autorouter may generate blind and buried vias. Defaults to false, which restricts newly generated vias to the full board stack.",
81
+ ),
71
82
  borderRadius: distance.optional(),
72
83
  thickness: distance.optional(),
73
84
  boardAnchorPosition: point.optional(),
@@ -8,6 +8,10 @@ export interface CopperPourProps {
8
8
  name?: string
9
9
  layer: LayerRefInput
10
10
  connectsTo: string
11
+ /**
12
+ * Reserves the pour region during autorouting so unrelated traces do not
13
+ * split it. Vias may still cross the region using antipads.
14
+ */
11
15
  unbroken?: boolean
12
16
  padMargin?: Distance
13
17
  traceMargin?: Distance
@@ -23,7 +27,12 @@ export const copperPourProps = z.object({
23
27
  name: z.string().optional(),
24
28
  layer: layer_ref,
25
29
  connectsTo: z.string(),
26
- unbroken: z.boolean().optional(),
30
+ unbroken: z
31
+ .boolean()
32
+ .optional()
33
+ .describe(
34
+ "Reserves the pour region during autorouting so unrelated traces do not split it. Vias may still cross the region using antipads.",
35
+ ),
27
36
  padMargin: distance.optional(),
28
37
  traceMargin: distance.optional(),
29
38
  clearance: distance.optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.628",
3
+ "version": "0.0.629",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",