circuit-json 0.0.296 → 0.0.298
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 +22 -0
- package/dist/index.d.mts +769 -662
- package/dist/index.mjs +22 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -161,6 +161,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
161
161
|
- [SimulationExperiment](#simulationexperiment)
|
|
162
162
|
- [SimulationSwitch](#simulationswitch)
|
|
163
163
|
- [SimulationTransientVoltageGraph](#simulationtransientvoltagegraph)
|
|
164
|
+
- [SimulationUnknownExperimentError](#simulationunknownexperimenterror)
|
|
164
165
|
- [SimulationVoltageProbe](#simulationvoltageprobe)
|
|
165
166
|
- [SimulationVoltageSource](#simulationvoltagesource)
|
|
166
167
|
|
|
@@ -1180,6 +1181,7 @@ interface PcbFabricationNoteRect {
|
|
|
1180
1181
|
height: Length
|
|
1181
1182
|
layer: VisibleLayer
|
|
1182
1183
|
stroke_width: Length
|
|
1184
|
+
corner_radius?: Length
|
|
1183
1185
|
is_filled?: boolean
|
|
1184
1186
|
has_stroke?: boolean
|
|
1185
1187
|
is_stroke_dashed?: boolean
|
|
@@ -1483,6 +1485,7 @@ interface PcbNoteRect {
|
|
|
1483
1485
|
width: Length
|
|
1484
1486
|
height: Length
|
|
1485
1487
|
stroke_width: Length
|
|
1488
|
+
corner_radius?: Length
|
|
1486
1489
|
is_filled?: boolean
|
|
1487
1490
|
has_stroke?: boolean
|
|
1488
1491
|
is_stroke_dashed?: boolean
|
|
@@ -1847,6 +1850,7 @@ interface PcbSilkscreenRect {
|
|
|
1847
1850
|
height: Length
|
|
1848
1851
|
layer: LayerRef
|
|
1849
1852
|
stroke_width: Length
|
|
1853
|
+
corner_radius?: Length
|
|
1850
1854
|
is_filled?: boolean
|
|
1851
1855
|
has_stroke?: boolean
|
|
1852
1856
|
is_stroke_dashed?: boolean
|
|
@@ -2603,6 +2607,24 @@ interface SimulationTransientVoltageGraph {
|
|
|
2603
2607
|
}
|
|
2604
2608
|
```
|
|
2605
2609
|
|
|
2610
|
+
### SimulationUnknownExperimentError
|
|
2611
|
+
|
|
2612
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_unknown_experiment_error.ts)
|
|
2613
|
+
|
|
2614
|
+
An unknown error occurred during the simulation experiment.
|
|
2615
|
+
|
|
2616
|
+
```typescript
|
|
2617
|
+
/** An unknown error occurred during the simulation experiment. */
|
|
2618
|
+
interface SimulationUnknownExperimentError {
|
|
2619
|
+
type: "simulation_unknown_experiment_error"
|
|
2620
|
+
simulation_unknown_experiment_error_id: string
|
|
2621
|
+
error_type: "simulation_unknown_experiment_error"
|
|
2622
|
+
message: string
|
|
2623
|
+
simulation_experiment_id?: string
|
|
2624
|
+
subcircuit_id?: string
|
|
2625
|
+
}
|
|
2626
|
+
```
|
|
2627
|
+
|
|
2606
2628
|
### SimulationVoltageProbe
|
|
2607
2629
|
|
|
2608
2630
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_voltage_probe.ts)
|