circuit-json 0.0.419 → 0.0.420
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 +23 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -136,6 +136,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
136
136
|
- [PcbText](#pcbtext)
|
|
137
137
|
- [PcbThermalSpoke](#pcbthermalspoke)
|
|
138
138
|
- [PcbTrace](#pcbtrace)
|
|
139
|
+
- [PcbTraceWarning](#pcbtracewarning)
|
|
139
140
|
- [PcbTraceError](#pcbtraceerror)
|
|
140
141
|
- [PcbTraceHint](#pcbtracehint)
|
|
141
142
|
- [PcbTraceMissingError](#pcbtracemissingerror)
|
|
@@ -2154,6 +2155,28 @@ interface PcbTraceRoutePointWire {
|
|
|
2154
2155
|
type PcbTraceRoutePoint = PcbTraceRoutePointWire | PcbTraceRoutePointVia
|
|
2155
2156
|
```
|
|
2156
2157
|
|
|
2158
|
+
### PcbTraceWarning
|
|
2159
|
+
|
|
2160
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_trace_warning.ts)
|
|
2161
|
+
|
|
2162
|
+
Warning emitted when a PCB trace has a warning condition
|
|
2163
|
+
|
|
2164
|
+
```typescript
|
|
2165
|
+
/** Warning emitted when a PCB trace has a warning condition */
|
|
2166
|
+
interface PcbTraceWarning {
|
|
2167
|
+
type: "pcb_trace_warning"
|
|
2168
|
+
pcb_trace_warning_id: string
|
|
2169
|
+
warning_type: "pcb_trace_warning"
|
|
2170
|
+
message: string
|
|
2171
|
+
center?: Point
|
|
2172
|
+
pcb_trace_id: string
|
|
2173
|
+
source_trace_id: string
|
|
2174
|
+
pcb_component_ids: string[]
|
|
2175
|
+
pcb_port_ids: string[]
|
|
2176
|
+
subcircuit_id?: string
|
|
2177
|
+
}
|
|
2178
|
+
```
|
|
2179
|
+
|
|
2157
2180
|
### PcbTraceError
|
|
2158
2181
|
|
|
2159
2182
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_trace_error.ts)
|