@tscircuit/props 0.0.445 → 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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.445",
3
+ "version": "0.0.446",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",