@tscircuit/props 0.0.661 → 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 +16 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/lib/components/pcb-keepout.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -197341,6 +197341,10 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197341
197341
|
}>, "many">>;
|
|
197342
197342
|
/** Report keepout violations as warnings when true. Omit for normal enforcement. */
|
|
197343
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>;
|
|
197344
197348
|
excludeRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
197345
197349
|
}, "strip", z.ZodTypeAny, {
|
|
197346
197350
|
shape: "circle";
|
|
@@ -197378,6 +197382,8 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197378
197382
|
pcbRelative?: boolean | undefined;
|
|
197379
197383
|
relative?: boolean | undefined;
|
|
197380
197384
|
warningOnly?: boolean | undefined;
|
|
197385
|
+
allowTraces?: boolean | undefined;
|
|
197386
|
+
allowPlacements?: boolean | undefined;
|
|
197381
197387
|
excludeRefs?: string[] | undefined;
|
|
197382
197388
|
}, {
|
|
197383
197389
|
shape: "circle";
|
|
@@ -197419,6 +197425,8 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197419
197425
|
pcbRelative?: boolean | undefined;
|
|
197420
197426
|
relative?: boolean | undefined;
|
|
197421
197427
|
warningOnly?: boolean | undefined;
|
|
197428
|
+
allowTraces?: boolean | undefined;
|
|
197429
|
+
allowPlacements?: boolean | undefined;
|
|
197422
197430
|
excludeRefs?: string[] | undefined;
|
|
197423
197431
|
}>, z.ZodObject<{
|
|
197424
197432
|
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
@@ -197500,6 +197508,10 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197500
197508
|
}>, "many">>;
|
|
197501
197509
|
/** Report keepout violations as warnings when true. Omit for normal enforcement. */
|
|
197502
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>;
|
|
197503
197515
|
excludeRefs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
197504
197516
|
}, "strip", z.ZodTypeAny, {
|
|
197505
197517
|
shape: "rect";
|
|
@@ -197539,6 +197551,8 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197539
197551
|
pcbRelative?: boolean | undefined;
|
|
197540
197552
|
relative?: boolean | undefined;
|
|
197541
197553
|
warningOnly?: boolean | undefined;
|
|
197554
|
+
allowTraces?: boolean | undefined;
|
|
197555
|
+
allowPlacements?: boolean | undefined;
|
|
197542
197556
|
excludeRefs?: string[] | undefined;
|
|
197543
197557
|
}, {
|
|
197544
197558
|
shape: "rect";
|
|
@@ -197582,6 +197596,8 @@ declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<Omit<{
|
|
|
197582
197596
|
pcbRelative?: boolean | undefined;
|
|
197583
197597
|
relative?: boolean | undefined;
|
|
197584
197598
|
warningOnly?: boolean | undefined;
|
|
197599
|
+
allowTraces?: boolean | undefined;
|
|
197600
|
+
allowPlacements?: boolean | undefined;
|
|
197585
197601
|
excludeRefs?: string[] | undefined;
|
|
197586
197602
|
}>]>;
|
|
197587
197603
|
type PcbKeepoutProps = z.input<typeof pcbKeepoutProps>;
|
package/dist/index.js
CHANGED
|
@@ -18574,6 +18574,10 @@ var pcbKeepoutProps = z110.union([
|
|
|
18574
18574
|
layers: z110.array(layer_ref10).optional(),
|
|
18575
18575
|
/** Report keepout violations as warnings when true. Omit for normal enforcement. */
|
|
18576
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(),
|
|
18577
18581
|
excludeRefs: z110.array(z110.string()).optional().describe(
|
|
18578
18582
|
'Component selectors excluded from the keepout, such as ".ANT1"'
|
|
18579
18583
|
)
|
|
@@ -18585,6 +18589,10 @@ var pcbKeepoutProps = z110.union([
|
|
|
18585
18589
|
layers: z110.array(layer_ref10).optional(),
|
|
18586
18590
|
/** Report keepout violations as warnings when true. Omit for normal enforcement. */
|
|
18587
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(),
|
|
18588
18596
|
excludeRefs: z110.array(z110.string()).optional().describe(
|
|
18589
18597
|
'Component selectors excluded from the keepout, such as ".ANT1"'
|
|
18590
18598
|
)
|