circuit-json 0.0.490 → 0.0.491
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 +16 -0
- package/dist/index.d.mts +88 -24
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1409,6 +1409,8 @@ interface PcbBoard extends ManufacturingDrcProperties {
|
|
|
1409
1409
|
subcircuit_id?: string
|
|
1410
1410
|
is_mounted_to_carrier_board?: boolean
|
|
1411
1411
|
is_via_in_pad_allowed?: boolean
|
|
1412
|
+
default_via_tented_on_top?: boolean
|
|
1413
|
+
default_via_tented_on_bottom?: boolean
|
|
1412
1414
|
width?: Length
|
|
1413
1415
|
height?: Length
|
|
1414
1416
|
display_offset_x?: string
|
|
@@ -2826,6 +2828,20 @@ interface PcbTraceRoutePointWire {
|
|
|
2826
2828
|
layer: LayerRef
|
|
2827
2829
|
}
|
|
2828
2830
|
|
|
2831
|
+
interface PcbTraceRoutePointVia {
|
|
2832
|
+
route_type: "via"
|
|
2833
|
+
x: Distance
|
|
2834
|
+
y: Distance
|
|
2835
|
+
copper_pour_id?: string
|
|
2836
|
+
is_inside_copper_pour?: boolean
|
|
2837
|
+
hole_diameter?: Distance
|
|
2838
|
+
outer_diameter?: Distance
|
|
2839
|
+
tented_on_top?: boolean
|
|
2840
|
+
tented_on_bottom?: boolean
|
|
2841
|
+
from_layer: LayerRef
|
|
2842
|
+
to_layer: LayerRef
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2829
2845
|
type PcbTraceRoutePoint =
|
|
2830
2846
|
| PcbTraceRoutePointWire
|
|
2831
2847
|
| PcbTraceRoutePointVia
|
package/dist/index.d.mts
CHANGED
|
@@ -7262,6 +7262,8 @@ declare const pcb_trace_route_point_via: z.ZodObject<{
|
|
|
7262
7262
|
is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
|
|
7263
7263
|
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7264
7264
|
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7265
|
+
tented_on_top: z.ZodOptional<z.ZodBoolean>;
|
|
7266
|
+
tented_on_bottom: z.ZodOptional<z.ZodBoolean>;
|
|
7265
7267
|
from_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
|
|
7266
7268
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
|
|
7267
7269
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7290,6 +7292,8 @@ declare const pcb_trace_route_point_via: z.ZodObject<{
|
|
|
7290
7292
|
outer_diameter?: number | undefined;
|
|
7291
7293
|
copper_pour_id?: string | undefined;
|
|
7292
7294
|
is_inside_copper_pour?: boolean | undefined;
|
|
7295
|
+
tented_on_top?: boolean | undefined;
|
|
7296
|
+
tented_on_bottom?: boolean | undefined;
|
|
7293
7297
|
}, {
|
|
7294
7298
|
x: string | number;
|
|
7295
7299
|
y: string | number;
|
|
@@ -7304,6 +7308,8 @@ declare const pcb_trace_route_point_via: z.ZodObject<{
|
|
|
7304
7308
|
outer_diameter?: string | number | undefined;
|
|
7305
7309
|
copper_pour_id?: string | undefined;
|
|
7306
7310
|
is_inside_copper_pour?: boolean | undefined;
|
|
7311
|
+
tented_on_top?: boolean | undefined;
|
|
7312
|
+
tented_on_bottom?: boolean | undefined;
|
|
7307
7313
|
}>;
|
|
7308
7314
|
declare const pcb_trace_route_point_through_pad: z.ZodObject<{
|
|
7309
7315
|
route_type: z.ZodLiteral<"through_pad">;
|
|
@@ -7431,6 +7437,8 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
|
|
|
7431
7437
|
is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
|
|
7432
7438
|
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7433
7439
|
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7440
|
+
tented_on_top: z.ZodOptional<z.ZodBoolean>;
|
|
7441
|
+
tented_on_bottom: z.ZodOptional<z.ZodBoolean>;
|
|
7434
7442
|
from_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
|
|
7435
7443
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
|
|
7436
7444
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7459,6 +7467,8 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
|
|
|
7459
7467
|
outer_diameter?: number | undefined;
|
|
7460
7468
|
copper_pour_id?: string | undefined;
|
|
7461
7469
|
is_inside_copper_pour?: boolean | undefined;
|
|
7470
|
+
tented_on_top?: boolean | undefined;
|
|
7471
|
+
tented_on_bottom?: boolean | undefined;
|
|
7462
7472
|
}, {
|
|
7463
7473
|
x: string | number;
|
|
7464
7474
|
y: string | number;
|
|
@@ -7473,6 +7483,8 @@ declare const pcb_trace_route_point: z.ZodUnion<[z.ZodObject<{
|
|
|
7473
7483
|
outer_diameter?: string | number | undefined;
|
|
7474
7484
|
copper_pour_id?: string | undefined;
|
|
7475
7485
|
is_inside_copper_pour?: boolean | undefined;
|
|
7486
|
+
tented_on_top?: boolean | undefined;
|
|
7487
|
+
tented_on_bottom?: boolean | undefined;
|
|
7476
7488
|
}>, z.ZodObject<{
|
|
7477
7489
|
route_type: z.ZodLiteral<"through_pad">;
|
|
7478
7490
|
start: z.ZodObject<{
|
|
@@ -7611,6 +7623,8 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
7611
7623
|
is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
|
|
7612
7624
|
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7613
7625
|
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
7626
|
+
tented_on_top: z.ZodOptional<z.ZodBoolean>;
|
|
7627
|
+
tented_on_bottom: z.ZodOptional<z.ZodBoolean>;
|
|
7614
7628
|
from_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
|
|
7615
7629
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
|
|
7616
7630
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -7639,6 +7653,8 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
7639
7653
|
outer_diameter?: number | undefined;
|
|
7640
7654
|
copper_pour_id?: string | undefined;
|
|
7641
7655
|
is_inside_copper_pour?: boolean | undefined;
|
|
7656
|
+
tented_on_top?: boolean | undefined;
|
|
7657
|
+
tented_on_bottom?: boolean | undefined;
|
|
7642
7658
|
}, {
|
|
7643
7659
|
x: string | number;
|
|
7644
7660
|
y: string | number;
|
|
@@ -7653,6 +7669,8 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
7653
7669
|
outer_diameter?: string | number | undefined;
|
|
7654
7670
|
copper_pour_id?: string | undefined;
|
|
7655
7671
|
is_inside_copper_pour?: boolean | undefined;
|
|
7672
|
+
tented_on_top?: boolean | undefined;
|
|
7673
|
+
tented_on_bottom?: boolean | undefined;
|
|
7656
7674
|
}>, z.ZodObject<{
|
|
7657
7675
|
route_type: z.ZodLiteral<"through_pad">;
|
|
7658
7676
|
start: z.ZodObject<{
|
|
@@ -7754,6 +7772,8 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
7754
7772
|
outer_diameter?: number | undefined;
|
|
7755
7773
|
copper_pour_id?: string | undefined;
|
|
7756
7774
|
is_inside_copper_pour?: boolean | undefined;
|
|
7775
|
+
tented_on_top?: boolean | undefined;
|
|
7776
|
+
tented_on_bottom?: boolean | undefined;
|
|
7757
7777
|
} | {
|
|
7758
7778
|
width: number;
|
|
7759
7779
|
start: {
|
|
@@ -7807,6 +7827,8 @@ declare const pcb_trace: z.ZodObject<{
|
|
|
7807
7827
|
outer_diameter?: string | number | undefined;
|
|
7808
7828
|
copper_pour_id?: string | undefined;
|
|
7809
7829
|
is_inside_copper_pour?: boolean | undefined;
|
|
7830
|
+
tented_on_top?: boolean | undefined;
|
|
7831
|
+
tented_on_bottom?: boolean | undefined;
|
|
7810
7832
|
} | {
|
|
7811
7833
|
width: string | number;
|
|
7812
7834
|
start: {
|
|
@@ -7858,6 +7880,8 @@ interface PcbTraceRoutePointVia {
|
|
|
7858
7880
|
is_inside_copper_pour?: boolean;
|
|
7859
7881
|
hole_diameter?: Distance;
|
|
7860
7882
|
outer_diameter?: Distance;
|
|
7883
|
+
tented_on_top?: boolean;
|
|
7884
|
+
tented_on_bottom?: boolean;
|
|
7861
7885
|
from_layer: LayerRef;
|
|
7862
7886
|
to_layer: LayerRef;
|
|
7863
7887
|
}
|
|
@@ -8400,6 +8424,8 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8400
8424
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
8401
8425
|
subcircuit_id?: string | undefined;
|
|
8402
8426
|
pcb_group_id?: string | undefined;
|
|
8427
|
+
tented_on_top?: boolean | undefined;
|
|
8428
|
+
tented_on_bottom?: boolean | undefined;
|
|
8403
8429
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
8404
8430
|
source_trace_id?: string | undefined;
|
|
8405
8431
|
pcb_trace_id?: string | undefined;
|
|
@@ -8408,8 +8434,6 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8408
8434
|
net_is_assignable?: boolean | undefined;
|
|
8409
8435
|
net_assigned?: boolean | undefined;
|
|
8410
8436
|
is_tented?: boolean | undefined;
|
|
8411
|
-
tented_on_top?: boolean | undefined;
|
|
8412
|
-
tented_on_bottom?: boolean | undefined;
|
|
8413
8437
|
}, {
|
|
8414
8438
|
type: "pcb_via";
|
|
8415
8439
|
x: string | number;
|
|
@@ -8424,6 +8448,8 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8424
8448
|
pcb_group_id?: string | undefined;
|
|
8425
8449
|
hole_diameter?: string | number | undefined;
|
|
8426
8450
|
outer_diameter?: string | number | undefined;
|
|
8451
|
+
tented_on_top?: boolean | undefined;
|
|
8452
|
+
tented_on_bottom?: boolean | undefined;
|
|
8427
8453
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
8428
8454
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
8429
8455
|
} | undefined;
|
|
@@ -8435,8 +8461,6 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8435
8461
|
net_is_assignable?: boolean | undefined;
|
|
8436
8462
|
net_assigned?: boolean | undefined;
|
|
8437
8463
|
is_tented?: boolean | undefined;
|
|
8438
|
-
tented_on_top?: boolean | undefined;
|
|
8439
|
-
tented_on_bottom?: boolean | undefined;
|
|
8440
8464
|
}>, {
|
|
8441
8465
|
type: "pcb_via";
|
|
8442
8466
|
x: number;
|
|
@@ -8448,6 +8472,8 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8448
8472
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
8449
8473
|
subcircuit_id?: string | undefined;
|
|
8450
8474
|
pcb_group_id?: string | undefined;
|
|
8475
|
+
tented_on_top?: boolean | undefined;
|
|
8476
|
+
tented_on_bottom?: boolean | undefined;
|
|
8451
8477
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
8452
8478
|
source_trace_id?: string | undefined;
|
|
8453
8479
|
pcb_trace_id?: string | undefined;
|
|
@@ -8455,8 +8481,6 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8455
8481
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
8456
8482
|
net_is_assignable?: boolean | undefined;
|
|
8457
8483
|
net_assigned?: boolean | undefined;
|
|
8458
|
-
tented_on_top?: boolean | undefined;
|
|
8459
|
-
tented_on_bottom?: boolean | undefined;
|
|
8460
8484
|
}, {
|
|
8461
8485
|
type: "pcb_via";
|
|
8462
8486
|
x: string | number;
|
|
@@ -8471,6 +8495,8 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8471
8495
|
pcb_group_id?: string | undefined;
|
|
8472
8496
|
hole_diameter?: string | number | undefined;
|
|
8473
8497
|
outer_diameter?: string | number | undefined;
|
|
8498
|
+
tented_on_top?: boolean | undefined;
|
|
8499
|
+
tented_on_bottom?: boolean | undefined;
|
|
8474
8500
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
8475
8501
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
8476
8502
|
} | undefined;
|
|
@@ -8482,8 +8508,6 @@ declare const pcb_via: z.ZodEffects<z.ZodObject<{
|
|
|
8482
8508
|
net_is_assignable?: boolean | undefined;
|
|
8483
8509
|
net_assigned?: boolean | undefined;
|
|
8484
8510
|
is_tented?: boolean | undefined;
|
|
8485
|
-
tented_on_top?: boolean | undefined;
|
|
8486
|
-
tented_on_bottom?: boolean | undefined;
|
|
8487
8511
|
}>;
|
|
8488
8512
|
type PcbViaInput = z.input<typeof pcb_via>;
|
|
8489
8513
|
/**
|
|
@@ -8526,6 +8550,8 @@ declare const pcb_board: z.ZodObject<{
|
|
|
8526
8550
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
8527
8551
|
is_mounted_to_carrier_board: z.ZodOptional<z.ZodBoolean>;
|
|
8528
8552
|
is_via_in_pad_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
8553
|
+
default_via_tented_on_top: z.ZodOptional<z.ZodBoolean>;
|
|
8554
|
+
default_via_tented_on_bottom: z.ZodOptional<z.ZodBoolean>;
|
|
8529
8555
|
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8530
8556
|
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8531
8557
|
center: z.ZodObject<{
|
|
@@ -8619,6 +8645,8 @@ declare const pcb_board: z.ZodObject<{
|
|
|
8619
8645
|
is_subcircuit?: boolean | undefined;
|
|
8620
8646
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
8621
8647
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
8648
|
+
default_via_tented_on_top?: boolean | undefined;
|
|
8649
|
+
default_via_tented_on_bottom?: boolean | undefined;
|
|
8622
8650
|
allow_blind_and_buried_vias?: boolean | undefined;
|
|
8623
8651
|
outline?: {
|
|
8624
8652
|
x: number;
|
|
@@ -8662,6 +8690,8 @@ declare const pcb_board: z.ZodObject<{
|
|
|
8662
8690
|
is_subcircuit?: boolean | undefined;
|
|
8663
8691
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
8664
8692
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
8693
|
+
default_via_tented_on_top?: boolean | undefined;
|
|
8694
|
+
default_via_tented_on_bottom?: boolean | undefined;
|
|
8665
8695
|
num_layers?: number | undefined;
|
|
8666
8696
|
allow_blind_and_buried_vias?: boolean | undefined;
|
|
8667
8697
|
outline?: {
|
|
@@ -8684,6 +8714,8 @@ interface PcbBoard extends ManufacturingDrcProperties {
|
|
|
8684
8714
|
subcircuit_id?: string;
|
|
8685
8715
|
is_mounted_to_carrier_board?: boolean;
|
|
8686
8716
|
is_via_in_pad_allowed?: boolean;
|
|
8717
|
+
default_via_tented_on_top?: boolean;
|
|
8718
|
+
default_via_tented_on_bottom?: boolean;
|
|
8687
8719
|
width?: Length;
|
|
8688
8720
|
height?: Length;
|
|
8689
8721
|
display_offset_x?: string;
|
|
@@ -43103,6 +43135,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43103
43135
|
is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
|
|
43104
43136
|
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
43105
43137
|
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
43138
|
+
tented_on_top: z.ZodOptional<z.ZodBoolean>;
|
|
43139
|
+
tented_on_bottom: z.ZodOptional<z.ZodBoolean>;
|
|
43106
43140
|
from_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
|
|
43107
43141
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
|
|
43108
43142
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -43131,6 +43165,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43131
43165
|
outer_diameter?: number | undefined;
|
|
43132
43166
|
copper_pour_id?: string | undefined;
|
|
43133
43167
|
is_inside_copper_pour?: boolean | undefined;
|
|
43168
|
+
tented_on_top?: boolean | undefined;
|
|
43169
|
+
tented_on_bottom?: boolean | undefined;
|
|
43134
43170
|
}, {
|
|
43135
43171
|
x: string | number;
|
|
43136
43172
|
y: string | number;
|
|
@@ -43145,6 +43181,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43145
43181
|
outer_diameter?: string | number | undefined;
|
|
43146
43182
|
copper_pour_id?: string | undefined;
|
|
43147
43183
|
is_inside_copper_pour?: boolean | undefined;
|
|
43184
|
+
tented_on_top?: boolean | undefined;
|
|
43185
|
+
tented_on_bottom?: boolean | undefined;
|
|
43148
43186
|
}>, z.ZodObject<{
|
|
43149
43187
|
route_type: z.ZodLiteral<"through_pad">;
|
|
43150
43188
|
start: z.ZodObject<{
|
|
@@ -43246,6 +43284,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43246
43284
|
outer_diameter?: number | undefined;
|
|
43247
43285
|
copper_pour_id?: string | undefined;
|
|
43248
43286
|
is_inside_copper_pour?: boolean | undefined;
|
|
43287
|
+
tented_on_top?: boolean | undefined;
|
|
43288
|
+
tented_on_bottom?: boolean | undefined;
|
|
43249
43289
|
} | {
|
|
43250
43290
|
width: number;
|
|
43251
43291
|
start: {
|
|
@@ -43299,6 +43339,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43299
43339
|
outer_diameter?: string | number | undefined;
|
|
43300
43340
|
copper_pour_id?: string | undefined;
|
|
43301
43341
|
is_inside_copper_pour?: boolean | undefined;
|
|
43342
|
+
tented_on_top?: boolean | undefined;
|
|
43343
|
+
tented_on_bottom?: boolean | undefined;
|
|
43302
43344
|
} | {
|
|
43303
43345
|
width: string | number;
|
|
43304
43346
|
start: {
|
|
@@ -43499,6 +43541,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43499
43541
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
43500
43542
|
subcircuit_id?: string | undefined;
|
|
43501
43543
|
pcb_group_id?: string | undefined;
|
|
43544
|
+
tented_on_top?: boolean | undefined;
|
|
43545
|
+
tented_on_bottom?: boolean | undefined;
|
|
43502
43546
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
43503
43547
|
source_trace_id?: string | undefined;
|
|
43504
43548
|
pcb_trace_id?: string | undefined;
|
|
@@ -43507,8 +43551,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43507
43551
|
net_is_assignable?: boolean | undefined;
|
|
43508
43552
|
net_assigned?: boolean | undefined;
|
|
43509
43553
|
is_tented?: boolean | undefined;
|
|
43510
|
-
tented_on_top?: boolean | undefined;
|
|
43511
|
-
tented_on_bottom?: boolean | undefined;
|
|
43512
43554
|
}, {
|
|
43513
43555
|
type: "pcb_via";
|
|
43514
43556
|
x: string | number;
|
|
@@ -43523,6 +43565,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43523
43565
|
pcb_group_id?: string | undefined;
|
|
43524
43566
|
hole_diameter?: string | number | undefined;
|
|
43525
43567
|
outer_diameter?: string | number | undefined;
|
|
43568
|
+
tented_on_top?: boolean | undefined;
|
|
43569
|
+
tented_on_bottom?: boolean | undefined;
|
|
43526
43570
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
43527
43571
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
43528
43572
|
} | undefined;
|
|
@@ -43534,8 +43578,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43534
43578
|
net_is_assignable?: boolean | undefined;
|
|
43535
43579
|
net_assigned?: boolean | undefined;
|
|
43536
43580
|
is_tented?: boolean | undefined;
|
|
43537
|
-
tented_on_top?: boolean | undefined;
|
|
43538
|
-
tented_on_bottom?: boolean | undefined;
|
|
43539
43581
|
}>, {
|
|
43540
43582
|
type: "pcb_via";
|
|
43541
43583
|
x: number;
|
|
@@ -43547,6 +43589,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43547
43589
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
43548
43590
|
subcircuit_id?: string | undefined;
|
|
43549
43591
|
pcb_group_id?: string | undefined;
|
|
43592
|
+
tented_on_top?: boolean | undefined;
|
|
43593
|
+
tented_on_bottom?: boolean | undefined;
|
|
43550
43594
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
43551
43595
|
source_trace_id?: string | undefined;
|
|
43552
43596
|
pcb_trace_id?: string | undefined;
|
|
@@ -43554,8 +43598,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43554
43598
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
43555
43599
|
net_is_assignable?: boolean | undefined;
|
|
43556
43600
|
net_assigned?: boolean | undefined;
|
|
43557
|
-
tented_on_top?: boolean | undefined;
|
|
43558
|
-
tented_on_bottom?: boolean | undefined;
|
|
43559
43601
|
}, {
|
|
43560
43602
|
type: "pcb_via";
|
|
43561
43603
|
x: string | number;
|
|
@@ -43570,6 +43612,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43570
43612
|
pcb_group_id?: string | undefined;
|
|
43571
43613
|
hole_diameter?: string | number | undefined;
|
|
43572
43614
|
outer_diameter?: string | number | undefined;
|
|
43615
|
+
tented_on_top?: boolean | undefined;
|
|
43616
|
+
tented_on_bottom?: boolean | undefined;
|
|
43573
43617
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
43574
43618
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
43575
43619
|
} | undefined;
|
|
@@ -43581,8 +43625,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
43581
43625
|
net_is_assignable?: boolean | undefined;
|
|
43582
43626
|
net_assigned?: boolean | undefined;
|
|
43583
43627
|
is_tented?: boolean | undefined;
|
|
43584
|
-
tented_on_top?: boolean | undefined;
|
|
43585
|
-
tented_on_bottom?: boolean | undefined;
|
|
43586
43628
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
43587
43629
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
43588
43630
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -44312,6 +44354,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
44312
44354
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
44313
44355
|
is_mounted_to_carrier_board: z.ZodOptional<z.ZodBoolean>;
|
|
44314
44356
|
is_via_in_pad_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
44357
|
+
default_via_tented_on_top: z.ZodOptional<z.ZodBoolean>;
|
|
44358
|
+
default_via_tented_on_bottom: z.ZodOptional<z.ZodBoolean>;
|
|
44315
44359
|
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
44316
44360
|
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
44317
44361
|
center: z.ZodObject<{
|
|
@@ -44405,6 +44449,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
44405
44449
|
is_subcircuit?: boolean | undefined;
|
|
44406
44450
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
44407
44451
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
44452
|
+
default_via_tented_on_top?: boolean | undefined;
|
|
44453
|
+
default_via_tented_on_bottom?: boolean | undefined;
|
|
44408
44454
|
allow_blind_and_buried_vias?: boolean | undefined;
|
|
44409
44455
|
outline?: {
|
|
44410
44456
|
x: number;
|
|
@@ -44448,6 +44494,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
44448
44494
|
is_subcircuit?: boolean | undefined;
|
|
44449
44495
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
44450
44496
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
44497
|
+
default_via_tented_on_top?: boolean | undefined;
|
|
44498
|
+
default_via_tented_on_bottom?: boolean | undefined;
|
|
44451
44499
|
num_layers?: number | undefined;
|
|
44452
44500
|
allow_blind_and_buried_vias?: boolean | undefined;
|
|
44453
44501
|
outline?: {
|
|
@@ -63712,6 +63760,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63712
63760
|
is_inside_copper_pour: z.ZodOptional<z.ZodBoolean>;
|
|
63713
63761
|
hole_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
63714
63762
|
outer_diameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
63763
|
+
tented_on_top: z.ZodOptional<z.ZodBoolean>;
|
|
63764
|
+
tented_on_bottom: z.ZodOptional<z.ZodBoolean>;
|
|
63715
63765
|
from_layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>, z.ZodObject<{
|
|
63716
63766
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6", "inner7", "inner8"]>;
|
|
63717
63767
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -63740,6 +63790,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63740
63790
|
outer_diameter?: number | undefined;
|
|
63741
63791
|
copper_pour_id?: string | undefined;
|
|
63742
63792
|
is_inside_copper_pour?: boolean | undefined;
|
|
63793
|
+
tented_on_top?: boolean | undefined;
|
|
63794
|
+
tented_on_bottom?: boolean | undefined;
|
|
63743
63795
|
}, {
|
|
63744
63796
|
x: string | number;
|
|
63745
63797
|
y: string | number;
|
|
@@ -63754,6 +63806,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63754
63806
|
outer_diameter?: string | number | undefined;
|
|
63755
63807
|
copper_pour_id?: string | undefined;
|
|
63756
63808
|
is_inside_copper_pour?: boolean | undefined;
|
|
63809
|
+
tented_on_top?: boolean | undefined;
|
|
63810
|
+
tented_on_bottom?: boolean | undefined;
|
|
63757
63811
|
}>, z.ZodObject<{
|
|
63758
63812
|
route_type: z.ZodLiteral<"through_pad">;
|
|
63759
63813
|
start: z.ZodObject<{
|
|
@@ -63855,6 +63909,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63855
63909
|
outer_diameter?: number | undefined;
|
|
63856
63910
|
copper_pour_id?: string | undefined;
|
|
63857
63911
|
is_inside_copper_pour?: boolean | undefined;
|
|
63912
|
+
tented_on_top?: boolean | undefined;
|
|
63913
|
+
tented_on_bottom?: boolean | undefined;
|
|
63858
63914
|
} | {
|
|
63859
63915
|
width: number;
|
|
63860
63916
|
start: {
|
|
@@ -63908,6 +63964,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
63908
63964
|
outer_diameter?: string | number | undefined;
|
|
63909
63965
|
copper_pour_id?: string | undefined;
|
|
63910
63966
|
is_inside_copper_pour?: boolean | undefined;
|
|
63967
|
+
tented_on_top?: boolean | undefined;
|
|
63968
|
+
tented_on_bottom?: boolean | undefined;
|
|
63911
63969
|
} | {
|
|
63912
63970
|
width: string | number;
|
|
63913
63971
|
start: {
|
|
@@ -64108,6 +64166,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64108
64166
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
64109
64167
|
subcircuit_id?: string | undefined;
|
|
64110
64168
|
pcb_group_id?: string | undefined;
|
|
64169
|
+
tented_on_top?: boolean | undefined;
|
|
64170
|
+
tented_on_bottom?: boolean | undefined;
|
|
64111
64171
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
64112
64172
|
source_trace_id?: string | undefined;
|
|
64113
64173
|
pcb_trace_id?: string | undefined;
|
|
@@ -64116,8 +64176,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64116
64176
|
net_is_assignable?: boolean | undefined;
|
|
64117
64177
|
net_assigned?: boolean | undefined;
|
|
64118
64178
|
is_tented?: boolean | undefined;
|
|
64119
|
-
tented_on_top?: boolean | undefined;
|
|
64120
|
-
tented_on_bottom?: boolean | undefined;
|
|
64121
64179
|
}, {
|
|
64122
64180
|
type: "pcb_via";
|
|
64123
64181
|
x: string | number;
|
|
@@ -64132,6 +64190,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64132
64190
|
pcb_group_id?: string | undefined;
|
|
64133
64191
|
hole_diameter?: string | number | undefined;
|
|
64134
64192
|
outer_diameter?: string | number | undefined;
|
|
64193
|
+
tented_on_top?: boolean | undefined;
|
|
64194
|
+
tented_on_bottom?: boolean | undefined;
|
|
64135
64195
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
64136
64196
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
64137
64197
|
} | undefined;
|
|
@@ -64143,8 +64203,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64143
64203
|
net_is_assignable?: boolean | undefined;
|
|
64144
64204
|
net_assigned?: boolean | undefined;
|
|
64145
64205
|
is_tented?: boolean | undefined;
|
|
64146
|
-
tented_on_top?: boolean | undefined;
|
|
64147
|
-
tented_on_bottom?: boolean | undefined;
|
|
64148
64206
|
}>, {
|
|
64149
64207
|
type: "pcb_via";
|
|
64150
64208
|
x: number;
|
|
@@ -64156,6 +64214,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64156
64214
|
to_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
64157
64215
|
subcircuit_id?: string | undefined;
|
|
64158
64216
|
pcb_group_id?: string | undefined;
|
|
64217
|
+
tented_on_top?: boolean | undefined;
|
|
64218
|
+
tented_on_bottom?: boolean | undefined;
|
|
64159
64219
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | undefined;
|
|
64160
64220
|
source_trace_id?: string | undefined;
|
|
64161
64221
|
pcb_trace_id?: string | undefined;
|
|
@@ -64163,8 +64223,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64163
64223
|
subcircuit_connectivity_map_key?: string | undefined;
|
|
64164
64224
|
net_is_assignable?: boolean | undefined;
|
|
64165
64225
|
net_assigned?: boolean | undefined;
|
|
64166
|
-
tented_on_top?: boolean | undefined;
|
|
64167
|
-
tented_on_bottom?: boolean | undefined;
|
|
64168
64226
|
}, {
|
|
64169
64227
|
type: "pcb_via";
|
|
64170
64228
|
x: string | number;
|
|
@@ -64179,6 +64237,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64179
64237
|
pcb_group_id?: string | undefined;
|
|
64180
64238
|
hole_diameter?: string | number | undefined;
|
|
64181
64239
|
outer_diameter?: string | number | undefined;
|
|
64240
|
+
tented_on_top?: boolean | undefined;
|
|
64241
|
+
tented_on_bottom?: boolean | undefined;
|
|
64182
64242
|
from_layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8" | {
|
|
64183
64243
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | "inner7" | "inner8";
|
|
64184
64244
|
} | undefined;
|
|
@@ -64190,8 +64250,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64190
64250
|
net_is_assignable?: boolean | undefined;
|
|
64191
64251
|
net_assigned?: boolean | undefined;
|
|
64192
64252
|
is_tented?: boolean | undefined;
|
|
64193
|
-
tented_on_top?: boolean | undefined;
|
|
64194
|
-
tented_on_bottom?: boolean | undefined;
|
|
64195
64253
|
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
64196
64254
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
64197
64255
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -64921,6 +64979,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
64921
64979
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
64922
64980
|
is_mounted_to_carrier_board: z.ZodOptional<z.ZodBoolean>;
|
|
64923
64981
|
is_via_in_pad_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
64982
|
+
default_via_tented_on_top: z.ZodOptional<z.ZodBoolean>;
|
|
64983
|
+
default_via_tented_on_bottom: z.ZodOptional<z.ZodBoolean>;
|
|
64924
64984
|
width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
64925
64985
|
height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
64926
64986
|
center: z.ZodObject<{
|
|
@@ -65014,6 +65074,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
65014
65074
|
is_subcircuit?: boolean | undefined;
|
|
65015
65075
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
65016
65076
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
65077
|
+
default_via_tented_on_top?: boolean | undefined;
|
|
65078
|
+
default_via_tented_on_bottom?: boolean | undefined;
|
|
65017
65079
|
allow_blind_and_buried_vias?: boolean | undefined;
|
|
65018
65080
|
outline?: {
|
|
65019
65081
|
x: number;
|
|
@@ -65057,6 +65119,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
65057
65119
|
is_subcircuit?: boolean | undefined;
|
|
65058
65120
|
is_mounted_to_carrier_board?: boolean | undefined;
|
|
65059
65121
|
is_via_in_pad_allowed?: boolean | undefined;
|
|
65122
|
+
default_via_tented_on_top?: boolean | undefined;
|
|
65123
|
+
default_via_tented_on_bottom?: boolean | undefined;
|
|
65060
65124
|
num_layers?: number | undefined;
|
|
65061
65125
|
allow_blind_and_buried_vias?: boolean | undefined;
|
|
65062
65126
|
outline?: {
|
package/dist/index.mjs
CHANGED
|
@@ -2520,6 +2520,8 @@ var pcb_trace_route_point_via = z115.object({
|
|
|
2520
2520
|
is_inside_copper_pour: z115.boolean().optional(),
|
|
2521
2521
|
hole_diameter: distance.optional(),
|
|
2522
2522
|
outer_diameter: distance.optional(),
|
|
2523
|
+
tented_on_top: z115.boolean().optional(),
|
|
2524
|
+
tented_on_bottom: z115.boolean().optional(),
|
|
2523
2525
|
from_layer: layer_ref,
|
|
2524
2526
|
to_layer: layer_ref
|
|
2525
2527
|
});
|
|
@@ -2727,6 +2729,8 @@ var pcb_board = z125.object({
|
|
|
2727
2729
|
subcircuit_id: z125.string().optional(),
|
|
2728
2730
|
is_mounted_to_carrier_board: z125.boolean().optional(),
|
|
2729
2731
|
is_via_in_pad_allowed: z125.boolean().optional(),
|
|
2732
|
+
default_via_tented_on_top: z125.boolean().optional(),
|
|
2733
|
+
default_via_tented_on_bottom: z125.boolean().optional(),
|
|
2730
2734
|
width: length.optional(),
|
|
2731
2735
|
height: length.optional(),
|
|
2732
2736
|
center: point,
|