@tscircuit/props 0.0.444 → 0.0.446

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.
@@ -1,5 +1,6 @@
1
1
  import { z } from "zod"
2
2
  import { distance, type Distance } from "lib/common/distance"
3
+ import { type Point, point } from "lib/common/point"
3
4
  import { expectTypesMatch } from "lib/typecheck"
4
5
  import { layer_ref, type LayerRefInput } from "circuit-json"
5
6
 
@@ -12,6 +13,7 @@ export interface CopperPourProps {
12
13
  clearance?: Distance
13
14
  boardEdgeMargin?: Distance
14
15
  cutoutMargin?: Distance
16
+ outline?: Point[]
15
17
  coveredWithSolderMask?: boolean
16
18
  }
17
19
 
@@ -24,6 +26,7 @@ export const copperPourProps = z.object({
24
26
  clearance: distance.optional(),
25
27
  boardEdgeMargin: distance.optional(),
26
28
  cutoutMargin: distance.optional(),
29
+ outline: z.array(point).optional(),
27
30
  coveredWithSolderMask: z.boolean().optional().default(true),
28
31
  })
29
32
 
@@ -302,6 +302,7 @@ export interface AutorouterConfig {
302
302
  serverCacheEnabled?: boolean
303
303
  cache?: PcbRouteCache
304
304
  traceClearance?: Distance
305
+ availableJumperTypes?: Array<"1206x4" | "0603">
305
306
  groupMode?:
306
307
  | "sequential_trace"
307
308
  | "subcircuit"
@@ -354,6 +355,7 @@ export const autorouterConfig = z.object({
354
355
  serverCacheEnabled: z.boolean().optional(),
355
356
  cache: z.custom<PcbRouteCache>((v) => true).optional(),
356
357
  traceClearance: length.optional(),
358
+ availableJumperTypes: z.array(z.enum(["1206x4", "0603"])).optional(),
357
359
  groupMode: z
358
360
  .enum(["sequential_trace", "subcircuit", "sequential-trace"])
359
361
  .optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.444",
3
+ "version": "0.0.446",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",