@tscircuit/props 0.0.501 → 0.0.503

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.
@@ -8,6 +8,7 @@ export interface CopperPourProps {
8
8
  name?: string
9
9
  layer: LayerRefInput
10
10
  connectsTo: string
11
+ unbroken?: boolean
11
12
  padMargin?: Distance
12
13
  traceMargin?: Distance
13
14
  clearance?: Distance
@@ -21,6 +22,7 @@ export const copperPourProps = z.object({
21
22
  name: z.string().optional(),
22
23
  layer: layer_ref,
23
24
  connectsTo: z.string(),
25
+ unbroken: z.boolean().optional(),
24
26
  padMargin: distance.optional(),
25
27
  traceMargin: distance.optional(),
26
28
  clearance: distance.optional(),
@@ -436,7 +436,7 @@ export interface SubcircuitGroupProps extends BaseGroupProps {
436
436
 
437
437
  autorouter?: AutorouterProp
438
438
  autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x"
439
- autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "latest"
439
+ autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest"
440
440
 
441
441
  /**
442
442
  * Serialized circuit JSON describing a precompiled subcircuit
@@ -599,7 +599,9 @@ export const subcircuitGroupProps = baseGroupProps.extend({
599
599
  pcbRouteCache: z.custom<PcbRouteCache>((v) => true).optional(),
600
600
  autorouter: autorouterProp.optional(),
601
601
  autorouterEffortLevel: autorouterEffortLevel.optional(),
602
- autorouterVersion: z.enum(["v1", "v2", "v3", "v4", "latest"]).optional(),
602
+ autorouterVersion: z
603
+ .enum(["v1", "v2", "v3", "v4", "v5", "latest"])
604
+ .optional(),
603
605
  square: z.boolean().optional(),
604
606
  emptyArea: z.string().optional(),
605
607
  filledArea: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.501",
3
+ "version": "0.0.503",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",