@tscircuit/props 0.0.601 → 0.0.602

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,11 +11,14 @@ 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. */
15
+ routingPhaseIndex?: number | null
14
16
  }
15
17
 
16
18
  export const busProps = z.object({
17
19
  name: z.string().optional(),
18
20
  connections: z.array(z.string()).min(2),
21
+ routingPhaseIndex: z.number().nullable().optional(),
19
22
  })
20
23
 
21
24
  type InferredBusProps = z.input<typeof busProps>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.601",
3
+ "version": "0.0.602",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",