@tscircuit/props 0.0.602 → 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.
@@ -11,7 +11,7 @@ export interface BusProps {
11
11
  name?: string
12
12
  /** Trace names or port selectors for the connections in the bus. */
13
13
  connections: string[]
14
- /** Autorouting phase in which this bus constraint should be applied. */
14
+ /** If set, every trace in this bus is assigned to this autorouting phase. */
15
15
  routingPhaseIndex?: number | null
16
16
  }
17
17
 
@@ -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>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.602",
3
+ "version": "0.0.604",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",