circuit-json 0.0.415 → 0.0.416

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 CHANGED
@@ -1660,6 +1660,8 @@ interface PcbNoteText {
1660
1660
  | "top_right"
1661
1661
  | "bottom_left"
1662
1662
  | "bottom_right"
1663
+ layer: VisibleLayer
1664
+ is_mirrored?: boolean
1663
1665
  color?: string
1664
1666
  }
1665
1667
  ```
@@ -2059,7 +2061,7 @@ interface PcbSilkscreenText {
2059
2061
  }
2060
2062
  ccw_rotation?: number
2061
2063
  layer: LayerRef
2062
- is_mirrored?: boolean
2064
+ is_mirrored_from_top_view?: boolean
2063
2065
  anchor_position: Point
2064
2066
  anchor_alignment: NinePointAnchor
2065
2067
  }
package/dist/index.d.mts CHANGED
@@ -8960,6 +8960,7 @@ declare const pcb_note_text: z.ZodObject<{
8960
8960
  }>>;
8961
8961
  anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
8962
8962
  layer: z.ZodDefault<z.ZodEnum<["top", "bottom"]>>;
8963
+ is_mirrored_from_top_view: z.ZodOptional<z.ZodBoolean>;
8963
8964
  color: z.ZodOptional<z.ZodString>;
8964
8965
  }, "strip", z.ZodTypeAny, {
8965
8966
  type: "pcb_note_text";
@@ -8978,6 +8979,7 @@ declare const pcb_note_text: z.ZodObject<{
8978
8979
  pcb_group_id?: string | undefined;
8979
8980
  text?: string | undefined;
8980
8981
  color?: string | undefined;
8982
+ is_mirrored_from_top_view?: boolean | undefined;
8981
8983
  }, {
8982
8984
  type: "pcb_note_text";
8983
8985
  name?: string | undefined;
@@ -8995,6 +8997,7 @@ declare const pcb_note_text: z.ZodObject<{
8995
8997
  font_size?: string | number | undefined;
8996
8998
  color?: string | undefined;
8997
8999
  pcb_note_text_id?: string | undefined;
9000
+ is_mirrored_from_top_view?: boolean | undefined;
8998
9001
  }>;
8999
9002
  type PcbNoteTextInput = z.input<typeof pcb_note_text>;
9000
9003
  /**
@@ -9013,6 +9016,7 @@ interface PcbNoteText {
9013
9016
  anchor_position: Point;
9014
9017
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
9015
9018
  layer: VisibleLayer;
9019
+ is_mirrored_from_top_view?: boolean;
9016
9020
  color?: string;
9017
9021
  }
9018
9022
 
@@ -40806,6 +40810,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
40806
40810
  }>>;
40807
40811
  anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
40808
40812
  layer: z.ZodDefault<z.ZodEnum<["top", "bottom"]>>;
40813
+ is_mirrored_from_top_view: z.ZodOptional<z.ZodBoolean>;
40809
40814
  color: z.ZodOptional<z.ZodString>;
40810
40815
  }, "strip", z.ZodTypeAny, {
40811
40816
  type: "pcb_note_text";
@@ -40824,6 +40829,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
40824
40829
  pcb_group_id?: string | undefined;
40825
40830
  text?: string | undefined;
40826
40831
  color?: string | undefined;
40832
+ is_mirrored_from_top_view?: boolean | undefined;
40827
40833
  }, {
40828
40834
  type: "pcb_note_text";
40829
40835
  name?: string | undefined;
@@ -40841,6 +40847,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
40841
40847
  font_size?: string | number | undefined;
40842
40848
  color?: string | undefined;
40843
40849
  pcb_note_text_id?: string | undefined;
40850
+ is_mirrored_from_top_view?: boolean | undefined;
40844
40851
  }>, z.ZodObject<{
40845
40852
  type: z.ZodLiteral<"pcb_note_rect">;
40846
40853
  pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -58878,6 +58885,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58878
58885
  }>>;
58879
58886
  anchor_alignment: z.ZodDefault<z.ZodEnum<["center", "top_left", "top_right", "bottom_left", "bottom_right"]>>;
58880
58887
  layer: z.ZodDefault<z.ZodEnum<["top", "bottom"]>>;
58888
+ is_mirrored_from_top_view: z.ZodOptional<z.ZodBoolean>;
58881
58889
  color: z.ZodOptional<z.ZodString>;
58882
58890
  }, "strip", z.ZodTypeAny, {
58883
58891
  type: "pcb_note_text";
@@ -58896,6 +58904,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58896
58904
  pcb_group_id?: string | undefined;
58897
58905
  text?: string | undefined;
58898
58906
  color?: string | undefined;
58907
+ is_mirrored_from_top_view?: boolean | undefined;
58899
58908
  }, {
58900
58909
  type: "pcb_note_text";
58901
58910
  name?: string | undefined;
@@ -58913,6 +58922,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58913
58922
  font_size?: string | number | undefined;
58914
58923
  color?: string | undefined;
58915
58924
  pcb_note_text_id?: string | undefined;
58925
+ is_mirrored_from_top_view?: boolean | undefined;
58916
58926
  }>, z.ZodObject<{
58917
58927
  type: z.ZodLiteral<"pcb_note_rect">;
58918
58928
  pcb_note_rect_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
package/dist/index.mjs CHANGED
@@ -2798,6 +2798,7 @@ var pcb_note_text = z125.object({
2798
2798
  anchor_position: point.default({ x: 0, y: 0 }),
2799
2799
  anchor_alignment: z125.enum(["center", "top_left", "top_right", "bottom_left", "bottom_right"]).default("center"),
2800
2800
  layer: visible_layer.default("top"),
2801
+ is_mirrored_from_top_view: z125.boolean().optional(),
2801
2802
  color: z125.string().optional()
2802
2803
  }).describe("Defines a documentation note in text on the PCB");
2803
2804
  expectTypesMatch(true);