circuit-json 0.0.514 → 0.0.515
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 +42 -0
- package/dist/index.d.mts +503 -2
- package/dist/index.mjs +2148 -2121
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,6 +63,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
63
63
|
- [SourceManuallyPlacedVia](#sourcemanuallyplacedvia)
|
|
64
64
|
- [SourceMissingManufacturerPartNumberWarning](#sourcemissingmanufacturerpartnumberwarning)
|
|
65
65
|
- [SourceMissingPropertyError](#sourcemissingpropertyerror)
|
|
66
|
+
- [SourceMotor](#sourcemotor)
|
|
66
67
|
- [SourceNet](#sourcenet)
|
|
67
68
|
- [SourceNoGroundPinDefinedWarning](#sourcenogroundpindefinedwarning)
|
|
68
69
|
- [SourceNoPowerPinDefinedWarning](#sourcenopowerpindefinedwarning)
|
|
@@ -72,6 +73,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
72
73
|
- [SourcePinMissingTraceWarning](#sourcepinmissingtracewarning)
|
|
73
74
|
- [SourcePinMustBeConnectedError](#sourcepinmustbeconnectederror)
|
|
74
75
|
- [SourcePort](#sourceport)
|
|
76
|
+
- [SourcePrintedPart](#sourceprintedpart)
|
|
75
77
|
- [SourceProjectMetadata](#sourceprojectmetadata)
|
|
76
78
|
- [SourcePropertyIgnoredWarning](#sourcepropertyignoredwarning)
|
|
77
79
|
- [SourceRefdesConventionWarning](#sourcerefdesconventionwarning)
|
|
@@ -102,6 +104,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
102
104
|
- [SourceSimpleTransistor](#sourcesimpletransistor)
|
|
103
105
|
- [SourceSimpleVoltageProbe](#sourcesimplevoltageprobe)
|
|
104
106
|
- [SourceSimpleVoltageSource](#sourcesimplevoltagesource)
|
|
107
|
+
- [SourceSubassembly](#sourcesubassembly)
|
|
105
108
|
- [SourceTrace](#sourcetrace)
|
|
106
109
|
- [SourceTraceNotConnectedError](#sourcetracenotconnectederror)
|
|
107
110
|
- [SourceUnnamedTraceWarning](#sourceunnamedtracewarning)
|
|
@@ -639,6 +642,19 @@ interface SourceMissingPropertyError extends BaseCircuitJsonError {
|
|
|
639
642
|
}
|
|
640
643
|
```
|
|
641
644
|
|
|
645
|
+
### SourceMotor
|
|
646
|
+
|
|
647
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_motor.ts)
|
|
648
|
+
|
|
649
|
+
Defines a motor component.
|
|
650
|
+
|
|
651
|
+
```typescript
|
|
652
|
+
/** Defines a motor component. */
|
|
653
|
+
interface SourceMotor extends SourceComponentBase {
|
|
654
|
+
ftype: "motor"
|
|
655
|
+
}
|
|
656
|
+
```
|
|
657
|
+
|
|
642
658
|
### SourceNet
|
|
643
659
|
|
|
644
660
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_net.ts)
|
|
@@ -854,6 +870,19 @@ interface SourcePort extends SourcePinAttributes {
|
|
|
854
870
|
}
|
|
855
871
|
```
|
|
856
872
|
|
|
873
|
+
### SourcePrintedPart
|
|
874
|
+
|
|
875
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_printed_part.ts)
|
|
876
|
+
|
|
877
|
+
Defines a 3D-printed part in an assembly.
|
|
878
|
+
|
|
879
|
+
```typescript
|
|
880
|
+
/** Defines a 3D-printed part in an assembly. */
|
|
881
|
+
interface SourcePrintedPart extends SourceComponentBase {
|
|
882
|
+
ftype: "printedpart"
|
|
883
|
+
}
|
|
884
|
+
```
|
|
885
|
+
|
|
857
886
|
### SourceProjectMetadata
|
|
858
887
|
|
|
859
888
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_project_metadata.ts)
|
|
@@ -1304,6 +1333,19 @@ interface SourceSimpleVoltageSource extends SourceComponentBase {
|
|
|
1304
1333
|
}
|
|
1305
1334
|
```
|
|
1306
1335
|
|
|
1336
|
+
### SourceSubassembly
|
|
1337
|
+
|
|
1338
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_subassembly.ts)
|
|
1339
|
+
|
|
1340
|
+
Defines a subassembly component.
|
|
1341
|
+
|
|
1342
|
+
```typescript
|
|
1343
|
+
/** Defines a subassembly component. */
|
|
1344
|
+
interface SourceSubassembly extends SourceComponentBase {
|
|
1345
|
+
ftype: "subassembly"
|
|
1346
|
+
}
|
|
1347
|
+
```
|
|
1348
|
+
|
|
1307
1349
|
### SourceTrace
|
|
1308
1350
|
|
|
1309
1351
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_trace.ts)
|