circuit-json 0.0.427 → 0.0.428

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
@@ -996,6 +996,8 @@ interface PcbBoard {
996
996
  outline?: Point[]
997
997
  shape?: "rect" | "polygon"
998
998
  material: "fr4" | "fr1"
999
+ solder_mask_color?: string
1000
+ silkscreen_color?: string
999
1001
  anchor_position?: Point
1000
1002
  anchor_alignment: NinePointAnchor
1001
1003
  position_mode?: "relative_to_panel_anchor" | "none"
package/dist/index.d.mts CHANGED
@@ -7827,6 +7827,8 @@ declare const pcb_board: z.ZodObject<{
7827
7827
  }>, "many">>;
7828
7828
  shape: z.ZodOptional<z.ZodEnum<["rect", "polygon"]>>;
7829
7829
  material: z.ZodDefault<z.ZodEnum<["fr4", "fr1"]>>;
7830
+ solder_mask_color: z.ZodOptional<z.ZodString>;
7831
+ silkscreen_color: z.ZodOptional<z.ZodString>;
7830
7832
  anchor_position: z.ZodOptional<z.ZodObject<{
7831
7833
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
7832
7834
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7892,6 +7894,8 @@ declare const pcb_board: z.ZodObject<{
7892
7894
  x: number;
7893
7895
  y: number;
7894
7896
  }[] | undefined;
7897
+ solder_mask_color?: string | undefined;
7898
+ silkscreen_color?: string | undefined;
7895
7899
  }, {
7896
7900
  type: "pcb_board";
7897
7901
  center: {
@@ -7933,6 +7937,8 @@ declare const pcb_board: z.ZodObject<{
7933
7937
  y: string | number;
7934
7938
  }[] | undefined;
7935
7939
  material?: "fr4" | "fr1" | undefined;
7940
+ solder_mask_color?: string | undefined;
7941
+ silkscreen_color?: string | undefined;
7936
7942
  }>;
7937
7943
  /**
7938
7944
  * Defines the board outline of the PCB
@@ -7955,6 +7961,8 @@ interface PcbBoard extends ManufacturingDrcProperties {
7955
7961
  outline?: Point[];
7956
7962
  shape?: "rect" | "polygon";
7957
7963
  material: "fr4" | "fr1";
7964
+ solder_mask_color?: string;
7965
+ silkscreen_color?: string;
7958
7966
  anchor_position?: Point;
7959
7967
  anchor_alignment?: NinePointAnchor;
7960
7968
  position_mode?: "relative_to_panel_anchor" | "none";
@@ -39847,6 +39855,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39847
39855
  }>, "many">>;
39848
39856
  shape: z.ZodOptional<z.ZodEnum<["rect", "polygon"]>>;
39849
39857
  material: z.ZodDefault<z.ZodEnum<["fr4", "fr1"]>>;
39858
+ solder_mask_color: z.ZodOptional<z.ZodString>;
39859
+ silkscreen_color: z.ZodOptional<z.ZodString>;
39850
39860
  anchor_position: z.ZodOptional<z.ZodObject<{
39851
39861
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
39852
39862
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -39912,6 +39922,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39912
39922
  x: number;
39913
39923
  y: number;
39914
39924
  }[] | undefined;
39925
+ solder_mask_color?: string | undefined;
39926
+ silkscreen_color?: string | undefined;
39915
39927
  }, {
39916
39928
  type: "pcb_board";
39917
39929
  center: {
@@ -39953,6 +39965,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
39953
39965
  y: string | number;
39954
39966
  }[] | undefined;
39955
39967
  material?: "fr4" | "fr1" | undefined;
39968
+ solder_mask_color?: string | undefined;
39969
+ silkscreen_color?: string | undefined;
39956
39970
  }>, z.ZodObject<{
39957
39971
  type: z.ZodLiteral<"pcb_panel">;
39958
39972
  pcb_panel_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -58108,6 +58122,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58108
58122
  }>, "many">>;
58109
58123
  shape: z.ZodOptional<z.ZodEnum<["rect", "polygon"]>>;
58110
58124
  material: z.ZodDefault<z.ZodEnum<["fr4", "fr1"]>>;
58125
+ solder_mask_color: z.ZodOptional<z.ZodString>;
58126
+ silkscreen_color: z.ZodOptional<z.ZodString>;
58111
58127
  anchor_position: z.ZodOptional<z.ZodObject<{
58112
58128
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
58113
58129
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -58173,6 +58189,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58173
58189
  x: number;
58174
58190
  y: number;
58175
58191
  }[] | undefined;
58192
+ solder_mask_color?: string | undefined;
58193
+ silkscreen_color?: string | undefined;
58176
58194
  }, {
58177
58195
  type: "pcb_board";
58178
58196
  center: {
@@ -58214,6 +58232,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
58214
58232
  y: string | number;
58215
58233
  }[] | undefined;
58216
58234
  material?: "fr4" | "fr1" | undefined;
58235
+ solder_mask_color?: string | undefined;
58236
+ silkscreen_color?: string | undefined;
58217
58237
  }>, z.ZodObject<{
58218
58238
  type: z.ZodLiteral<"pcb_panel">;
58219
58239
  pcb_panel_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
package/dist/index.mjs CHANGED
@@ -2494,6 +2494,8 @@ var pcb_board = z108.object({
2494
2494
  outline: z108.array(point).optional(),
2495
2495
  shape: z108.enum(["rect", "polygon"]).optional(),
2496
2496
  material: z108.enum(["fr4", "fr1"]).default("fr4"),
2497
+ solder_mask_color: z108.string().optional(),
2498
+ silkscreen_color: z108.string().optional(),
2497
2499
  anchor_position: point.optional(),
2498
2500
  anchor_alignment: ninePointAnchor.optional(),
2499
2501
  position_mode: z108.enum(["relative_to_panel_anchor", "none"]).optional()