circuit-json 0.0.337 → 0.0.339

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
@@ -2007,11 +2007,20 @@ var pcb_board = z88.object({
2007
2007
  width: length.optional(),
2008
2008
  height: length.optional(),
2009
2009
  center: point,
2010
+ display_offset_x: z88.string().optional().describe(
2011
+ "How to display the x offset for this board, usually corresponding with how the user specified it"
2012
+ ),
2013
+ display_offset_y: z88.string().optional().describe(
2014
+ "How to display the y offset for this board, usually corresponding with how the user specified it"
2015
+ ),
2010
2016
  thickness: length.optional().default(1.4),
2011
2017
  num_layers: z88.number().optional().default(4),
2012
2018
  outline: z88.array(point).optional(),
2013
2019
  shape: z88.enum(["rect", "polygon"]).optional(),
2014
- material: z88.enum(["fr4", "fr1"]).default("fr4")
2020
+ material: z88.enum(["fr4", "fr1"]).default("fr4"),
2021
+ anchor_position: point.optional(),
2022
+ anchor_alignment: ninePointAnchor.default("center"),
2023
+ position_mode: z88.enum(["relative_to_panel_anchor", "none"]).optional()
2015
2024
  }).describe("Defines the board outline of the PCB");
2016
2025
  expectTypesMatch(true);
2017
2026