@tscircuit/props 0.0.660 → 0.0.662

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
@@ -197339,6 +197339,12 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197339
197339
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
197340
197340
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
197341
197341
  }>, "many">>;
197342
+ /** Report keepout violations as warnings when true. Omit for normal enforcement. */
197343
+ warningOnly: z.ZodOptional<z.ZodBoolean>;
197344
+ /** Allow trace crossings without keepout diagnostics. False or omitted retains enforcement; copper pours remain excluded. */
197345
+ allowTraces: z.ZodOptional<z.ZodBoolean>;
197346
+ /** Allow components and their pads/plated holes without keepout diagnostics. False or omitted retains enforcement; copper pours remain excluded. */
197347
+ allowPlacements: z.ZodOptional<z.ZodBoolean>;
197342
197348
  excludeRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
197343
197349
  }, "strip", z.ZodTypeAny, {
197344
197350
  shape: "circle";
@@ -197375,6 +197381,9 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197375
197381
  pcbSx?: PcbSx | undefined;
197376
197382
  pcbRelative?: boolean | undefined;
197377
197383
  relative?: boolean | undefined;
197384
+ warningOnly?: boolean | undefined;
197385
+ allowTraces?: boolean | undefined;
197386
+ allowPlacements?: boolean | undefined;
197378
197387
  excludeRefs?: string[] | undefined;
197379
197388
  }, {
197380
197389
  shape: "circle";
@@ -197415,6 +197424,9 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197415
197424
  pcbSx?: PcbSx | undefined;
197416
197425
  pcbRelative?: boolean | undefined;
197417
197426
  relative?: boolean | undefined;
197427
+ warningOnly?: boolean | undefined;
197428
+ allowTraces?: boolean | undefined;
197429
+ allowPlacements?: boolean | undefined;
197418
197430
  excludeRefs?: string[] | undefined;
197419
197431
  }>, z.ZodObject<{
197420
197432
  pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
@@ -197494,6 +197506,12 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197494
197506
  }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
197495
197507
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
197496
197508
  }>, "many">>;
197509
+ /** Report keepout violations as warnings when true. Omit for normal enforcement. */
197510
+ warningOnly: z.ZodOptional<z.ZodBoolean>;
197511
+ /** Allow trace crossings without keepout diagnostics. False or omitted retains enforcement; copper pours remain excluded. */
197512
+ allowTraces: z.ZodOptional<z.ZodBoolean>;
197513
+ /** Allow components and their pads/plated holes without keepout diagnostics. False or omitted retains enforcement; copper pours remain excluded. */
197514
+ allowPlacements: z.ZodOptional<z.ZodBoolean>;
197497
197515
  excludeRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
197498
197516
  }, "strip", z.ZodTypeAny, {
197499
197517
  shape: "rect";
@@ -197532,6 +197550,9 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197532
197550
  pcbSx?: PcbSx | undefined;
197533
197551
  pcbRelative?: boolean | undefined;
197534
197552
  relative?: boolean | undefined;
197553
+ warningOnly?: boolean | undefined;
197554
+ allowTraces?: boolean | undefined;
197555
+ allowPlacements?: boolean | undefined;
197535
197556
  excludeRefs?: string[] | undefined;
197536
197557
  }, {
197537
197558
  shape: "rect";
@@ -197574,6 +197595,9 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
197574
197595
  pcbSx?: PcbSx | undefined;
197575
197596
  pcbRelative?: boolean | undefined;
197576
197597
  relative?: boolean | undefined;
197598
+ warningOnly?: boolean | undefined;
197599
+ allowTraces?: boolean | undefined;
197600
+ allowPlacements?: boolean | undefined;
197577
197601
  excludeRefs?: string[] | undefined;
197578
197602
  }>]>;
197579
197603
  type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
package/dist/index.js CHANGED
@@ -18572,6 +18572,12 @@ var pcbKeepoutProps = z110.union([
18572
18572
  shape: z110.literal("circle"),
18573
18573
  radius: distance28,
18574
18574
  layers: z110.array(layer_ref10).optional(),
18575
+ /** Report keepout violations as warnings when true. Omit for normal enforcement. */
18576
+ warningOnly: z110.boolean().optional(),
18577
+ /** Allow trace crossings without keepout diagnostics. False or omitted retains enforcement; copper pours remain excluded. */
18578
+ allowTraces: z110.boolean().optional(),
18579
+ /** Allow components and their pads/plated holes without keepout diagnostics. False or omitted retains enforcement; copper pours remain excluded. */
18580
+ allowPlacements: z110.boolean().optional(),
18575
18581
  excludeRefs: z110.array(z110.string()).optional().describe(
18576
18582
  'Component selectors excluded from the keepout, such as ".ANT1"'
18577
18583
  )
@@ -18581,6 +18587,12 @@ var pcbKeepoutProps = z110.union([
18581
18587
  width: distance28,
18582
18588
  height: distance28,
18583
18589
  layers: z110.array(layer_ref10).optional(),
18590
+ /** Report keepout violations as warnings when true. Omit for normal enforcement. */
18591
+ warningOnly: z110.boolean().optional(),
18592
+ /** Allow trace crossings without keepout diagnostics. False or omitted retains enforcement; copper pours remain excluded. */
18593
+ allowTraces: z110.boolean().optional(),
18594
+ /** Allow components and their pads/plated holes without keepout diagnostics. False or omitted retains enforcement; copper pours remain excluded. */
18595
+ allowPlacements: z110.boolean().optional(),
18584
18596
  excludeRefs: z110.array(z110.string()).optional().describe(
18585
18597
  'Component selectors excluded from the keepout, such as ".ANT1"'
18586
18598
  )