circuit-json 0.0.307 → 0.0.309

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
@@ -1655,6 +1655,28 @@ interface PcbHoleCircularWithRectPad {
1655
1655
  pcb_port_id?: string
1656
1656
  pcb_plated_hole_id: string
1657
1657
  }
1658
+
1659
+ /** Defines a plated hole with a polygonal pad on the PCB */
1660
+ interface PcbHoleWithPolygonPad {
1661
+ type: "pcb_plated_hole"
1662
+ shape: "hole_with_polygon_pad"
1663
+ pcb_group_id?: string
1664
+ subcircuit_id?: string
1665
+ hole_shape: "circle" | "oval" | "pill" | "rotated_pill"
1666
+ hole_diameter?: number
1667
+ hole_width?: number
1668
+ hole_height?: number
1669
+ pad_outline: { x: Distance; y: Distance }[]
1670
+ hole_offset_x: Distance
1671
+ hole_offset_y: Distance
1672
+ x: Distance
1673
+ y: Distance
1674
+ layers: LayerRef[]
1675
+ port_hints?: string[]
1676
+ pcb_component_id?: string
1677
+ pcb_port_id?: string
1678
+ pcb_plated_hole_id: string
1679
+ }
1658
1680
  ```
1659
1681
 
1660
1682
  ### PcbPort
@@ -2557,6 +2579,7 @@ interface SchematicVoltageProbe {
2557
2579
  position: Point
2558
2580
  schematic_trace_id: string
2559
2581
  voltage?: number
2582
+ name?: string
2560
2583
  subcircuit_id?: string
2561
2584
  }
2562
2585
  ```
package/dist/index.d.mts CHANGED
@@ -1225,6 +1225,32 @@ interface PcbHoleCircularWithRectPad {
1225
1225
  pcb_port_id?: string;
1226
1226
  pcb_plated_hole_id: string;
1227
1227
  }
1228
+ /**
1229
+ * Defines a plated hole with a polygonal pad on the PCB
1230
+ */
1231
+ interface PcbHoleWithPolygonPad {
1232
+ type: "pcb_plated_hole";
1233
+ shape: "hole_with_polygon_pad";
1234
+ pcb_group_id?: string;
1235
+ subcircuit_id?: string;
1236
+ hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
1237
+ hole_diameter?: number;
1238
+ hole_width?: number;
1239
+ hole_height?: number;
1240
+ pad_outline: {
1241
+ x: Distance;
1242
+ y: Distance;
1243
+ }[];
1244
+ hole_offset_x: Distance;
1245
+ hole_offset_y: Distance;
1246
+ x: Distance;
1247
+ y: Distance;
1248
+ layers: LayerRef[];
1249
+ port_hints?: string[];
1250
+ pcb_component_id?: string;
1251
+ pcb_port_id?: string;
1252
+ pcb_plated_hole_id: string;
1253
+ }
1228
1254
  declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
1229
1255
  type: z.ZodLiteral<"pcb_plated_hole">;
1230
1256
  shape: z.ZodLiteral<"circle">;
@@ -1560,8 +1586,90 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
1560
1586
  rect_border_radius?: number | undefined;
1561
1587
  hole_offset_x?: string | number | undefined;
1562
1588
  hole_offset_y?: string | number | undefined;
1589
+ }>, z.ZodObject<{
1590
+ type: z.ZodLiteral<"pcb_plated_hole">;
1591
+ shape: z.ZodLiteral<"hole_with_polygon_pad">;
1592
+ pcb_group_id: z.ZodOptional<z.ZodString>;
1593
+ subcircuit_id: z.ZodOptional<z.ZodString>;
1594
+ hole_shape: z.ZodEnum<["circle", "oval", "pill", "rotated_pill"]>;
1595
+ hole_diameter: z.ZodOptional<z.ZodNumber>;
1596
+ hole_width: z.ZodOptional<z.ZodNumber>;
1597
+ hole_height: z.ZodOptional<z.ZodNumber>;
1598
+ pad_outline: z.ZodArray<z.ZodObject<{
1599
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1600
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1601
+ }, "strip", z.ZodTypeAny, {
1602
+ x: number;
1603
+ y: number;
1604
+ }, {
1605
+ x: string | number;
1606
+ y: string | number;
1607
+ }>, "many">;
1608
+ hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
1609
+ hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
1610
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1611
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1612
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
1613
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
1614
+ }, "strip", z.ZodTypeAny, {
1615
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1616
+ }, {
1617
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1618
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1619
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1620
+ }>, "many">;
1621
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1622
+ pcb_component_id: z.ZodOptional<z.ZodString>;
1623
+ pcb_port_id: z.ZodOptional<z.ZodString>;
1624
+ pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1625
+ }, "strip", z.ZodTypeAny, {
1626
+ x: number;
1627
+ y: number;
1628
+ type: "pcb_plated_hole";
1629
+ hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
1630
+ shape: "hole_with_polygon_pad";
1631
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
1632
+ pcb_plated_hole_id: string;
1633
+ hole_offset_x: number;
1634
+ hole_offset_y: number;
1635
+ pad_outline: {
1636
+ x: number;
1637
+ y: number;
1638
+ }[];
1639
+ pcb_component_id?: string | undefined;
1640
+ subcircuit_id?: string | undefined;
1641
+ pcb_group_id?: string | undefined;
1642
+ hole_diameter?: number | undefined;
1643
+ hole_width?: number | undefined;
1644
+ hole_height?: number | undefined;
1645
+ port_hints?: string[] | undefined;
1646
+ pcb_port_id?: string | undefined;
1647
+ }, {
1648
+ x: string | number;
1649
+ y: string | number;
1650
+ type: "pcb_plated_hole";
1651
+ hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
1652
+ shape: "hole_with_polygon_pad";
1653
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1654
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1655
+ })[];
1656
+ pad_outline: {
1657
+ x: string | number;
1658
+ y: string | number;
1659
+ }[];
1660
+ pcb_component_id?: string | undefined;
1661
+ subcircuit_id?: string | undefined;
1662
+ pcb_group_id?: string | undefined;
1663
+ hole_diameter?: number | undefined;
1664
+ hole_width?: number | undefined;
1665
+ hole_height?: number | undefined;
1666
+ port_hints?: string[] | undefined;
1667
+ pcb_port_id?: string | undefined;
1668
+ pcb_plated_hole_id?: string | undefined;
1669
+ hole_offset_x?: string | number | undefined;
1670
+ hole_offset_y?: string | number | undefined;
1563
1671
  }>]>;
1564
- type PcbPlatedHole = PcbPlatedHoleCircle | PcbPlatedHoleOval | PcbHoleCircularWithRectPad | PcbHolePillWithRectPad | PcbHoleRotatedPillWithRectPad;
1672
+ type PcbPlatedHole = PcbPlatedHoleCircle | PcbPlatedHoleOval | PcbHoleCircularWithRectPad | PcbHolePillWithRectPad | PcbHoleRotatedPillWithRectPad | PcbHoleWithPolygonPad;
1565
1673
  /**
1566
1674
  * @deprecated use PcbPlatedHole
1567
1675
  */
@@ -8566,6 +8674,7 @@ interface SchematicVoltageProbe {
8566
8674
  position: Point;
8567
8675
  schematic_trace_id: string;
8568
8676
  voltage?: number;
8677
+ name?: string;
8569
8678
  subcircuit_id?: string;
8570
8679
  }
8571
8680
  declare const schematic_voltage_probe: z.ZodObject<{
@@ -8583,6 +8692,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8583
8692
  }>;
8584
8693
  schematic_trace_id: z.ZodString;
8585
8694
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8695
+ name: z.ZodOptional<z.ZodString>;
8586
8696
  subcircuit_id: z.ZodOptional<z.ZodString>;
8587
8697
  }, "strip", z.ZodTypeAny, {
8588
8698
  type: "schematic_voltage_probe";
@@ -8592,6 +8702,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8592
8702
  y: number;
8593
8703
  };
8594
8704
  schematic_voltage_probe_id: string;
8705
+ name?: string | undefined;
8595
8706
  subcircuit_id?: string | undefined;
8596
8707
  voltage?: number | undefined;
8597
8708
  }, {
@@ -8602,6 +8713,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
8602
8713
  y: string | number;
8603
8714
  };
8604
8715
  schematic_voltage_probe_id: string;
8716
+ name?: string | undefined;
8605
8717
  subcircuit_id?: string | undefined;
8606
8718
  voltage?: string | number | undefined;
8607
8719
  }>;
@@ -14807,6 +14919,88 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
14807
14919
  rect_border_radius?: number | undefined;
14808
14920
  hole_offset_x?: string | number | undefined;
14809
14921
  hole_offset_y?: string | number | undefined;
14922
+ }>, z.ZodObject<{
14923
+ type: z.ZodLiteral<"pcb_plated_hole">;
14924
+ shape: z.ZodLiteral<"hole_with_polygon_pad">;
14925
+ pcb_group_id: z.ZodOptional<z.ZodString>;
14926
+ subcircuit_id: z.ZodOptional<z.ZodString>;
14927
+ hole_shape: z.ZodEnum<["circle", "oval", "pill", "rotated_pill"]>;
14928
+ hole_diameter: z.ZodOptional<z.ZodNumber>;
14929
+ hole_width: z.ZodOptional<z.ZodNumber>;
14930
+ hole_height: z.ZodOptional<z.ZodNumber>;
14931
+ pad_outline: z.ZodArray<z.ZodObject<{
14932
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14933
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14934
+ }, "strip", z.ZodTypeAny, {
14935
+ x: number;
14936
+ y: number;
14937
+ }, {
14938
+ x: string | number;
14939
+ y: string | number;
14940
+ }>, "many">;
14941
+ hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
14942
+ hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
14943
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14944
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
14945
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
14946
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
14947
+ }, "strip", z.ZodTypeAny, {
14948
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
14949
+ }, {
14950
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
14951
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
14952
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
14953
+ }>, "many">;
14954
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14955
+ pcb_component_id: z.ZodOptional<z.ZodString>;
14956
+ pcb_port_id: z.ZodOptional<z.ZodString>;
14957
+ pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
14958
+ }, "strip", z.ZodTypeAny, {
14959
+ x: number;
14960
+ y: number;
14961
+ type: "pcb_plated_hole";
14962
+ hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
14963
+ shape: "hole_with_polygon_pad";
14964
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
14965
+ pcb_plated_hole_id: string;
14966
+ hole_offset_x: number;
14967
+ hole_offset_y: number;
14968
+ pad_outline: {
14969
+ x: number;
14970
+ y: number;
14971
+ }[];
14972
+ pcb_component_id?: string | undefined;
14973
+ subcircuit_id?: string | undefined;
14974
+ pcb_group_id?: string | undefined;
14975
+ hole_diameter?: number | undefined;
14976
+ hole_width?: number | undefined;
14977
+ hole_height?: number | undefined;
14978
+ port_hints?: string[] | undefined;
14979
+ pcb_port_id?: string | undefined;
14980
+ }, {
14981
+ x: string | number;
14982
+ y: string | number;
14983
+ type: "pcb_plated_hole";
14984
+ hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
14985
+ shape: "hole_with_polygon_pad";
14986
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
14987
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
14988
+ })[];
14989
+ pad_outline: {
14990
+ x: string | number;
14991
+ y: string | number;
14992
+ }[];
14993
+ pcb_component_id?: string | undefined;
14994
+ subcircuit_id?: string | undefined;
14995
+ pcb_group_id?: string | undefined;
14996
+ hole_diameter?: number | undefined;
14997
+ hole_width?: number | undefined;
14998
+ hole_height?: number | undefined;
14999
+ port_hints?: string[] | undefined;
15000
+ pcb_port_id?: string | undefined;
15001
+ pcb_plated_hole_id?: string | undefined;
15002
+ hole_offset_x?: string | number | undefined;
15003
+ hole_offset_y?: string | number | undefined;
14810
15004
  }>]>, z.ZodUnion<[z.ZodObject<{
14811
15005
  type: z.ZodLiteral<"pcb_keepout">;
14812
15006
  shape: z.ZodLiteral<"rect">;
@@ -19147,6 +19341,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19147
19341
  }>;
19148
19342
  schematic_trace_id: z.ZodString;
19149
19343
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19344
+ name: z.ZodOptional<z.ZodString>;
19150
19345
  subcircuit_id: z.ZodOptional<z.ZodString>;
19151
19346
  }, "strip", z.ZodTypeAny, {
19152
19347
  type: "schematic_voltage_probe";
@@ -19156,6 +19351,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19156
19351
  y: number;
19157
19352
  };
19158
19353
  schematic_voltage_probe_id: string;
19354
+ name?: string | undefined;
19159
19355
  subcircuit_id?: string | undefined;
19160
19356
  voltage?: number | undefined;
19161
19357
  }, {
@@ -19166,6 +19362,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
19166
19362
  y: string | number;
19167
19363
  };
19168
19364
  schematic_voltage_probe_id: string;
19365
+ name?: string | undefined;
19169
19366
  subcircuit_id?: string | undefined;
19170
19367
  voltage?: string | number | undefined;
19171
19368
  }>, z.ZodObject<{
@@ -22413,6 +22610,88 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
22413
22610
  rect_border_radius?: number | undefined;
22414
22611
  hole_offset_x?: string | number | undefined;
22415
22612
  hole_offset_y?: string | number | undefined;
22613
+ }>, z.ZodObject<{
22614
+ type: z.ZodLiteral<"pcb_plated_hole">;
22615
+ shape: z.ZodLiteral<"hole_with_polygon_pad">;
22616
+ pcb_group_id: z.ZodOptional<z.ZodString>;
22617
+ subcircuit_id: z.ZodOptional<z.ZodString>;
22618
+ hole_shape: z.ZodEnum<["circle", "oval", "pill", "rotated_pill"]>;
22619
+ hole_diameter: z.ZodOptional<z.ZodNumber>;
22620
+ hole_width: z.ZodOptional<z.ZodNumber>;
22621
+ hole_height: z.ZodOptional<z.ZodNumber>;
22622
+ pad_outline: z.ZodArray<z.ZodObject<{
22623
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22624
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22625
+ }, "strip", z.ZodTypeAny, {
22626
+ x: number;
22627
+ y: number;
22628
+ }, {
22629
+ x: string | number;
22630
+ y: string | number;
22631
+ }>, "many">;
22632
+ hole_offset_x: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
22633
+ hole_offset_y: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
22634
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22635
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22636
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
22637
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
22638
+ }, "strip", z.ZodTypeAny, {
22639
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
22640
+ }, {
22641
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
22642
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
22643
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
22644
+ }>, "many">;
22645
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
22646
+ pcb_component_id: z.ZodOptional<z.ZodString>;
22647
+ pcb_port_id: z.ZodOptional<z.ZodString>;
22648
+ pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
22649
+ }, "strip", z.ZodTypeAny, {
22650
+ x: number;
22651
+ y: number;
22652
+ type: "pcb_plated_hole";
22653
+ hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
22654
+ shape: "hole_with_polygon_pad";
22655
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
22656
+ pcb_plated_hole_id: string;
22657
+ hole_offset_x: number;
22658
+ hole_offset_y: number;
22659
+ pad_outline: {
22660
+ x: number;
22661
+ y: number;
22662
+ }[];
22663
+ pcb_component_id?: string | undefined;
22664
+ subcircuit_id?: string | undefined;
22665
+ pcb_group_id?: string | undefined;
22666
+ hole_diameter?: number | undefined;
22667
+ hole_width?: number | undefined;
22668
+ hole_height?: number | undefined;
22669
+ port_hints?: string[] | undefined;
22670
+ pcb_port_id?: string | undefined;
22671
+ }, {
22672
+ x: string | number;
22673
+ y: string | number;
22674
+ type: "pcb_plated_hole";
22675
+ hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
22676
+ shape: "hole_with_polygon_pad";
22677
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
22678
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
22679
+ })[];
22680
+ pad_outline: {
22681
+ x: string | number;
22682
+ y: string | number;
22683
+ }[];
22684
+ pcb_component_id?: string | undefined;
22685
+ subcircuit_id?: string | undefined;
22686
+ pcb_group_id?: string | undefined;
22687
+ hole_diameter?: number | undefined;
22688
+ hole_width?: number | undefined;
22689
+ hole_height?: number | undefined;
22690
+ port_hints?: string[] | undefined;
22691
+ pcb_port_id?: string | undefined;
22692
+ pcb_plated_hole_id?: string | undefined;
22693
+ hole_offset_x?: string | number | undefined;
22694
+ hole_offset_y?: string | number | undefined;
22416
22695
  }>]>, z.ZodUnion<[z.ZodObject<{
22417
22696
  type: z.ZodLiteral<"pcb_keepout">;
22418
22697
  shape: z.ZodLiteral<"rect">;
@@ -26753,6 +27032,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
26753
27032
  }>;
26754
27033
  schematic_trace_id: z.ZodString;
26755
27034
  voltage: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
27035
+ name: z.ZodOptional<z.ZodString>;
26756
27036
  subcircuit_id: z.ZodOptional<z.ZodString>;
26757
27037
  }, "strip", z.ZodTypeAny, {
26758
27038
  type: "schematic_voltage_probe";
@@ -26762,6 +27042,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
26762
27042
  y: number;
26763
27043
  };
26764
27044
  schematic_voltage_probe_id: string;
27045
+ name?: string | undefined;
26765
27046
  subcircuit_id?: string | undefined;
26766
27047
  voltage?: number | undefined;
26767
27048
  }, {
@@ -26772,6 +27053,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
26772
27053
  y: string | number;
26773
27054
  };
26774
27055
  schematic_voltage_probe_id: string;
27056
+ name?: string | undefined;
26775
27057
  subcircuit_id?: string | undefined;
26776
27058
  voltage?: string | number | undefined;
26777
27059
  }>, z.ZodObject<{
@@ -27340,4 +27622,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
27340
27622
  */
27341
27623
  type CircuitJson = AnyCircuitElement[];
27342
27624
 
27343
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
27625
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPanel, type PcbPanelInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_outline, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_panel, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, pcb_via_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_board, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
package/dist/index.mjs CHANGED
@@ -1125,6 +1125,7 @@ var schematic_voltage_probe = z60.object({
1125
1125
  position: point,
1126
1126
  schematic_trace_id: z60.string(),
1127
1127
  voltage: voltage.optional(),
1128
+ name: z60.string().optional(),
1128
1129
  subcircuit_id: z60.string().optional()
1129
1130
  }).describe("Defines a voltage probe measurement point on a schematic trace");
1130
1131
  expectTypesMatch(true);
@@ -1474,12 +1475,38 @@ var pcb_rotated_pill_hole_with_rect_pad = z71.object({
1474
1475
  pcb_port_id: z71.string().optional(),
1475
1476
  pcb_plated_hole_id: getZodPrefixedIdWithDefault("pcb_plated_hole")
1476
1477
  });
1478
+ var pcb_hole_with_polygon_pad = z71.object({
1479
+ type: z71.literal("pcb_plated_hole"),
1480
+ shape: z71.literal("hole_with_polygon_pad"),
1481
+ pcb_group_id: z71.string().optional(),
1482
+ subcircuit_id: z71.string().optional(),
1483
+ hole_shape: z71.enum(["circle", "oval", "pill", "rotated_pill"]),
1484
+ hole_diameter: z71.number().optional(),
1485
+ hole_width: z71.number().optional(),
1486
+ hole_height: z71.number().optional(),
1487
+ pad_outline: z71.array(
1488
+ z71.object({
1489
+ x: distance,
1490
+ y: distance
1491
+ })
1492
+ ).min(3),
1493
+ hole_offset_x: distance.default(0),
1494
+ hole_offset_y: distance.default(0),
1495
+ x: distance,
1496
+ y: distance,
1497
+ layers: z71.array(layer_ref),
1498
+ port_hints: z71.array(z71.string()).optional(),
1499
+ pcb_component_id: z71.string().optional(),
1500
+ pcb_port_id: z71.string().optional(),
1501
+ pcb_plated_hole_id: getZodPrefixedIdWithDefault("pcb_plated_hole")
1502
+ });
1477
1503
  var pcb_plated_hole = z71.union([
1478
1504
  pcb_plated_hole_circle,
1479
1505
  pcb_plated_hole_oval,
1480
1506
  pcb_circular_hole_with_rect_pad,
1481
1507
  pcb_pill_hole_with_rect_pad,
1482
- pcb_rotated_pill_hole_with_rect_pad
1508
+ pcb_rotated_pill_hole_with_rect_pad,
1509
+ pcb_hole_with_polygon_pad
1483
1510
  ]);
1484
1511
  expectTypesMatch(
1485
1512
  true
@@ -1488,6 +1515,7 @@ expectTypesMatch(true);
1488
1515
  expectTypesMatch(true);
1489
1516
  expectTypesMatch(true);
1490
1517
  expectTypesMatch(true);
1518
+ expectTypesMatch(true);
1491
1519
 
1492
1520
  // src/pcb/pcb_port.ts
1493
1521
  import { z as z72 } from "zod";