@tscircuit/props 0.0.660 → 0.0.661
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 +8 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/lib/components/pcb-keepout.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -197339,6 +197339,8 @@ 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>;
|
|
197342
197344
|
excludeRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
197343
197345
|
}, "strip", z.ZodTypeAny, {
|
|
197344
197346
|
shape: "circle";
|
|
@@ -197375,6 +197377,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197375
197377
|
pcbSx?: PcbSx | undefined;
|
|
197376
197378
|
pcbRelative?: boolean | undefined;
|
|
197377
197379
|
relative?: boolean | undefined;
|
|
197380
|
+
warningOnly?: boolean | undefined;
|
|
197378
197381
|
excludeRefs?: string[] | undefined;
|
|
197379
197382
|
}, {
|
|
197380
197383
|
shape: "circle";
|
|
@@ -197415,6 +197418,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197415
197418
|
pcbSx?: PcbSx | undefined;
|
|
197416
197419
|
pcbRelative?: boolean | undefined;
|
|
197417
197420
|
relative?: boolean | undefined;
|
|
197421
|
+
warningOnly?: boolean | undefined;
|
|
197418
197422
|
excludeRefs?: string[] | undefined;
|
|
197419
197423
|
}>, z.ZodObject<{
|
|
197420
197424
|
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
@@ -197494,6 +197498,8 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197494
197498
|
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
197495
197499
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
197496
197500
|
}>, "many">>;
|
|
197501
|
+
/** Report keepout violations as warnings when true. Omit for normal enforcement. */
|
|
197502
|
+
warningOnly: z.ZodOptional<z.ZodBoolean>;
|
|
197497
197503
|
excludeRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
197498
197504
|
}, "strip", z.ZodTypeAny, {
|
|
197499
197505
|
shape: "rect";
|
|
@@ -197532,6 +197538,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197532
197538
|
pcbSx?: PcbSx | undefined;
|
|
197533
197539
|
pcbRelative?: boolean | undefined;
|
|
197534
197540
|
relative?: boolean | undefined;
|
|
197541
|
+
warningOnly?: boolean | undefined;
|
|
197535
197542
|
excludeRefs?: string[] | undefined;
|
|
197536
197543
|
}, {
|
|
197537
197544
|
shape: "rect";
|
|
@@ -197574,6 +197581,7 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197574
197581
|
pcbSx?: PcbSx | undefined;
|
|
197575
197582
|
pcbRelative?: boolean | undefined;
|
|
197576
197583
|
relative?: boolean | undefined;
|
|
197584
|
+
warningOnly?: boolean | undefined;
|
|
197577
197585
|
excludeRefs?: string[] | undefined;
|
|
197578
197586
|
}>]>;
|
|
197579
197587
|
type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
|
package/dist/index.js
CHANGED
|
@@ -18572,6 +18572,8 @@ 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(),
|
|
18575
18577
|
excludeRefs: z110.array(z110.string()).optional().describe(
|
|
18576
18578
|
'Component selectors excluded from the keepout, such as ".ANT1"'
|
|
18577
18579
|
)
|
|
@@ -18581,6 +18583,8 @@ var pcbKeepoutProps = z110.union([
|
|
|
18581
18583
|
width: distance28,
|
|
18582
18584
|
height: distance28,
|
|
18583
18585
|
layers: z110.array(layer_ref10).optional(),
|
|
18586
|
+
/** Report keepout violations as warnings when true. Omit for normal enforcement. */
|
|
18587
|
+
warningOnly: z110.boolean().optional(),
|
|
18584
18588
|
excludeRefs: z110.array(z110.string()).optional().describe(
|
|
18585
18589
|
'Component selectors excluded from the keepout, such as ".ANT1"'
|
|
18586
18590
|
)
|