circuit-json 0.0.405 → 0.0.406

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
@@ -1677,6 +1677,7 @@ interface PcbPanel {
1677
1677
  width: Length
1678
1678
  height: Length
1679
1679
  center: Point
1680
+ thickness: Length
1680
1681
  covered_with_solder_mask: boolean
1681
1682
  }
1682
1683
  ```
package/dist/index.d.mts CHANGED
@@ -7549,11 +7549,13 @@ declare const pcb_panel: z.ZodObject<{
7549
7549
  x: string | number;
7550
7550
  y: string | number;
7551
7551
  }>;
7552
+ thickness: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
7552
7553
  covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
7553
7554
  }, "strip", z.ZodTypeAny, {
7554
7555
  type: "pcb_panel";
7555
7556
  width: number;
7556
7557
  height: number;
7558
+ thickness: number;
7557
7559
  center: {
7558
7560
  x: number;
7559
7561
  y: number;
@@ -7568,6 +7570,7 @@ declare const pcb_panel: z.ZodObject<{
7568
7570
  x: string | number;
7569
7571
  y: string | number;
7570
7572
  };
7573
+ thickness?: string | number | undefined;
7571
7574
  pcb_panel_id?: string | undefined;
7572
7575
  covered_with_solder_mask?: boolean | undefined;
7573
7576
  }>;
@@ -7580,6 +7583,7 @@ interface PcbPanel {
7580
7583
  width: Length;
7581
7584
  height: Length;
7582
7585
  center: Point;
7586
+ thickness: Length;
7583
7587
  covered_with_solder_mask: boolean;
7584
7588
  }
7585
7589
  type PcbPanelInput = z.input<typeof pcb_panel>;
@@ -38861,11 +38865,13 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38861
38865
  x: string | number;
38862
38866
  y: string | number;
38863
38867
  }>;
38868
+ thickness: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
38864
38869
  covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
38865
38870
  }, "strip", z.ZodTypeAny, {
38866
38871
  type: "pcb_panel";
38867
38872
  width: number;
38868
38873
  height: number;
38874
+ thickness: number;
38869
38875
  center: {
38870
38876
  x: number;
38871
38877
  y: number;
@@ -38880,6 +38886,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38880
38886
  x: string | number;
38881
38887
  y: string | number;
38882
38888
  };
38889
+ thickness?: string | number | undefined;
38883
38890
  pcb_panel_id?: string | undefined;
38884
38891
  covered_with_solder_mask?: boolean | undefined;
38885
38892
  }>, z.ZodObject<{
@@ -56641,11 +56648,13 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
56641
56648
  x: string | number;
56642
56649
  y: string | number;
56643
56650
  }>;
56651
+ thickness: z.ZodDefault<z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
56644
56652
  covered_with_solder_mask: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
56645
56653
  }, "strip", z.ZodTypeAny, {
56646
56654
  type: "pcb_panel";
56647
56655
  width: number;
56648
56656
  height: number;
56657
+ thickness: number;
56649
56658
  center: {
56650
56659
  x: number;
56651
56660
  y: number;
@@ -56660,6 +56669,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
56660
56669
  x: string | number;
56661
56670
  y: string | number;
56662
56671
  };
56672
+ thickness?: string | number | undefined;
56663
56673
  pcb_panel_id?: string | undefined;
56664
56674
  covered_with_solder_mask?: boolean | undefined;
56665
56675
  }>, z.ZodObject<{
package/dist/index.mjs CHANGED
@@ -2435,6 +2435,7 @@ var pcb_panel = z106.object({
2435
2435
  width: length,
2436
2436
  height: length,
2437
2437
  center: point,
2438
+ thickness: length.optional().default(1.4),
2438
2439
  covered_with_solder_mask: z106.boolean().optional().default(true)
2439
2440
  }).describe("Defines a PCB panel that can contain multiple boards");
2440
2441
  expectTypesMatch(true);