circuit-json 0.0.424 → 0.0.425

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.d.mts CHANGED
@@ -32919,6 +32919,7 @@ declare const cad_component: z.ZodObject<{
32919
32919
  model_object_fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<["contain_within_bounds", "fill_bounds"]>>>;
32920
32920
  model_jscad: z.ZodOptional<z.ZodAny>;
32921
32921
  show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
32922
+ show_as_bounding_box: z.ZodOptional<z.ZodBoolean>;
32922
32923
  anchor_alignment: z.ZodDefault<z.ZodOptional<z.ZodEnum<["center", "center_of_component_on_board_surface"]>>>;
32923
32924
  }, "strip", z.ZodTypeAny, {
32924
32925
  type: "cad_component";
@@ -32967,6 +32968,7 @@ declare const cad_component: z.ZodObject<{
32967
32968
  model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
32968
32969
  model_jscad?: any;
32969
32970
  show_as_translucent_model?: boolean | undefined;
32971
+ show_as_bounding_box?: boolean | undefined;
32970
32972
  }, {
32971
32973
  type: "cad_component";
32972
32974
  pcb_component_id: string;
@@ -33016,6 +33018,7 @@ declare const cad_component: z.ZodObject<{
33016
33018
  model_object_fit?: "contain_within_bounds" | "fill_bounds" | undefined;
33017
33019
  model_jscad?: any;
33018
33020
  show_as_translucent_model?: boolean | undefined;
33021
+ show_as_bounding_box?: boolean | undefined;
33019
33022
  }>;
33020
33023
  type CadComponentInput = z.input<typeof cad_component>;
33021
33024
  type InferredCadComponent = z.infer<typeof cad_component>;
@@ -33046,6 +33049,7 @@ interface CadComponent {
33046
33049
  model_object_fit: "contain_within_bounds" | "fill_bounds";
33047
33050
  model_jscad?: any;
33048
33051
  show_as_translucent_model?: boolean;
33052
+ show_as_bounding_box?: boolean;
33049
33053
  anchor_alignment: CadComponentAnchorAlignment;
33050
33054
  }
33051
33055
 
@@ -50859,6 +50863,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
50859
50863
  model_object_fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<["contain_within_bounds", "fill_bounds"]>>>;
50860
50864
  model_jscad: z.ZodOptional<z.ZodAny>;
50861
50865
  show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
50866
+ show_as_bounding_box: z.ZodOptional<z.ZodBoolean>;
50862
50867
  anchor_alignment: z.ZodDefault<z.ZodOptional<z.ZodEnum<["center", "center_of_component_on_board_surface"]>>>;
50863
50868
  }, "strip", z.ZodTypeAny, {
50864
50869
  type: "cad_component";
@@ -50907,6 +50912,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
50907
50912
  model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
50908
50913
  model_jscad?: any;
50909
50914
  show_as_translucent_model?: boolean | undefined;
50915
+ show_as_bounding_box?: boolean | undefined;
50910
50916
  }, {
50911
50917
  type: "cad_component";
50912
50918
  pcb_component_id: string;
@@ -50956,6 +50962,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
50956
50962
  model_object_fit?: "contain_within_bounds" | "fill_bounds" | undefined;
50957
50963
  model_jscad?: any;
50958
50964
  show_as_translucent_model?: boolean | undefined;
50965
+ show_as_bounding_box?: boolean | undefined;
50959
50966
  }>, z.ZodUnion<[z.ZodObject<{
50960
50967
  type: z.ZodLiteral<"simulation_voltage_source">;
50961
50968
  simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -69102,6 +69109,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
69102
69109
  model_object_fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<["contain_within_bounds", "fill_bounds"]>>>;
69103
69110
  model_jscad: z.ZodOptional<z.ZodAny>;
69104
69111
  show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
69112
+ show_as_bounding_box: z.ZodOptional<z.ZodBoolean>;
69105
69113
  anchor_alignment: z.ZodDefault<z.ZodOptional<z.ZodEnum<["center", "center_of_component_on_board_surface"]>>>;
69106
69114
  }, "strip", z.ZodTypeAny, {
69107
69115
  type: "cad_component";
@@ -69150,6 +69158,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
69150
69158
  model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
69151
69159
  model_jscad?: any;
69152
69160
  show_as_translucent_model?: boolean | undefined;
69161
+ show_as_bounding_box?: boolean | undefined;
69153
69162
  }, {
69154
69163
  type: "cad_component";
69155
69164
  pcb_component_id: string;
@@ -69199,6 +69208,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
69199
69208
  model_object_fit?: "contain_within_bounds" | "fill_bounds" | undefined;
69200
69209
  model_jscad?: any;
69201
69210
  show_as_translucent_model?: boolean | undefined;
69211
+ show_as_bounding_box?: boolean | undefined;
69202
69212
  }>, z.ZodUnion<[z.ZodObject<{
69203
69213
  type: z.ZodLiteral<"simulation_voltage_source">;
69204
69214
  simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
package/dist/index.mjs CHANGED
@@ -3540,6 +3540,7 @@ var cad_component = z158.object({
3540
3540
  model_object_fit: z158.enum(["contain_within_bounds", "fill_bounds"]).optional().default("contain_within_bounds"),
3541
3541
  model_jscad: z158.any().optional(),
3542
3542
  show_as_translucent_model: z158.boolean().optional(),
3543
+ show_as_bounding_box: z158.boolean().optional(),
3543
3544
  anchor_alignment: z158.enum(["center", "center_of_component_on_board_surface"]).optional().default("center")
3544
3545
  }).describe("Defines a component on the PCB");
3545
3546
  expectTypesMatch(true);