circuit-json 0.0.252 → 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/dist/index.d.mts +63 -0
- package/dist/index.mjs +12 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1190,6 +1190,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
|
|
|
1190
1190
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1191
1191
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1192
1192
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1193
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1193
1194
|
}, "strip", z.ZodTypeAny, {
|
|
1194
1195
|
x: number;
|
|
1195
1196
|
y: number;
|
|
@@ -1205,6 +1206,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
|
|
|
1205
1206
|
pcb_group_id?: string | undefined;
|
|
1206
1207
|
port_hints?: string[] | undefined;
|
|
1207
1208
|
pcb_port_id?: string | undefined;
|
|
1209
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1208
1210
|
}, {
|
|
1209
1211
|
x: string | number;
|
|
1210
1212
|
y: string | number;
|
|
@@ -1222,6 +1224,7 @@ declare const pcb_smtpad_pill: z.ZodObject<{
|
|
|
1222
1224
|
port_hints?: string[] | undefined;
|
|
1223
1225
|
pcb_port_id?: string | undefined;
|
|
1224
1226
|
pcb_smtpad_id?: string | undefined;
|
|
1227
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1225
1228
|
}>;
|
|
1226
1229
|
declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
1227
1230
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
@@ -1244,6 +1247,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1244
1247
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1245
1248
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1246
1249
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1250
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1247
1251
|
}, "strip", z.ZodTypeAny, {
|
|
1248
1252
|
x: number;
|
|
1249
1253
|
y: number;
|
|
@@ -1257,6 +1261,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1257
1261
|
pcb_group_id?: string | undefined;
|
|
1258
1262
|
port_hints?: string[] | undefined;
|
|
1259
1263
|
pcb_port_id?: string | undefined;
|
|
1264
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1260
1265
|
}, {
|
|
1261
1266
|
x: string | number;
|
|
1262
1267
|
y: string | number;
|
|
@@ -1272,6 +1277,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1272
1277
|
port_hints?: string[] | undefined;
|
|
1273
1278
|
pcb_port_id?: string | undefined;
|
|
1274
1279
|
pcb_smtpad_id?: string | undefined;
|
|
1280
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1275
1281
|
}>, z.ZodObject<{
|
|
1276
1282
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1277
1283
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -1295,6 +1301,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1295
1301
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1296
1302
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1297
1303
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1304
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1298
1305
|
}, "strip", z.ZodTypeAny, {
|
|
1299
1306
|
x: number;
|
|
1300
1307
|
y: number;
|
|
@@ -1310,6 +1317,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1310
1317
|
port_hints?: string[] | undefined;
|
|
1311
1318
|
pcb_port_id?: string | undefined;
|
|
1312
1319
|
rect_border_radius?: number | undefined;
|
|
1320
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1313
1321
|
}, {
|
|
1314
1322
|
x: string | number;
|
|
1315
1323
|
y: string | number;
|
|
@@ -1327,6 +1335,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1327
1335
|
pcb_port_id?: string | undefined;
|
|
1328
1336
|
rect_border_radius?: number | undefined;
|
|
1329
1337
|
pcb_smtpad_id?: string | undefined;
|
|
1338
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1330
1339
|
}>, z.ZodObject<{
|
|
1331
1340
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1332
1341
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -1351,6 +1360,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1351
1360
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1352
1361
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1353
1362
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1363
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1354
1364
|
}, "strip", z.ZodTypeAny, {
|
|
1355
1365
|
x: number;
|
|
1356
1366
|
y: number;
|
|
@@ -1367,6 +1377,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1367
1377
|
port_hints?: string[] | undefined;
|
|
1368
1378
|
pcb_port_id?: string | undefined;
|
|
1369
1379
|
rect_border_radius?: number | undefined;
|
|
1380
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1370
1381
|
}, {
|
|
1371
1382
|
x: string | number;
|
|
1372
1383
|
y: string | number;
|
|
@@ -1385,6 +1396,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1385
1396
|
pcb_port_id?: string | undefined;
|
|
1386
1397
|
rect_border_radius?: number | undefined;
|
|
1387
1398
|
pcb_smtpad_id?: string | undefined;
|
|
1399
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1388
1400
|
}>, z.ZodObject<{
|
|
1389
1401
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1390
1402
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -1409,6 +1421,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1409
1421
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1410
1422
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1411
1423
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1412
1425
|
}, "strip", z.ZodTypeAny, {
|
|
1413
1426
|
x: number;
|
|
1414
1427
|
y: number;
|
|
@@ -1425,6 +1438,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1425
1438
|
pcb_group_id?: string | undefined;
|
|
1426
1439
|
port_hints?: string[] | undefined;
|
|
1427
1440
|
pcb_port_id?: string | undefined;
|
|
1441
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1428
1442
|
}, {
|
|
1429
1443
|
x: string | number;
|
|
1430
1444
|
y: string | number;
|
|
@@ -1443,6 +1457,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1443
1457
|
port_hints?: string[] | undefined;
|
|
1444
1458
|
pcb_port_id?: string | undefined;
|
|
1445
1459
|
pcb_smtpad_id?: string | undefined;
|
|
1460
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1446
1461
|
}>, z.ZodObject<{
|
|
1447
1462
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1448
1463
|
shape: z.ZodLiteral<"pill">;
|
|
@@ -1466,6 +1481,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1466
1481
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1467
1482
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1468
1483
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1484
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1469
1485
|
}, "strip", z.ZodTypeAny, {
|
|
1470
1486
|
x: number;
|
|
1471
1487
|
y: number;
|
|
@@ -1481,6 +1497,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1481
1497
|
pcb_group_id?: string | undefined;
|
|
1482
1498
|
port_hints?: string[] | undefined;
|
|
1483
1499
|
pcb_port_id?: string | undefined;
|
|
1500
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1484
1501
|
}, {
|
|
1485
1502
|
x: string | number;
|
|
1486
1503
|
y: string | number;
|
|
@@ -1498,6 +1515,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1498
1515
|
port_hints?: string[] | undefined;
|
|
1499
1516
|
pcb_port_id?: string | undefined;
|
|
1500
1517
|
pcb_smtpad_id?: string | undefined;
|
|
1518
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1501
1519
|
}>, z.ZodObject<{
|
|
1502
1520
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1503
1521
|
shape: z.ZodLiteral<"polygon">;
|
|
@@ -1526,6 +1544,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1526
1544
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1527
1545
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
1528
1546
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1547
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
1529
1548
|
}, "strip", z.ZodTypeAny, {
|
|
1530
1549
|
type: "pcb_smtpad";
|
|
1531
1550
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
@@ -1540,6 +1559,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1540
1559
|
pcb_group_id?: string | undefined;
|
|
1541
1560
|
port_hints?: string[] | undefined;
|
|
1542
1561
|
pcb_port_id?: string | undefined;
|
|
1562
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1543
1563
|
}, {
|
|
1544
1564
|
type: "pcb_smtpad";
|
|
1545
1565
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
@@ -1556,6 +1576,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1556
1576
|
port_hints?: string[] | undefined;
|
|
1557
1577
|
pcb_port_id?: string | undefined;
|
|
1558
1578
|
pcb_smtpad_id?: string | undefined;
|
|
1579
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
1559
1580
|
}>]>;
|
|
1560
1581
|
type PCBSMTPadInput = z.input<typeof pcb_smtpad>;
|
|
1561
1582
|
/**
|
|
@@ -1574,6 +1595,7 @@ interface PcbSmtPadCircle {
|
|
|
1574
1595
|
port_hints?: string[];
|
|
1575
1596
|
pcb_component_id?: string;
|
|
1576
1597
|
pcb_port_id?: string;
|
|
1598
|
+
is_covered_with_solder_mask?: boolean;
|
|
1577
1599
|
}
|
|
1578
1600
|
/**
|
|
1579
1601
|
* Defines a rectangular SMT pad on the PCB
|
|
@@ -1593,6 +1615,7 @@ interface PcbSmtPadRect {
|
|
|
1593
1615
|
port_hints?: string[];
|
|
1594
1616
|
pcb_component_id?: string;
|
|
1595
1617
|
pcb_port_id?: string;
|
|
1618
|
+
is_covered_with_solder_mask?: boolean;
|
|
1596
1619
|
}
|
|
1597
1620
|
/**
|
|
1598
1621
|
* Defines a rotated rectangular SMT pad on the PCB
|
|
@@ -1613,6 +1636,7 @@ interface PcbSmtPadRotatedRect {
|
|
|
1613
1636
|
port_hints?: string[];
|
|
1614
1637
|
pcb_component_id?: string;
|
|
1615
1638
|
pcb_port_id?: string;
|
|
1639
|
+
is_covered_with_solder_mask?: boolean;
|
|
1616
1640
|
}
|
|
1617
1641
|
/**
|
|
1618
1642
|
* Defines a pill-shaped SMT pad on the PCB (rounded rectangle).
|
|
@@ -1632,6 +1656,7 @@ interface PcbSmtPadPill {
|
|
|
1632
1656
|
port_hints?: string[];
|
|
1633
1657
|
pcb_component_id?: string;
|
|
1634
1658
|
pcb_port_id?: string;
|
|
1659
|
+
is_covered_with_solder_mask?: boolean;
|
|
1635
1660
|
}
|
|
1636
1661
|
/**
|
|
1637
1662
|
* Defines a rotated pill-shaped SMT pad on the PCB
|
|
@@ -1652,6 +1677,7 @@ interface PcbSmtPadRotatedPill {
|
|
|
1652
1677
|
port_hints?: string[];
|
|
1653
1678
|
pcb_component_id?: string;
|
|
1654
1679
|
pcb_port_id?: string;
|
|
1680
|
+
is_covered_with_solder_mask?: boolean;
|
|
1655
1681
|
}
|
|
1656
1682
|
/**
|
|
1657
1683
|
* Defines a polygonal SMT pad on the PCB
|
|
@@ -1667,6 +1693,7 @@ interface PcbSmtPadPolygon {
|
|
|
1667
1693
|
port_hints?: string[];
|
|
1668
1694
|
pcb_component_id?: string;
|
|
1669
1695
|
pcb_port_id?: string;
|
|
1696
|
+
is_covered_with_solder_mask?: boolean;
|
|
1670
1697
|
}
|
|
1671
1698
|
type PcbSmtPad = PcbSmtPadCircle | PcbSmtPadRect | PcbSmtPadRotatedRect | PcbSmtPadRotatedPill | PcbSmtPadPill | PcbSmtPadPolygon;
|
|
1672
1699
|
/**
|
|
@@ -12616,6 +12643,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12616
12643
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12617
12644
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12618
12645
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12646
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12619
12647
|
}, "strip", z.ZodTypeAny, {
|
|
12620
12648
|
x: number;
|
|
12621
12649
|
y: number;
|
|
@@ -12629,6 +12657,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12629
12657
|
pcb_group_id?: string | undefined;
|
|
12630
12658
|
port_hints?: string[] | undefined;
|
|
12631
12659
|
pcb_port_id?: string | undefined;
|
|
12660
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12632
12661
|
}, {
|
|
12633
12662
|
x: string | number;
|
|
12634
12663
|
y: string | number;
|
|
@@ -12644,6 +12673,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12644
12673
|
port_hints?: string[] | undefined;
|
|
12645
12674
|
pcb_port_id?: string | undefined;
|
|
12646
12675
|
pcb_smtpad_id?: string | undefined;
|
|
12676
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12647
12677
|
}>, z.ZodObject<{
|
|
12648
12678
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
12649
12679
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -12667,6 +12697,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12667
12697
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12668
12698
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12669
12699
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12700
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12670
12701
|
}, "strip", z.ZodTypeAny, {
|
|
12671
12702
|
x: number;
|
|
12672
12703
|
y: number;
|
|
@@ -12682,6 +12713,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12682
12713
|
port_hints?: string[] | undefined;
|
|
12683
12714
|
pcb_port_id?: string | undefined;
|
|
12684
12715
|
rect_border_radius?: number | undefined;
|
|
12716
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12685
12717
|
}, {
|
|
12686
12718
|
x: string | number;
|
|
12687
12719
|
y: string | number;
|
|
@@ -12699,6 +12731,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12699
12731
|
pcb_port_id?: string | undefined;
|
|
12700
12732
|
rect_border_radius?: number | undefined;
|
|
12701
12733
|
pcb_smtpad_id?: string | undefined;
|
|
12734
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12702
12735
|
}>, z.ZodObject<{
|
|
12703
12736
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
12704
12737
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -12723,6 +12756,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12723
12756
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12724
12757
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12725
12758
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12759
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12726
12760
|
}, "strip", z.ZodTypeAny, {
|
|
12727
12761
|
x: number;
|
|
12728
12762
|
y: number;
|
|
@@ -12739,6 +12773,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12739
12773
|
port_hints?: string[] | undefined;
|
|
12740
12774
|
pcb_port_id?: string | undefined;
|
|
12741
12775
|
rect_border_radius?: number | undefined;
|
|
12776
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12742
12777
|
}, {
|
|
12743
12778
|
x: string | number;
|
|
12744
12779
|
y: string | number;
|
|
@@ -12757,6 +12792,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12757
12792
|
pcb_port_id?: string | undefined;
|
|
12758
12793
|
rect_border_radius?: number | undefined;
|
|
12759
12794
|
pcb_smtpad_id?: string | undefined;
|
|
12795
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12760
12796
|
}>, z.ZodObject<{
|
|
12761
12797
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
12762
12798
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -12781,6 +12817,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12781
12817
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12782
12818
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12783
12819
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12820
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12784
12821
|
}, "strip", z.ZodTypeAny, {
|
|
12785
12822
|
x: number;
|
|
12786
12823
|
y: number;
|
|
@@ -12797,6 +12834,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12797
12834
|
pcb_group_id?: string | undefined;
|
|
12798
12835
|
port_hints?: string[] | undefined;
|
|
12799
12836
|
pcb_port_id?: string | undefined;
|
|
12837
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12800
12838
|
}, {
|
|
12801
12839
|
x: string | number;
|
|
12802
12840
|
y: string | number;
|
|
@@ -12815,6 +12853,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12815
12853
|
port_hints?: string[] | undefined;
|
|
12816
12854
|
pcb_port_id?: string | undefined;
|
|
12817
12855
|
pcb_smtpad_id?: string | undefined;
|
|
12856
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12818
12857
|
}>, z.ZodObject<{
|
|
12819
12858
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
12820
12859
|
shape: z.ZodLiteral<"pill">;
|
|
@@ -12838,6 +12877,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12838
12877
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12839
12878
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12840
12879
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12880
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12841
12881
|
}, "strip", z.ZodTypeAny, {
|
|
12842
12882
|
x: number;
|
|
12843
12883
|
y: number;
|
|
@@ -12853,6 +12893,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12853
12893
|
pcb_group_id?: string | undefined;
|
|
12854
12894
|
port_hints?: string[] | undefined;
|
|
12855
12895
|
pcb_port_id?: string | undefined;
|
|
12896
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12856
12897
|
}, {
|
|
12857
12898
|
x: string | number;
|
|
12858
12899
|
y: string | number;
|
|
@@ -12870,6 +12911,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12870
12911
|
port_hints?: string[] | undefined;
|
|
12871
12912
|
pcb_port_id?: string | undefined;
|
|
12872
12913
|
pcb_smtpad_id?: string | undefined;
|
|
12914
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12873
12915
|
}>, z.ZodObject<{
|
|
12874
12916
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
12875
12917
|
shape: z.ZodLiteral<"polygon">;
|
|
@@ -12898,6 +12940,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12898
12940
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
12899
12941
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
12900
12942
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
12943
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
12901
12944
|
}, "strip", z.ZodTypeAny, {
|
|
12902
12945
|
type: "pcb_smtpad";
|
|
12903
12946
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
@@ -12912,6 +12955,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12912
12955
|
pcb_group_id?: string | undefined;
|
|
12913
12956
|
port_hints?: string[] | undefined;
|
|
12914
12957
|
pcb_port_id?: string | undefined;
|
|
12958
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12915
12959
|
}, {
|
|
12916
12960
|
type: "pcb_smtpad";
|
|
12917
12961
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
@@ -12928,6 +12972,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
12928
12972
|
port_hints?: string[] | undefined;
|
|
12929
12973
|
pcb_port_id?: string | undefined;
|
|
12930
12974
|
pcb_smtpad_id?: string | undefined;
|
|
12975
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
12931
12976
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
12932
12977
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
12933
12978
|
shape: z.ZodLiteral<"circle">;
|
|
@@ -18714,6 +18759,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18714
18759
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18715
18760
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18716
18761
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
18762
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18717
18763
|
}, "strip", z.ZodTypeAny, {
|
|
18718
18764
|
x: number;
|
|
18719
18765
|
y: number;
|
|
@@ -18727,6 +18773,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18727
18773
|
pcb_group_id?: string | undefined;
|
|
18728
18774
|
port_hints?: string[] | undefined;
|
|
18729
18775
|
pcb_port_id?: string | undefined;
|
|
18776
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18730
18777
|
}, {
|
|
18731
18778
|
x: string | number;
|
|
18732
18779
|
y: string | number;
|
|
@@ -18742,6 +18789,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18742
18789
|
port_hints?: string[] | undefined;
|
|
18743
18790
|
pcb_port_id?: string | undefined;
|
|
18744
18791
|
pcb_smtpad_id?: string | undefined;
|
|
18792
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18745
18793
|
}>, z.ZodObject<{
|
|
18746
18794
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
18747
18795
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -18765,6 +18813,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18765
18813
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18766
18814
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18767
18815
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
18816
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18768
18817
|
}, "strip", z.ZodTypeAny, {
|
|
18769
18818
|
x: number;
|
|
18770
18819
|
y: number;
|
|
@@ -18780,6 +18829,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18780
18829
|
port_hints?: string[] | undefined;
|
|
18781
18830
|
pcb_port_id?: string | undefined;
|
|
18782
18831
|
rect_border_radius?: number | undefined;
|
|
18832
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18783
18833
|
}, {
|
|
18784
18834
|
x: string | number;
|
|
18785
18835
|
y: string | number;
|
|
@@ -18797,6 +18847,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18797
18847
|
pcb_port_id?: string | undefined;
|
|
18798
18848
|
rect_border_radius?: number | undefined;
|
|
18799
18849
|
pcb_smtpad_id?: string | undefined;
|
|
18850
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18800
18851
|
}>, z.ZodObject<{
|
|
18801
18852
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
18802
18853
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -18821,6 +18872,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18821
18872
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18822
18873
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18823
18874
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
18875
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18824
18876
|
}, "strip", z.ZodTypeAny, {
|
|
18825
18877
|
x: number;
|
|
18826
18878
|
y: number;
|
|
@@ -18837,6 +18889,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18837
18889
|
port_hints?: string[] | undefined;
|
|
18838
18890
|
pcb_port_id?: string | undefined;
|
|
18839
18891
|
rect_border_radius?: number | undefined;
|
|
18892
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18840
18893
|
}, {
|
|
18841
18894
|
x: string | number;
|
|
18842
18895
|
y: string | number;
|
|
@@ -18855,6 +18908,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18855
18908
|
pcb_port_id?: string | undefined;
|
|
18856
18909
|
rect_border_radius?: number | undefined;
|
|
18857
18910
|
pcb_smtpad_id?: string | undefined;
|
|
18911
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18858
18912
|
}>, z.ZodObject<{
|
|
18859
18913
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
18860
18914
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -18879,6 +18933,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18879
18933
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18880
18934
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18881
18935
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
18936
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18882
18937
|
}, "strip", z.ZodTypeAny, {
|
|
18883
18938
|
x: number;
|
|
18884
18939
|
y: number;
|
|
@@ -18895,6 +18950,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18895
18950
|
pcb_group_id?: string | undefined;
|
|
18896
18951
|
port_hints?: string[] | undefined;
|
|
18897
18952
|
pcb_port_id?: string | undefined;
|
|
18953
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18898
18954
|
}, {
|
|
18899
18955
|
x: string | number;
|
|
18900
18956
|
y: string | number;
|
|
@@ -18913,6 +18969,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18913
18969
|
port_hints?: string[] | undefined;
|
|
18914
18970
|
pcb_port_id?: string | undefined;
|
|
18915
18971
|
pcb_smtpad_id?: string | undefined;
|
|
18972
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18916
18973
|
}>, z.ZodObject<{
|
|
18917
18974
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
18918
18975
|
shape: z.ZodLiteral<"pill">;
|
|
@@ -18936,6 +18993,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18936
18993
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18937
18994
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18938
18995
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
18996
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18939
18997
|
}, "strip", z.ZodTypeAny, {
|
|
18940
18998
|
x: number;
|
|
18941
18999
|
y: number;
|
|
@@ -18951,6 +19009,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18951
19009
|
pcb_group_id?: string | undefined;
|
|
18952
19010
|
port_hints?: string[] | undefined;
|
|
18953
19011
|
pcb_port_id?: string | undefined;
|
|
19012
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18954
19013
|
}, {
|
|
18955
19014
|
x: string | number;
|
|
18956
19015
|
y: string | number;
|
|
@@ -18968,6 +19027,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18968
19027
|
port_hints?: string[] | undefined;
|
|
18969
19028
|
pcb_port_id?: string | undefined;
|
|
18970
19029
|
pcb_smtpad_id?: string | undefined;
|
|
19030
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
18971
19031
|
}>, z.ZodObject<{
|
|
18972
19032
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
18973
19033
|
shape: z.ZodLiteral<"polygon">;
|
|
@@ -18996,6 +19056,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
18996
19056
|
port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
18997
19057
|
pcb_component_id: z.ZodOptional<z.ZodString>;
|
|
18998
19058
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
19059
|
+
is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
|
|
18999
19060
|
}, "strip", z.ZodTypeAny, {
|
|
19000
19061
|
type: "pcb_smtpad";
|
|
19001
19062
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
@@ -19010,6 +19071,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19010
19071
|
pcb_group_id?: string | undefined;
|
|
19011
19072
|
port_hints?: string[] | undefined;
|
|
19012
19073
|
pcb_port_id?: string | undefined;
|
|
19074
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
19013
19075
|
}, {
|
|
19014
19076
|
type: "pcb_smtpad";
|
|
19015
19077
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
@@ -19026,6 +19088,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
19026
19088
|
port_hints?: string[] | undefined;
|
|
19027
19089
|
pcb_port_id?: string | undefined;
|
|
19028
19090
|
pcb_smtpad_id?: string | undefined;
|
|
19091
|
+
is_covered_with_solder_mask?: boolean | undefined;
|
|
19029
19092
|
}>]>, z.ZodUnion<[z.ZodObject<{
|
|
19030
19093
|
type: z.ZodLiteral<"pcb_solder_paste">;
|
|
19031
19094
|
shape: z.ZodLiteral<"circle">;
|
package/dist/index.mjs
CHANGED
|
@@ -1330,7 +1330,8 @@ var pcb_smtpad_circle = z67.object({
|
|
|
1330
1330
|
layer: layer_ref,
|
|
1331
1331
|
port_hints: z67.array(z67.string()).optional(),
|
|
1332
1332
|
pcb_component_id: z67.string().optional(),
|
|
1333
|
-
pcb_port_id: z67.string().optional()
|
|
1333
|
+
pcb_port_id: z67.string().optional(),
|
|
1334
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1334
1335
|
});
|
|
1335
1336
|
var pcb_smtpad_rect = z67.object({
|
|
1336
1337
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1346,7 +1347,8 @@ var pcb_smtpad_rect = z67.object({
|
|
|
1346
1347
|
layer: layer_ref,
|
|
1347
1348
|
port_hints: z67.array(z67.string()).optional(),
|
|
1348
1349
|
pcb_component_id: z67.string().optional(),
|
|
1349
|
-
pcb_port_id: z67.string().optional()
|
|
1350
|
+
pcb_port_id: z67.string().optional(),
|
|
1351
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1350
1352
|
});
|
|
1351
1353
|
var pcb_smtpad_rotated_rect = z67.object({
|
|
1352
1354
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1363,7 +1365,8 @@ var pcb_smtpad_rotated_rect = z67.object({
|
|
|
1363
1365
|
layer: layer_ref,
|
|
1364
1366
|
port_hints: z67.array(z67.string()).optional(),
|
|
1365
1367
|
pcb_component_id: z67.string().optional(),
|
|
1366
|
-
pcb_port_id: z67.string().optional()
|
|
1368
|
+
pcb_port_id: z67.string().optional(),
|
|
1369
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1367
1370
|
});
|
|
1368
1371
|
var pcb_smtpad_pill = z67.object({
|
|
1369
1372
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1379,7 +1382,8 @@ var pcb_smtpad_pill = z67.object({
|
|
|
1379
1382
|
layer: layer_ref,
|
|
1380
1383
|
port_hints: z67.array(z67.string()).optional(),
|
|
1381
1384
|
pcb_component_id: z67.string().optional(),
|
|
1382
|
-
pcb_port_id: z67.string().optional()
|
|
1385
|
+
pcb_port_id: z67.string().optional(),
|
|
1386
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1383
1387
|
});
|
|
1384
1388
|
var pcb_smtpad_rotated_pill = z67.object({
|
|
1385
1389
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1396,7 +1400,8 @@ var pcb_smtpad_rotated_pill = z67.object({
|
|
|
1396
1400
|
layer: layer_ref,
|
|
1397
1401
|
port_hints: z67.array(z67.string()).optional(),
|
|
1398
1402
|
pcb_component_id: z67.string().optional(),
|
|
1399
|
-
pcb_port_id: z67.string().optional()
|
|
1403
|
+
pcb_port_id: z67.string().optional(),
|
|
1404
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1400
1405
|
});
|
|
1401
1406
|
var pcb_smtpad_polygon = z67.object({
|
|
1402
1407
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1408,7 +1413,8 @@ var pcb_smtpad_polygon = z67.object({
|
|
|
1408
1413
|
layer: layer_ref,
|
|
1409
1414
|
port_hints: z67.array(z67.string()).optional(),
|
|
1410
1415
|
pcb_component_id: z67.string().optional(),
|
|
1411
|
-
pcb_port_id: z67.string().optional()
|
|
1416
|
+
pcb_port_id: z67.string().optional(),
|
|
1417
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1412
1418
|
});
|
|
1413
1419
|
var pcb_smtpad = z67.discriminatedUnion("shape", [
|
|
1414
1420
|
pcb_smtpad_circle,
|