circuit-json 0.0.331 → 0.0.332

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.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(),
@@ -1322,6 +1316,12 @@ var pcb_component = z73.object({
1322
1316
  center: point,
1323
1317
  layer: layer_ref,
1324
1318
  rotation,
1319
+ display_offset_x: z73.string().optional().describe(
1320
+ "How to display the x offset for this part, usually corresponding with how the user specified it"
1321
+ ),
1322
+ display_offset_y: z73.string().optional().describe(
1323
+ "How to display the y offset for this part, usually corresponding with how the user specified it"
1324
+ ),
1325
1325
  width: length,
1326
1326
  height: length,
1327
1327
  do_not_place: z73.boolean().optional(),
@@ -2529,9 +2529,18 @@ var pcb_group = z113.object({
2529
2529
  width: length.optional(),
2530
2530
  height: length.optional(),
2531
2531
  center: point,
2532
+ display_offset_x: z113.string().optional().describe(
2533
+ "How to display the x offset for this group, usually corresponding with how the user specified it"
2534
+ ),
2535
+ display_offset_y: z113.string().optional().describe(
2536
+ "How to display the y offset for this group, usually corresponding with how the user specified it"
2537
+ ),
2532
2538
  outline: z113.array(point).optional(),
2533
2539
  anchor_position: point.optional(),
2534
2540
  anchor_alignment: z113.enum(["center", "top_left", "top_right", "bottom_left", "bottom_right"]).optional(),
2541
+ position_mode: z113.enum(["packed", "relative_to_group_anchor", "none"]).optional(),
2542
+ positioned_relative_to_pcb_group_id: z113.string().optional(),
2543
+ positioned_relative_to_pcb_board_id: z113.string().optional(),
2535
2544
  pcb_component_ids: z113.array(z113.string()),
2536
2545
  child_layout_mode: z113.enum(["packed", "none"]).optional(),
2537
2546
  name: z113.string().optional(),