@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 CHANGED
@@ -28490,16 +28490,21 @@ interface BusProps {
28490
28490
  name?: string;
28491
28491
  /** Trace names or port selectors for the connections in the bus. */
28492
28492
  connections: string[];
28493
+ /** Autorouting phase in which this bus constraint should be applied. */
28494
+ routingPhaseIndex?: number | null;
28493
28495
  }
28494
28496
  declare const busProps: z.ZodObject<{
28495
28497
  name: z.ZodOptional<z.ZodString>;
28496
28498
  connections: z.ZodArray<z.ZodString, "many">;
28499
+ routingPhaseIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
28497
28500
  }, "strip", z.ZodTypeAny, {
28498
28501
  connections: string[];
28499
28502
  name?: string | undefined;
28503
+ routingPhaseIndex?: number | null | undefined;
28500
28504
  }, {
28501
28505
  connections: string[];
28502
28506
  name?: string | undefined;
28507
+ routingPhaseIndex?: number | null | undefined;
28503
28508
  }>;
28504
28509
 
28505
28510
  interface DirectionalFanoutBoundaryPadding {
@@ -95442,16 +95447,16 @@ declare const netProps: z.ZodObject<{
95442
95447
  name: string;
95443
95448
  highlightColor?: string | undefined;
95444
95449
  nominalTraceWidth?: number | undefined;
95445
- connectsTo?: string | string[] | undefined;
95446
95450
  routingPhaseIndex?: number | null | undefined;
95451
+ connectsTo?: string | string[] | undefined;
95447
95452
  isPowerNet?: boolean | undefined;
95448
95453
  isGroundNet?: boolean | undefined;
95449
95454
  }, {
95450
95455
  name: string;
95451
95456
  highlightColor?: string | undefined;
95452
95457
  nominalTraceWidth?: string | number | undefined;
95453
- connectsTo?: string | string[] | undefined;
95454
95458
  routingPhaseIndex?: number | null | undefined;
95459
+ connectsTo?: string | string[] | undefined;
95455
95460
  isPowerNet?: boolean | undefined;
95456
95461
  isGroundNet?: boolean | undefined;
95457
95462
  }>;
@@ -104308,9 +104313,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
104308
104313
  thickness?: number | undefined;
104309
104314
  highlightColor?: string | undefined;
104310
104315
  displayName?: string | undefined;
104316
+ routingPhaseIndex?: number | null | undefined;
104311
104317
  maxLength?: number | undefined;
104312
104318
  connectsTo?: string | string[] | undefined;
104313
- routingPhaseIndex?: number | null | undefined;
104314
104319
  schematicRouteHints?: {
104315
104320
  x: number;
104316
104321
  y: number;
@@ -104350,9 +104355,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
104350
104355
  thickness?: string | number | undefined;
104351
104356
  highlightColor?: string | undefined;
104352
104357
  displayName?: string | undefined;
104358
+ routingPhaseIndex?: number | null | undefined;
104353
104359
  maxLength?: string | number | undefined;
104354
104360
  connectsTo?: string | string[] | undefined;
104355
- routingPhaseIndex?: number | null | undefined;
104356
104361
  schematicRouteHints?: {
104357
104362
  x: string | number;
104358
104363
  y: string | number;
@@ -104581,9 +104586,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
104581
104586
  thickness?: number | undefined;
104582
104587
  highlightColor?: string | undefined;
104583
104588
  displayName?: string | undefined;
104589
+ routingPhaseIndex?: number | null | undefined;
104584
104590
  maxLength?: number | undefined;
104585
104591
  connectsTo?: string | string[] | undefined;
104586
- routingPhaseIndex?: number | null | undefined;
104587
104592
  schematicRouteHints?: {
104588
104593
  x: number;
104589
104594
  y: number;
@@ -104626,9 +104631,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
104626
104631
  thickness?: string | number | undefined;
104627
104632
  highlightColor?: string | undefined;
104628
104633
  displayName?: string | undefined;
104634
+ routingPhaseIndex?: number | null | undefined;
104629
104635
  maxLength?: string | number | undefined;
104630
104636
  connectsTo?: string | string[] | undefined;
104631
- routingPhaseIndex?: number | null | undefined;
104632
104637
  schematicRouteHints?: {
104633
104638
  x: string | number;
104634
104639
  y: string | number;
@@ -104857,9 +104862,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
104857
104862
  thickness?: number | undefined;
104858
104863
  highlightColor?: string | undefined;
104859
104864
  displayName?: string | undefined;
104865
+ routingPhaseIndex?: number | null | undefined;
104860
104866
  maxLength?: number | undefined;
104861
104867
  connectsTo?: string | string[] | undefined;
104862
- routingPhaseIndex?: number | null | undefined;
104863
104868
  schematicRouteHints?: {
104864
104869
  x: number;
104865
104870
  y: number;
@@ -104902,9 +104907,9 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
104902
104907
  thickness?: string | number | undefined;
104903
104908
  highlightColor?: string | undefined;
104904
104909
  displayName?: string | undefined;
104910
+ routingPhaseIndex?: number | null | undefined;
104905
104911
  maxLength?: string | number | undefined;
104906
104912
  connectsTo?: string | string[] | undefined;
104907
- routingPhaseIndex?: number | null | undefined;
104908
104913
  schematicRouteHints?: {
104909
104914
  x: string | number;
104910
104915
  y: string | number;
package/dist/index.js CHANGED
@@ -17386,7 +17386,8 @@ var traceProps = z70.union([
17386
17386
  import { z as z71 } from "zod";
17387
17387
  var busProps = z71.object({
17388
17388
  name: z71.string().optional(),
17389
- connections: z71.array(z71.string()).min(2)
17389
+ connections: z71.array(z71.string()).min(2),
17390
+ routingPhaseIndex: z71.number().nullable().optional()
17390
17391
  });
17391
17392
  expectTypesMatch(true);
17392
17393