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.mjs
CHANGED
|
@@ -1233,6 +1233,7 @@ var pcb_circular_hole_with_rect_pad = z65.object({
|
|
|
1233
1233
|
hole_diameter: z65.number(),
|
|
1234
1234
|
rect_pad_width: z65.number(),
|
|
1235
1235
|
rect_pad_height: z65.number(),
|
|
1236
|
+
rect_border_radius: z65.number().optional(),
|
|
1236
1237
|
hole_offset_x: distance.default(0),
|
|
1237
1238
|
hole_offset_y: distance.default(0),
|
|
1238
1239
|
x: distance,
|
|
@@ -1254,6 +1255,7 @@ var pcb_pill_hole_with_rect_pad = z65.object({
|
|
|
1254
1255
|
hole_height: z65.number(),
|
|
1255
1256
|
rect_pad_width: z65.number(),
|
|
1256
1257
|
rect_pad_height: z65.number(),
|
|
1258
|
+
rect_border_radius: z65.number().optional(),
|
|
1257
1259
|
x: distance,
|
|
1258
1260
|
y: distance,
|
|
1259
1261
|
layers: z65.array(layer_ref),
|
|
@@ -1274,6 +1276,7 @@ var pcb_rotated_pill_hole_with_rect_pad = z65.object({
|
|
|
1274
1276
|
hole_ccw_rotation: rotation,
|
|
1275
1277
|
rect_pad_width: z65.number(),
|
|
1276
1278
|
rect_pad_height: z65.number(),
|
|
1279
|
+
rect_border_radius: z65.number().optional(),
|
|
1277
1280
|
rect_ccw_rotation: rotation,
|
|
1278
1281
|
x: distance,
|
|
1279
1282
|
y: distance,
|
|
@@ -1327,7 +1330,8 @@ var pcb_smtpad_circle = z67.object({
|
|
|
1327
1330
|
layer: layer_ref,
|
|
1328
1331
|
port_hints: z67.array(z67.string()).optional(),
|
|
1329
1332
|
pcb_component_id: z67.string().optional(),
|
|
1330
|
-
pcb_port_id: z67.string().optional()
|
|
1333
|
+
pcb_port_id: z67.string().optional(),
|
|
1334
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1331
1335
|
});
|
|
1332
1336
|
var pcb_smtpad_rect = z67.object({
|
|
1333
1337
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1339,10 +1343,12 @@ var pcb_smtpad_rect = z67.object({
|
|
|
1339
1343
|
y: distance,
|
|
1340
1344
|
width: z67.number(),
|
|
1341
1345
|
height: z67.number(),
|
|
1346
|
+
rect_border_radius: z67.number().optional(),
|
|
1342
1347
|
layer: layer_ref,
|
|
1343
1348
|
port_hints: z67.array(z67.string()).optional(),
|
|
1344
1349
|
pcb_component_id: z67.string().optional(),
|
|
1345
|
-
pcb_port_id: z67.string().optional()
|
|
1350
|
+
pcb_port_id: z67.string().optional(),
|
|
1351
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1346
1352
|
});
|
|
1347
1353
|
var pcb_smtpad_rotated_rect = z67.object({
|
|
1348
1354
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1354,11 +1360,13 @@ var pcb_smtpad_rotated_rect = z67.object({
|
|
|
1354
1360
|
y: distance,
|
|
1355
1361
|
width: z67.number(),
|
|
1356
1362
|
height: z67.number(),
|
|
1363
|
+
rect_border_radius: z67.number().optional(),
|
|
1357
1364
|
ccw_rotation: rotation,
|
|
1358
1365
|
layer: layer_ref,
|
|
1359
1366
|
port_hints: z67.array(z67.string()).optional(),
|
|
1360
1367
|
pcb_component_id: z67.string().optional(),
|
|
1361
|
-
pcb_port_id: z67.string().optional()
|
|
1368
|
+
pcb_port_id: z67.string().optional(),
|
|
1369
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1362
1370
|
});
|
|
1363
1371
|
var pcb_smtpad_pill = z67.object({
|
|
1364
1372
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1374,7 +1382,8 @@ var pcb_smtpad_pill = z67.object({
|
|
|
1374
1382
|
layer: layer_ref,
|
|
1375
1383
|
port_hints: z67.array(z67.string()).optional(),
|
|
1376
1384
|
pcb_component_id: z67.string().optional(),
|
|
1377
|
-
pcb_port_id: z67.string().optional()
|
|
1385
|
+
pcb_port_id: z67.string().optional(),
|
|
1386
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1378
1387
|
});
|
|
1379
1388
|
var pcb_smtpad_rotated_pill = z67.object({
|
|
1380
1389
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1391,7 +1400,8 @@ var pcb_smtpad_rotated_pill = z67.object({
|
|
|
1391
1400
|
layer: layer_ref,
|
|
1392
1401
|
port_hints: z67.array(z67.string()).optional(),
|
|
1393
1402
|
pcb_component_id: z67.string().optional(),
|
|
1394
|
-
pcb_port_id: z67.string().optional()
|
|
1403
|
+
pcb_port_id: z67.string().optional(),
|
|
1404
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1395
1405
|
});
|
|
1396
1406
|
var pcb_smtpad_polygon = z67.object({
|
|
1397
1407
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1403,7 +1413,8 @@ var pcb_smtpad_polygon = z67.object({
|
|
|
1403
1413
|
layer: layer_ref,
|
|
1404
1414
|
port_hints: z67.array(z67.string()).optional(),
|
|
1405
1415
|
pcb_component_id: z67.string().optional(),
|
|
1406
|
-
pcb_port_id: z67.string().optional()
|
|
1416
|
+
pcb_port_id: z67.string().optional(),
|
|
1417
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1407
1418
|
});
|
|
1408
1419
|
var pcb_smtpad = z67.discriminatedUnion("shape", [
|
|
1409
1420
|
pcb_smtpad_circle,
|