@tscircuit/props 0.0.502 → 0.0.504

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(),
@@ -4,6 +4,7 @@ import { expectTypesMatch } from "lib/typecheck"
4
4
  export interface NetProps {
5
5
  name: string
6
6
  connectsTo?: string | string[]
7
+ routingPhaseIndex?: number | null
7
8
  highlightColor?: string
8
9
  isPowerNet?: boolean
9
10
  isGroundNet?: boolean
@@ -12,6 +13,7 @@ export interface NetProps {
12
13
  export const netProps = z.object({
13
14
  name: z.string(),
14
15
  connectsTo: z.string().or(z.array(z.string())).optional(),
16
+ routingPhaseIndex: z.number().nullable().optional(),
15
17
  highlightColor: z.string().optional(),
16
18
  isPowerNet: z.boolean().optional(),
17
19
  isGroundNet: z.boolean().optional(),
@@ -44,6 +44,7 @@ const baseTraceProps = z.object({
44
44
  pcbPathRelativeTo: z.string().optional(),
45
45
  pcbPath: pcbPath.optional(),
46
46
  pcbPaths: z.array(pcbPath).optional(),
47
+ routingPhaseIndex: z.number().nullable().optional(),
47
48
  pcbStraightLine: z
48
49
  .boolean()
49
50
  .optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.502",
3
+ "version": "0.0.504",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",