circuit-json 0.0.316 → 0.0.318
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 +6 -0
- package/dist/index.d.mts +197 -38
- package/dist/index.mjs +13 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1303,6 +1303,7 @@ var pcb_hole_circle = z71.object({
|
|
|
1303
1303
|
hole_diameter: z71.number(),
|
|
1304
1304
|
x: distance,
|
|
1305
1305
|
y: distance,
|
|
1306
|
+
is_covered_with_solder_mask: z71.boolean().optional(),
|
|
1306
1307
|
soldermask_margin: z71.number().optional()
|
|
1307
1308
|
});
|
|
1308
1309
|
var pcb_hole_circle_shape = pcb_hole_circle.describe(
|
|
@@ -1319,6 +1320,7 @@ var pcb_hole_rect = z71.object({
|
|
|
1319
1320
|
hole_height: z71.number(),
|
|
1320
1321
|
x: distance,
|
|
1321
1322
|
y: distance,
|
|
1323
|
+
is_covered_with_solder_mask: z71.boolean().optional(),
|
|
1322
1324
|
soldermask_margin: z71.number().optional()
|
|
1323
1325
|
});
|
|
1324
1326
|
var pcb_hole_rect_shape = pcb_hole_rect.describe(
|
|
@@ -1334,6 +1336,7 @@ var pcb_hole_circle_or_square = z71.object({
|
|
|
1334
1336
|
hole_diameter: z71.number(),
|
|
1335
1337
|
x: distance,
|
|
1336
1338
|
y: distance,
|
|
1339
|
+
is_covered_with_solder_mask: z71.boolean().optional(),
|
|
1337
1340
|
soldermask_margin: z71.number().optional()
|
|
1338
1341
|
});
|
|
1339
1342
|
var pcb_hole_circle_or_square_shape = pcb_hole_circle_or_square.describe(
|
|
@@ -1350,6 +1353,7 @@ var pcb_hole_oval = z71.object({
|
|
|
1350
1353
|
hole_height: z71.number(),
|
|
1351
1354
|
x: distance,
|
|
1352
1355
|
y: distance,
|
|
1356
|
+
is_covered_with_solder_mask: z71.boolean().optional(),
|
|
1353
1357
|
soldermask_margin: z71.number().optional()
|
|
1354
1358
|
});
|
|
1355
1359
|
var pcb_hole_oval_shape = pcb_hole_oval.describe(
|
|
@@ -1366,6 +1370,7 @@ var pcb_hole_pill = z71.object({
|
|
|
1366
1370
|
hole_height: z71.number(),
|
|
1367
1371
|
x: distance,
|
|
1368
1372
|
y: distance,
|
|
1373
|
+
is_covered_with_solder_mask: z71.boolean().optional(),
|
|
1369
1374
|
soldermask_margin: z71.number().optional()
|
|
1370
1375
|
});
|
|
1371
1376
|
var pcb_hole_pill_shape = pcb_hole_pill.describe(
|
|
@@ -1383,6 +1388,7 @@ var pcb_hole_rotated_pill = z71.object({
|
|
|
1383
1388
|
x: distance,
|
|
1384
1389
|
y: distance,
|
|
1385
1390
|
ccw_rotation: rotation,
|
|
1391
|
+
is_covered_with_solder_mask: z71.boolean().optional(),
|
|
1386
1392
|
soldermask_margin: z71.number().optional()
|
|
1387
1393
|
});
|
|
1388
1394
|
var pcb_hole_rotated_pill_shape = pcb_hole_rotated_pill.describe(
|
|
@@ -1418,6 +1424,7 @@ var pcb_plated_hole_oval = z72.object({
|
|
|
1418
1424
|
outer_height: z72.number(),
|
|
1419
1425
|
hole_width: z72.number(),
|
|
1420
1426
|
hole_height: z72.number(),
|
|
1427
|
+
is_covered_with_solder_mask: z72.boolean().optional(),
|
|
1421
1428
|
x: distance,
|
|
1422
1429
|
y: distance,
|
|
1423
1430
|
ccw_rotation: rotation,
|
|
@@ -1441,6 +1448,7 @@ var pcb_circular_hole_with_rect_pad = z72.object({
|
|
|
1441
1448
|
rect_border_radius: z72.number().optional(),
|
|
1442
1449
|
hole_offset_x: distance.default(0),
|
|
1443
1450
|
hole_offset_y: distance.default(0),
|
|
1451
|
+
is_covered_with_solder_mask: z72.boolean().optional(),
|
|
1444
1452
|
x: distance,
|
|
1445
1453
|
y: distance,
|
|
1446
1454
|
layers: z72.array(layer_ref),
|
|
@@ -1464,6 +1472,7 @@ var pcb_pill_hole_with_rect_pad = z72.object({
|
|
|
1464
1472
|
rect_border_radius: z72.number().optional(),
|
|
1465
1473
|
hole_offset_x: distance.default(0),
|
|
1466
1474
|
hole_offset_y: distance.default(0),
|
|
1475
|
+
is_covered_with_solder_mask: z72.boolean().optional(),
|
|
1467
1476
|
x: distance,
|
|
1468
1477
|
y: distance,
|
|
1469
1478
|
layers: z72.array(layer_ref),
|
|
@@ -1489,6 +1498,7 @@ var pcb_rotated_pill_hole_with_rect_pad = z72.object({
|
|
|
1489
1498
|
rect_ccw_rotation: rotation,
|
|
1490
1499
|
hole_offset_x: distance.default(0),
|
|
1491
1500
|
hole_offset_y: distance.default(0),
|
|
1501
|
+
is_covered_with_solder_mask: z72.boolean().optional(),
|
|
1492
1502
|
x: distance,
|
|
1493
1503
|
y: distance,
|
|
1494
1504
|
layers: z72.array(layer_ref),
|
|
@@ -1515,6 +1525,7 @@ var pcb_hole_with_polygon_pad = z72.object({
|
|
|
1515
1525
|
).min(3),
|
|
1516
1526
|
hole_offset_x: distance.default(0),
|
|
1517
1527
|
hole_offset_y: distance.default(0),
|
|
1528
|
+
is_covered_with_solder_mask: z72.boolean().optional(),
|
|
1518
1529
|
x: distance,
|
|
1519
1530
|
y: distance,
|
|
1520
1531
|
layers: z72.array(layer_ref),
|
|
@@ -2378,7 +2389,8 @@ var pcb_cutout_rect = pcb_cutout_base.extend({
|
|
|
2378
2389
|
center: point,
|
|
2379
2390
|
width: length,
|
|
2380
2391
|
height: length,
|
|
2381
|
-
rotation: rotation.optional()
|
|
2392
|
+
rotation: rotation.optional(),
|
|
2393
|
+
corner_radius: length.optional()
|
|
2382
2394
|
});
|
|
2383
2395
|
expectTypesMatch(true);
|
|
2384
2396
|
var pcb_cutout_circle = pcb_cutout_base.extend({
|