circuit-json 0.0.429 → 0.0.431

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
@@ -115,6 +115,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
115
115
  - [PcbCourtyardCircle](#pcbcourtyardcircle)
116
116
  - [PcbCourtyardOutline](#pcbcourtyardoutline)
117
117
  - [PcbCourtyardOverlapError](#pcbcourtyardoverlaperror)
118
+ - [PcbCourtyardPill](#pcbcourtyardpill)
118
119
  - [PcbCourtyardPolygon](#pcbcourtyardpolygon)
119
120
  - [PcbCourtyardRect](#pcbcourtyardrect)
120
121
  - [PcbCutout](#pcbcutout)
@@ -189,6 +190,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
189
190
  - [SimulationCurrentSource](#simulationcurrentsource)
190
191
  - [SimulationExperiment](#simulationexperiment)
191
192
  - [SimulationOpAmp](#simulationopamp)
193
+ - [SimulationSpiceSubcircuit](#simulationspicesubcircuit)
192
194
  - [SimulationSwitch](#simulationswitch)
193
195
  - [SimulationTransientVoltageGraph](#simulationtransientvoltagegraph)
194
196
  - [SimulationUnknownExperimentError](#simulationunknownexperimenterror)
@@ -1487,6 +1489,29 @@ interface PcbCourtyardOverlapError extends BaseCircuitJsonError {
1487
1489
  }
1488
1490
  ```
1489
1491
 
1492
+ ### PcbCourtyardPill
1493
+
1494
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_courtyard_pill.ts)
1495
+
1496
+ Defines a courtyard pill on the PCB
1497
+
1498
+ ```typescript
1499
+ /** Defines a courtyard pill on the PCB */
1500
+ interface PcbCourtyardPill {
1501
+ type: "pcb_courtyard_pill"
1502
+ pcb_courtyard_pill_id: string
1503
+ pcb_component_id: string
1504
+ pcb_group_id?: string
1505
+ subcircuit_id?: string
1506
+ center: Point
1507
+ width: Length
1508
+ height: Length
1509
+ radius: Length
1510
+ layer: VisibleLayer
1511
+ color?: string
1512
+ }
1513
+ ```
1514
+
1490
1515
  ### PcbCourtyardPolygon
1491
1516
 
1492
1517
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_courtyard_polygon.ts)
@@ -3268,6 +3293,29 @@ interface SimulationOpAmp {
3268
3293
  }
3269
3294
  ```
3270
3295
 
3296
+ ### SimulationSpiceSubcircuit
3297
+
3298
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_spice_subcircuit.ts)
3299
+
3300
+ Defines a custom SPICE subcircuit model for simulation.
3301
+
3302
+ ```typescript
3303
+ /** Defines a custom SPICE subcircuit model for simulation. */
3304
+ interface SimulationSpiceSubcircuit {
3305
+ type: "simulation_spice_subcircuit"
3306
+ simulation_spice_subcircuit_id: string
3307
+ /** Source component this SPICE subcircuit models. */
3308
+
3309
+ source_component_id: string
3310
+ /** Maps SPICE subcircuit pin names to source port ids. */
3311
+
3312
+ spice_pin_to_source_port_map: Record<string, string>
3313
+ /** Full SPICE subcircuit source text. */
3314
+
3315
+ subcircuit_source: string
3316
+ }
3317
+ ```
3318
+
3271
3319
  ### SimulationSwitch
3272
3320
 
3273
3321
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/simulation/simulation_switch.ts)
package/dist/index.d.mts CHANGED
@@ -12421,7 +12421,77 @@ interface PcbCourtyardCircle {
12421
12421
  color?: string;
12422
12422
  }
12423
12423
 
12424
- type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceWarning | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | ExternalFootprintLoadError | CircuitJsonFootprintLoadError | PcbManualEditConflictWarning | PcbConnectorNotInAccessibleOrientationWarning | SupplierFootprintMismatchWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbNet | PcbBoard | PcbPanel | PcbPlacementError | PcbPanelizationPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenPill | PcbCopperText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbSilkscreenOval | PcbFabricationNoteRect | PcbFabricationNoteDimension | PcbNoteText | PcbNoteRect | PcbNotePath | PcbNoteLine | PcbNoteDimension | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbComponentNotOnBoardEdgeError | PcbComponentInvalidLayerError | PcbViaClearanceError | PcbViaTraceClearanceError | PcbPadPadClearanceError | PcbPadTraceClearanceError | PcbCourtyardRect | PcbCourtyardOutline | PcbCourtyardPolygon | PcbCourtyardCircle;
12424
+ declare const pcb_courtyard_pill: z.ZodObject<{
12425
+ type: z.ZodLiteral<"pcb_courtyard_pill">;
12426
+ pcb_courtyard_pill_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
12427
+ pcb_component_id: z.ZodString;
12428
+ pcb_group_id: z.ZodOptional<z.ZodString>;
12429
+ subcircuit_id: z.ZodOptional<z.ZodString>;
12430
+ center: z.ZodObject<{
12431
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12432
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12433
+ }, "strip", z.ZodTypeAny, {
12434
+ x: number;
12435
+ y: number;
12436
+ }, {
12437
+ x: string | number;
12438
+ y: string | number;
12439
+ }>;
12440
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12441
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12442
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
12443
+ layer: z.ZodEnum<["top", "bottom"]>;
12444
+ color: z.ZodOptional<z.ZodString>;
12445
+ }, "strip", z.ZodTypeAny, {
12446
+ type: "pcb_courtyard_pill";
12447
+ width: number;
12448
+ height: number;
12449
+ layer: "top" | "bottom";
12450
+ center: {
12451
+ x: number;
12452
+ y: number;
12453
+ };
12454
+ pcb_component_id: string;
12455
+ radius: number;
12456
+ pcb_courtyard_pill_id: string;
12457
+ subcircuit_id?: string | undefined;
12458
+ pcb_group_id?: string | undefined;
12459
+ color?: string | undefined;
12460
+ }, {
12461
+ type: "pcb_courtyard_pill";
12462
+ width: string | number;
12463
+ height: string | number;
12464
+ layer: "top" | "bottom";
12465
+ center: {
12466
+ x: string | number;
12467
+ y: string | number;
12468
+ };
12469
+ pcb_component_id: string;
12470
+ radius: string | number;
12471
+ subcircuit_id?: string | undefined;
12472
+ pcb_group_id?: string | undefined;
12473
+ color?: string | undefined;
12474
+ pcb_courtyard_pill_id?: string | undefined;
12475
+ }>;
12476
+ type PcbCourtyardPillInput = z.input<typeof pcb_courtyard_pill>;
12477
+ /**
12478
+ * Defines a courtyard pill on the PCB
12479
+ */
12480
+ interface PcbCourtyardPill {
12481
+ type: "pcb_courtyard_pill";
12482
+ pcb_courtyard_pill_id: string;
12483
+ pcb_component_id: string;
12484
+ pcb_group_id?: string;
12485
+ subcircuit_id?: string;
12486
+ center: Point;
12487
+ width: Length;
12488
+ height: Length;
12489
+ radius: Length;
12490
+ layer: VisibleLayer;
12491
+ color?: string;
12492
+ }
12493
+
12494
+ type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceWarning | PcbTraceError | PcbTraceMissingError | PcbMissingFootprintError | ExternalFootprintLoadError | CircuitJsonFootprintLoadError | PcbManualEditConflictWarning | PcbConnectorNotInAccessibleOrientationWarning | SupplierFootprintMismatchWarning | PcbPortNotMatchedError | PcbPortNotConnectedError | PcbVia | PcbNet | PcbBoard | PcbPanel | PcbPlacementError | PcbPanelizationPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenPill | PcbCopperText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbSilkscreenOval | PcbFabricationNoteRect | PcbFabricationNoteDimension | PcbNoteText | PcbNoteRect | PcbNotePath | PcbNoteLine | PcbNoteDimension | PcbAutoroutingError | PcbFootprintOverlapError | PcbCutout | PcbBreakoutPoint | PcbGroundPlane | PcbGroundPlaneRegion | PcbThermalSpoke | PcbCopperPour | PcbComponentOutsideBoardError | PcbComponentNotOnBoardEdgeError | PcbComponentInvalidLayerError | PcbViaClearanceError | PcbViaTraceClearanceError | PcbPadPadClearanceError | PcbPadTraceClearanceError | PcbCourtyardRect | PcbCourtyardOutline | PcbCourtyardPolygon | PcbCourtyardCircle | PcbCourtyardPill;
12425
12495
 
12426
12496
  interface SchematicBox {
12427
12497
  type: "schematic_box";
@@ -25991,6 +26061,46 @@ interface SimulationOpAmp {
25991
26061
  negative_supply_source_port_id: string;
25992
26062
  }
25993
26063
 
26064
+ declare const simulation_spice_subcircuit: z.ZodObject<{
26065
+ type: z.ZodLiteral<"simulation_spice_subcircuit">;
26066
+ simulation_spice_subcircuit_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
26067
+ source_component_id: z.ZodString;
26068
+ spice_pin_to_source_port_map: z.ZodRecord<z.ZodString, z.ZodString>;
26069
+ subcircuit_source: z.ZodString;
26070
+ }, "strip", z.ZodTypeAny, {
26071
+ type: "simulation_spice_subcircuit";
26072
+ source_component_id: string;
26073
+ simulation_spice_subcircuit_id: string;
26074
+ spice_pin_to_source_port_map: Record<string, string>;
26075
+ subcircuit_source: string;
26076
+ }, {
26077
+ type: "simulation_spice_subcircuit";
26078
+ source_component_id: string;
26079
+ spice_pin_to_source_port_map: Record<string, string>;
26080
+ subcircuit_source: string;
26081
+ simulation_spice_subcircuit_id?: string | undefined;
26082
+ }>;
26083
+ type SimulationSpiceSubcircuitInput = z.input<typeof simulation_spice_subcircuit>;
26084
+ /**
26085
+ * Defines a custom SPICE subcircuit model for simulation.
26086
+ */
26087
+ interface SimulationSpiceSubcircuit {
26088
+ type: "simulation_spice_subcircuit";
26089
+ simulation_spice_subcircuit_id: string;
26090
+ /**
26091
+ * Source component this SPICE subcircuit models.
26092
+ */
26093
+ source_component_id: string;
26094
+ /**
26095
+ * Maps SPICE subcircuit pin names to source port ids.
26096
+ */
26097
+ spice_pin_to_source_port_map: Record<string, string>;
26098
+ /**
26099
+ * Full SPICE subcircuit source text.
26100
+ */
26101
+ subcircuit_source: string;
26102
+ }
26103
+
25994
26104
  interface SourceComponentBase {
25995
26105
  type: "source_component";
25996
26106
  ftype?: string;
@@ -30306,12 +30416,12 @@ declare const asset: z.ZodObject<{
30306
30416
  url: z.ZodString;
30307
30417
  mimetype: z.ZodString;
30308
30418
  }, "strip", z.ZodTypeAny, {
30309
- project_relative_path: string;
30310
30419
  url: string;
30420
+ project_relative_path: string;
30311
30421
  mimetype: string;
30312
30422
  }, {
30313
- project_relative_path: string;
30314
30423
  url: string;
30424
+ project_relative_path: string;
30315
30425
  mimetype: string;
30316
30426
  }>;
30317
30427
  type AssetInput = z.input<typeof asset>;
@@ -32983,12 +33093,12 @@ declare const cad_component: z.ZodObject<{
32983
33093
  url: z.ZodString;
32984
33094
  mimetype: z.ZodString;
32985
33095
  }, "strip", z.ZodTypeAny, {
32986
- project_relative_path: string;
32987
33096
  url: string;
33097
+ project_relative_path: string;
32988
33098
  mimetype: string;
32989
33099
  }, {
32990
- project_relative_path: string;
32991
33100
  url: string;
33101
+ project_relative_path: string;
32992
33102
  mimetype: string;
32993
33103
  }>>;
32994
33104
  model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
@@ -33045,8 +33155,8 @@ declare const cad_component: z.ZodObject<{
33045
33155
  model_step_url?: string | undefined;
33046
33156
  model_wrl_url?: string | undefined;
33047
33157
  model_asset?: {
33048
- project_relative_path: string;
33049
33158
  url: string;
33159
+ project_relative_path: string;
33050
33160
  mimetype: string;
33051
33161
  } | undefined;
33052
33162
  model_unit_to_mm_scale_factor?: number | undefined;
@@ -33094,8 +33204,8 @@ declare const cad_component: z.ZodObject<{
33094
33204
  model_step_url?: string | undefined;
33095
33205
  model_wrl_url?: string | undefined;
33096
33206
  model_asset?: {
33097
- project_relative_path: string;
33098
33207
  url: string;
33208
+ project_relative_path: string;
33099
33209
  mimetype: string;
33100
33210
  } | undefined;
33101
33211
  model_unit_to_mm_scale_factor?: number | undefined;
@@ -42845,6 +42955,57 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
42845
42955
  pcb_group_id?: string | undefined;
42846
42956
  color?: string | undefined;
42847
42957
  pcb_courtyard_circle_id?: string | undefined;
42958
+ }>, z.ZodObject<{
42959
+ type: z.ZodLiteral<"pcb_courtyard_pill">;
42960
+ pcb_courtyard_pill_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
42961
+ pcb_component_id: z.ZodString;
42962
+ pcb_group_id: z.ZodOptional<z.ZodString>;
42963
+ subcircuit_id: z.ZodOptional<z.ZodString>;
42964
+ center: z.ZodObject<{
42965
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
42966
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
42967
+ }, "strip", z.ZodTypeAny, {
42968
+ x: number;
42969
+ y: number;
42970
+ }, {
42971
+ x: string | number;
42972
+ y: string | number;
42973
+ }>;
42974
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
42975
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
42976
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
42977
+ layer: z.ZodEnum<["top", "bottom"]>;
42978
+ color: z.ZodOptional<z.ZodString>;
42979
+ }, "strip", z.ZodTypeAny, {
42980
+ type: "pcb_courtyard_pill";
42981
+ width: number;
42982
+ height: number;
42983
+ layer: "top" | "bottom";
42984
+ center: {
42985
+ x: number;
42986
+ y: number;
42987
+ };
42988
+ pcb_component_id: string;
42989
+ radius: number;
42990
+ pcb_courtyard_pill_id: string;
42991
+ subcircuit_id?: string | undefined;
42992
+ pcb_group_id?: string | undefined;
42993
+ color?: string | undefined;
42994
+ }, {
42995
+ type: "pcb_courtyard_pill";
42996
+ width: string | number;
42997
+ height: string | number;
42998
+ layer: "top" | "bottom";
42999
+ center: {
43000
+ x: string | number;
43001
+ y: string | number;
43002
+ };
43003
+ pcb_component_id: string;
43004
+ radius: string | number;
43005
+ subcircuit_id?: string | undefined;
43006
+ pcb_group_id?: string | undefined;
43007
+ color?: string | undefined;
43008
+ pcb_courtyard_pill_id?: string | undefined;
42848
43009
  }>, z.ZodObject<{
42849
43010
  type: z.ZodLiteral<"schematic_box">;
42850
43011
  schematic_component_id: z.ZodOptional<z.ZodString>;
@@ -50998,12 +51159,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
50998
51159
  url: z.ZodString;
50999
51160
  mimetype: z.ZodString;
51000
51161
  }, "strip", z.ZodTypeAny, {
51001
- project_relative_path: string;
51002
51162
  url: string;
51163
+ project_relative_path: string;
51003
51164
  mimetype: string;
51004
51165
  }, {
51005
- project_relative_path: string;
51006
51166
  url: string;
51167
+ project_relative_path: string;
51007
51168
  mimetype: string;
51008
51169
  }>>;
51009
51170
  model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
@@ -51060,8 +51221,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
51060
51221
  model_step_url?: string | undefined;
51061
51222
  model_wrl_url?: string | undefined;
51062
51223
  model_asset?: {
51063
- project_relative_path: string;
51064
51224
  url: string;
51225
+ project_relative_path: string;
51065
51226
  mimetype: string;
51066
51227
  } | undefined;
51067
51228
  model_unit_to_mm_scale_factor?: number | undefined;
@@ -51109,8 +51270,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
51109
51270
  model_step_url?: string | undefined;
51110
51271
  model_wrl_url?: string | undefined;
51111
51272
  model_asset?: {
51112
- project_relative_path: string;
51113
51273
  url: string;
51274
+ project_relative_path: string;
51114
51275
  mimetype: string;
51115
51276
  } | undefined;
51116
51277
  model_unit_to_mm_scale_factor?: number | undefined;
@@ -51457,6 +51618,24 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
51457
51618
  negative_supply_source_port_id: string;
51458
51619
  source_component_id?: string | undefined;
51459
51620
  simulation_op_amp_id?: string | undefined;
51621
+ }>, z.ZodObject<{
51622
+ type: z.ZodLiteral<"simulation_spice_subcircuit">;
51623
+ simulation_spice_subcircuit_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
51624
+ source_component_id: z.ZodString;
51625
+ spice_pin_to_source_port_map: z.ZodRecord<z.ZodString, z.ZodString>;
51626
+ subcircuit_source: z.ZodString;
51627
+ }, "strip", z.ZodTypeAny, {
51628
+ type: "simulation_spice_subcircuit";
51629
+ source_component_id: string;
51630
+ simulation_spice_subcircuit_id: string;
51631
+ spice_pin_to_source_port_map: Record<string, string>;
51632
+ subcircuit_source: string;
51633
+ }, {
51634
+ type: "simulation_spice_subcircuit";
51635
+ source_component_id: string;
51636
+ spice_pin_to_source_port_map: Record<string, string>;
51637
+ subcircuit_source: string;
51638
+ simulation_spice_subcircuit_id?: string | undefined;
51460
51639
  }>]>;
51461
51640
  /**
51462
51641
  * @deprecated use any_circuit_element instead
@@ -61162,6 +61341,57 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
61162
61341
  pcb_group_id?: string | undefined;
61163
61342
  color?: string | undefined;
61164
61343
  pcb_courtyard_circle_id?: string | undefined;
61344
+ }>, z.ZodObject<{
61345
+ type: z.ZodLiteral<"pcb_courtyard_pill">;
61346
+ pcb_courtyard_pill_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
61347
+ pcb_component_id: z.ZodString;
61348
+ pcb_group_id: z.ZodOptional<z.ZodString>;
61349
+ subcircuit_id: z.ZodOptional<z.ZodString>;
61350
+ center: z.ZodObject<{
61351
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
61352
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
61353
+ }, "strip", z.ZodTypeAny, {
61354
+ x: number;
61355
+ y: number;
61356
+ }, {
61357
+ x: string | number;
61358
+ y: string | number;
61359
+ }>;
61360
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
61361
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
61362
+ radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
61363
+ layer: z.ZodEnum<["top", "bottom"]>;
61364
+ color: z.ZodOptional<z.ZodString>;
61365
+ }, "strip", z.ZodTypeAny, {
61366
+ type: "pcb_courtyard_pill";
61367
+ width: number;
61368
+ height: number;
61369
+ layer: "top" | "bottom";
61370
+ center: {
61371
+ x: number;
61372
+ y: number;
61373
+ };
61374
+ pcb_component_id: string;
61375
+ radius: number;
61376
+ pcb_courtyard_pill_id: string;
61377
+ subcircuit_id?: string | undefined;
61378
+ pcb_group_id?: string | undefined;
61379
+ color?: string | undefined;
61380
+ }, {
61381
+ type: "pcb_courtyard_pill";
61382
+ width: string | number;
61383
+ height: string | number;
61384
+ layer: "top" | "bottom";
61385
+ center: {
61386
+ x: string | number;
61387
+ y: string | number;
61388
+ };
61389
+ pcb_component_id: string;
61390
+ radius: string | number;
61391
+ subcircuit_id?: string | undefined;
61392
+ pcb_group_id?: string | undefined;
61393
+ color?: string | undefined;
61394
+ pcb_courtyard_pill_id?: string | undefined;
61165
61395
  }>, z.ZodObject<{
61166
61396
  type: z.ZodLiteral<"schematic_box">;
61167
61397
  schematic_component_id: z.ZodOptional<z.ZodString>;
@@ -69315,12 +69545,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
69315
69545
  url: z.ZodString;
69316
69546
  mimetype: z.ZodString;
69317
69547
  }, "strip", z.ZodTypeAny, {
69318
- project_relative_path: string;
69319
69548
  url: string;
69549
+ project_relative_path: string;
69320
69550
  mimetype: string;
69321
69551
  }, {
69322
- project_relative_path: string;
69323
69552
  url: string;
69553
+ project_relative_path: string;
69324
69554
  mimetype: string;
69325
69555
  }>>;
69326
69556
  model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
@@ -69377,8 +69607,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
69377
69607
  model_step_url?: string | undefined;
69378
69608
  model_wrl_url?: string | undefined;
69379
69609
  model_asset?: {
69380
- project_relative_path: string;
69381
69610
  url: string;
69611
+ project_relative_path: string;
69382
69612
  mimetype: string;
69383
69613
  } | undefined;
69384
69614
  model_unit_to_mm_scale_factor?: number | undefined;
@@ -69426,8 +69656,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
69426
69656
  model_step_url?: string | undefined;
69427
69657
  model_wrl_url?: string | undefined;
69428
69658
  model_asset?: {
69429
- project_relative_path: string;
69430
69659
  url: string;
69660
+ project_relative_path: string;
69431
69661
  mimetype: string;
69432
69662
  } | undefined;
69433
69663
  model_unit_to_mm_scale_factor?: number | undefined;
@@ -69774,6 +70004,24 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
69774
70004
  negative_supply_source_port_id: string;
69775
70005
  source_component_id?: string | undefined;
69776
70006
  simulation_op_amp_id?: string | undefined;
70007
+ }>, z.ZodObject<{
70008
+ type: z.ZodLiteral<"simulation_spice_subcircuit">;
70009
+ simulation_spice_subcircuit_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
70010
+ source_component_id: z.ZodString;
70011
+ spice_pin_to_source_port_map: z.ZodRecord<z.ZodString, z.ZodString>;
70012
+ subcircuit_source: z.ZodString;
70013
+ }, "strip", z.ZodTypeAny, {
70014
+ type: "simulation_spice_subcircuit";
70015
+ source_component_id: string;
70016
+ simulation_spice_subcircuit_id: string;
70017
+ spice_pin_to_source_port_map: Record<string, string>;
70018
+ subcircuit_source: string;
70019
+ }, {
70020
+ type: "simulation_spice_subcircuit";
70021
+ source_component_id: string;
70022
+ spice_pin_to_source_port_map: Record<string, string>;
70023
+ subcircuit_source: string;
70024
+ simulation_spice_subcircuit_id?: string | undefined;
69777
70025
  }>]>;
69778
70026
  type AnyCircuitElement = z.infer<typeof any_circuit_element>;
69779
70027
  type AnyCircuitElementInput = z.input<typeof any_circuit_element>;
@@ -69791,4 +70039,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
69791
70039
  */
69792
70040
  type CircuitJson = AnyCircuitElement[];
69793
70041
 
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 };
70042
+ 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 PcbCourtyardPill, type PcbCourtyardPillInput, 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_pill, 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 };