circuit-json 0.0.271 → 0.0.273

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 CHANGED
@@ -145,6 +145,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
145
145
  - [SimulationExperiment](#simulationexperiment)
146
146
  - [SimulationSwitch](#simulationswitch)
147
147
  - [SimulationTransientVoltageGraph](#simulationtransientvoltagegraph)
148
+ - [SimulationVoltageProbe](#simulationvoltageprobe)
148
149
  - [SimulationVoltageSource](#simulationvoltagesource)
149
150
 
150
151
  <!-- toc:end -->
@@ -282,6 +283,7 @@ interface SourceGroup {
282
283
  is_subcircuit?: boolean
283
284
  show_as_schematic_box?: boolean
284
285
  name?: string
286
+ was_automatically_named?: boolean
285
287
  }
286
288
  ```
287
289
 
@@ -2196,6 +2198,24 @@ interface SimulationTransientVoltageGraph {
2196
2198
  }
2197
2199
  ```
2198
2200
 
2201
+ ### SimulationVoltageProbe
2202
+
2203
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_voltage_probe.ts)
2204
+
2205
+ Defines a voltage probe for simulation, connected to a port or a net.
2206
+
2207
+ ```typescript
2208
+ /** Defines a voltage probe for simulation, connected to a port or a net. */
2209
+ interface SimulationVoltageProbe {
2210
+ type: "simulation_voltage_probe"
2211
+ simulation_voltage_probe_id: string
2212
+ source_port_id?: string
2213
+ source_net_id?: string
2214
+ name?: string
2215
+ subcircuit_id?: string
2216
+ }
2217
+ ```
2218
+
2199
2219
  ### SimulationVoltageSource
2200
2220
 
2201
2221
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_voltage_source.ts)
package/dist/index.d.mts CHANGED
@@ -9696,6 +9696,7 @@ declare const source_group: z.ZodObject<{
9696
9696
  is_subcircuit: z.ZodOptional<z.ZodBoolean>;
9697
9697
  show_as_schematic_box: z.ZodOptional<z.ZodBoolean>;
9698
9698
  name: z.ZodOptional<z.ZodString>;
9699
+ was_automatically_named: z.ZodOptional<z.ZodBoolean>;
9699
9700
  }, "strip", z.ZodTypeAny, {
9700
9701
  type: "source_group";
9701
9702
  source_group_id: string;
@@ -9705,6 +9706,7 @@ declare const source_group: z.ZodObject<{
9705
9706
  show_as_schematic_box?: boolean | undefined;
9706
9707
  parent_subcircuit_id?: string | undefined;
9707
9708
  parent_source_group_id?: string | undefined;
9709
+ was_automatically_named?: boolean | undefined;
9708
9710
  }, {
9709
9711
  type: "source_group";
9710
9712
  source_group_id: string;
@@ -9714,6 +9716,7 @@ declare const source_group: z.ZodObject<{
9714
9716
  show_as_schematic_box?: boolean | undefined;
9715
9717
  parent_subcircuit_id?: string | undefined;
9716
9718
  parent_source_group_id?: string | undefined;
9719
+ was_automatically_named?: boolean | undefined;
9717
9720
  }>;
9718
9721
  type SourceGroupInput = z.input<typeof source_group>;
9719
9722
  interface SourceGroup {
@@ -9725,6 +9728,7 @@ interface SourceGroup {
9725
9728
  is_subcircuit?: boolean;
9726
9729
  show_as_schematic_box?: boolean;
9727
9730
  name?: string;
9731
+ was_automatically_named?: boolean;
9728
9732
  }
9729
9733
 
9730
9734
  declare const source_net: z.ZodObject<{
@@ -10304,6 +10308,55 @@ interface SimulationSwitch {
10304
10308
  switching_frequency?: number;
10305
10309
  }
10306
10310
 
10311
+ declare const simulation_voltage_probe: z.ZodEffects<z.ZodObject<{
10312
+ type: z.ZodLiteral<"simulation_voltage_probe">;
10313
+ simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10314
+ source_port_id: z.ZodOptional<z.ZodString>;
10315
+ source_net_id: z.ZodOptional<z.ZodString>;
10316
+ name: z.ZodOptional<z.ZodString>;
10317
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10318
+ }, "strip", z.ZodTypeAny, {
10319
+ type: "simulation_voltage_probe";
10320
+ simulation_voltage_probe_id: string;
10321
+ name?: string | undefined;
10322
+ subcircuit_id?: string | undefined;
10323
+ source_port_id?: string | undefined;
10324
+ source_net_id?: string | undefined;
10325
+ }, {
10326
+ type: "simulation_voltage_probe";
10327
+ name?: string | undefined;
10328
+ subcircuit_id?: string | undefined;
10329
+ source_port_id?: string | undefined;
10330
+ source_net_id?: string | undefined;
10331
+ simulation_voltage_probe_id?: string | undefined;
10332
+ }>, {
10333
+ type: "simulation_voltage_probe";
10334
+ simulation_voltage_probe_id: string;
10335
+ name?: string | undefined;
10336
+ subcircuit_id?: string | undefined;
10337
+ source_port_id?: string | undefined;
10338
+ source_net_id?: string | undefined;
10339
+ }, {
10340
+ type: "simulation_voltage_probe";
10341
+ name?: string | undefined;
10342
+ subcircuit_id?: string | undefined;
10343
+ source_port_id?: string | undefined;
10344
+ source_net_id?: string | undefined;
10345
+ simulation_voltage_probe_id?: string | undefined;
10346
+ }>;
10347
+ type SimulationVoltageProbeInput = z.input<typeof simulation_voltage_probe>;
10348
+ /**
10349
+ * Defines a voltage probe for simulation, connected to a port or a net.
10350
+ */
10351
+ interface SimulationVoltageProbe {
10352
+ type: "simulation_voltage_probe";
10353
+ simulation_voltage_probe_id: string;
10354
+ source_port_id?: string;
10355
+ source_net_id?: string;
10356
+ name?: string;
10357
+ subcircuit_id?: string;
10358
+ }
10359
+
10307
10360
  declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10308
10361
  type: z.ZodLiteral<"source_trace">;
10309
10362
  source_trace_id: z.ZodString;
@@ -11422,6 +11475,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11422
11475
  is_subcircuit: z.ZodOptional<z.ZodBoolean>;
11423
11476
  show_as_schematic_box: z.ZodOptional<z.ZodBoolean>;
11424
11477
  name: z.ZodOptional<z.ZodString>;
11478
+ was_automatically_named: z.ZodOptional<z.ZodBoolean>;
11425
11479
  }, "strip", z.ZodTypeAny, {
11426
11480
  type: "source_group";
11427
11481
  source_group_id: string;
@@ -11431,6 +11485,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11431
11485
  show_as_schematic_box?: boolean | undefined;
11432
11486
  parent_subcircuit_id?: string | undefined;
11433
11487
  parent_source_group_id?: string | undefined;
11488
+ was_automatically_named?: boolean | undefined;
11434
11489
  }, {
11435
11490
  type: "source_group";
11436
11491
  source_group_id: string;
@@ -11440,6 +11495,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11440
11495
  show_as_schematic_box?: boolean | undefined;
11441
11496
  parent_subcircuit_id?: string | undefined;
11442
11497
  parent_source_group_id?: string | undefined;
11498
+ was_automatically_named?: boolean | undefined;
11443
11499
  }>, z.ZodObject<{
11444
11500
  type: z.ZodLiteral<"source_component">;
11445
11501
  source_component_id: z.ZodString;
@@ -16782,6 +16838,62 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
16782
16838
  schematic_voltage_probe_id?: string | undefined;
16783
16839
  simulation_transient_voltage_graph_id?: string | undefined;
16784
16840
  timestamps_ms?: number[] | undefined;
16841
+ }>, z.ZodObject<{
16842
+ type: z.ZodLiteral<"simulation_switch">;
16843
+ simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
16844
+ closes_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16845
+ opens_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16846
+ starts_closed: z.ZodOptional<z.ZodBoolean>;
16847
+ switching_frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
16848
+ }, "strip", z.ZodTypeAny, {
16849
+ type: "simulation_switch";
16850
+ simulation_switch_id: string;
16851
+ closes_at?: number | undefined;
16852
+ opens_at?: number | undefined;
16853
+ starts_closed?: boolean | undefined;
16854
+ switching_frequency?: number | undefined;
16855
+ }, {
16856
+ type: "simulation_switch";
16857
+ simulation_switch_id?: string | undefined;
16858
+ closes_at?: string | number | undefined;
16859
+ opens_at?: string | number | undefined;
16860
+ starts_closed?: boolean | undefined;
16861
+ switching_frequency?: string | number | undefined;
16862
+ }>, z.ZodEffects<z.ZodObject<{
16863
+ type: z.ZodLiteral<"simulation_voltage_probe">;
16864
+ simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
16865
+ source_port_id: z.ZodOptional<z.ZodString>;
16866
+ source_net_id: z.ZodOptional<z.ZodString>;
16867
+ name: z.ZodOptional<z.ZodString>;
16868
+ subcircuit_id: z.ZodOptional<z.ZodString>;
16869
+ }, "strip", z.ZodTypeAny, {
16870
+ type: "simulation_voltage_probe";
16871
+ simulation_voltage_probe_id: string;
16872
+ name?: string | undefined;
16873
+ subcircuit_id?: string | undefined;
16874
+ source_port_id?: string | undefined;
16875
+ source_net_id?: string | undefined;
16876
+ }, {
16877
+ type: "simulation_voltage_probe";
16878
+ name?: string | undefined;
16879
+ subcircuit_id?: string | undefined;
16880
+ source_port_id?: string | undefined;
16881
+ source_net_id?: string | undefined;
16882
+ simulation_voltage_probe_id?: string | undefined;
16883
+ }>, {
16884
+ type: "simulation_voltage_probe";
16885
+ simulation_voltage_probe_id: string;
16886
+ name?: string | undefined;
16887
+ subcircuit_id?: string | undefined;
16888
+ source_port_id?: string | undefined;
16889
+ source_net_id?: string | undefined;
16890
+ }, {
16891
+ type: "simulation_voltage_probe";
16892
+ name?: string | undefined;
16893
+ subcircuit_id?: string | undefined;
16894
+ source_port_id?: string | undefined;
16895
+ source_net_id?: string | undefined;
16896
+ simulation_voltage_probe_id?: string | undefined;
16785
16897
  }>]>;
16786
16898
  /**
16787
16899
  * @deprecated use any_circuit_element instead
@@ -17904,6 +18016,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
17904
18016
  is_subcircuit: z.ZodOptional<z.ZodBoolean>;
17905
18017
  show_as_schematic_box: z.ZodOptional<z.ZodBoolean>;
17906
18018
  name: z.ZodOptional<z.ZodString>;
18019
+ was_automatically_named: z.ZodOptional<z.ZodBoolean>;
17907
18020
  }, "strip", z.ZodTypeAny, {
17908
18021
  type: "source_group";
17909
18022
  source_group_id: string;
@@ -17913,6 +18026,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
17913
18026
  show_as_schematic_box?: boolean | undefined;
17914
18027
  parent_subcircuit_id?: string | undefined;
17915
18028
  parent_source_group_id?: string | undefined;
18029
+ was_automatically_named?: boolean | undefined;
17916
18030
  }, {
17917
18031
  type: "source_group";
17918
18032
  source_group_id: string;
@@ -17922,6 +18036,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
17922
18036
  show_as_schematic_box?: boolean | undefined;
17923
18037
  parent_subcircuit_id?: string | undefined;
17924
18038
  parent_source_group_id?: string | undefined;
18039
+ was_automatically_named?: boolean | undefined;
17925
18040
  }>, z.ZodObject<{
17926
18041
  type: z.ZodLiteral<"source_component">;
17927
18042
  source_component_id: z.ZodString;
@@ -23264,6 +23379,62 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
23264
23379
  schematic_voltage_probe_id?: string | undefined;
23265
23380
  simulation_transient_voltage_graph_id?: string | undefined;
23266
23381
  timestamps_ms?: number[] | undefined;
23382
+ }>, z.ZodObject<{
23383
+ type: z.ZodLiteral<"simulation_switch">;
23384
+ simulation_switch_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
23385
+ closes_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
23386
+ opens_at: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
23387
+ starts_closed: z.ZodOptional<z.ZodBoolean>;
23388
+ switching_frequency: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
23389
+ }, "strip", z.ZodTypeAny, {
23390
+ type: "simulation_switch";
23391
+ simulation_switch_id: string;
23392
+ closes_at?: number | undefined;
23393
+ opens_at?: number | undefined;
23394
+ starts_closed?: boolean | undefined;
23395
+ switching_frequency?: number | undefined;
23396
+ }, {
23397
+ type: "simulation_switch";
23398
+ simulation_switch_id?: string | undefined;
23399
+ closes_at?: string | number | undefined;
23400
+ opens_at?: string | number | undefined;
23401
+ starts_closed?: boolean | undefined;
23402
+ switching_frequency?: string | number | undefined;
23403
+ }>, z.ZodEffects<z.ZodObject<{
23404
+ type: z.ZodLiteral<"simulation_voltage_probe">;
23405
+ simulation_voltage_probe_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
23406
+ source_port_id: z.ZodOptional<z.ZodString>;
23407
+ source_net_id: z.ZodOptional<z.ZodString>;
23408
+ name: z.ZodOptional<z.ZodString>;
23409
+ subcircuit_id: z.ZodOptional<z.ZodString>;
23410
+ }, "strip", z.ZodTypeAny, {
23411
+ type: "simulation_voltage_probe";
23412
+ simulation_voltage_probe_id: string;
23413
+ name?: string | undefined;
23414
+ subcircuit_id?: string | undefined;
23415
+ source_port_id?: string | undefined;
23416
+ source_net_id?: string | undefined;
23417
+ }, {
23418
+ type: "simulation_voltage_probe";
23419
+ name?: string | undefined;
23420
+ subcircuit_id?: string | undefined;
23421
+ source_port_id?: string | undefined;
23422
+ source_net_id?: string | undefined;
23423
+ simulation_voltage_probe_id?: string | undefined;
23424
+ }>, {
23425
+ type: "simulation_voltage_probe";
23426
+ simulation_voltage_probe_id: string;
23427
+ name?: string | undefined;
23428
+ subcircuit_id?: string | undefined;
23429
+ source_port_id?: string | undefined;
23430
+ source_net_id?: string | undefined;
23431
+ }, {
23432
+ type: "simulation_voltage_probe";
23433
+ name?: string | undefined;
23434
+ subcircuit_id?: string | undefined;
23435
+ source_port_id?: string | undefined;
23436
+ source_net_id?: string | undefined;
23437
+ simulation_voltage_probe_id?: string | undefined;
23267
23438
  }>]>;
23268
23439
  type AnyCircuitElement = z.infer<typeof any_circuit_element>;
23269
23440
  type AnyCircuitElementInput = z.input<typeof any_circuit_element>;
@@ -23281,4 +23452,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
23281
23452
  */
23282
23453
  type CircuitJson = AnyCircuitElement[];
23283
23454
 
23284
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, 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 LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, 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 PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, 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 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 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 PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, 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 SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, 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 SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, 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_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, 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_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_via, pcb_trace_route_point_wire, pcb_via, pcb_via_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_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, 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_trace, source_trace_not_connected_error, supplier_name, time, timestamp, visible_layer, voltage, wave_shape };
23455
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type BRepShape, type CadComponent, type CadComponentInput, 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 LayerRef, type LayerRefInput, type Length, type NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, 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 PcbComponentOutsideBoardError, type PcbComponentOutsideBoardErrorInput, type PcbCopperPour, type PcbCopperPourBRep, type PcbCopperPourBRepInput, type PcbCopperPourInput, type PcbCopperPourPolygon, type PcbCopperPourPolygonInput, type PcbCopperPourRect, type PcbCopperPourRectInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbNet, type PcbNetInput, 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 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 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 PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaClearanceError, type PcbViaClearanceErrorInput, type PcbViaInput, 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 SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationExperiment, type SimulationExperimentInput, type SimulationSwitch, type SimulationSwitchInput, type SimulationTransientVoltageGraph, type SimulationTransientVoltageGraphInput, type SimulationVoltageProbe, type SimulationVoltageProbeInput, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceManuallyPlacedVia, type SourceManuallyPlacedViaInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, 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 SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, brep_shape, cad_component, capacitance, circuit_json_footprint_load_error, current, distance, duration_ms, experiment_type, external_footprint_load_error, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ms, ninePointAnchor, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_component_outside_board_error, pcb_copper_pour, pcb_copper_pour_brep, pcb_copper_pour_polygon, pcb_copper_pour_rect, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, 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_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_net, 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_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_via, pcb_trace_route_point_wire, pcb_via, pcb_via_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_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_experiment, simulation_switch, simulation_transient_voltage_graph, simulation_voltage_probe, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_manually_placed_via, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, 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_trace, source_trace_not_connected_error, supplier_name, time, timestamp, visible_layer, voltage, wave_shape };
package/dist/index.mjs CHANGED
@@ -695,7 +695,8 @@ var source_group = z38.object({
695
695
  parent_source_group_id: z38.string().optional(),
696
696
  is_subcircuit: z38.boolean().optional(),
697
697
  show_as_schematic_box: z38.boolean().optional(),
698
- name: z38.string().optional()
698
+ name: z38.string().optional(),
699
+ was_automatically_named: z38.boolean().optional()
699
700
  });
700
701
  expectTypesMatch(true);
701
702
 
@@ -2400,9 +2401,30 @@ var simulation_switch = z111.object({
2400
2401
  }).describe("Defines a switch for simulation timing control");
2401
2402
  expectTypesMatch(true);
2402
2403
 
2403
- // src/any_circuit_element.ts
2404
+ // src/simulation/simulation_voltage_probe.ts
2404
2405
  import { z as z112 } from "zod";
2405
- var any_circuit_element = z112.union([
2406
+ var simulation_voltage_probe = z112.object({
2407
+ type: z112.literal("simulation_voltage_probe"),
2408
+ simulation_voltage_probe_id: getZodPrefixedIdWithDefault(
2409
+ "simulation_voltage_probe"
2410
+ ),
2411
+ source_port_id: z112.string().optional(),
2412
+ source_net_id: z112.string().optional(),
2413
+ name: z112.string().optional(),
2414
+ subcircuit_id: z112.string().optional()
2415
+ }).describe(
2416
+ "Defines a voltage probe for simulation, connected to a port or a net"
2417
+ ).refine(
2418
+ (data) => Boolean(data.source_port_id) !== Boolean(data.source_net_id),
2419
+ {
2420
+ message: "Exactly one of source_port_id or source_net_id must be provided to simulation_voltage_probe"
2421
+ }
2422
+ );
2423
+ expectTypesMatch(true);
2424
+
2425
+ // src/any_circuit_element.ts
2426
+ import { z as z113 } from "zod";
2427
+ var any_circuit_element = z113.union([
2406
2428
  source_trace,
2407
2429
  source_port,
2408
2430
  any_source_component,
@@ -2493,7 +2515,9 @@ var any_circuit_element = z112.union([
2493
2515
  cad_component,
2494
2516
  simulation_voltage_source,
2495
2517
  simulation_experiment,
2496
- simulation_transient_voltage_graph
2518
+ simulation_transient_voltage_graph,
2519
+ simulation_switch,
2520
+ simulation_voltage_probe
2497
2521
  ]);
2498
2522
  var any_soup_element = any_circuit_element;
2499
2523
  expectTypesMatch(true);
@@ -2615,6 +2639,7 @@ export {
2615
2639
  simulation_experiment,
2616
2640
  simulation_switch,
2617
2641
  simulation_transient_voltage_graph,
2642
+ simulation_voltage_probe,
2618
2643
  simulation_voltage_source,
2619
2644
  size,
2620
2645
  source_component_base,