circuit-json 0.0.194 → 0.0.196
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 +20 -0
- package/dist/index.d.mts +525 -7
- package/dist/index.mjs +633 -603
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,6 +67,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
67
67
|
- [SourceSimpleResistor](#sourcesimpleresistor)
|
|
68
68
|
- [SourceSimpleResonator](#sourcesimpleresonator)
|
|
69
69
|
- [SourceSimpleSwitch](#sourcesimpleswitch)
|
|
70
|
+
- [SourceSimpleTestPoint](#sourcesimpletestpoint)
|
|
70
71
|
- [SourceSimpleTransistor](#sourcesimpletransistor)
|
|
71
72
|
- [SourceTrace](#sourcetrace)
|
|
72
73
|
- [PCB Elements](#pcb-elements)
|
|
@@ -501,6 +502,25 @@ interface SourceSimpleSwitch extends SourceComponentBase {
|
|
|
501
502
|
}
|
|
502
503
|
```
|
|
503
504
|
|
|
505
|
+
### SourceSimpleTestPoint
|
|
506
|
+
|
|
507
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_test_point.ts)
|
|
508
|
+
|
|
509
|
+
```typescript
|
|
510
|
+
/** Defines a simple test point component
|
|
511
|
+
* Can be surface-mount or through-hole.
|
|
512
|
+
* Pad shape and dimensions configurable for different use cases. */
|
|
513
|
+
interface SourceSimpleTestPoint extends SourceComponentBase {
|
|
514
|
+
ftype: "simple_test_point"
|
|
515
|
+
footprint_variant?: "pad" | "through_hole"
|
|
516
|
+
pad_shape?: "rect" | "circle"
|
|
517
|
+
pad_diameter?: number | string
|
|
518
|
+
hole_diameter?: number | string
|
|
519
|
+
width?: number | string
|
|
520
|
+
height?: number | string
|
|
521
|
+
}
|
|
522
|
+
```
|
|
523
|
+
|
|
504
524
|
### SourceSimpleTransistor
|
|
505
525
|
|
|
506
526
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_transistor.ts)
|