@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.
- package/dist/index.d.ts +13 -8
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/lib/components/bus.ts +3 -0
- package/package.json +1 -1
package/lib/components/bus.ts
CHANGED
|
@@ -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>
|