@tscircuit/props 0.0.603 → 0.0.604
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.
- package/README.md +2 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/lib/components/pcb-keepout.ts +12 -0
- package/package.json +1 -1
|
@@ -7,12 +7,24 @@ export const pcbKeepoutProps = z.union([
|
|
|
7
7
|
shape: z.literal("circle"),
|
|
8
8
|
radius: distance,
|
|
9
9
|
layers: z.array(layer_ref).optional(),
|
|
10
|
+
excludeRefs: z
|
|
11
|
+
.array(z.string())
|
|
12
|
+
.optional()
|
|
13
|
+
.describe(
|
|
14
|
+
'Component selectors excluded from the keepout, such as ".ANT1"',
|
|
15
|
+
),
|
|
10
16
|
}),
|
|
11
17
|
pcbLayoutProps.extend({
|
|
12
18
|
shape: z.literal("rect"),
|
|
13
19
|
width: distance,
|
|
14
20
|
height: distance,
|
|
15
21
|
layers: z.array(layer_ref).optional(),
|
|
22
|
+
excludeRefs: z
|
|
23
|
+
.array(z.string())
|
|
24
|
+
.optional()
|
|
25
|
+
.describe(
|
|
26
|
+
'Component selectors excluded from the keepout, such as ".ANT1"',
|
|
27
|
+
),
|
|
16
28
|
}),
|
|
17
29
|
])
|
|
18
30
|
export type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>
|