@tscircuit/props 0.0.659 → 0.0.660
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 +5 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/lib/components/board.ts +11 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -424,6 +424,11 @@ export interface BoardProps extends Omit<
|
|
|
424
424
|
* false, which restricts newly generated vias to the full board stack.
|
|
425
425
|
*/
|
|
426
426
|
allowBlindAndBuriedVias?: boolean;
|
|
427
|
+
/**
|
|
428
|
+
* Whether to route remaining unrouted connections after explicit routing phases.
|
|
429
|
+
* Omitted leaves the setting unset, preserving the consumer's default behavior.
|
|
430
|
+
*/
|
|
431
|
+
routeRemaining?: boolean;
|
|
427
432
|
defaultViaTenting?:
|
|
428
433
|
| boolean
|
|
429
434
|
| "both_sides"
|
package/dist/index.d.ts
CHANGED
|
@@ -27910,6 +27910,11 @@ interface BoardProps extends Omit<SubcircuitGroupProps, "subcircuit" | "connecti
|
|
|
27910
27910
|
* false, which restricts newly generated vias to the full board stack.
|
|
27911
27911
|
*/
|
|
27912
27912
|
allowBlindAndBuriedVias?: boolean;
|
|
27913
|
+
/**
|
|
27914
|
+
* Whether to route remaining unrouted connections after explicit routing phases.
|
|
27915
|
+
* Omitted leaves the setting unset, preserving the consumer's default behavior.
|
|
27916
|
+
*/
|
|
27917
|
+
routeRemaining?: boolean;
|
|
27913
27918
|
defaultViaTenting?: boolean | "both_sides" | "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed";
|
|
27914
27919
|
borderRadius?: Distance;
|
|
27915
27920
|
thickness?: Distance;
|
|
@@ -28716,6 +28721,7 @@ declare const boardProps: z.ZodObject<{
|
|
|
28716
28721
|
material: z.ZodDefault<z.ZodEnum<["fr4", "fr1", "flex"]>>;
|
|
28717
28722
|
layers: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<10>]>>;
|
|
28718
28723
|
allowBlindAndBuriedVias: z.ZodDefault<z.ZodBoolean>;
|
|
28724
|
+
routeRemaining: z.ZodOptional<z.ZodBoolean>;
|
|
28719
28725
|
defaultViaTenting: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["both_sides", "top_and_bottom_tented", "top_tented", "bottom_tented", "exposed"]>]>, "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed", boolean | "both_sides" | "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed">>;
|
|
28720
28726
|
borderRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28721
28727
|
thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -29112,6 +29118,7 @@ declare const boardProps: z.ZodObject<{
|
|
|
29112
29118
|
schMatchAdapt?: boolean | undefined;
|
|
29113
29119
|
title?: string | undefined;
|
|
29114
29120
|
fabricatorPreset?: "jlcpcb_economy" | "jlcpcb_standard" | "jlcpcb_economy_20260912" | "jlcpcb_standard_20260912" | undefined;
|
|
29121
|
+
routeRemaining?: boolean | undefined;
|
|
29115
29122
|
defaultViaTenting?: "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed" | undefined;
|
|
29116
29123
|
borderRadius?: number | undefined;
|
|
29117
29124
|
boardAnchorPosition?: {
|
|
@@ -29462,6 +29469,7 @@ declare const boardProps: z.ZodObject<{
|
|
|
29462
29469
|
fabricatorPreset?: "jlcpcb_economy" | "jlcpcb_standard" | "jlcpcb_economy_20260912" | "jlcpcb_standard_20260912" | undefined;
|
|
29463
29470
|
material?: "flex" | "fr4" | "fr1" | undefined;
|
|
29464
29471
|
allowBlindAndBuriedVias?: boolean | undefined;
|
|
29472
|
+
routeRemaining?: boolean | undefined;
|
|
29465
29473
|
defaultViaTenting?: boolean | "both_sides" | "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed" | undefined;
|
|
29466
29474
|
borderRadius?: string | number | undefined;
|
|
29467
29475
|
boardAnchorPosition?: {
|
|
@@ -102739,6 +102747,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
102739
102747
|
material: z.ZodDefault<z.ZodEnum<["fr4", "fr1", "flex"]>>;
|
|
102740
102748
|
layers: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<4>, z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<10>]>>;
|
|
102741
102749
|
allowBlindAndBuriedVias: z.ZodDefault<z.ZodBoolean>;
|
|
102750
|
+
routeRemaining: z.ZodOptional<z.ZodBoolean>;
|
|
102742
102751
|
defaultViaTenting: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodBoolean, z.ZodEnum<["both_sides", "top_and_bottom_tented", "top_tented", "bottom_tented", "exposed"]>]>, "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed", boolean | "both_sides" | "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed">>;
|
|
102743
102752
|
borderRadius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
102744
102753
|
thickness: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -103150,6 +103159,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
103150
103159
|
schMatchAdapt?: boolean | undefined;
|
|
103151
103160
|
title?: string | undefined;
|
|
103152
103161
|
fabricatorPreset?: "jlcpcb_economy" | "jlcpcb_standard" | "jlcpcb_economy_20260912" | "jlcpcb_standard_20260912" | undefined;
|
|
103162
|
+
routeRemaining?: boolean | undefined;
|
|
103153
103163
|
defaultViaTenting?: "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed" | undefined;
|
|
103154
103164
|
borderRadius?: number | undefined;
|
|
103155
103165
|
boardAnchorPosition?: {
|
|
@@ -103510,6 +103520,7 @@ declare const stampboardProps: z.ZodObject<{
|
|
|
103510
103520
|
fabricatorPreset?: "jlcpcb_economy" | "jlcpcb_standard" | "jlcpcb_economy_20260912" | "jlcpcb_standard_20260912" | undefined;
|
|
103511
103521
|
material?: "flex" | "fr4" | "fr1" | undefined;
|
|
103512
103522
|
allowBlindAndBuriedVias?: boolean | undefined;
|
|
103523
|
+
routeRemaining?: boolean | undefined;
|
|
103513
103524
|
defaultViaTenting?: boolean | "both_sides" | "top_and_bottom_tented" | "top_tented" | "bottom_tented" | "exposed" | undefined;
|
|
103514
103525
|
borderRadius?: string | number | undefined;
|
|
103515
103526
|
boardAnchorPosition?: {
|
package/dist/index.js
CHANGED
|
@@ -16717,6 +16717,9 @@ var boardProps = subcircuitGroupProps.omit({ connections: true }).extend({
|
|
|
16717
16717
|
allowBlindAndBuriedVias: z44.boolean().default(false).describe(
|
|
16718
16718
|
"Whether the autorouter may generate blind and buried vias. Defaults to false, which restricts newly generated vias to the full board stack."
|
|
16719
16719
|
),
|
|
16720
|
+
routeRemaining: z44.boolean().optional().describe(
|
|
16721
|
+
"Whether to route remaining unrouted connections after explicit routing phases. Boolean values are preserved; omitted leaves the setting unset. No aliases or prop conflicts are introduced, and existing boards require no migration."
|
|
16722
|
+
),
|
|
16720
16723
|
defaultViaTenting: z44.union([
|
|
16721
16724
|
z44.boolean(),
|
|
16722
16725
|
z44.enum([
|