circuit-json 0.0.262 → 0.0.263
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 +26 -0
- package/dist/index.d.mts +345 -2
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,7 +67,9 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
67
67
|
- [SourceSimpleInductor](#sourcesimpleinductor)
|
|
68
68
|
- [SourceSimpleLed](#sourcesimpleled)
|
|
69
69
|
- [SourceSimpleMosfet](#sourcesimplemosfet)
|
|
70
|
+
- [SourceSimplePinHeader](#sourcesimplepinheader)
|
|
70
71
|
- [SourceSimplePinout](#sourcesimplepinout)
|
|
72
|
+
- [SourceSimplePotentiometer](#sourcesimplepotentiometer)
|
|
71
73
|
- [SourceSimplePowerSource](#sourcesimplepowersource)
|
|
72
74
|
- [SourceSimplePushButton](#sourcesimplepushbutton)
|
|
73
75
|
- [SourceSimpleResistor](#sourcesimpleresistor)
|
|
@@ -230,6 +232,7 @@ interface SourceComponentBase {
|
|
|
230
232
|
internally_connected_source_port_ids?: string[][]
|
|
231
233
|
source_group_id?: string
|
|
232
234
|
subcircuit_id?: string
|
|
235
|
+
do_not_place: boolean
|
|
233
236
|
}
|
|
234
237
|
```
|
|
235
238
|
|
|
@@ -565,6 +568,18 @@ interface SourceSimpleMosfet extends SourceComponentBase {
|
|
|
565
568
|
}
|
|
566
569
|
```
|
|
567
570
|
|
|
571
|
+
### SourceSimplePinHeader
|
|
572
|
+
|
|
573
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_pin_header.ts)
|
|
574
|
+
|
|
575
|
+
```typescript
|
|
576
|
+
interface SourceSimplePinHeader extends SourceComponentBase {
|
|
577
|
+
ftype: "simple_pin_header"
|
|
578
|
+
pin_count: number
|
|
579
|
+
gender: "male" | "female"
|
|
580
|
+
}
|
|
581
|
+
```
|
|
582
|
+
|
|
568
583
|
### SourceSimplePinout
|
|
569
584
|
|
|
570
585
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_pinout.ts)
|
|
@@ -578,6 +593,17 @@ interface SourceSimplePinout extends SourceComponentBase {
|
|
|
578
593
|
}
|
|
579
594
|
```
|
|
580
595
|
|
|
596
|
+
### SourceSimplePotentiometer
|
|
597
|
+
|
|
598
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_potentiometer.ts)
|
|
599
|
+
|
|
600
|
+
```typescript
|
|
601
|
+
interface SourceSimplePotentiometer extends SourceComponentBase {
|
|
602
|
+
ftype: "simple_potentiometer"
|
|
603
|
+
max_resistance: number
|
|
604
|
+
}
|
|
605
|
+
```
|
|
606
|
+
|
|
581
607
|
### SourceSimplePowerSource
|
|
582
608
|
|
|
583
609
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_power_source.ts)
|