circuit-json 0.0.331 → 0.0.333
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 +8 -8
- package/dist/index.d.mts +80 -742
- package/dist/index.mjs +17 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -345,12 +345,6 @@ var source_component_base = z8.object({
|
|
|
345
345
|
manufacturer_part_number: z8.string().optional(),
|
|
346
346
|
supplier_part_numbers: z8.record(supplier_name, z8.array(z8.string())).optional(),
|
|
347
347
|
display_value: z8.string().optional(),
|
|
348
|
-
display_x_offset: z8.string().optional().describe(
|
|
349
|
-
"How to display the x offset for this part, usually corresponding with how the user specified it"
|
|
350
|
-
),
|
|
351
|
-
display_y_offset: z8.string().optional().describe(
|
|
352
|
-
"How to display the y offset for this part, usually corresponding with how the user specified it"
|
|
353
|
-
),
|
|
354
348
|
are_pins_interchangeable: z8.boolean().optional(),
|
|
355
349
|
internally_connected_source_port_ids: z8.array(z8.array(z8.string())).optional(),
|
|
356
350
|
source_group_id: z8.string().optional(),
|
|
@@ -1181,7 +1175,8 @@ var schematic_voltage_probe = z64.object({
|
|
|
1181
1175
|
schematic_trace_id: z64.string(),
|
|
1182
1176
|
voltage: voltage.optional(),
|
|
1183
1177
|
subcircuit_id: z64.string().optional(),
|
|
1184
|
-
color: z64.string().optional()
|
|
1178
|
+
color: z64.string().optional(),
|
|
1179
|
+
label_alignment: ninePointAnchor.optional()
|
|
1185
1180
|
}).describe("Defines a voltage probe measurement point on a schematic trace");
|
|
1186
1181
|
expectTypesMatch(true);
|
|
1187
1182
|
|
|
@@ -1322,6 +1317,12 @@ var pcb_component = z73.object({
|
|
|
1322
1317
|
center: point,
|
|
1323
1318
|
layer: layer_ref,
|
|
1324
1319
|
rotation,
|
|
1320
|
+
display_offset_x: z73.string().optional().describe(
|
|
1321
|
+
"How to display the x offset for this part, usually corresponding with how the user specified it"
|
|
1322
|
+
),
|
|
1323
|
+
display_offset_y: z73.string().optional().describe(
|
|
1324
|
+
"How to display the y offset for this part, usually corresponding with how the user specified it"
|
|
1325
|
+
),
|
|
1325
1326
|
width: length,
|
|
1326
1327
|
height: length,
|
|
1327
1328
|
do_not_place: z73.boolean().optional(),
|
|
@@ -2529,9 +2530,18 @@ var pcb_group = z113.object({
|
|
|
2529
2530
|
width: length.optional(),
|
|
2530
2531
|
height: length.optional(),
|
|
2531
2532
|
center: point,
|
|
2533
|
+
display_offset_x: z113.string().optional().describe(
|
|
2534
|
+
"How to display the x offset for this group, usually corresponding with how the user specified it"
|
|
2535
|
+
),
|
|
2536
|
+
display_offset_y: z113.string().optional().describe(
|
|
2537
|
+
"How to display the y offset for this group, usually corresponding with how the user specified it"
|
|
2538
|
+
),
|
|
2532
2539
|
outline: z113.array(point).optional(),
|
|
2533
2540
|
anchor_position: point.optional(),
|
|
2534
2541
|
anchor_alignment: z113.enum(["center", "top_left", "top_right", "bottom_left", "bottom_right"]).optional(),
|
|
2542
|
+
position_mode: z113.enum(["packed", "relative_to_group_anchor", "none"]).optional(),
|
|
2543
|
+
positioned_relative_to_pcb_group_id: z113.string().optional(),
|
|
2544
|
+
positioned_relative_to_pcb_board_id: z113.string().optional(),
|
|
2535
2545
|
pcb_component_ids: z113.array(z113.string()),
|
|
2536
2546
|
child_layout_mode: z113.enum(["packed", "none"]).optional(),
|
|
2537
2547
|
name: z113.string().optional(),
|