circuit-json 0.0.252 → 0.0.254
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 +5 -1
- package/dist/index.d.mts +113 -10
- package/dist/index.mjs +18 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -680,6 +680,7 @@ var source_group = z38.object({
|
|
|
680
680
|
parent_subcircuit_id: z38.string().optional(),
|
|
681
681
|
parent_source_group_id: z38.string().optional(),
|
|
682
682
|
is_subcircuit: z38.boolean().optional(),
|
|
683
|
+
show_as_schematic_box: z38.boolean().optional(),
|
|
683
684
|
name: z38.string().optional()
|
|
684
685
|
});
|
|
685
686
|
expectTypesMatch(true);
|
|
@@ -827,7 +828,7 @@ var schematic_component = z45.object({
|
|
|
827
828
|
type: z45.literal("schematic_component"),
|
|
828
829
|
size,
|
|
829
830
|
center: point,
|
|
830
|
-
source_component_id: z45.string(),
|
|
831
|
+
source_component_id: z45.string().optional(),
|
|
831
832
|
schematic_component_id: z45.string(),
|
|
832
833
|
pin_spacing: length.optional(),
|
|
833
834
|
pin_styles: schematic_pin_styles.optional(),
|
|
@@ -837,7 +838,9 @@ var schematic_component = z45.object({
|
|
|
837
838
|
port_labels: z45.record(z45.string()).optional(),
|
|
838
839
|
symbol_display_value: z45.string().optional(),
|
|
839
840
|
subcircuit_id: z45.string().optional(),
|
|
840
|
-
schematic_group_id: z45.string().optional()
|
|
841
|
+
schematic_group_id: z45.string().optional(),
|
|
842
|
+
is_schematic_group: z45.boolean().optional(),
|
|
843
|
+
source_group_id: z45.string().optional()
|
|
841
844
|
});
|
|
842
845
|
expectTypesMatch(true);
|
|
843
846
|
|
|
@@ -1055,6 +1058,7 @@ var schematic_group = z57.object({
|
|
|
1055
1058
|
height: length,
|
|
1056
1059
|
center: point,
|
|
1057
1060
|
schematic_component_ids: z57.array(z57.string()),
|
|
1061
|
+
show_as_schematic_box: z57.boolean().optional(),
|
|
1058
1062
|
name: z57.string().optional(),
|
|
1059
1063
|
description: z57.string().optional()
|
|
1060
1064
|
}).describe("Defines a group of components on the schematic");
|
|
@@ -1330,7 +1334,8 @@ var pcb_smtpad_circle = z67.object({
|
|
|
1330
1334
|
layer: layer_ref,
|
|
1331
1335
|
port_hints: z67.array(z67.string()).optional(),
|
|
1332
1336
|
pcb_component_id: z67.string().optional(),
|
|
1333
|
-
pcb_port_id: z67.string().optional()
|
|
1337
|
+
pcb_port_id: z67.string().optional(),
|
|
1338
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1334
1339
|
});
|
|
1335
1340
|
var pcb_smtpad_rect = z67.object({
|
|
1336
1341
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1346,7 +1351,8 @@ var pcb_smtpad_rect = z67.object({
|
|
|
1346
1351
|
layer: layer_ref,
|
|
1347
1352
|
port_hints: z67.array(z67.string()).optional(),
|
|
1348
1353
|
pcb_component_id: z67.string().optional(),
|
|
1349
|
-
pcb_port_id: z67.string().optional()
|
|
1354
|
+
pcb_port_id: z67.string().optional(),
|
|
1355
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1350
1356
|
});
|
|
1351
1357
|
var pcb_smtpad_rotated_rect = z67.object({
|
|
1352
1358
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1363,7 +1369,8 @@ var pcb_smtpad_rotated_rect = z67.object({
|
|
|
1363
1369
|
layer: layer_ref,
|
|
1364
1370
|
port_hints: z67.array(z67.string()).optional(),
|
|
1365
1371
|
pcb_component_id: z67.string().optional(),
|
|
1366
|
-
pcb_port_id: z67.string().optional()
|
|
1372
|
+
pcb_port_id: z67.string().optional(),
|
|
1373
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1367
1374
|
});
|
|
1368
1375
|
var pcb_smtpad_pill = z67.object({
|
|
1369
1376
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1379,7 +1386,8 @@ var pcb_smtpad_pill = z67.object({
|
|
|
1379
1386
|
layer: layer_ref,
|
|
1380
1387
|
port_hints: z67.array(z67.string()).optional(),
|
|
1381
1388
|
pcb_component_id: z67.string().optional(),
|
|
1382
|
-
pcb_port_id: z67.string().optional()
|
|
1389
|
+
pcb_port_id: z67.string().optional(),
|
|
1390
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1383
1391
|
});
|
|
1384
1392
|
var pcb_smtpad_rotated_pill = z67.object({
|
|
1385
1393
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1396,7 +1404,8 @@ var pcb_smtpad_rotated_pill = z67.object({
|
|
|
1396
1404
|
layer: layer_ref,
|
|
1397
1405
|
port_hints: z67.array(z67.string()).optional(),
|
|
1398
1406
|
pcb_component_id: z67.string().optional(),
|
|
1399
|
-
pcb_port_id: z67.string().optional()
|
|
1407
|
+
pcb_port_id: z67.string().optional(),
|
|
1408
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1400
1409
|
});
|
|
1401
1410
|
var pcb_smtpad_polygon = z67.object({
|
|
1402
1411
|
type: z67.literal("pcb_smtpad"),
|
|
@@ -1408,7 +1417,8 @@ var pcb_smtpad_polygon = z67.object({
|
|
|
1408
1417
|
layer: layer_ref,
|
|
1409
1418
|
port_hints: z67.array(z67.string()).optional(),
|
|
1410
1419
|
pcb_component_id: z67.string().optional(),
|
|
1411
|
-
pcb_port_id: z67.string().optional()
|
|
1420
|
+
pcb_port_id: z67.string().optional(),
|
|
1421
|
+
is_covered_with_solder_mask: z67.boolean().optional()
|
|
1412
1422
|
});
|
|
1413
1423
|
var pcb_smtpad = z67.discriminatedUnion("shape", [
|
|
1414
1424
|
pcb_smtpad_circle,
|