circuit-json 0.0.195 → 0.0.196

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
@@ -67,6 +67,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
67
67
  - [SourceSimpleResistor](#sourcesimpleresistor)
68
68
  - [SourceSimpleResonator](#sourcesimpleresonator)
69
69
  - [SourceSimpleSwitch](#sourcesimpleswitch)
70
+ - [SourceSimpleTestPoint](#sourcesimpletestpoint)
70
71
  - [SourceSimpleTransistor](#sourcesimpletransistor)
71
72
  - [SourceTrace](#sourcetrace)
72
73
  - [PCB Elements](#pcb-elements)
@@ -501,6 +502,25 @@ interface SourceSimpleSwitch extends SourceComponentBase {
501
502
  }
502
503
  ```
503
504
 
505
+ ### SourceSimpleTestPoint
506
+
507
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_test_point.ts)
508
+
509
+ ```typescript
510
+ /** Defines a simple test point component
511
+ * Can be surface-mount or through-hole.
512
+ * Pad shape and dimensions configurable for different use cases. */
513
+ interface SourceSimpleTestPoint extends SourceComponentBase {
514
+ ftype: "simple_test_point"
515
+ footprint_variant?: "pad" | "through_hole"
516
+ pad_shape?: "rect" | "circle"
517
+ pad_diameter?: number | string
518
+ hole_diameter?: number | string
519
+ width?: number | string
520
+ height?: number | string
521
+ }
522
+ ```
523
+
504
524
  ### SourceSimpleTransistor
505
525
 
506
526
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_transistor.ts)
package/dist/index.d.mts CHANGED
@@ -5854,6 +5854,75 @@ interface SourceSimpleTransistor extends SourceComponentBase {
5854
5854
  transistor_type: "npn" | "pnp";
5855
5855
  }
5856
5856
 
5857
+ declare const source_simple_test_point: z.ZodObject<{
5858
+ type: z.ZodLiteral<"source_component">;
5859
+ source_component_id: z.ZodString;
5860
+ name: z.ZodString;
5861
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
5862
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
5863
+ display_value: z.ZodOptional<z.ZodString>;
5864
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5865
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5866
+ source_group_id: z.ZodOptional<z.ZodString>;
5867
+ } & {
5868
+ ftype: z.ZodLiteral<"simple_test_point">;
5869
+ footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
5870
+ pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
5871
+ pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
5872
+ hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
5873
+ width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
5874
+ height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
5875
+ }, "strip", z.ZodTypeAny, {
5876
+ type: "source_component";
5877
+ name: string;
5878
+ source_component_id: string;
5879
+ ftype: "simple_test_point";
5880
+ width?: string | number | undefined;
5881
+ height?: string | number | undefined;
5882
+ hole_diameter?: string | number | undefined;
5883
+ pad_shape?: "circle" | "rect" | undefined;
5884
+ source_group_id?: string | undefined;
5885
+ manufacturer_part_number?: string | undefined;
5886
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5887
+ display_value?: string | undefined;
5888
+ are_pins_interchangeable?: boolean | undefined;
5889
+ internally_connected_source_port_ids?: string[][] | undefined;
5890
+ footprint_variant?: "pad" | "through_hole" | undefined;
5891
+ pad_diameter?: string | number | undefined;
5892
+ }, {
5893
+ type: "source_component";
5894
+ name: string;
5895
+ source_component_id: string;
5896
+ ftype: "simple_test_point";
5897
+ width?: string | number | undefined;
5898
+ height?: string | number | undefined;
5899
+ hole_diameter?: string | number | undefined;
5900
+ pad_shape?: "circle" | "rect" | undefined;
5901
+ source_group_id?: string | undefined;
5902
+ manufacturer_part_number?: string | undefined;
5903
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5904
+ display_value?: string | undefined;
5905
+ are_pins_interchangeable?: boolean | undefined;
5906
+ internally_connected_source_port_ids?: string[][] | undefined;
5907
+ footprint_variant?: "pad" | "through_hole" | undefined;
5908
+ pad_diameter?: string | number | undefined;
5909
+ }>;
5910
+ type SourceSimpleTestPointInput = z.input<typeof source_simple_test_point>;
5911
+ /**
5912
+ * Defines a simple test point component
5913
+ * Can be surface-mount or through-hole.
5914
+ * Pad shape and dimensions configurable for different use cases.
5915
+ */
5916
+ interface SourceSimpleTestPoint extends SourceComponentBase {
5917
+ ftype: "simple_test_point";
5918
+ footprint_variant?: "pad" | "through_hole";
5919
+ pad_shape?: "rect" | "circle";
5920
+ pad_diameter?: number | string;
5921
+ hole_diameter?: number | string;
5922
+ width?: number | string;
5923
+ height?: number | string;
5924
+ }
5925
+
5857
5926
  declare const source_simple_mosfet: z.ZodObject<{
5858
5927
  type: z.ZodLiteral<"source_component">;
5859
5928
  source_component_id: z.ZodString;
@@ -6771,6 +6840,58 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6771
6840
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6772
6841
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6773
6842
  source_group_id: z.ZodOptional<z.ZodString>;
6843
+ } & {
6844
+ ftype: z.ZodLiteral<"simple_test_point">;
6845
+ footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
6846
+ pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
6847
+ pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
6848
+ hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
6849
+ width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
6850
+ height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
6851
+ }, "strip", z.ZodTypeAny, {
6852
+ type: "source_component";
6853
+ name: string;
6854
+ source_component_id: string;
6855
+ ftype: "simple_test_point";
6856
+ width?: string | number | undefined;
6857
+ height?: string | number | undefined;
6858
+ hole_diameter?: string | number | undefined;
6859
+ pad_shape?: "circle" | "rect" | undefined;
6860
+ source_group_id?: string | undefined;
6861
+ manufacturer_part_number?: string | undefined;
6862
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6863
+ display_value?: string | undefined;
6864
+ are_pins_interchangeable?: boolean | undefined;
6865
+ internally_connected_source_port_ids?: string[][] | undefined;
6866
+ footprint_variant?: "pad" | "through_hole" | undefined;
6867
+ pad_diameter?: string | number | undefined;
6868
+ }, {
6869
+ type: "source_component";
6870
+ name: string;
6871
+ source_component_id: string;
6872
+ ftype: "simple_test_point";
6873
+ width?: string | number | undefined;
6874
+ height?: string | number | undefined;
6875
+ hole_diameter?: string | number | undefined;
6876
+ pad_shape?: "circle" | "rect" | undefined;
6877
+ source_group_id?: string | undefined;
6878
+ manufacturer_part_number?: string | undefined;
6879
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6880
+ display_value?: string | undefined;
6881
+ are_pins_interchangeable?: boolean | undefined;
6882
+ internally_connected_source_port_ids?: string[][] | undefined;
6883
+ footprint_variant?: "pad" | "through_hole" | undefined;
6884
+ pad_diameter?: string | number | undefined;
6885
+ }>, z.ZodObject<{
6886
+ type: z.ZodLiteral<"source_component">;
6887
+ source_component_id: z.ZodString;
6888
+ name: z.ZodString;
6889
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
6890
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
6891
+ display_value: z.ZodOptional<z.ZodString>;
6892
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6893
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6894
+ source_group_id: z.ZodOptional<z.ZodString>;
6774
6895
  } & {
6775
6896
  ftype: z.ZodLiteral<"simple_mosfet">;
6776
6897
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -6939,7 +7060,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
6939
7060
  * Deprecated: use `AnySourceElement` instead
6940
7061
  */
6941
7062
  type AnySourceComponent = z.infer<typeof any_source_component>;
6942
- type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
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;
6943
7064
 
6944
7065
  declare const source_port: z.ZodObject<{
6945
7066
  type: z.ZodLiteral<"source_port">;
@@ -7947,6 +8068,58 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7947
8068
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7948
8069
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7949
8070
  source_group_id: z.ZodOptional<z.ZodString>;
8071
+ } & {
8072
+ ftype: z.ZodLiteral<"simple_test_point">;
8073
+ footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
8074
+ pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
8075
+ pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8076
+ hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8077
+ width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8078
+ height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8079
+ }, "strip", z.ZodTypeAny, {
8080
+ type: "source_component";
8081
+ name: string;
8082
+ source_component_id: string;
8083
+ ftype: "simple_test_point";
8084
+ width?: string | number | undefined;
8085
+ height?: string | number | undefined;
8086
+ hole_diameter?: string | number | undefined;
8087
+ pad_shape?: "circle" | "rect" | undefined;
8088
+ source_group_id?: string | undefined;
8089
+ manufacturer_part_number?: string | undefined;
8090
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8091
+ display_value?: string | undefined;
8092
+ are_pins_interchangeable?: boolean | undefined;
8093
+ internally_connected_source_port_ids?: string[][] | undefined;
8094
+ footprint_variant?: "pad" | "through_hole" | undefined;
8095
+ pad_diameter?: string | number | undefined;
8096
+ }, {
8097
+ type: "source_component";
8098
+ name: string;
8099
+ source_component_id: string;
8100
+ ftype: "simple_test_point";
8101
+ width?: string | number | undefined;
8102
+ height?: string | number | undefined;
8103
+ hole_diameter?: string | number | undefined;
8104
+ pad_shape?: "circle" | "rect" | undefined;
8105
+ source_group_id?: string | undefined;
8106
+ manufacturer_part_number?: string | undefined;
8107
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8108
+ display_value?: string | undefined;
8109
+ are_pins_interchangeable?: boolean | undefined;
8110
+ internally_connected_source_port_ids?: string[][] | undefined;
8111
+ footprint_variant?: "pad" | "through_hole" | undefined;
8112
+ pad_diameter?: string | number | undefined;
8113
+ }>, z.ZodObject<{
8114
+ type: z.ZodLiteral<"source_component">;
8115
+ source_component_id: z.ZodString;
8116
+ name: z.ZodString;
8117
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
8118
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8119
+ display_value: z.ZodOptional<z.ZodString>;
8120
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8121
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8122
+ source_group_id: z.ZodOptional<z.ZodString>;
7950
8123
  } & {
7951
8124
  ftype: z.ZodLiteral<"simple_mosfet">;
7952
8125
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -8704,6 +8877,58 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8704
8877
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8705
8878
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8706
8879
  source_group_id: z.ZodOptional<z.ZodString>;
8880
+ } & {
8881
+ ftype: z.ZodLiteral<"simple_test_point">;
8882
+ footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
8883
+ pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
8884
+ pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8885
+ hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8886
+ width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8887
+ height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8888
+ }, "strip", z.ZodTypeAny, {
8889
+ type: "source_component";
8890
+ name: string;
8891
+ source_component_id: string;
8892
+ ftype: "simple_test_point";
8893
+ width?: string | number | undefined;
8894
+ height?: string | number | undefined;
8895
+ hole_diameter?: string | number | undefined;
8896
+ pad_shape?: "circle" | "rect" | undefined;
8897
+ source_group_id?: string | undefined;
8898
+ manufacturer_part_number?: string | undefined;
8899
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8900
+ display_value?: string | undefined;
8901
+ are_pins_interchangeable?: boolean | undefined;
8902
+ internally_connected_source_port_ids?: string[][] | undefined;
8903
+ footprint_variant?: "pad" | "through_hole" | undefined;
8904
+ pad_diameter?: string | number | undefined;
8905
+ }, {
8906
+ type: "source_component";
8907
+ name: string;
8908
+ source_component_id: string;
8909
+ ftype: "simple_test_point";
8910
+ width?: string | number | undefined;
8911
+ height?: string | number | undefined;
8912
+ hole_diameter?: string | number | undefined;
8913
+ pad_shape?: "circle" | "rect" | undefined;
8914
+ source_group_id?: string | undefined;
8915
+ manufacturer_part_number?: string | undefined;
8916
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8917
+ display_value?: string | undefined;
8918
+ are_pins_interchangeable?: boolean | undefined;
8919
+ internally_connected_source_port_ids?: string[][] | undefined;
8920
+ footprint_variant?: "pad" | "through_hole" | undefined;
8921
+ pad_diameter?: string | number | undefined;
8922
+ }>, z.ZodObject<{
8923
+ type: z.ZodLiteral<"source_component">;
8924
+ source_component_id: z.ZodString;
8925
+ name: z.ZodString;
8926
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
8927
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8928
+ display_value: z.ZodOptional<z.ZodString>;
8929
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8930
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8931
+ source_group_id: z.ZodOptional<z.ZodString>;
8707
8932
  } & {
8708
8933
  ftype: z.ZodLiteral<"simple_mosfet">;
8709
8934
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -12619,6 +12844,58 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12619
12844
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12620
12845
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12621
12846
  source_group_id: z.ZodOptional<z.ZodString>;
12847
+ } & {
12848
+ ftype: z.ZodLiteral<"simple_test_point">;
12849
+ footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
12850
+ pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
12851
+ pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
12852
+ hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
12853
+ width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
12854
+ height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
12855
+ }, "strip", z.ZodTypeAny, {
12856
+ type: "source_component";
12857
+ name: string;
12858
+ source_component_id: string;
12859
+ ftype: "simple_test_point";
12860
+ width?: string | number | undefined;
12861
+ height?: string | number | undefined;
12862
+ hole_diameter?: string | number | undefined;
12863
+ pad_shape?: "circle" | "rect" | undefined;
12864
+ source_group_id?: string | undefined;
12865
+ manufacturer_part_number?: string | undefined;
12866
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
12867
+ display_value?: string | undefined;
12868
+ are_pins_interchangeable?: boolean | undefined;
12869
+ internally_connected_source_port_ids?: string[][] | undefined;
12870
+ footprint_variant?: "pad" | "through_hole" | undefined;
12871
+ pad_diameter?: string | number | undefined;
12872
+ }, {
12873
+ type: "source_component";
12874
+ name: string;
12875
+ source_component_id: string;
12876
+ ftype: "simple_test_point";
12877
+ width?: string | number | undefined;
12878
+ height?: string | number | undefined;
12879
+ hole_diameter?: string | number | undefined;
12880
+ pad_shape?: "circle" | "rect" | undefined;
12881
+ source_group_id?: string | undefined;
12882
+ manufacturer_part_number?: string | undefined;
12883
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
12884
+ display_value?: string | undefined;
12885
+ are_pins_interchangeable?: boolean | undefined;
12886
+ internally_connected_source_port_ids?: string[][] | undefined;
12887
+ footprint_variant?: "pad" | "through_hole" | undefined;
12888
+ pad_diameter?: string | number | undefined;
12889
+ }>, z.ZodObject<{
12890
+ type: z.ZodLiteral<"source_component">;
12891
+ source_component_id: z.ZodString;
12892
+ name: z.ZodString;
12893
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
12894
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
12895
+ display_value: z.ZodOptional<z.ZodString>;
12896
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12897
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12898
+ source_group_id: z.ZodOptional<z.ZodString>;
12622
12899
  } & {
12623
12900
  ftype: z.ZodLiteral<"simple_mosfet">;
12624
12901
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -13376,6 +13653,58 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13376
13653
  are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13377
13654
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13378
13655
  source_group_id: z.ZodOptional<z.ZodString>;
13656
+ } & {
13657
+ ftype: z.ZodLiteral<"simple_test_point">;
13658
+ footprint_variant: z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>;
13659
+ pad_shape: z.ZodOptional<z.ZodEnum<["rect", "circle"]>>;
13660
+ pad_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
13661
+ hole_diameter: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
13662
+ width: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
13663
+ height: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
13664
+ }, "strip", z.ZodTypeAny, {
13665
+ type: "source_component";
13666
+ name: string;
13667
+ source_component_id: string;
13668
+ ftype: "simple_test_point";
13669
+ width?: string | number | undefined;
13670
+ height?: string | number | undefined;
13671
+ hole_diameter?: string | number | undefined;
13672
+ pad_shape?: "circle" | "rect" | undefined;
13673
+ source_group_id?: string | undefined;
13674
+ manufacturer_part_number?: string | undefined;
13675
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
13676
+ display_value?: string | undefined;
13677
+ are_pins_interchangeable?: boolean | undefined;
13678
+ internally_connected_source_port_ids?: string[][] | undefined;
13679
+ footprint_variant?: "pad" | "through_hole" | undefined;
13680
+ pad_diameter?: string | number | undefined;
13681
+ }, {
13682
+ type: "source_component";
13683
+ name: string;
13684
+ source_component_id: string;
13685
+ ftype: "simple_test_point";
13686
+ width?: string | number | undefined;
13687
+ height?: string | number | undefined;
13688
+ hole_diameter?: string | number | undefined;
13689
+ pad_shape?: "circle" | "rect" | undefined;
13690
+ source_group_id?: string | undefined;
13691
+ manufacturer_part_number?: string | undefined;
13692
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
13693
+ display_value?: string | undefined;
13694
+ are_pins_interchangeable?: boolean | undefined;
13695
+ internally_connected_source_port_ids?: string[][] | undefined;
13696
+ footprint_variant?: "pad" | "through_hole" | undefined;
13697
+ pad_diameter?: string | number | undefined;
13698
+ }>, z.ZodObject<{
13699
+ type: z.ZodLiteral<"source_component">;
13700
+ source_component_id: z.ZodString;
13701
+ name: z.ZodString;
13702
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
13703
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
13704
+ display_value: z.ZodOptional<z.ZodString>;
13705
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
13706
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
13707
+ source_group_id: z.ZodOptional<z.ZodString>;
13379
13708
  } & {
13380
13709
  ftype: z.ZodLiteral<"simple_mosfet">;
13381
13710
  channel_type: z.ZodEnum<["n", "p"]>;
@@ -16565,4 +16894,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
16565
16894
  */
16566
16895
  type CircuitJson = AnyCircuitElement[];
16567
16896
 
16568
- 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 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_transistor, source_trace, supplier_name, time, visible_layer, voltage };
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 };