circuit-json 0.0.251 → 0.0.253
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 +3 -0
- package/dist/index.d.mts +113 -0
- package/dist/index.mjs +17 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -718,6 +718,7 @@ interface PcbHolePillWithRectPad {
|
|
|
718
718
|
hole_height: number;
|
|
719
719
|
rect_pad_width: number;
|
|
720
720
|
rect_pad_height: number;
|
|
721
|
+
rect_border_radius?: number;
|
|
721
722
|
x: Distance;
|
|
722
723
|
y: Distance;
|
|
723
724
|
layers: LayerRef[];
|
|
@@ -738,6 +739,7 @@ interface PcbHoleRotatedPillWithRectPad {
|
|
|
738
739
|
hole_ccw_rotation: Rotation;
|
|
739
740
|
rect_pad_width: number;
|
|
740
741
|
rect_pad_height: number;
|
|
742
|
+
rect_border_radius?: number;
|
|
741
743
|
rect_ccw_rotation: Rotation;
|
|
742
744
|
x: Distance;
|
|
743
745
|
y: Distance;
|
|
@@ -757,6 +759,7 @@ interface PcbHoleCircularWithRectPad {
|
|
|
757
759
|
hole_diameter: number;
|
|
758
760
|
rect_pad_width: number;
|
|
759
761
|
rect_pad_height: number;
|
|
762
|
+
rect_border_radius?: number;
|
|
760
763
|
hole_offset_x: Distance;
|
|
761
764
|
hole_offset_y: Distance;
|
|
762
765
|
x: Distance;
|
|
@@ -887,6 +890,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
887
890
|
hole_diameter: z.ZodNumber;
|
|
888
891
|
rect_pad_width: z.ZodNumber;
|
|
889
892
|
rect_pad_height: z.ZodNumber;
|
|
893
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
890
894
|
hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
891
895
|
hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
892
896
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -923,6 +927,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
923
927
|
pcb_group_id?: string | undefined;
|
|
924
928
|
port_hints?: string[] | undefined;
|
|
925
929
|
pcb_port_id?: string | undefined;
|
|
930
|
+
rect_border_radius?: number | undefined;
|
|
926
931
|
}, {
|
|
927
932
|
x: string | number;
|
|
928
933
|
y: string | number;
|
|
@@ -942,6 +947,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
942
947
|
port_hints?: string[] | undefined;
|
|
943
948
|
pcb_port_id?: string | undefined;
|
|
944
949
|
pcb_plated_hole_id?: string | undefined;
|
|
950
|
+
rect_border_radius?: number | undefined;
|
|
945
951
|
hole_offset_x?: string | number | undefined;
|
|
946
952
|
hole_offset_y?: string | number | undefined;
|
|
947
953
|
}>, z.ZodObject<{
|
|
@@ -955,6 +961,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
955
961
|
hole_height: z.ZodNumber;
|
|
956
962
|
rect_pad_width: z.ZodNumber;
|
|
957
963
|
rect_pad_height: z.ZodNumber;
|
|
964
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
958
965
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
959
966
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
960
967
|
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -988,6 +995,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
988
995
|
pcb_group_id?: string | undefined;
|
|
989
996
|
port_hints?: string[] | undefined;
|
|
990
997
|
pcb_port_id?: string | undefined;
|
|
998
|
+
rect_border_radius?: number | undefined;
|
|
991
999
|
}, {
|
|
992
1000
|
x: string | number;
|
|
993
1001
|
y: string | number;
|
|
@@ -1008,6 +1016,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1008
1016
|
port_hints?: string[] | undefined;
|
|
1009
1017
|
pcb_port_id?: string | undefined;
|
|
1010
1018
|
pcb_plated_hole_id?: string | undefined;
|
|
1019
|
+
rect_border_radius?: number | undefined;
|
|
1011
1020
|
}>, z.ZodObject<{
|
|
1012
1021
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
1013
1022
|
shape: z.ZodLiteral<"rotated_pill_hole_with_rect_pad">;
|
|
@@ -1020,6 +1029,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1020
1029
|
hole_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1021
1030
|
rect_pad_width: z.ZodNumber;
|
|
1022
1031
|
rect_pad_height: z.ZodNumber;
|
|
1032
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
1023
1033
|
rect_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1024
1034
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1025
1035
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -1056,6 +1066,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1056
1066
|
pcb_group_id?: string | undefined;
|
|
1057
1067
|
port_hints?: string[] | undefined;
|
|
1058
1068
|
pcb_port_id?: string | undefined;
|
|
1069
|
+
rect_border_radius?: number | undefined;
|
|
1059
1070
|
}, {
|
|
1060
1071
|
x: string | number;
|
|
1061
1072
|
y: string | number;
|
|
@@ -1078,6 +1089,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1078
1089
|
port_hints?: string[] | undefined;
|
|
1079
1090
|
pcb_port_id?: string | undefined;
|
|
1080
1091
|
pcb_plated_hole_id?: string | undefined;
|
|
1092
|
+
rect_border_radius?: number | undefined;
|
|
1081
1093
|
}>]>;
|
|
1082
1094
|
type PcbPlatedHole = PcbPlatedHoleCircle | PcbPlatedHoleOval | PcbHoleCircularWithRectPad | PcbHolePillWithRectPad | PcbHoleRotatedPillWithRectPad;
|
|
1083
1095
|
/**
|
|
@@ -1178,6 +1190,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
|
|
|
1178
1190
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1179
1191
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1180
1192
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1193
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1181
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1182
1195
|
x: number;
|
|
1183
1196
|
y: number;
|
|
@@ -1193,6 +1206,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
|
|
|
1193
1206
|
pcb_group_id?: string | undefined;
|
|
1194
1207
|
port_hints?: string[] | undefined;
|
|
1195
1208
|
pcb_port_id?: string | undefined;
|
|
1209
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1196
1210
|
}, {
|
|
1197
1211
|
x: string | number;
|
|
1198
1212
|
y: string | number;
|
|
@@ -1210,6 +1224,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
|
|
|
1210
1224
|
port_hints?: string[] | undefined;
|
|
1211
1225
|
pcb_port_id?: string | undefined;
|
|
1212
1226
|
pcb_smtpad_id?: string | undefined;
|
|
1227
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1213
1228
|
}>;
|
|
1214
1229
|
declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
1215
1230
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
@@ -1232,6 +1247,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1232
1247
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1233
1248
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1234
1249
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1235
1251
|
}, "strip", z.ZodTypeAny, {
|
|
1236
1252
|
x: number;
|
|
1237
1253
|
y: number;
|
|
@@ -1245,6 +1261,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1245
1261
|
pcb_group_id?: string | undefined;
|
|
1246
1262
|
port_hints?: string[] | undefined;
|
|
1247
1263
|
pcb_port_id?: string | undefined;
|
|
1264
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1248
1265
|
}, {
|
|
1249
1266
|
x: string | number;
|
|
1250
1267
|
y: string | number;
|
|
@@ -1260,6 +1277,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1260
1277
|
port_hints?: string[] | undefined;
|
|
1261
1278
|
pcb_port_id?: string | undefined;
|
|
1262
1279
|
pcb_smtpad_id?: string | undefined;
|
|
1280
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1263
1281
|
}>, z.ZodObject<{
|
|
1264
1282
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1265
1283
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -1270,6 +1288,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1270
1288
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1271
1289
|
width: z.ZodNumber;
|
|
1272
1290
|
height: z.ZodNumber;
|
|
1291
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
1273
1292
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
1274
1293
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
1275
1294
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1282,6 +1301,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1282
1301
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1283
1302
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1284
1303
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1304
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1285
1305
|
}, "strip", z.ZodTypeAny, {
|
|
1286
1306
|
x: number;
|
|
1287
1307
|
y: number;
|
|
@@ -1296,6 +1316,8 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1296
1316
|
pcb_group_id?: string | undefined;
|
|
1297
1317
|
port_hints?: string[] | undefined;
|
|
1298
1318
|
pcb_port_id?: string | undefined;
|
|
1319
|
+
rect_border_radius?: number | undefined;
|
|
1320
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1299
1321
|
}, {
|
|
1300
1322
|
x: string | number;
|
|
1301
1323
|
y: string | number;
|
|
@@ -1311,7 +1333,9 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1311
1333
|
pcb_group_id?: string | undefined;
|
|
1312
1334
|
port_hints?: string[] | undefined;
|
|
1313
1335
|
pcb_port_id?: string | undefined;
|
|
1336
|
+
rect_border_radius?: number | undefined;
|
|
1314
1337
|
pcb_smtpad_id?: string | undefined;
|
|
1338
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1315
1339
|
}>, z.ZodObject<{
|
|
1316
1340
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1317
1341
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -1322,6 +1346,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1322
1346
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1323
1347
|
width: z.ZodNumber;
|
|
1324
1348
|
height: z.ZodNumber;
|
|
1349
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
1325
1350
|
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1326
1351
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
1327
1352
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
@@ -1335,6 +1360,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1335
1360
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1336
1361
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1337
1362
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1338
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1339
1365
|
x: number;
|
|
1340
1366
|
y: number;
|
|
@@ -1350,6 +1376,8 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1350
1376
|
pcb_group_id?: string | undefined;
|
|
1351
1377
|
port_hints?: string[] | undefined;
|
|
1352
1378
|
pcb_port_id?: string | undefined;
|
|
1379
|
+
rect_border_radius?: number | undefined;
|
|
1380
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1353
1381
|
}, {
|
|
1354
1382
|
x: string | number;
|
|
1355
1383
|
y: string | number;
|
|
@@ -1366,7 +1394,9 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1366
1394
|
pcb_group_id?: string | undefined;
|
|
1367
1395
|
port_hints?: string[] | undefined;
|
|
1368
1396
|
pcb_port_id?: string | undefined;
|
|
1397
|
+
rect_border_radius?: number | undefined;
|
|
1369
1398
|
pcb_smtpad_id?: string | undefined;
|
|
1399
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1370
1400
|
}>, z.ZodObject<{
|
|
1371
1401
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1372
1402
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -1391,6 +1421,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1391
1421
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1392
1422
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1393
1423
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1394
1425
|
}, "strip", z.ZodTypeAny, {
|
|
1395
1426
|
x: number;
|
|
1396
1427
|
y: number;
|
|
@@ -1407,6 +1438,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1407
1438
|
pcb_group_id?: string | undefined;
|
|
1408
1439
|
port_hints?: string[] | undefined;
|
|
1409
1440
|
pcb_port_id?: string | undefined;
|
|
1441
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1410
1442
|
}, {
|
|
1411
1443
|
x: string | number;
|
|
1412
1444
|
y: string | number;
|
|
@@ -1425,6 +1457,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1425
1457
|
port_hints?: string[] | undefined;
|
|
1426
1458
|
pcb_port_id?: string | undefined;
|
|
1427
1459
|
pcb_smtpad_id?: string | undefined;
|
|
1460
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1428
1461
|
}>, z.ZodObject<{
|
|
1429
1462
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1430
1463
|
shape: z.ZodLiteral<"pill">;
|
|
@@ -1448,6 +1481,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1448
1481
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1449
1482
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1450
1483
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1451
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1452
1486
|
x: number;
|
|
1453
1487
|
y: number;
|
|
@@ -1463,6 +1497,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1463
1497
|
pcb_group_id?: string | undefined;
|
|
1464
1498
|
port_hints?: string[] | undefined;
|
|
1465
1499
|
pcb_port_id?: string | undefined;
|
|
1500
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1466
1501
|
}, {
|
|
1467
1502
|
x: string | number;
|
|
1468
1503
|
y: string | number;
|
|
@@ -1480,6 +1515,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1480
1515
|
port_hints?: string[] | undefined;
|
|
1481
1516
|
pcb_port_id?: string | undefined;
|
|
1482
1517
|
pcb_smtpad_id?: string | undefined;
|
|
1518
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1483
1519
|
}>, z.ZodObject<{
|
|
1484
1520
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1485
1521
|
shape: z.ZodLiteral<"polygon">;
|
|
@@ -1508,6 +1544,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1508
1544
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1509
1545
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1510
1546
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1547
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1511
1548
|
}, "strip", z.ZodTypeAny, {
|
|
1512
1549
|
type: "pcb_smtpad";
|
|
1513
1550
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
@@ -1522,6 +1559,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1522
1559
|
pcb_group_id?: string | undefined;
|
|
1523
1560
|
port_hints?: string[] | undefined;
|
|
1524
1561
|
pcb_port_id?: string | undefined;
|
|
1562
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1525
1563
|
}, {
|
|
1526
1564
|
type: "pcb_smtpad";
|
|
1527
1565
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
@@ -1538,6 +1576,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1538
1576
|
port_hints?: string[] | undefined;
|
|
1539
1577
|
pcb_port_id?: string | undefined;
|
|
1540
1578
|
pcb_smtpad_id?: string | undefined;
|
|
1579
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1541
1580
|
}>]>;
|
|
1542
1581
|
type PCBSMTPadInput = z.input<typeof pcb_smtpad>;
|
|
1543
1582
|
/**
|
|
@@ -1556,6 +1595,7 @@ interface PcbSmtPadCircle {
|
|
|
1556
1595
|
port_hints?: string[];
|
|
1557
1596
|
pcb_component_id?: string;
|
|
1558
1597
|
pcb_port_id?: string;
|
|
1598
|
+
is_covered_with_solder_mask?: boolean;
|
|
1559
1599
|
}
|
|
1560
1600
|
/**
|
|
1561
1601
|
* Defines a rectangular SMT pad on the PCB
|
|
@@ -1570,10 +1610,12 @@ interface PcbSmtPadRect {
|
|
|
1570
1610
|
y: Distance;
|
|
1571
1611
|
width: number;
|
|
1572
1612
|
height: number;
|
|
1613
|
+
rect_border_radius?: number;
|
|
1573
1614
|
layer: LayerRef;
|
|
1574
1615
|
port_hints?: string[];
|
|
1575
1616
|
pcb_component_id?: string;
|
|
1576
1617
|
pcb_port_id?: string;
|
|
1618
|
+
is_covered_with_solder_mask?: boolean;
|
|
1577
1619
|
}
|
|
1578
1620
|
/**
|
|
1579
1621
|
* Defines a rotated rectangular SMT pad on the PCB
|
|
@@ -1588,11 +1630,13 @@ interface PcbSmtPadRotatedRect {
|
|
|
1588
1630
|
y: Distance;
|
|
1589
1631
|
width: number;
|
|
1590
1632
|
height: number;
|
|
1633
|
+
rect_border_radius?: number;
|
|
1591
1634
|
ccw_rotation: Rotation;
|
|
1592
1635
|
layer: LayerRef;
|
|
1593
1636
|
port_hints?: string[];
|
|
1594
1637
|
pcb_component_id?: string;
|
|
1595
1638
|
pcb_port_id?: string;
|
|
1639
|
+
is_covered_with_solder_mask?: boolean;
|
|
1596
1640
|
}
|
|
1597
1641
|
/**
|
|
1598
1642
|
* Defines a pill-shaped SMT pad on the PCB (rounded rectangle).
|
|
@@ -1612,6 +1656,7 @@ interface PcbSmtPadPill {
|
|
|
1612
1656
|
port_hints?: string[];
|
|
1613
1657
|
pcb_component_id?: string;
|
|
1614
1658
|
pcb_port_id?: string;
|
|
1659
|
+
is_covered_with_solder_mask?: boolean;
|
|
1615
1660
|
}
|
|
1616
1661
|
/**
|
|
1617
1662
|
* Defines a rotated pill-shaped SMT pad on the PCB
|
|
@@ -1632,6 +1677,7 @@ interface PcbSmtPadRotatedPill {
|
|
|
1632
1677
|
port_hints?: string[];
|
|
1633
1678
|
pcb_component_id?: string;
|
|
1634
1679
|
pcb_port_id?: string;
|
|
1680
|
+
is_covered_with_solder_mask?: boolean;
|
|
1635
1681
|
}
|
|
1636
1682
|
/**
|
|
1637
1683
|
* Defines a polygonal SMT pad on the PCB
|
|
@@ -1647,6 +1693,7 @@ interface PcbSmtPadPolygon {
|
|
|
1647
1693
|
port_hints?: string[];
|
|
1648
1694
|
pcb_component_id?: string;
|
|
1649
1695
|
pcb_port_id?: string;
|
|
1696
|
+
is_covered_with_solder_mask?: boolean;
|
|
1650
1697
|
}
|
|
1651
1698
|
type PcbSmtPad = PcbSmtPadCircle | PcbSmtPadRect | PcbSmtPadRotatedRect | PcbSmtPadRotatedPill | PcbSmtPadPill | PcbSmtPadPolygon;
|
|
1652
1699
|
/**
|
|
@@ -11984,6 +12031,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
11984
12031
|
hole_diameter: z.ZodNumber;
|
|
11985
12032
|
rect_pad_width: z.ZodNumber;
|
|
11986
12033
|
rect_pad_height: z.ZodNumber;
|
|
12034
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
11987
12035
|
hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11988
12036
|
hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
11989
12037
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12020,6 +12068,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12020
12068
|
pcb_group_id?: string | undefined;
|
|
12021
12069
|
port_hints?: string[] | undefined;
|
|
12022
12070
|
pcb_port_id?: string | undefined;
|
|
12071
|
+
rect_border_radius?: number | undefined;
|
|
12023
12072
|
}, {
|
|
12024
12073
|
x: string | number;
|
|
12025
12074
|
y: string | number;
|
|
@@ -12039,6 +12088,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12039
12088
|
port_hints?: string[] | undefined;
|
|
12040
12089
|
pcb_port_id?: string | undefined;
|
|
12041
12090
|
pcb_plated_hole_id?: string | undefined;
|
|
12091
|
+
rect_border_radius?: number | undefined;
|
|
12042
12092
|
hole_offset_x?: string | number | undefined;
|
|
12043
12093
|
hole_offset_y?: string | number | undefined;
|
|
12044
12094
|
}>, z.ZodObject<{
|
|
@@ -12052,6 +12102,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12052
12102
|
hole_height: z.ZodNumber;
|
|
12053
12103
|
rect_pad_width: z.ZodNumber;
|
|
12054
12104
|
rect_pad_height: z.ZodNumber;
|
|
12105
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
12055
12106
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12056
12107
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12057
12108
|
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -12085,6 +12136,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12085
12136
|
pcb_group_id?: string | undefined;
|
|
12086
12137
|
port_hints?: string[] | undefined;
|
|
12087
12138
|
pcb_port_id?: string | undefined;
|
|
12139
|
+
rect_border_radius?: number | undefined;
|
|
12088
12140
|
}, {
|
|
12089
12141
|
x: string | number;
|
|
12090
12142
|
y: string | number;
|
|
@@ -12105,6 +12157,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12105
12157
|
port_hints?: string[] | undefined;
|
|
12106
12158
|
pcb_port_id?: string | undefined;
|
|
12107
12159
|
pcb_plated_hole_id?: string | undefined;
|
|
12160
|
+
rect_border_radius?: number | undefined;
|
|
12108
12161
|
}>, z.ZodObject<{
|
|
12109
12162
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
12110
12163
|
shape: z.ZodLiteral<"rotated_pill_hole_with_rect_pad">;
|
|
@@ -12117,6 +12170,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12117
12170
|
hole_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12118
12171
|
rect_pad_width: z.ZodNumber;
|
|
12119
12172
|
rect_pad_height: z.ZodNumber;
|
|
12173
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
12120
12174
|
rect_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12121
12175
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12122
12176
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12153,6 +12207,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12153
12207
|
pcb_group_id?: string | undefined;
|
|
12154
12208
|
port_hints?: string[] | undefined;
|
|
12155
12209
|
pcb_port_id?: string | undefined;
|
|
12210
|
+
rect_border_radius?: number | undefined;
|
|
12156
12211
|
}, {
|
|
12157
12212
|
x: string | number;
|
|
12158
12213
|
y: string | number;
|
|
@@ -12175,6 +12230,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12175
12230
|
port_hints?: string[] | undefined;
|
|
12176
12231
|
pcb_port_id?: string | undefined;
|
|
12177
12232
|
pcb_plated_hole_id?: string | undefined;
|
|
12233
|
+
rect_border_radius?: number | undefined;
|
|
12178
12234
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
12179
12235
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
12180
12236
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -12587,6 +12643,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12587
12643
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12588
12644
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12589
12645
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12646
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12590
12647
|
}, "strip", z.ZodTypeAny, {
|
|
12591
12648
|
x: number;
|
|
12592
12649
|
y: number;
|
|
@@ -12600,6 +12657,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12600
12657
|
pcb_group_id?: string | undefined;
|
|
12601
12658
|
port_hints?: string[] | undefined;
|
|
12602
12659
|
pcb_port_id?: string | undefined;
|
|
12660
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12603
12661
|
}, {
|
|
12604
12662
|
x: string | number;
|
|
12605
12663
|
y: string | number;
|
|
@@ -12615,6 +12673,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12615
12673
|
port_hints?: string[] | undefined;
|
|
12616
12674
|
pcb_port_id?: string | undefined;
|
|
12617
12675
|
pcb_smtpad_id?: string | undefined;
|
|
12676
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12618
12677
|
}>, z.ZodObject<{
|
|
12619
12678
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
12620
12679
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -12625,6 +12684,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12625
12684
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12626
12685
|
width: z.ZodNumber;
|
|
12627
12686
|
height: z.ZodNumber;
|
|
12687
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
12628
12688
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
12629
12689
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
12630
12690
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -12637,6 +12697,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12637
12697
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12638
12698
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12639
12699
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12700
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12640
12701
|
}, "strip", z.ZodTypeAny, {
|
|
12641
12702
|
x: number;
|
|
12642
12703
|
y: number;
|
|
@@ -12651,6 +12712,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12651
12712
|
pcb_group_id?: string | undefined;
|
|
12652
12713
|
port_hints?: string[] | undefined;
|
|
12653
12714
|
pcb_port_id?: string | undefined;
|
|
12715
|
+
rect_border_radius?: number | undefined;
|
|
12716
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12654
12717
|
}, {
|
|
12655
12718
|
x: string | number;
|
|
12656
12719
|
y: string | number;
|
|
@@ -12666,7 +12729,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12666
12729
|
pcb_group_id?: string | undefined;
|
|
12667
12730
|
port_hints?: string[] | undefined;
|
|
12668
12731
|
pcb_port_id?: string | undefined;
|
|
12732
|
+
rect_border_radius?: number | undefined;
|
|
12669
12733
|
pcb_smtpad_id?: string | undefined;
|
|
12734
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12670
12735
|
}>, z.ZodObject<{
|
|
12671
12736
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
12672
12737
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -12677,6 +12742,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12677
12742
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12678
12743
|
width: z.ZodNumber;
|
|
12679
12744
|
height: z.ZodNumber;
|
|
12745
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
12680
12746
|
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12681
12747
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
12682
12748
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
@@ -12690,6 +12756,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12690
12756
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12691
12757
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12692
12758
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12759
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12693
12760
|
}, "strip", z.ZodTypeAny, {
|
|
12694
12761
|
x: number;
|
|
12695
12762
|
y: number;
|
|
@@ -12705,6 +12772,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12705
12772
|
pcb_group_id?: string | undefined;
|
|
12706
12773
|
port_hints?: string[] | undefined;
|
|
12707
12774
|
pcb_port_id?: string | undefined;
|
|
12775
|
+
rect_border_radius?: number | undefined;
|
|
12776
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12708
12777
|
}, {
|
|
12709
12778
|
x: string | number;
|
|
12710
12779
|
y: string | number;
|
|
@@ -12721,7 +12790,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12721
12790
|
pcb_group_id?: string | undefined;
|
|
12722
12791
|
port_hints?: string[] | undefined;
|
|
12723
12792
|
pcb_port_id?: string | undefined;
|
|
12793
|
+
rect_border_radius?: number | undefined;
|
|
12724
12794
|
pcb_smtpad_id?: string | undefined;
|
|
12795
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12725
12796
|
}>, z.ZodObject<{
|
|
12726
12797
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
12727
12798
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -12746,6 +12817,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12746
12817
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12747
12818
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12748
12819
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12820
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12749
12821
|
}, "strip", z.ZodTypeAny, {
|
|
12750
12822
|
x: number;
|
|
12751
12823
|
y: number;
|
|
@@ -12762,6 +12834,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12762
12834
|
pcb_group_id?: string | undefined;
|
|
12763
12835
|
port_hints?: string[] | undefined;
|
|
12764
12836
|
pcb_port_id?: string | undefined;
|
|
12837
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12765
12838
|
}, {
|
|
12766
12839
|
x: string | number;
|
|
12767
12840
|
y: string | number;
|
|
@@ -12780,6 +12853,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12780
12853
|
port_hints?: string[] | undefined;
|
|
12781
12854
|
pcb_port_id?: string | undefined;
|
|
12782
12855
|
pcb_smtpad_id?: string | undefined;
|
|
12856
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12783
12857
|
}>, z.ZodObject<{
|
|
12784
12858
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
12785
12859
|
shape: z.ZodLiteral<"pill">;
|
|
@@ -12803,6 +12877,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12803
12877
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12804
12878
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12805
12879
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12880
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12806
12881
|
}, "strip", z.ZodTypeAny, {
|
|
12807
12882
|
x: number;
|
|
12808
12883
|
y: number;
|
|
@@ -12818,6 +12893,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12818
12893
|
pcb_group_id?: string | undefined;
|
|
12819
12894
|
port_hints?: string[] | undefined;
|
|
12820
12895
|
pcb_port_id?: string | undefined;
|
|
12896
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12821
12897
|
}, {
|
|
12822
12898
|
x: string | number;
|
|
12823
12899
|
y: string | number;
|
|
@@ -12835,6 +12911,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12835
12911
|
port_hints?: string[] | undefined;
|
|
12836
12912
|
pcb_port_id?: string | undefined;
|
|
12837
12913
|
pcb_smtpad_id?: string | undefined;
|
|
12914
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12838
12915
|
}>, z.ZodObject<{
|
|
12839
12916
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
12840
12917
|
shape: z.ZodLiteral<"polygon">;
|
|
@@ -12863,6 +12940,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12863
12940
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12864
12941
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12865
12942
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12943
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12866
12944
|
}, "strip", z.ZodTypeAny, {
|
|
12867
12945
|
type: "pcb_smtpad";
|
|
12868
12946
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
@@ -12877,6 +12955,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12877
12955
|
pcb_group_id?: string | undefined;
|
|
12878
12956
|
port_hints?: string[] | undefined;
|
|
12879
12957
|
pcb_port_id?: string | undefined;
|
|
12958
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12880
12959
|
}, {
|
|
12881
12960
|
type: "pcb_smtpad";
|
|
12882
12961
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
@@ -12893,6 +12972,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12893
12972
|
port_hints?: string[] | undefined;
|
|
12894
12973
|
pcb_port_id?: string | undefined;
|
|
12895
12974
|
pcb_smtpad_id?: string | undefined;
|
|
12975
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12896
12976
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
12897
12977
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
12898
12978
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -18067,6 +18147,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18067
18147
|
hole_diameter: z.ZodNumber;
|
|
18068
18148
|
rect_pad_width: z.ZodNumber;
|
|
18069
18149
|
rect_pad_height: z.ZodNumber;
|
|
18150
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
18070
18151
|
hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18071
18152
|
hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
18072
18153
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -18103,6 +18184,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18103
18184
|
pcb_group_id?: string | undefined;
|
|
18104
18185
|
port_hints?: string[] | undefined;
|
|
18105
18186
|
pcb_port_id?: string | undefined;
|
|
18187
|
+
rect_border_radius?: number | undefined;
|
|
18106
18188
|
}, {
|
|
18107
18189
|
x: string | number;
|
|
18108
18190
|
y: string | number;
|
|
@@ -18122,6 +18204,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18122
18204
|
port_hints?: string[] | undefined;
|
|
18123
18205
|
pcb_port_id?: string | undefined;
|
|
18124
18206
|
pcb_plated_hole_id?: string | undefined;
|
|
18207
|
+
rect_border_radius?: number | undefined;
|
|
18125
18208
|
hole_offset_x?: string | number | undefined;
|
|
18126
18209
|
hole_offset_y?: string | number | undefined;
|
|
18127
18210
|
}>, z.ZodObject<{
|
|
@@ -18135,6 +18218,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18135
18218
|
hole_height: z.ZodNumber;
|
|
18136
18219
|
rect_pad_width: z.ZodNumber;
|
|
18137
18220
|
rect_pad_height: z.ZodNumber;
|
|
18221
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
18138
18222
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18139
18223
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18140
18224
|
layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -18168,6 +18252,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18168
18252
|
pcb_group_id?: string | undefined;
|
|
18169
18253
|
port_hints?: string[] | undefined;
|
|
18170
18254
|
pcb_port_id?: string | undefined;
|
|
18255
|
+
rect_border_radius?: number | undefined;
|
|
18171
18256
|
}, {
|
|
18172
18257
|
x: string | number;
|
|
18173
18258
|
y: string | number;
|
|
@@ -18188,6 +18273,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18188
18273
|
port_hints?: string[] | undefined;
|
|
18189
18274
|
pcb_port_id?: string | undefined;
|
|
18190
18275
|
pcb_plated_hole_id?: string | undefined;
|
|
18276
|
+
rect_border_radius?: number | undefined;
|
|
18191
18277
|
}>, z.ZodObject<{
|
|
18192
18278
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
18193
18279
|
shape: z.ZodLiteral<"rotated_pill_hole_with_rect_pad">;
|
|
@@ -18200,6 +18286,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18200
18286
|
hole_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18201
18287
|
rect_pad_width: z.ZodNumber;
|
|
18202
18288
|
rect_pad_height: z.ZodNumber;
|
|
18289
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
18203
18290
|
rect_ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18204
18291
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18205
18292
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -18236,6 +18323,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18236
18323
|
pcb_group_id?: string | undefined;
|
|
18237
18324
|
port_hints?: string[] | undefined;
|
|
18238
18325
|
pcb_port_id?: string | undefined;
|
|
18326
|
+
rect_border_radius?: number | undefined;
|
|
18239
18327
|
}, {
|
|
18240
18328
|
x: string | number;
|
|
18241
18329
|
y: string | number;
|
|
@@ -18258,6 +18346,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18258
18346
|
port_hints?: string[] | undefined;
|
|
18259
18347
|
pcb_port_id?: string | undefined;
|
|
18260
18348
|
pcb_plated_hole_id?: string | undefined;
|
|
18349
|
+
rect_border_radius?: number | undefined;
|
|
18261
18350
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
18262
18351
|
type: z.ZodLiteral<"pcb_keepout">;
|
|
18263
18352
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -18670,6 +18759,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18670
18759
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18671
18760
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18672
18761
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
18762
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18673
18763
|
}, "strip", z.ZodTypeAny, {
|
|
18674
18764
|
x: number;
|
|
18675
18765
|
y: number;
|
|
@@ -18683,6 +18773,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18683
18773
|
pcb_group_id?: string | undefined;
|
|
18684
18774
|
port_hints?: string[] | undefined;
|
|
18685
18775
|
pcb_port_id?: string | undefined;
|
|
18776
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18686
18777
|
}, {
|
|
18687
18778
|
x: string | number;
|
|
18688
18779
|
y: string | number;
|
|
@@ -18698,6 +18789,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18698
18789
|
port_hints?: string[] | undefined;
|
|
18699
18790
|
pcb_port_id?: string | undefined;
|
|
18700
18791
|
pcb_smtpad_id?: string | undefined;
|
|
18792
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18701
18793
|
}>, z.ZodObject<{
|
|
18702
18794
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
18703
18795
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -18708,6 +18800,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18708
18800
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18709
18801
|
width: z.ZodNumber;
|
|
18710
18802
|
height: z.ZodNumber;
|
|
18803
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
18711
18804
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
18712
18805
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
18713
18806
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -18720,6 +18813,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18720
18813
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18721
18814
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18722
18815
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
18816
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18723
18817
|
}, "strip", z.ZodTypeAny, {
|
|
18724
18818
|
x: number;
|
|
18725
18819
|
y: number;
|
|
@@ -18734,6 +18828,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18734
18828
|
pcb_group_id?: string | undefined;
|
|
18735
18829
|
port_hints?: string[] | undefined;
|
|
18736
18830
|
pcb_port_id?: string | undefined;
|
|
18831
|
+
rect_border_radius?: number | undefined;
|
|
18832
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18737
18833
|
}, {
|
|
18738
18834
|
x: string | number;
|
|
18739
18835
|
y: string | number;
|
|
@@ -18749,7 +18845,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18749
18845
|
pcb_group_id?: string | undefined;
|
|
18750
18846
|
port_hints?: string[] | undefined;
|
|
18751
18847
|
pcb_port_id?: string | undefined;
|
|
18848
|
+
rect_border_radius?: number | undefined;
|
|
18752
18849
|
pcb_smtpad_id?: string | undefined;
|
|
18850
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18753
18851
|
}>, z.ZodObject<{
|
|
18754
18852
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
18755
18853
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -18760,6 +18858,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18760
18858
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18761
18859
|
width: z.ZodNumber;
|
|
18762
18860
|
height: z.ZodNumber;
|
|
18861
|
+
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
18763
18862
|
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
18764
18863
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
18765
18864
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
@@ -18773,6 +18872,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18773
18872
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18774
18873
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18775
18874
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
18875
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18776
18876
|
}, "strip", z.ZodTypeAny, {
|
|
18777
18877
|
x: number;
|
|
18778
18878
|
y: number;
|
|
@@ -18788,6 +18888,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18788
18888
|
pcb_group_id?: string | undefined;
|
|
18789
18889
|
port_hints?: string[] | undefined;
|
|
18790
18890
|
pcb_port_id?: string | undefined;
|
|
18891
|
+
rect_border_radius?: number | undefined;
|
|
18892
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18791
18893
|
}, {
|
|
18792
18894
|
x: string | number;
|
|
18793
18895
|
y: string | number;
|
|
@@ -18804,7 +18906,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18804
18906
|
pcb_group_id?: string | undefined;
|
|
18805
18907
|
port_hints?: string[] | undefined;
|
|
18806
18908
|
pcb_port_id?: string | undefined;
|
|
18909
|
+
rect_border_radius?: number | undefined;
|
|
18807
18910
|
pcb_smtpad_id?: string | undefined;
|
|
18911
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18808
18912
|
}>, z.ZodObject<{
|
|
18809
18913
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
18810
18914
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -18829,6 +18933,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18829
18933
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18830
18934
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18831
18935
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
18936
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18832
18937
|
}, "strip", z.ZodTypeAny, {
|
|
18833
18938
|
x: number;
|
|
18834
18939
|
y: number;
|
|
@@ -18845,6 +18950,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18845
18950
|
pcb_group_id?: string | undefined;
|
|
18846
18951
|
port_hints?: string[] | undefined;
|
|
18847
18952
|
pcb_port_id?: string | undefined;
|
|
18953
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18848
18954
|
}, {
|
|
18849
18955
|
x: string | number;
|
|
18850
18956
|
y: string | number;
|
|
@@ -18863,6 +18969,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18863
18969
|
port_hints?: string[] | undefined;
|
|
18864
18970
|
pcb_port_id?: string | undefined;
|
|
18865
18971
|
pcb_smtpad_id?: string | undefined;
|
|
18972
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18866
18973
|
}>, z.ZodObject<{
|
|
18867
18974
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
18868
18975
|
shape: z.ZodLiteral<"pill">;
|
|
@@ -18886,6 +18993,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18886
18993
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18887
18994
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18888
18995
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
18996
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18889
18997
|
}, "strip", z.ZodTypeAny, {
|
|
18890
18998
|
x: number;
|
|
18891
18999
|
y: number;
|
|
@@ -18901,6 +19009,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18901
19009
|
pcb_group_id?: string | undefined;
|
|
18902
19010
|
port_hints?: string[] | undefined;
|
|
18903
19011
|
pcb_port_id?: string | undefined;
|
|
19012
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18904
19013
|
}, {
|
|
18905
19014
|
x: string | number;
|
|
18906
19015
|
y: string | number;
|
|
@@ -18918,6 +19027,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18918
19027
|
port_hints?: string[] | undefined;
|
|
18919
19028
|
pcb_port_id?: string | undefined;
|
|
18920
19029
|
pcb_smtpad_id?: string | undefined;
|
|
19030
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18921
19031
|
}>, z.ZodObject<{
|
|
18922
19032
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
18923
19033
|
shape: z.ZodLiteral<"polygon">;
|
|
@@ -18946,6 +19056,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18946
19056
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18947
19057
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18948
19058
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
19059
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18949
19060
|
}, "strip", z.ZodTypeAny, {
|
|
18950
19061
|
type: "pcb_smtpad";
|
|
18951
19062
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
@@ -18960,6 +19071,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18960
19071
|
pcb_group_id?: string | undefined;
|
|
18961
19072
|
port_hints?: string[] | undefined;
|
|
18962
19073
|
pcb_port_id?: string | undefined;
|
|
19074
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18963
19075
|
}, {
|
|
18964
19076
|
type: "pcb_smtpad";
|
|
18965
19077
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
@@ -18976,6 +19088,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18976
19088
|
port_hints?: string[] | undefined;
|
|
18977
19089
|
pcb_port_id?: string | undefined;
|
|
18978
19090
|
pcb_smtpad_id?: string | undefined;
|
|
19091
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18979
19092
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
18980
19093
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
18981
19094
|
shape: z.ZodLiteral<"circle">;
|