circuit-json 0.0.196 → 0.0.198

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
@@ -48,7 +48,6 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
48
48
  - [Source Components](#source-components)
49
49
  - [SourceComponentBase](#sourcecomponentbase)
50
50
  - [SourceFailedToCreateComponentError](#sourcefailedtocreatecomponenterror)
51
- - [SourceLed](#sourceled)
52
51
  - [SourceMissingPropertyError](#sourcemissingpropertyerror)
53
52
  - [SourcePort](#sourceport)
54
53
  - [SourceProjectMetadata](#sourceprojectmetadata)
@@ -73,6 +72,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
73
72
  - [PCB Elements](#pcb-elements)
74
73
  - [PcbAutoroutingError](#pcbautoroutingerror)
75
74
  - [PcbBoard](#pcbboard)
75
+ - [PcbBreakoutPoint](#pcbbreakoutpoint)
76
76
  - [PcbComponent](#pcbcomponent)
77
77
  - [PcbCutout](#pcbcutout)
78
78
  - [PcbFabricationNotePath](#pcbfabricationnotepath)
@@ -225,19 +225,6 @@ interface SourceFailedToCreateComponentError {
225
225
  }
226
226
  ```
227
227
 
228
- ### SourceLed
229
-
230
- [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_led.ts)
231
-
232
- Defines an LED component that extends the simple diode
233
-
234
- ```typescript
235
- /** Defines an LED component that extends the simple diode */
236
- interface SourceLed extends SourceComponentBase {
237
- ftype: "led"
238
- }
239
- ```
240
-
241
228
  ### SourceMissingPropertyError
242
229
 
243
230
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_missing_property_error.ts)
@@ -591,6 +578,26 @@ interface PcbBoard {
591
578
  }
592
579
  ```
593
580
 
581
+ ### PcbBreakoutPoint
582
+
583
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_breakout_point.ts)
584
+
585
+ Defines a routing target within a pcb_group for a source_trace or source_net
586
+
587
+ ```typescript
588
+ /** Defines a routing target within a pcb_group for a source_trace or source_net */
589
+ interface PcbBreakoutPoint {
590
+ type: "pcb_breakout_point"
591
+ pcb_breakout_point_id: string
592
+ pcb_group_id: string
593
+ subcircuit_id?: string
594
+ source_trace_id?: string
595
+ source_net_id?: string
596
+ x: Distance
597
+ y: Distance
598
+ }
599
+ ```
600
+
594
601
  ### PcbComponent
595
602
 
596
603
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/pcb/pcb_component.ts)
package/dist/index.d.mts CHANGED
@@ -3561,7 +3561,50 @@ interface PcbManualEditConflictWarning {
3561
3561
  source_component_id: string;
3562
3562
  }
3563
3563
 
3564
- type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbCutout;
3564
+ declare const pcb_breakout_point: z.ZodObject<{
3565
+ type: z.ZodLiteral<"pcb_breakout_point">;
3566
+ pcb_breakout_point_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3567
+ pcb_group_id: z.ZodString;
3568
+ subcircuit_id: z.ZodOptional<z.ZodString>;
3569
+ source_trace_id: z.ZodOptional<z.ZodString>;
3570
+ source_net_id: z.ZodOptional<z.ZodString>;
3571
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3572
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3573
+ }, "strip", z.ZodTypeAny, {
3574
+ x: number;
3575
+ y: number;
3576
+ type: "pcb_breakout_point";
3577
+ pcb_group_id: string;
3578
+ pcb_breakout_point_id: string;
3579
+ subcircuit_id?: string | undefined;
3580
+ source_trace_id?: string | undefined;
3581
+ source_net_id?: string | undefined;
3582
+ }, {
3583
+ x: string | number;
3584
+ y: string | number;
3585
+ type: "pcb_breakout_point";
3586
+ pcb_group_id: string;
3587
+ subcircuit_id?: string | undefined;
3588
+ source_trace_id?: string | undefined;
3589
+ pcb_breakout_point_id?: string | undefined;
3590
+ source_net_id?: string | undefined;
3591
+ }>;
3592
+ type PcbBreakoutPointInput = z.input<typeof pcb_breakout_point>;
3593
+ /**
3594
+ * Defines a routing target within a pcb_group for a source_trace or source_net
3595
+ */
3596
+ interface PcbBreakoutPoint {
3597
+ type: "pcb_breakout_point";
3598
+ pcb_breakout_point_id: string;
3599
+ pcb_group_id: string;
3600
+ subcircuit_id?: string;
3601
+ source_trace_id?: string;
3602
+ source_net_id?: string;
3603
+ x: Distance;
3604
+ y: Distance;
3605
+ }
3606
+
3607
+ type PcbCircuitElement = PcbComponent | PcbHole | PcbPlatedHole | PcbPort | PcbSmtPad | PcbSolderPaste | PcbText | PcbTrace | PcbTraceError | PcbMissingFootprintError | PcbManualEditConflictWarning | PcbPortNotMatchedError | PcbVia | PcbBoard | PcbPlacementError | PcbTraceHint | PcbSilkscreenLine | PcbSilkscreenPath | PcbSilkscreenText | PcbSilkscreenRect | PcbSilkscreenCircle | PcbAutoroutingError | PcbCutout | PcbBreakoutPoint;
3565
3608
 
3566
3609
  interface SchematicBox {
3567
3610
  type: "schematic_box";
@@ -4471,8 +4514,8 @@ declare const schematic_net_label: z.ZodObject<{
4471
4514
  y: number;
4472
4515
  };
4473
4516
  text: string;
4474
- schematic_net_label_id: string;
4475
4517
  source_net_id: string;
4518
+ schematic_net_label_id: string;
4476
4519
  anchor_side: "top" | "bottom" | "left" | "right";
4477
4520
  source_trace_id?: string | undefined;
4478
4521
  anchor_position?: {
@@ -5381,49 +5424,6 @@ interface SourceSimpleChip extends SourceComponentBase {
5381
5424
  ftype: "simple_chip";
5382
5425
  }
5383
5426
 
5384
- declare const source_led: z.ZodObject<{
5385
- type: z.ZodLiteral<"source_component">;
5386
- source_component_id: z.ZodString;
5387
- name: z.ZodString;
5388
- manufacturer_part_number: z.ZodOptional<z.ZodString>;
5389
- supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
5390
- display_value: z.ZodOptional<z.ZodString>;
5391
- are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5392
- internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5393
- source_group_id: z.ZodOptional<z.ZodString>;
5394
- } & {
5395
- ftype: z.ZodLiteral<"led">;
5396
- }, "strip", z.ZodTypeAny, {
5397
- type: "source_component";
5398
- name: string;
5399
- source_component_id: string;
5400
- ftype: "led";
5401
- source_group_id?: string | undefined;
5402
- manufacturer_part_number?: string | undefined;
5403
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5404
- display_value?: string | undefined;
5405
- are_pins_interchangeable?: boolean | undefined;
5406
- internally_connected_source_port_ids?: string[][] | undefined;
5407
- }, {
5408
- type: "source_component";
5409
- name: string;
5410
- source_component_id: string;
5411
- ftype: "led";
5412
- source_group_id?: string | undefined;
5413
- manufacturer_part_number?: string | undefined;
5414
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5415
- display_value?: string | undefined;
5416
- are_pins_interchangeable?: boolean | undefined;
5417
- internally_connected_source_port_ids?: string[][] | undefined;
5418
- }>;
5419
- type SourceLedInput = z.input<typeof source_led>;
5420
- /**
5421
- * Defines an LED component that extends the simple diode
5422
- */
5423
- interface SourceLed extends SourceComponentBase {
5424
- ftype: "led";
5425
- }
5426
-
5427
5427
  declare const source_simple_power_source: z.ZodObject<{
5428
5428
  type: z.ZodLiteral<"source_component">;
5429
5429
  source_component_id: z.ZodString;
@@ -6430,40 +6430,6 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6430
6430
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6431
6431
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6432
6432
  source_group_id: z.ZodOptional<z.ZodString>;
6433
- } & {
6434
- ftype: z.ZodLiteral<"led">;
6435
- }, "strip", z.ZodTypeAny, {
6436
- type: "source_component";
6437
- name: string;
6438
- source_component_id: string;
6439
- ftype: "led";
6440
- source_group_id?: string | undefined;
6441
- manufacturer_part_number?: string | undefined;
6442
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6443
- display_value?: string | undefined;
6444
- are_pins_interchangeable?: boolean | undefined;
6445
- internally_connected_source_port_ids?: string[][] | undefined;
6446
- }, {
6447
- type: "source_component";
6448
- name: string;
6449
- source_component_id: string;
6450
- ftype: "led";
6451
- source_group_id?: string | undefined;
6452
- manufacturer_part_number?: string | undefined;
6453
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6454
- display_value?: string | undefined;
6455
- are_pins_interchangeable?: boolean | undefined;
6456
- internally_connected_source_port_ids?: string[][] | undefined;
6457
- }>, z.ZodObject<{
6458
- type: z.ZodLiteral<"source_component">;
6459
- source_component_id: z.ZodString;
6460
- name: z.ZodString;
6461
- manufacturer_part_number: z.ZodOptional<z.ZodString>;
6462
- supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
6463
- display_value: z.ZodOptional<z.ZodString>;
6464
- are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6465
- internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6466
- source_group_id: z.ZodOptional<z.ZodString>;
6467
6433
  } & {
6468
6434
  ftype: z.ZodLiteral<"simple_power_source">;
6469
6435
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -7060,7 +7026,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7060
7026
  * Deprecated: use `AnySourceElement` instead
7061
7027
  */
7062
7028
  type AnySourceComponent = z.infer<typeof any_source_component>;
7063
- type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
7029
+ type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
7064
7030
 
7065
7031
  declare const source_port: z.ZodObject<{
7066
7032
  type: z.ZodLiteral<"source_port">;
@@ -7658,40 +7624,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7658
7624
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7659
7625
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7660
7626
  source_group_id: z.ZodOptional<z.ZodString>;
7661
- } & {
7662
- ftype: z.ZodLiteral<"led">;
7663
- }, "strip", z.ZodTypeAny, {
7664
- type: "source_component";
7665
- name: string;
7666
- source_component_id: string;
7667
- ftype: "led";
7668
- source_group_id?: string | undefined;
7669
- manufacturer_part_number?: string | undefined;
7670
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7671
- display_value?: string | undefined;
7672
- are_pins_interchangeable?: boolean | undefined;
7673
- internally_connected_source_port_ids?: string[][] | undefined;
7674
- }, {
7675
- type: "source_component";
7676
- name: string;
7677
- source_component_id: string;
7678
- ftype: "led";
7679
- source_group_id?: string | undefined;
7680
- manufacturer_part_number?: string | undefined;
7681
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7682
- display_value?: string | undefined;
7683
- are_pins_interchangeable?: boolean | undefined;
7684
- internally_connected_source_port_ids?: string[][] | undefined;
7685
- }>, z.ZodObject<{
7686
- type: z.ZodLiteral<"source_component">;
7687
- source_component_id: z.ZodString;
7688
- name: z.ZodString;
7689
- manufacturer_part_number: z.ZodOptional<z.ZodString>;
7690
- supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
7691
- display_value: z.ZodOptional<z.ZodString>;
7692
- are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7693
- internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7694
- source_group_id: z.ZodOptional<z.ZodString>;
7695
7627
  } & {
7696
7628
  ftype: z.ZodLiteral<"simple_power_source">;
7697
7629
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -8284,40 +8216,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8284
8216
  y?: number | undefined;
8285
8217
  } | undefined;
8286
8218
  }>]>, z.ZodObject<{
8287
- type: z.ZodLiteral<"source_component">;
8288
- source_component_id: z.ZodString;
8289
- name: z.ZodString;
8290
- manufacturer_part_number: z.ZodOptional<z.ZodString>;
8291
- supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8292
- display_value: z.ZodOptional<z.ZodString>;
8293
- are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8294
- internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8295
- source_group_id: z.ZodOptional<z.ZodString>;
8296
- } & {
8297
- ftype: z.ZodLiteral<"led">;
8298
- }, "strip", z.ZodTypeAny, {
8299
- type: "source_component";
8300
- name: string;
8301
- source_component_id: string;
8302
- ftype: "led";
8303
- source_group_id?: string | undefined;
8304
- manufacturer_part_number?: string | undefined;
8305
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8306
- display_value?: string | undefined;
8307
- are_pins_interchangeable?: boolean | undefined;
8308
- internally_connected_source_port_ids?: string[][] | undefined;
8309
- }, {
8310
- type: "source_component";
8311
- name: string;
8312
- source_component_id: string;
8313
- ftype: "led";
8314
- source_group_id?: string | undefined;
8315
- manufacturer_part_number?: string | undefined;
8316
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8317
- display_value?: string | undefined;
8318
- are_pins_interchangeable?: boolean | undefined;
8319
- internally_connected_source_port_ids?: string[][] | undefined;
8320
- }>, z.ZodObject<{
8321
8219
  type: z.ZodLiteral<"source_net">;
8322
8220
  source_net_id: z.ZodString;
8323
8221
  name: z.ZodString;
@@ -11020,6 +10918,33 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11020
10918
  message: string;
11021
10919
  type: "pcb_autorouting_error";
11022
10920
  pcb_error_id?: string | undefined;
10921
+ }>, z.ZodObject<{
10922
+ type: z.ZodLiteral<"pcb_breakout_point">;
10923
+ pcb_breakout_point_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
10924
+ pcb_group_id: z.ZodString;
10925
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10926
+ source_trace_id: z.ZodOptional<z.ZodString>;
10927
+ source_net_id: z.ZodOptional<z.ZodString>;
10928
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10929
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10930
+ }, "strip", z.ZodTypeAny, {
10931
+ x: number;
10932
+ y: number;
10933
+ type: "pcb_breakout_point";
10934
+ pcb_group_id: string;
10935
+ pcb_breakout_point_id: string;
10936
+ subcircuit_id?: string | undefined;
10937
+ source_trace_id?: string | undefined;
10938
+ source_net_id?: string | undefined;
10939
+ }, {
10940
+ x: string | number;
10941
+ y: string | number;
10942
+ type: "pcb_breakout_point";
10943
+ pcb_group_id: string;
10944
+ subcircuit_id?: string | undefined;
10945
+ source_trace_id?: string | undefined;
10946
+ pcb_breakout_point_id?: string | undefined;
10947
+ source_net_id?: string | undefined;
11023
10948
  }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
11024
10949
  type: z.ZodLiteral<"pcb_cutout">;
11025
10950
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -11725,8 +11650,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
11725
11650
  y: number;
11726
11651
  };
11727
11652
  text: string;
11728
- schematic_net_label_id: string;
11729
11653
  source_net_id: string;
11654
+ schematic_net_label_id: string;
11730
11655
  anchor_side: "top" | "bottom" | "left" | "right";
11731
11656
  source_trace_id?: string | undefined;
11732
11657
  anchor_position?: {
@@ -12434,40 +12359,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12434
12359
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12435
12360
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12436
12361
  source_group_id: z.ZodOptional<z.ZodString>;
12437
- } & {
12438
- ftype: z.ZodLiteral<"led">;
12439
- }, "strip", z.ZodTypeAny, {
12440
- type: "source_component";
12441
- name: string;
12442
- source_component_id: string;
12443
- ftype: "led";
12444
- source_group_id?: string | undefined;
12445
- manufacturer_part_number?: string | undefined;
12446
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
12447
- display_value?: string | undefined;
12448
- are_pins_interchangeable?: boolean | undefined;
12449
- internally_connected_source_port_ids?: string[][] | undefined;
12450
- }, {
12451
- type: "source_component";
12452
- name: string;
12453
- source_component_id: string;
12454
- ftype: "led";
12455
- source_group_id?: string | undefined;
12456
- manufacturer_part_number?: string | undefined;
12457
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
12458
- display_value?: string | undefined;
12459
- are_pins_interchangeable?: boolean | undefined;
12460
- internally_connected_source_port_ids?: string[][] | undefined;
12461
- }>, z.ZodObject<{
12462
- type: z.ZodLiteral<"source_component">;
12463
- source_component_id: z.ZodString;
12464
- name: z.ZodString;
12465
- manufacturer_part_number: z.ZodOptional<z.ZodString>;
12466
- supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
12467
- display_value: z.ZodOptional<z.ZodString>;
12468
- are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12469
- internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12470
- source_group_id: z.ZodOptional<z.ZodString>;
12471
12362
  } & {
12472
12363
  ftype: z.ZodLiteral<"simple_power_source">;
12473
12364
  voltage: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -13060,40 +12951,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13060
12951
  y?: number | undefined;
13061
12952
  } | undefined;
13062
12953
  }>]>, z.ZodObject<{
13063
- type: z.ZodLiteral<"source_component">;
13064
- source_component_id: z.ZodString;
13065
- name: z.ZodString;
13066
- manufacturer_part_number: z.ZodOptional<z.ZodString>;
13067
- supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
13068
- display_value: z.ZodOptional<z.ZodString>;
13069
- are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13070
- internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13071
- source_group_id: z.ZodOptional<z.ZodString>;
13072
- } & {
13073
- ftype: z.ZodLiteral<"led">;
13074
- }, "strip", z.ZodTypeAny, {
13075
- type: "source_component";
13076
- name: string;
13077
- source_component_id: string;
13078
- ftype: "led";
13079
- source_group_id?: string | undefined;
13080
- manufacturer_part_number?: string | undefined;
13081
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
13082
- display_value?: string | undefined;
13083
- are_pins_interchangeable?: boolean | undefined;
13084
- internally_connected_source_port_ids?: string[][] | undefined;
13085
- }, {
13086
- type: "source_component";
13087
- name: string;
13088
- source_component_id: string;
13089
- ftype: "led";
13090
- source_group_id?: string | undefined;
13091
- manufacturer_part_number?: string | undefined;
13092
- supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
13093
- display_value?: string | undefined;
13094
- are_pins_interchangeable?: boolean | undefined;
13095
- internally_connected_source_port_ids?: string[][] | undefined;
13096
- }>, z.ZodObject<{
13097
12954
  type: z.ZodLiteral<"source_net">;
13098
12955
  source_net_id: z.ZodString;
13099
12956
  name: z.ZodString;
@@ -15796,6 +15653,33 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15796
15653
  message: string;
15797
15654
  type: "pcb_autorouting_error";
15798
15655
  pcb_error_id?: string | undefined;
15656
+ }>, z.ZodObject<{
15657
+ type: z.ZodLiteral<"pcb_breakout_point">;
15658
+ pcb_breakout_point_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
15659
+ pcb_group_id: z.ZodString;
15660
+ subcircuit_id: z.ZodOptional<z.ZodString>;
15661
+ source_trace_id: z.ZodOptional<z.ZodString>;
15662
+ source_net_id: z.ZodOptional<z.ZodString>;
15663
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15664
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15665
+ }, "strip", z.ZodTypeAny, {
15666
+ x: number;
15667
+ y: number;
15668
+ type: "pcb_breakout_point";
15669
+ pcb_group_id: string;
15670
+ pcb_breakout_point_id: string;
15671
+ subcircuit_id?: string | undefined;
15672
+ source_trace_id?: string | undefined;
15673
+ source_net_id?: string | undefined;
15674
+ }, {
15675
+ x: string | number;
15676
+ y: string | number;
15677
+ type: "pcb_breakout_point";
15678
+ pcb_group_id: string;
15679
+ subcircuit_id?: string | undefined;
15680
+ source_trace_id?: string | undefined;
15681
+ pcb_breakout_point_id?: string | undefined;
15682
+ source_net_id?: string | undefined;
15799
15683
  }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
15800
15684
  type: z.ZodLiteral<"pcb_cutout">;
15801
15685
  pcb_cutout_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -16501,8 +16385,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
16501
16385
  y: number;
16502
16386
  };
16503
16387
  text: string;
16504
- schematic_net_label_id: string;
16505
16388
  source_net_id: string;
16389
+ schematic_net_label_id: string;
16506
16390
  anchor_side: "top" | "bottom" | "left" | "right";
16507
16391
  source_trace_id?: string | undefined;
16508
16392
  anchor_position?: {
@@ -16894,4 +16778,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
16894
16778
  */
16895
16779
  type CircuitJson = AnyCircuitElement[];
16896
16780
 
16897
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, 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 PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, 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 PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, 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 PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, 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 SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, 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 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 SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, 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_placement_error, pcb_plated_hole, pcb_port, 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_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, 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_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_led, source_missing_property_error, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, 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_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, supplier_name, time, visible_layer, voltage };
16781
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type AnySourceElement, type CadComponent, type CadComponentInput, type CircuitJson, type CircuitJsonError, type Distance, type InferredProjectMetadata, type InferredSchematicNetLabel, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, 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 PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, 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 PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, 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 PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, 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 SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type Size, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, 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 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 SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_autorouting_error, pcb_board, pcb_breakout_point, pcb_component, pcb_cutout, pcb_cutout_circle, pcb_cutout_polygon, pcb_cutout_rect, pcb_fabrication_note_path, pcb_fabrication_note_text, 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_placement_error, pcb_plated_hole, pcb_port, 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_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, port_arrangement, position, position3, resistance, rotation, route_hint_point, schematic_box, 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_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_port, source_project_metadata, source_simple_battery, source_simple_bug, 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_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, supplier_name, time, visible_layer, voltage };