circuit-json 0.0.180 → 0.0.182
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 +21 -0
- package/dist/index.d.mts +390 -15
- package/dist/index.mjs +10 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,6 +101,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
101
101
|
- [SchematicGroup](#schematicgroup)
|
|
102
102
|
- [SchematicLine](#schematicline)
|
|
103
103
|
- [SchematicManualEditConflictWarning](#schematicmanualeditconflictwarning)
|
|
104
|
+
- [SchematicNetLabel](#schematicnetlabel)
|
|
104
105
|
- [SchematicPath](#schematicpath)
|
|
105
106
|
- [SchematicPort](#schematicport)
|
|
106
107
|
- [SchematicText](#schematictext)
|
|
@@ -196,6 +197,7 @@ interface SourceComponentBase {
|
|
|
196
197
|
display_value?: string
|
|
197
198
|
are_pins_interchangeable?: boolean
|
|
198
199
|
internally_connected_source_port_ids?: string[][]
|
|
200
|
+
source_group_id?: string
|
|
199
201
|
}
|
|
200
202
|
```
|
|
201
203
|
|
|
@@ -556,6 +558,7 @@ interface PcbComponent {
|
|
|
556
558
|
rotation: Rotation
|
|
557
559
|
width: Length
|
|
558
560
|
height: Length
|
|
561
|
+
pcb_group_id?: string
|
|
559
562
|
}
|
|
560
563
|
```
|
|
561
564
|
|
|
@@ -1207,6 +1210,24 @@ interface SchematicManualEditConflictWarning {
|
|
|
1207
1210
|
}
|
|
1208
1211
|
```
|
|
1209
1212
|
|
|
1213
|
+
### SchematicNetLabel
|
|
1214
|
+
|
|
1215
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/schematic/schematic_net_label.ts)
|
|
1216
|
+
|
|
1217
|
+
```typescript
|
|
1218
|
+
interface SchematicNetLabel {
|
|
1219
|
+
type: "schematic_net_label"
|
|
1220
|
+
schematic_net_label_id: string
|
|
1221
|
+
schematic_trace_id?: string
|
|
1222
|
+
source_net_id: string
|
|
1223
|
+
center: Point
|
|
1224
|
+
anchor_position?: Point | undefined
|
|
1225
|
+
anchor_side: "top" | "bottom" | "left" | "right"
|
|
1226
|
+
text: string
|
|
1227
|
+
symbol_name?: string | undefined
|
|
1228
|
+
}
|
|
1229
|
+
```
|
|
1230
|
+
|
|
1210
1231
|
### SchematicPath
|
|
1211
1232
|
|
|
1212
1233
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/schematic/schematic_path.ts)
|