@tscircuit/props 0.0.602 → 0.0.604

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/README.md CHANGED
@@ -440,6 +440,8 @@ export interface BusProps {
440
440
  name?: string;
441
441
  /** Trace names or port selectors for the connections in the bus. */
442
442
  connections: string[];
443
+ /** If set, every trace in this bus is assigned to this autorouting phase. */
444
+ routingPhaseIndex?: number | null;
443
445
  }
444
446
  ```
445
447
 
package/dist/index.d.ts CHANGED
@@ -28490,7 +28490,7 @@ 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. */
28493
+ /** If set, every trace in this bus is assigned to this autorouting phase. */
28494
28494
  routingPhaseIndex?: number | null;
28495
28495
  }
28496
28496
  declare const busProps: z.ZodObject<{
@@ -165415,6 +165415,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
165415
165415
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
165416
165416
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
165417
165417
  }>, "many">>;
165418
+ excludeRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
165418
165419
  }, "strip", z.ZodTypeAny, {
165419
165420
  shape: "circle";
165420
165421
  radius: number;
@@ -165450,6 +165451,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
165450
165451
  pcbSx?: PcbSx | undefined;
165451
165452
  pcbRelative?: boolean | undefined;
165452
165453
  relative?: boolean | undefined;
165454
+ excludeRefs?: string[] | undefined;
165453
165455
  }, {
165454
165456
  shape: "circle";
165455
165457
  radius: string | number;
@@ -165489,6 +165491,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
165489
165491
  pcbSx?: PcbSx | undefined;
165490
165492
  pcbRelative?: boolean | undefined;
165491
165493
  relative?: boolean | undefined;
165494
+ excludeRefs?: string[] | undefined;
165492
165495
  }>, z.ZodObject<{
165493
165496
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
165494
165497
  pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -165567,6 +165570,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
165567
165570
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
165568
165571
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
165569
165572
  }>, "many">>;
165573
+ excludeRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
165570
165574
  }, "strip", z.ZodTypeAny, {
165571
165575
  shape: "rect";
165572
165576
  width: number;
@@ -165604,6 +165608,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
165604
165608
  pcbSx?: PcbSx | undefined;
165605
165609
  pcbRelative?: boolean | undefined;
165606
165610
  relative?: boolean | undefined;
165611
+ excludeRefs?: string[] | undefined;
165607
165612
  }, {
165608
165613
  shape: "rect";
165609
165614
  width: string | number;
@@ -165645,6 +165650,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
165645
165650
  pcbSx?: PcbSx | undefined;
165646
165651
  pcbRelative?: boolean | undefined;
165647
165652
  relative?: boolean | undefined;
165653
+ excludeRefs?: string[] | undefined;
165648
165654
  }>]>;
165649
165655
  type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
165650
165656
 
package/dist/index.js CHANGED
@@ -18197,13 +18197,19 @@ var pcbKeepoutProps = z106.union([
18197
18197
  pcbLayoutProps.omit({ pcbRotation: true }).extend({
18198
18198
  shape: z106.literal("circle"),
18199
18199
  radius: distance25,
18200
- layers: z106.array(layer_ref8).optional()
18200
+ layers: z106.array(layer_ref8).optional(),
18201
+ excludeRefs: z106.array(z106.string()).optional().describe(
18202
+ 'Component selectors excluded from the keepout, such as ".ANT1"'
18203
+ )
18201
18204
  }),
18202
18205
  pcbLayoutProps.extend({
18203
18206
  shape: z106.literal("rect"),
18204
18207
  width: distance25,
18205
18208
  height: distance25,
18206
- layers: z106.array(layer_ref8).optional()
18209
+ layers: z106.array(layer_ref8).optional(),
18210
+ excludeRefs: z106.array(z106.string()).optional().describe(
18211
+ 'Component selectors excluded from the keepout, such as ".ANT1"'
18212
+ )
18207
18213
  })
18208
18214
  ]);
18209
18215