circuit-json 0.0.195 → 0.0.197

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
@@ -48,7 +48,6 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
48
48
  - [Source Components](#source-components)
49
49
  - [SourceComponentBase](#sourcecomponentbase)
50
50
  - [SourceFailedToCreateComponentError](#sourcefailedtocreatecomponenterror)
51
- - [SourceLed](#sourceled)
52
51
  - [SourceMissingPropertyError](#sourcemissingpropertyerror)
53
52
  - [SourcePort](#sourceport)
54
53
  - [SourceProjectMetadata](#sourceprojectmetadata)
@@ -67,6 +66,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
67
66
  - [SourceSimpleResistor](#sourcesimpleresistor)
68
67
  - [SourceSimpleResonator](#sourcesimpleresonator)
69
68
  - [SourceSimpleSwitch](#sourcesimpleswitch)
69
+ - [SourceSimpleTestPoint](#sourcesimpletestpoint)
70
70
  - [SourceSimpleTransistor](#sourcesimpletransistor)
71
71
  - [SourceTrace](#sourcetrace)
72
72
  - [PCB Elements](#pcb-elements)
@@ -224,19 +224,6 @@ interface SourceFailedToCreateComponentError {
224
224
  }
225
225
  ```
226
226
 
227
- ### SourceLed
228
-
229
- [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_led.ts)
230
-
231
- Defines an LED component that extends the simple diode
232
-
233
- ```typescript
234
- /** Defines an LED component that extends the simple diode */
235
- interface SourceLed extends SourceComponentBase {
236
- ftype: "led"
237
- }
238
- ```
239
-
240
227
  ### SourceMissingPropertyError
241
228
 
242
229
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_missing_property_error.ts)
@@ -501,6 +488,25 @@ interface SourceSimpleSwitch extends SourceComponentBase {
501
488
  }
502
489
  ```
503
490
 
491
+ ### SourceSimpleTestPoint
492
+
493
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_test_point.ts)
494
+
495
+ ```typescript
496
+ /** Defines a simple test point component
497
+ * Can be surface-mount or through-hole.
498
+ * Pad shape and dimensions configurable for different use cases. */
499
+ interface SourceSimpleTestPoint extends SourceComponentBase {
500
+ ftype: "simple_test_point"
501
+ footprint_variant?: "pad" | "through_hole"
502
+ pad_shape?: "rect" | "circle"
503
+ pad_diameter?: number | string
504
+ hole_diameter?: number | string
505
+ width?: number | string
506
+ height?: number | string
507
+ }
508
+ ```
509
+
504
510
  ### SourceSimpleTransistor
505
511
 
506
512
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_transistor.ts)