circuit-json 0.0.334 → 0.0.336
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 +15 -0
- package/dist/index.d.mts +255 -2
- package/dist/index.mjs +1304 -1289
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -66,6 +66,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
66
66
|
- [SourceSimpleChip](#sourcesimplechip)
|
|
67
67
|
- [SourceSimpleCrystal](#sourcesimplecrystal)
|
|
68
68
|
- [SourceSimpleDiode](#sourcesimplediode)
|
|
69
|
+
- [SourceSimpleFiducial](#sourcesimplefiducial)
|
|
69
70
|
- [SourceSimpleFuse](#sourcesimplefuse)
|
|
70
71
|
- [SourceSimpleGround](#sourcesimpleground)
|
|
71
72
|
- [SourceSimpleInductor](#sourcesimpleinductor)
|
|
@@ -591,6 +592,19 @@ interface SourceSimpleDiode extends SourceComponentBase {
|
|
|
591
592
|
}
|
|
592
593
|
```
|
|
593
594
|
|
|
595
|
+
### SourceSimpleFiducial
|
|
596
|
+
|
|
597
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_fiducial.ts)
|
|
598
|
+
|
|
599
|
+
Defines a simple fiducial component
|
|
600
|
+
|
|
601
|
+
```typescript
|
|
602
|
+
/** Defines a simple fiducial component */
|
|
603
|
+
interface SourceSimpleFiducial extends SourceComponentBase {
|
|
604
|
+
ftype: "simple_fiducial"
|
|
605
|
+
}
|
|
606
|
+
```
|
|
607
|
+
|
|
594
608
|
### SourceSimpleFuse
|
|
595
609
|
|
|
596
610
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_fuse.ts)
|
|
@@ -1400,6 +1414,7 @@ interface PcbHoleCircle {
|
|
|
1400
1414
|
pcb_hole_id: string
|
|
1401
1415
|
pcb_group_id?: string
|
|
1402
1416
|
subcircuit_id?: string
|
|
1417
|
+
pcb_component_id?: string
|
|
1403
1418
|
hole_shape: "circle"
|
|
1404
1419
|
hole_diameter: number
|
|
1405
1420
|
x: Distance
|