circuit-json 0.0.473 → 0.0.474
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 +2 -0
- package/dist/index.d.mts +11 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1356,6 +1356,8 @@ interface PcbBoard extends ManufacturingDrcProperties {
|
|
|
1356
1356
|
display_offset_y?: string
|
|
1357
1357
|
thickness: Length
|
|
1358
1358
|
num_layers: number
|
|
1359
|
+
/** Whether autorouters may generate blind and buried vias. */
|
|
1360
|
+
allow_blind_and_buried_vias?: boolean
|
|
1359
1361
|
center: Point
|
|
1360
1362
|
outline?: Point[]
|
|
1361
1363
|
shape?: "rect" | "polygon"
|
package/dist/index.d.mts
CHANGED
|
@@ -8487,6 +8487,7 @@ declare const pcb_board: z.ZodObject<{
|
|
|
8487
8487
|
display_offset_y: z.ZodOptional<z.ZodString>;
|
|
8488
8488
|
thickness: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
8489
8489
|
num_layers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
8490
|
+
allow_blind_and_buried_vias: z.ZodOptional<z.ZodBoolean>;
|
|
8490
8491
|
outline: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8491
8492
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8492
8493
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -8563,6 +8564,7 @@ declare const pcb_board: z.ZodObject<{
|
|
|
8563
8564
|
is_subcircuit?: boolean | undefined;
|
|
8564
8565
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
8565
8566
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
8567
|
+
allow_blind_and_buried_vias?: boolean | undefined;
|
|
8566
8568
|
outline?: {
|
|
8567
8569
|
x: number;
|
|
8568
8570
|
y: number;
|
|
@@ -8606,6 +8608,7 @@ declare const pcb_board: z.ZodObject<{
|
|
|
8606
8608
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
8607
8609
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
8608
8610
|
num_layers?: number | undefined;
|
|
8611
|
+
allow_blind_and_buried_vias?: boolean | undefined;
|
|
8609
8612
|
outline?: {
|
|
8610
8613
|
x: string | number;
|
|
8611
8614
|
y: string | number;
|
|
@@ -8632,6 +8635,8 @@ interface PcbBoard extends ManufacturingDrcProperties {
|
|
|
8632
8635
|
display_offset_y?: string;
|
|
8633
8636
|
thickness: Length;
|
|
8634
8637
|
num_layers: number;
|
|
8638
|
+
/** Whether autorouters may generate blind and buried vias. */
|
|
8639
|
+
allow_blind_and_buried_vias?: boolean;
|
|
8635
8640
|
center: Point;
|
|
8636
8641
|
outline?: Point[];
|
|
8637
8642
|
shape?: "rect" | "polygon";
|
|
@@ -43605,6 +43610,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43605
43610
|
display_offset_y: z.ZodOptional<z.ZodString>;
|
|
43606
43611
|
thickness: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
43607
43612
|
num_layers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
43613
|
+
allow_blind_and_buried_vias: z.ZodOptional<z.ZodBoolean>;
|
|
43608
43614
|
outline: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
43609
43615
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
43610
43616
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -43681,6 +43687,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43681
43687
|
is_subcircuit?: boolean | undefined;
|
|
43682
43688
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
43683
43689
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
43690
|
+
allow_blind_and_buried_vias?: boolean | undefined;
|
|
43684
43691
|
outline?: {
|
|
43685
43692
|
x: number;
|
|
43686
43693
|
y: number;
|
|
@@ -43724,6 +43731,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43724
43731
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
43725
43732
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
43726
43733
|
num_layers?: number | undefined;
|
|
43734
|
+
allow_blind_and_buried_vias?: boolean | undefined;
|
|
43727
43735
|
outline?: {
|
|
43728
43736
|
x: string | number;
|
|
43729
43737
|
y: string | number;
|
|
@@ -63848,6 +63856,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63848
63856
|
display_offset_y: z.ZodOptional<z.ZodString>;
|
|
63849
63857
|
thickness: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
63850
63858
|
num_layers: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
63859
|
+
allow_blind_and_buried_vias: z.ZodOptional<z.ZodBoolean>;
|
|
63851
63860
|
outline: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
63852
63861
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
63853
63862
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -63924,6 +63933,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63924
63933
|
is_subcircuit?: boolean | undefined;
|
|
63925
63934
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
63926
63935
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
63936
|
+
allow_blind_and_buried_vias?: boolean | undefined;
|
|
63927
63937
|
outline?: {
|
|
63928
63938
|
x: number;
|
|
63929
63939
|
y: number;
|
|
@@ -63967,6 +63977,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63967
63977
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
63968
63978
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
63969
63979
|
num_layers?: number | undefined;
|
|
63980
|
+
allow_blind_and_buried_vias?: boolean | undefined;
|
|
63970
63981
|
outline?: {
|
|
63971
63982
|
x: string | number;
|
|
63972
63983
|
y: string | number;
|
package/dist/index.mjs
CHANGED
|
@@ -2659,6 +2659,9 @@ var pcb_board = z121.object({
|
|
|
2659
2659
|
),
|
|
2660
2660
|
thickness: length.optional().default(1.4),
|
|
2661
2661
|
num_layers: z121.number().optional().default(4),
|
|
2662
|
+
allow_blind_and_buried_vias: z121.boolean().optional().describe(
|
|
2663
|
+
"Whether autorouters may generate blind and buried vias. False restricts newly generated vias to the full board stack."
|
|
2664
|
+
),
|
|
2662
2665
|
outline: z121.array(point).optional(),
|
|
2663
2666
|
shape: z121.enum(["rect", "polygon"]).optional(),
|
|
2664
2667
|
material: z121.enum(["fr4", "fr1"]).default("fr4"),
|