circuit-json 0.0.222 → 0.0.224

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
@@ -72,6 +72,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
72
72
  - [SourceSimpleTestPoint](#sourcesimpletestpoint)
73
73
  - [SourceSimpleTransistor](#sourcesimpletransistor)
74
74
  - [SourceTrace](#sourcetrace)
75
+ - [SourceTraceNotConnected](#sourcetracenotconnected)
75
76
  - [PCB Elements](#pcb-elements)
76
77
  - [PcbAutoroutingError](#pcbautoroutingerror)
77
78
  - [PcbBoard](#pcbboard)
@@ -616,6 +617,27 @@ interface SourceTrace {
616
617
  }
617
618
  ```
618
619
 
620
+ ### SourceTraceNotConnected
621
+
622
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_trace_not_connected.ts)
623
+
624
+ Occurs when a source trace selector does not match any ports
625
+
626
+ ```typescript
627
+ /** Occurs when a source trace selector does not match any ports */
628
+ interface SourceTraceNotConnected {
629
+ type: "source_trace_not_connected"
630
+ source_trace_not_connected_id: string
631
+ error_type: "source_trace_not_connected"
632
+ message: string
633
+ subcircuit_id?: string
634
+ source_group_id?: string
635
+ source_trace_id?: string
636
+ connected_source_port_ids?: string[]
637
+ selectors_not_found?: string[]
638
+ }
639
+ ```
640
+
619
641
  ## PCB Elements
620
642
 
621
643
  ### PcbAutoroutingError
@@ -971,6 +993,28 @@ interface PcbHolePillWithRectPad {
971
993
  pcb_plated_hole_id: string
972
994
  }
973
995
 
996
+ interface PcbHoleRotatedPillWithRectPad {
997
+ type: "pcb_plated_hole"
998
+ shape: "rotated_pill_hole_with_rect_pad"
999
+ pcb_group_id?: string
1000
+ subcircuit_id?: string
1001
+ hole_shape: "rotated_pill"
1002
+ pad_shape: "rect"
1003
+ hole_width: number
1004
+ hole_height: number
1005
+ hole_ccw_rotation: Rotation
1006
+ rect_pad_width: number
1007
+ rect_pad_height: number
1008
+ rect_ccw_rotation: Rotation
1009
+ x: Distance
1010
+ y: Distance
1011
+ layers: LayerRef[]
1012
+ port_hints?: string[]
1013
+ pcb_component_id?: string
1014
+ pcb_port_id?: string
1015
+ pcb_plated_hole_id: string
1016
+ }
1017
+
974
1018
  interface PcbHoleCircularWithRectPad {
975
1019
  type: "pcb_plated_hole"
976
1020
  shape: "circular_hole_with_rect_pad"