circuit-json 0.0.429 → 0.0.430
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 +24 -0
- package/dist/index.d.mts +91 -15
- package/dist/index.mjs +20 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -189,6 +189,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
|
|
|
189
189
|
- [SimulationCurrentSource](#simulationcurrentsource)
|
|
190
190
|
- [SimulationExperiment](#simulationexperiment)
|
|
191
191
|
- [SimulationOpAmp](#simulationopamp)
|
|
192
|
+
- [SimulationSpiceSubcircuit](#simulationspicesubcircuit)
|
|
192
193
|
- [SimulationSwitch](#simulationswitch)
|
|
193
194
|
- [SimulationTransientVoltageGraph](#simulationtransientvoltagegraph)
|
|
194
195
|
- [SimulationUnknownExperimentError](#simulationunknownexperimenterror)
|
|
@@ -3268,6 +3269,29 @@ interface SimulationOpAmp {
|
|
|
3268
3269
|
}
|
|
3269
3270
|
```
|
|
3270
3271
|
|
|
3272
|
+
### SimulationSpiceSubcircuit
|
|
3273
|
+
|
|
3274
|
+
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_spice_subcircuit.ts)
|
|
3275
|
+
|
|
3276
|
+
Defines a custom SPICE subcircuit model for simulation.
|
|
3277
|
+
|
|
3278
|
+
```typescript
|
|
3279
|
+
/** Defines a custom SPICE subcircuit model for simulation. */
|
|
3280
|
+
interface SimulationSpiceSubcircuit {
|
|
3281
|
+
type: "simulation_spice_subcircuit"
|
|
3282
|
+
simulation_spice_subcircuit_id: string
|
|
3283
|
+
/** Source component this SPICE subcircuit models. */
|
|
3284
|
+
|
|
3285
|
+
source_component_id: string
|
|
3286
|
+
/** Maps SPICE subcircuit pin names to source port ids. */
|
|
3287
|
+
|
|
3288
|
+
spice_pin_to_source_port_map: Record<string, string>
|
|
3289
|
+
/** Full SPICE subcircuit source text. */
|
|
3290
|
+
|
|
3291
|
+
subcircuit_source: string
|
|
3292
|
+
}
|
|
3293
|
+
```
|
|
3294
|
+
|
|
3271
3295
|
### SimulationSwitch
|
|
3272
3296
|
|
|
3273
3297
|
[Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_switch.ts)
|
package/dist/index.d.mts
CHANGED
|
@@ -25991,6 +25991,46 @@ interface SimulationOpAmp {
|
|
|
25991
25991
|
negative_supply_source_port_id: string;
|
|
25992
25992
|
}
|
|
25993
25993
|
|
|
25994
|
+
declare const simulation_spice_subcircuit: z.ZodObject<{
|
|
25995
|
+
type: z.ZodLiteral<"simulation_spice_subcircuit">;
|
|
25996
|
+
simulation_spice_subcircuit_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
25997
|
+
source_component_id: z.ZodString;
|
|
25998
|
+
spice_pin_to_source_port_map: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
25999
|
+
subcircuit_source: z.ZodString;
|
|
26000
|
+
}, "strip", z.ZodTypeAny, {
|
|
26001
|
+
type: "simulation_spice_subcircuit";
|
|
26002
|
+
source_component_id: string;
|
|
26003
|
+
simulation_spice_subcircuit_id: string;
|
|
26004
|
+
spice_pin_to_source_port_map: Record<string, string>;
|
|
26005
|
+
subcircuit_source: string;
|
|
26006
|
+
}, {
|
|
26007
|
+
type: "simulation_spice_subcircuit";
|
|
26008
|
+
source_component_id: string;
|
|
26009
|
+
spice_pin_to_source_port_map: Record<string, string>;
|
|
26010
|
+
subcircuit_source: string;
|
|
26011
|
+
simulation_spice_subcircuit_id?: string | undefined;
|
|
26012
|
+
}>;
|
|
26013
|
+
type SimulationSpiceSubcircuitInput = z.input<typeof simulation_spice_subcircuit>;
|
|
26014
|
+
/**
|
|
26015
|
+
* Defines a custom SPICE subcircuit model for simulation.
|
|
26016
|
+
*/
|
|
26017
|
+
interface SimulationSpiceSubcircuit {
|
|
26018
|
+
type: "simulation_spice_subcircuit";
|
|
26019
|
+
simulation_spice_subcircuit_id: string;
|
|
26020
|
+
/**
|
|
26021
|
+
* Source component this SPICE subcircuit models.
|
|
26022
|
+
*/
|
|
26023
|
+
source_component_id: string;
|
|
26024
|
+
/**
|
|
26025
|
+
* Maps SPICE subcircuit pin names to source port ids.
|
|
26026
|
+
*/
|
|
26027
|
+
spice_pin_to_source_port_map: Record<string, string>;
|
|
26028
|
+
/**
|
|
26029
|
+
* Full SPICE subcircuit source text.
|
|
26030
|
+
*/
|
|
26031
|
+
subcircuit_source: string;
|
|
26032
|
+
}
|
|
26033
|
+
|
|
25994
26034
|
interface SourceComponentBase {
|
|
25995
26035
|
type: "source_component";
|
|
25996
26036
|
ftype?: string;
|
|
@@ -30306,12 +30346,12 @@ declare const asset: z.ZodObject<{
|
|
|
30306
30346
|
url: z.ZodString;
|
|
30307
30347
|
mimetype: z.ZodString;
|
|
30308
30348
|
}, "strip", z.ZodTypeAny, {
|
|
30309
|
-
project_relative_path: string;
|
|
30310
30349
|
url: string;
|
|
30350
|
+
project_relative_path: string;
|
|
30311
30351
|
mimetype: string;
|
|
30312
30352
|
}, {
|
|
30313
|
-
project_relative_path: string;
|
|
30314
30353
|
url: string;
|
|
30354
|
+
project_relative_path: string;
|
|
30315
30355
|
mimetype: string;
|
|
30316
30356
|
}>;
|
|
30317
30357
|
type AssetInput = z.input<typeof asset>;
|
|
@@ -32983,12 +33023,12 @@ declare const cad_component: z.ZodObject<{
|
|
|
32983
33023
|
url: z.ZodString;
|
|
32984
33024
|
mimetype: z.ZodString;
|
|
32985
33025
|
}, "strip", z.ZodTypeAny, {
|
|
32986
|
-
project_relative_path: string;
|
|
32987
33026
|
url: string;
|
|
33027
|
+
project_relative_path: string;
|
|
32988
33028
|
mimetype: string;
|
|
32989
33029
|
}, {
|
|
32990
|
-
project_relative_path: string;
|
|
32991
33030
|
url: string;
|
|
33031
|
+
project_relative_path: string;
|
|
32992
33032
|
mimetype: string;
|
|
32993
33033
|
}>>;
|
|
32994
33034
|
model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
|
|
@@ -33045,8 +33085,8 @@ declare const cad_component: z.ZodObject<{
|
|
|
33045
33085
|
model_step_url?: string | undefined;
|
|
33046
33086
|
model_wrl_url?: string | undefined;
|
|
33047
33087
|
model_asset?: {
|
|
33048
|
-
project_relative_path: string;
|
|
33049
33088
|
url: string;
|
|
33089
|
+
project_relative_path: string;
|
|
33050
33090
|
mimetype: string;
|
|
33051
33091
|
} | undefined;
|
|
33052
33092
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
@@ -33094,8 +33134,8 @@ declare const cad_component: z.ZodObject<{
|
|
|
33094
33134
|
model_step_url?: string | undefined;
|
|
33095
33135
|
model_wrl_url?: string | undefined;
|
|
33096
33136
|
model_asset?: {
|
|
33097
|
-
project_relative_path: string;
|
|
33098
33137
|
url: string;
|
|
33138
|
+
project_relative_path: string;
|
|
33099
33139
|
mimetype: string;
|
|
33100
33140
|
} | undefined;
|
|
33101
33141
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
@@ -50998,12 +51038,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
50998
51038
|
url: z.ZodString;
|
|
50999
51039
|
mimetype: z.ZodString;
|
|
51000
51040
|
}, "strip", z.ZodTypeAny, {
|
|
51001
|
-
project_relative_path: string;
|
|
51002
51041
|
url: string;
|
|
51042
|
+
project_relative_path: string;
|
|
51003
51043
|
mimetype: string;
|
|
51004
51044
|
}, {
|
|
51005
|
-
project_relative_path: string;
|
|
51006
51045
|
url: string;
|
|
51046
|
+
project_relative_path: string;
|
|
51007
51047
|
mimetype: string;
|
|
51008
51048
|
}>>;
|
|
51009
51049
|
model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
|
|
@@ -51060,8 +51100,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
51060
51100
|
model_step_url?: string | undefined;
|
|
51061
51101
|
model_wrl_url?: string | undefined;
|
|
51062
51102
|
model_asset?: {
|
|
51063
|
-
project_relative_path: string;
|
|
51064
51103
|
url: string;
|
|
51104
|
+
project_relative_path: string;
|
|
51065
51105
|
mimetype: string;
|
|
51066
51106
|
} | undefined;
|
|
51067
51107
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
@@ -51109,8 +51149,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
51109
51149
|
model_step_url?: string | undefined;
|
|
51110
51150
|
model_wrl_url?: string | undefined;
|
|
51111
51151
|
model_asset?: {
|
|
51112
|
-
project_relative_path: string;
|
|
51113
51152
|
url: string;
|
|
51153
|
+
project_relative_path: string;
|
|
51114
51154
|
mimetype: string;
|
|
51115
51155
|
} | undefined;
|
|
51116
51156
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
@@ -51457,6 +51497,24 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
51457
51497
|
negative_supply_source_port_id: string;
|
|
51458
51498
|
source_component_id?: string | undefined;
|
|
51459
51499
|
simulation_op_amp_id?: string | undefined;
|
|
51500
|
+
}>, z.ZodObject<{
|
|
51501
|
+
type: z.ZodLiteral<"simulation_spice_subcircuit">;
|
|
51502
|
+
simulation_spice_subcircuit_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
51503
|
+
source_component_id: z.ZodString;
|
|
51504
|
+
spice_pin_to_source_port_map: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
51505
|
+
subcircuit_source: z.ZodString;
|
|
51506
|
+
}, "strip", z.ZodTypeAny, {
|
|
51507
|
+
type: "simulation_spice_subcircuit";
|
|
51508
|
+
source_component_id: string;
|
|
51509
|
+
simulation_spice_subcircuit_id: string;
|
|
51510
|
+
spice_pin_to_source_port_map: Record<string, string>;
|
|
51511
|
+
subcircuit_source: string;
|
|
51512
|
+
}, {
|
|
51513
|
+
type: "simulation_spice_subcircuit";
|
|
51514
|
+
source_component_id: string;
|
|
51515
|
+
spice_pin_to_source_port_map: Record<string, string>;
|
|
51516
|
+
subcircuit_source: string;
|
|
51517
|
+
simulation_spice_subcircuit_id?: string | undefined;
|
|
51460
51518
|
}>]>;
|
|
51461
51519
|
/**
|
|
51462
51520
|
* @deprecated use any_circuit_element instead
|
|
@@ -69315,12 +69373,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
69315
69373
|
url: z.ZodString;
|
|
69316
69374
|
mimetype: z.ZodString;
|
|
69317
69375
|
}, "strip", z.ZodTypeAny, {
|
|
69318
|
-
project_relative_path: string;
|
|
69319
69376
|
url: string;
|
|
69377
|
+
project_relative_path: string;
|
|
69320
69378
|
mimetype: string;
|
|
69321
69379
|
}, {
|
|
69322
|
-
project_relative_path: string;
|
|
69323
69380
|
url: string;
|
|
69381
|
+
project_relative_path: string;
|
|
69324
69382
|
mimetype: string;
|
|
69325
69383
|
}>>;
|
|
69326
69384
|
model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
|
|
@@ -69377,8 +69435,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
69377
69435
|
model_step_url?: string | undefined;
|
|
69378
69436
|
model_wrl_url?: string | undefined;
|
|
69379
69437
|
model_asset?: {
|
|
69380
|
-
project_relative_path: string;
|
|
69381
69438
|
url: string;
|
|
69439
|
+
project_relative_path: string;
|
|
69382
69440
|
mimetype: string;
|
|
69383
69441
|
} | undefined;
|
|
69384
69442
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
@@ -69426,8 +69484,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
69426
69484
|
model_step_url?: string | undefined;
|
|
69427
69485
|
model_wrl_url?: string | undefined;
|
|
69428
69486
|
model_asset?: {
|
|
69429
|
-
project_relative_path: string;
|
|
69430
69487
|
url: string;
|
|
69488
|
+
project_relative_path: string;
|
|
69431
69489
|
mimetype: string;
|
|
69432
69490
|
} | undefined;
|
|
69433
69491
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
@@ -69774,6 +69832,24 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
69774
69832
|
negative_supply_source_port_id: string;
|
|
69775
69833
|
source_component_id?: string | undefined;
|
|
69776
69834
|
simulation_op_amp_id?: string | undefined;
|
|
69835
|
+
}>, z.ZodObject<{
|
|
69836
|
+
type: z.ZodLiteral<"simulation_spice_subcircuit">;
|
|
69837
|
+
simulation_spice_subcircuit_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
69838
|
+
source_component_id: z.ZodString;
|
|
69839
|
+
spice_pin_to_source_port_map: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
69840
|
+
subcircuit_source: z.ZodString;
|
|
69841
|
+
}, "strip", z.ZodTypeAny, {
|
|
69842
|
+
type: "simulation_spice_subcircuit";
|
|
69843
|
+
source_component_id: string;
|
|
69844
|
+
simulation_spice_subcircuit_id: string;
|
|
69845
|
+
spice_pin_to_source_port_map: Record<string, string>;
|
|
69846
|
+
subcircuit_source: string;
|
|
69847
|
+
}, {
|
|
69848
|
+
type: "simulation_spice_subcircuit";
|
|
69849
|
+
source_component_id: string;
|
|
69850
|
+
spice_pin_to_source_port_map: Record<string, string>;
|
|
69851
|
+
subcircuit_source: string;
|
|
69852
|
+
simulation_spice_subcircuit_id?: string | undefined;
|
|
69777
69853
|
}>]>;
|
|
69778
69854
|
type AnyCircuitElement = z.infer<typeof any_circuit_element>;
|
|
69779
69855
|
type AnyCircuitElementInput = z.input<typeof any_circuit_element>;
|
|
@@ -69791,4 +69867,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
|
|
|
69791
69867
|
*/
|
|
69792
69868
|
type CircuitJson = AnyCircuitElement[];
|
|
69793
69869
|
|
|
69794
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type Asset, type AssetInput, type BRepShape, type BaseCircuitJsonError, type BaseCircuitJsonErrorInput, type CadComponent, type CadComponentAnchorAlignment, type CadComponentInput, type CadModelAxisDirection, type CadModelFormat, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type KicadAt, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayerRef, type LayerRefInput, type Length, type ManufacturingDrcProperties, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPanelizationPlacementError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentMetadata, type PcbComponentNotOnBoardEdgeError, type PcbComponentNotOnBoardEdgeErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbConnectorNotInAccessibleOrientationWarning, type PcbConnectorNotInAccessibleOrientationWarningInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardCircle, type PcbCourtyardCircleInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardOverlapError, type PcbCourtyardOverlapErrorInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPadPadClearanceError, type PcbPadPadClearanceErrorInput, type PcbPadTraceClearanceError, type PcbPadTraceClearanceErrorInput, type PcbPanel, type PcbPanelInput, type PcbPanelizationPlacementError, type PcbPanelizationPlacementErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRenderLayer, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointThroughPad, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbTraceWarning, type PcbTraceWarningInput, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type PcbViaTraceClearanceError, type PcbViaTraceClearanceErrorInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicSymbol, type SchematicSymbolInput, type SchematicSymbolMetadata, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationOpAmp, type SimulationOpAmpInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceAmbiguousPortReference, type SourceAmbiguousPortReferenceInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceComponentMisconfiguredError, type SourceComponentMisconfiguredErrorInput, type SourceComponentPinsUnderspecifiedWarning, type SourceComponentPinsUnderspecifiedWarningInput, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceI2cMisconfiguredError, type SourceI2cMisconfiguredErrorInput, type SourceInterconnect, type SourceInterconnectInput, type SourceInvalidComponentPropertyError, type SourceInvalidComponentPropertyErrorInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingManufacturerPartNumberWarning, type SourceMissingManufacturerPartNumberWarningInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourceNoGroundPinDefinedWarning, type SourceNoGroundPinDefinedWarningInput, type SourceNoPowerPinDefinedWarning, type SourceNoPowerPinDefinedWarningInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinAttributes, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleConnector, type SourceSimpleConnectorInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleCurrentSource, type SourceSimpleCurrentSourceInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimpleOpAmp, type SourceSimpleOpAmpInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceSimpleVoltageSource, type SourceSimpleVoltageSourceInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierFootprintMismatchWarning, type SupplierFootprintMismatchWarningInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, asset, base_circuit_json_error, battery_capacity, brep_shape, cadModelDefaultDirectionMap, cad_component, cad_model_axis_directions, cad_model_formats, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layer_ref, layer_string, length, manufacturing_drc_properties, ms, ninePointAnchor, pcbRenderLayer, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_not_on_board_edge_error, pcb_component_outside_board_error, pcb_connector_not_in_accessible_orientation_warning, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_circle, pcb_courtyard_outline, pcb_courtyard_overlap_error, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_pad_pad_clearance_error, pcb_pad_trace_clearance_error, pcb_panel, pcb_panelization_placement_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_pill, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_through_pad, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_trace_warning, pcb_via, pcb_via_clearance_error, pcb_via_trace_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_symbol, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_voltage_source, simulation_current_source, simulation_dc_current_source, simulation_dc_voltage_source, simulation_experiment, simulation_op_amp, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_ambiguous_port_reference, source_board, source_component_base, source_component_internal_connection, source_component_misconfigured_error, source_component_pins_underspecified_warning, source_failed_to_create_component_error, source_group, source_i2c_misconfigured_error, source_interconnect, source_invalid_component_property_error, source_manually_placed_via, source_missing_manufacturer_part_number_warning, source_missing_property_error, source_net, source_no_ground_pin_defined_warning, source_no_power_pin_defined_warning, source_pcb_ground_plane, source_pin_attributes, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_connector, source_simple_crystal, source_simple_current_source, source_simple_diode, source_simple_fiducial, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_op_amp, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_simple_voltage_source, source_trace, source_trace_not_connected_error, supplier_footprint_mismatch_warning, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
|
|
69870
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type Asset, type AssetInput, type BRepShape, type BaseCircuitJsonError, type BaseCircuitJsonErrorInput, type CadComponent, type CadComponentAnchorAlignment, type CadComponentInput, type CadModelAxisDirection, type CadModelFormat, type CircuitJson, type CircuitJsonError, type CircuitJsonFootprintLoadError, type CircuitJsonFootprintLoadErrorInput, type Distance, type ExperimentType, type ExternalFootprintLoadError, type ExternalFootprintLoadErrorInput, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type KicadAt, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayerRef, type LayerRefInput, type Length, type ManufacturingDrcProperties, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBCopperText, type PCBCourtyardOutline, type PCBCourtyardPolygon, type PCBCourtyardRect, type PCBFabricationNoteDimension, type PCBFabricationNotePath, type PCBFabricationNoteRect, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPanel, type PCBPanelizationPlacementError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbComponentInvalidLayerError, type PcbComponentInvalidLayerErrorInput, type PcbComponentMetadata, type PcbComponentNotOnBoardEdgeError, type PcbComponentNotOnBoardEdgeErrorInput, type PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbConnectorNotInAccessibleOrientationWarning, type PcbConnectorNotInAccessibleOrientationWarningInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCopperText, type PcbCopperTextInput, type PcbCourtyardCircle, type PcbCourtyardCircleInput, type PcbCourtyardOutline, type PcbCourtyardOutlineInput, type PcbCourtyardOverlapError, type PcbCourtyardOverlapErrorInput, type PcbCourtyardPolygon, type PcbCourtyardPolygonInput, type PcbCourtyardRect, type PcbCourtyardRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPath, type PcbCutoutPathInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNoteDimension, type PcbFabricationNoteDimensionInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteRect, type PcbFabricationNoteRectInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircle, type PcbHoleCircleInput, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePill, type PcbHolePillInput, type PcbHolePillWithRectPad, type PcbHoleRect, type PcbHoleRectInput, type PcbHoleRotatedPill, type PcbHoleRotatedPillInput, type PcbHoleRotatedPillWithRectPad, type PcbHoleWithPolygonPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, type PcbNoteDimension, type PcbNoteDimensionInput, type PcbNoteLine, type PcbNoteLineInput, type PcbNotePath, type PcbNotePathInput, type PcbNoteRect, type PcbNoteRectInput, type PcbNoteText, type PcbNoteTextInput, type PcbPadPadClearanceError, type PcbPadPadClearanceErrorInput, type PcbPadTraceClearanceError, type PcbPadTraceClearanceErrorInput, type PcbPanel, type PcbPanelInput, type PcbPanelizationPlacementError, type PcbPanelizationPlacementErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRenderLayer, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenPill, type PcbSilkscreenPillDeprecated, type PcbSilkscreenPillInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointThroughPad, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbTraceWarning, type PcbTraceWarningInput, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, type PcbViaTraceClearanceError, type PcbViaTraceClearanceErrorInput, type Point, type Point3, type PointWithBulge, type Position, type Ring, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicArc, type SchematicArcInput, type SchematicBox, type SchematicBoxInput, type SchematicCircle, type SchematicCircleInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugPoint, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicGroup, type SchematicGroupInput, type SchematicLayoutError, type SchematicLayoutErrorInput, type SchematicLine, type SchematicLineInput, type SchematicManualEditConflictWarning, type SchematicManualEditConflictWarningInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortArrangement, type SchematicPortArrangementBySides, type SchematicPortArrangementBySize, type SchematicPortInput, type SchematicRect, type SchematicRectInput, type SchematicSheet, type SchematicSheetInput, type SchematicSymbol, type SchematicSymbolInput, type SchematicSymbolMetadata, type SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcCurrentSource, type SimulationAcCurrentSourceInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationCurrentSource, type SimulationCurrentSourceInput, type SimulationDcCurrentSource, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationOpAmp, type SimulationOpAmpInput, type SimulationSpiceSubcircuit, type SimulationSpiceSubcircuitInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationUnknownExperimentError, type SimulationUnknownExperimentErrorInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceAmbiguousPortReference, type SourceAmbiguousPortReferenceInput, type SourceBoard, type SourceBoardInput, type SourceComponentBase, type SourceComponentInternalConnection, type SourceComponentMisconfiguredError, type SourceComponentMisconfiguredErrorInput, type SourceComponentPinsUnderspecifiedWarning, type SourceComponentPinsUnderspecifiedWarningInput, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceI2cMisconfiguredError, type SourceI2cMisconfiguredErrorInput, type SourceInterconnect, type SourceInterconnectInput, type SourceInvalidComponentPropertyError, type SourceInvalidComponentPropertyErrorInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingManufacturerPartNumberWarning, type SourceMissingManufacturerPartNumberWarningInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourceNoGroundPinDefinedWarning, type SourceNoGroundPinDefinedWarningInput, type SourceNoPowerPinDefinedWarning, type SourceNoPowerPinDefinedWarningInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinAttributes, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePinMustBeConnectedError, type SourcePinMustBeConnectedErrorInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleConnector, type SourceSimpleConnectorInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleCurrentSource, type SourceSimpleCurrentSourceInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleFiducial, type SourceSimpleFiducialInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimpleOpAmp, type SourceSimpleOpAmpInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceSimpleVoltageProbe, type SourceSimpleVoltageProbeInput, type SourceSimpleVoltageSource, type SourceSimpleVoltageSourceInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierFootprintMismatchWarning, type SupplierFootprintMismatchWarningInput, type SupplierName, type UnknownErrorFindingPart, type UnknownErrorFindingPartInput, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, asset, base_circuit_json_error, battery_capacity, brep_shape, cadModelDefaultDirectionMap, cad_component, cad_model_axis_directions, cad_model_formats, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layer_ref, layer_string, length, manufacturing_drc_properties, ms, ninePointAnchor, pcbRenderLayer, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_invalid_layer_error, pcb_component_not_on_board_edge_error, pcb_component_outside_board_error, pcb_connector_not_in_accessible_orientation_warning, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_copper_text, pcb_courtyard_circle, pcb_courtyard_outline, pcb_courtyard_overlap_error, pcb_courtyard_polygon, pcb_courtyard_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_path, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_dimension, pcb_fabrication_note_path, pcb_fabrication_note_rect, pcb_fabrication_note_text, pcb_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_circle_shape, pcb_hole_oval_shape, pcb_hole_pill_shape, pcb_hole_rect_shape, pcb_hole_rotated_pill_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, pcb_note_dimension, pcb_note_line, pcb_note_path, pcb_note_rect, pcb_note_text, pcb_pad_pad_clearance_error, pcb_pad_trace_clearance_error, pcb_panel, pcb_panelization_placement_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_pill, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_through_pad, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_trace_warning, pcb_via, pcb_via_clearance_error, pcb_via_trace_clearance_error, point, point3, point_with_bulge, port_arrangement, position, position3, resistance, ring, rotation, route_hint_point, schematic_arc, schematic_box, schematic_circle, schematic_component, schematic_component_port_arrangement_by_sides, schematic_component_port_arrangement_by_size, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_point, schematic_debug_rect, schematic_error, schematic_group, schematic_layout_error, schematic_line, schematic_manual_edit_conflict_warning, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_rect, schematic_sheet, schematic_symbol, schematic_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_current_source, simulation_ac_voltage_source, simulation_current_source, simulation_dc_current_source, simulation_dc_voltage_source, simulation_experiment, simulation_op_amp, simulation_spice_subcircuit, simulation_switch, simulation_transient_voltage_graph, simulation_unknown_experiment_error, simulation_voltage_probe, simulation_voltage_source, size, source_ambiguous_port_reference, source_board, source_component_base, source_component_internal_connection, source_component_misconfigured_error, source_component_pins_underspecified_warning, source_failed_to_create_component_error, source_group, source_i2c_misconfigured_error, source_interconnect, source_invalid_component_property_error, source_manually_placed_via, source_missing_manufacturer_part_number_warning, source_missing_property_error, source_net, source_no_ground_pin_defined_warning, source_no_power_pin_defined_warning, source_pcb_ground_plane, source_pin_attributes, source_pin_missing_trace_warning, source_pin_must_be_connected_error, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_connector, source_simple_crystal, source_simple_current_source, source_simple_diode, source_simple_fiducial, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_op_amp, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_simple_voltage_probe, source_simple_voltage_source, source_trace, source_trace_not_connected_error, supplier_footprint_mismatch_warning, supplier_name, time, timestamp, unknown_error_finding_part, visible_layer, voltage, wave_shape };
|
package/dist/index.mjs
CHANGED
|
@@ -3797,9 +3797,24 @@ var simulation_op_amp = z167.object({
|
|
|
3797
3797
|
}).describe("Defines a simple ideal operational amplifier for simulation");
|
|
3798
3798
|
expectTypesMatch(true);
|
|
3799
3799
|
|
|
3800
|
-
// src/
|
|
3800
|
+
// src/simulation/simulation_spice_subcircuit.ts
|
|
3801
3801
|
import { z as z168 } from "zod";
|
|
3802
|
-
var
|
|
3802
|
+
var simulation_spice_subcircuit = z168.object({
|
|
3803
|
+
type: z168.literal("simulation_spice_subcircuit"),
|
|
3804
|
+
simulation_spice_subcircuit_id: getZodPrefixedIdWithDefault(
|
|
3805
|
+
"simulation_spice_subcircuit"
|
|
3806
|
+
),
|
|
3807
|
+
source_component_id: z168.string(),
|
|
3808
|
+
spice_pin_to_source_port_map: z168.record(z168.string(), z168.string()),
|
|
3809
|
+
subcircuit_source: z168.string()
|
|
3810
|
+
}).describe("Defines a custom SPICE subcircuit model for simulation");
|
|
3811
|
+
expectTypesMatch(
|
|
3812
|
+
true
|
|
3813
|
+
);
|
|
3814
|
+
|
|
3815
|
+
// src/any_circuit_element.ts
|
|
3816
|
+
import { z as z169 } from "zod";
|
|
3817
|
+
var any_circuit_element = z169.union([
|
|
3803
3818
|
source_trace,
|
|
3804
3819
|
source_port,
|
|
3805
3820
|
source_component_internal_connection,
|
|
@@ -3934,7 +3949,8 @@ var any_circuit_element = z168.union([
|
|
|
3934
3949
|
simulation_switch,
|
|
3935
3950
|
simulation_voltage_probe,
|
|
3936
3951
|
simulation_unknown_experiment_error,
|
|
3937
|
-
simulation_op_amp
|
|
3952
|
+
simulation_op_amp,
|
|
3953
|
+
simulation_spice_subcircuit
|
|
3938
3954
|
]);
|
|
3939
3955
|
var any_soup_element = any_circuit_element;
|
|
3940
3956
|
expectTypesMatch(true);
|
|
@@ -4111,6 +4127,7 @@ export {
|
|
|
4111
4127
|
simulation_dc_voltage_source,
|
|
4112
4128
|
simulation_experiment,
|
|
4113
4129
|
simulation_op_amp,
|
|
4130
|
+
simulation_spice_subcircuit,
|
|
4114
4131
|
simulation_switch,
|
|
4115
4132
|
simulation_transient_voltage_graph,
|
|
4116
4133
|
simulation_unknown_experiment_error,
|