@tscircuit/props 0.0.642 → 0.0.643

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.
@@ -10,12 +10,12 @@ import { z } from "zod"
10
10
  export type BusName = string
11
11
 
12
12
  /**
13
- * Declares a group of connections that an autorouter should keep together.
13
+ * Declares one or more connections that an autorouter should route as a group.
14
14
  * Each connection may be a trace name or a port selector.
15
15
  */
16
16
  export interface BusProps {
17
17
  name?: string
18
- /** Trace names or port selectors for the connections in the bus. */
18
+ /** One or more trace names or port selectors for the connections in the bus. */
19
19
  connections: string[]
20
20
  /** If set, every trace in this bus is assigned to this autorouting phase. */
21
21
  routingPhaseIndex?: number | null
@@ -35,7 +35,7 @@ export interface BusProps {
35
35
 
36
36
  export const busProps = z.object({
37
37
  name: z.string().optional(),
38
- connections: z.array(z.string()).min(2),
38
+ connections: z.array(z.string()).min(1),
39
39
  routingPhaseIndex: z.number().nullable().optional(),
40
40
  maxLengthSkew: distance.pipe(z.number().min(0).finite()).optional(),
41
41
  targetImpedance: resistance.pipe(z.number().positive().finite()).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tscircuit/props",
3
- "version": "0.0.642",
3
+ "version": "0.0.643",
4
4
  "description": "Props for tscircuit builtin component types",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",