circuit-json 0.0.235 → 0.0.237

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
@@ -66,6 +66,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
66
66
  - [SourceSimpleInductor](#sourcesimpleinductor)
67
67
  - [SourceSimpleLed](#sourcesimpleled)
68
68
  - [SourceSimpleMosfet](#sourcesimplemosfet)
69
+ - [SourceSimplePinout](#sourcesimplepinout)
69
70
  - [SourceSimplePowerSource](#sourcesimplepowersource)
70
71
  - [SourceSimplePushButton](#sourcesimplepushbutton)
71
72
  - [SourceSimpleResistor](#sourcesimpleresistor)
@@ -537,6 +538,19 @@ interface SourceSimpleMosfet extends SourceComponentBase {
537
538
  }
538
539
  ```
539
540
 
541
+ ### SourceSimplePinout
542
+
543
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_pinout.ts)
544
+
545
+ Defines a simple pinout component
546
+
547
+ ```typescript
548
+ /** Defines a simple pinout component */
549
+ interface SourceSimplePinout extends SourceComponentBase {
550
+ ftype: "simple_pinout"
551
+ }
552
+ ```
553
+
540
554
  ### SourceSimplePowerSource
541
555
 
542
556
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_power_source.ts)
@@ -1739,6 +1753,8 @@ interface SchematicPort {
1739
1753
  display_pin_label?: string
1740
1754
  subcircuit_id?: string
1741
1755
  is_connected?: boolean
1756
+ has_input_arrow?: boolean
1757
+ has_output_arrow?: boolean
1742
1758
  }
1743
1759
  ```
1744
1760
 
package/dist/index.d.mts CHANGED
@@ -5011,6 +5011,8 @@ interface SchematicPort {
5011
5011
  display_pin_label?: string;
5012
5012
  subcircuit_id?: string;
5013
5013
  is_connected?: boolean;
5014
+ has_input_arrow?: boolean;
5015
+ has_output_arrow?: boolean;
5014
5016
  }
5015
5017
  declare const schematic_port: z.ZodObject<{
5016
5018
  type: z.ZodLiteral<"schematic_port">;
@@ -5035,6 +5037,8 @@ declare const schematic_port: z.ZodObject<{
5035
5037
  display_pin_label: z.ZodOptional<z.ZodString>;
5036
5038
  subcircuit_id: z.ZodOptional<z.ZodString>;
5037
5039
  is_connected: z.ZodOptional<z.ZodBoolean>;
5040
+ has_input_arrow: z.ZodOptional<z.ZodBoolean>;
5041
+ has_output_arrow: z.ZodOptional<z.ZodBoolean>;
5038
5042
  }, "strip", z.ZodTypeAny, {
5039
5043
  type: "schematic_port";
5040
5044
  center: {
@@ -5052,6 +5056,8 @@ declare const schematic_port: z.ZodObject<{
5052
5056
  pin_number?: number | undefined;
5053
5057
  display_pin_label?: string | undefined;
5054
5058
  is_connected?: boolean | undefined;
5059
+ has_input_arrow?: boolean | undefined;
5060
+ has_output_arrow?: boolean | undefined;
5055
5061
  }, {
5056
5062
  type: "schematic_port";
5057
5063
  center: {
@@ -5069,6 +5075,8 @@ declare const schematic_port: z.ZodObject<{
5069
5075
  pin_number?: number | undefined;
5070
5076
  display_pin_label?: string | undefined;
5071
5077
  is_connected?: boolean | undefined;
5078
+ has_input_arrow?: boolean | undefined;
5079
+ has_output_arrow?: boolean | undefined;
5072
5080
  }>;
5073
5081
  type SchematicPortInput = z.input<typeof schematic_port>;
5074
5082
 
@@ -6577,6 +6585,52 @@ interface SourceSimplePinHeader extends SourceSimplePinHeaderInput {
6577
6585
  gender: "male" | "female";
6578
6586
  }
6579
6587
 
6588
+ declare const source_simple_pinout: z.ZodObject<{
6589
+ type: z.ZodLiteral<"source_component">;
6590
+ source_component_id: z.ZodString;
6591
+ name: z.ZodString;
6592
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
6593
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
6594
+ display_value: z.ZodOptional<z.ZodString>;
6595
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6596
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6597
+ source_group_id: z.ZodOptional<z.ZodString>;
6598
+ subcircuit_id: z.ZodOptional<z.ZodString>;
6599
+ } & {
6600
+ ftype: z.ZodLiteral<"simple_pinout">;
6601
+ }, "strip", z.ZodTypeAny, {
6602
+ type: "source_component";
6603
+ name: string;
6604
+ source_component_id: string;
6605
+ ftype: "simple_pinout";
6606
+ subcircuit_id?: string | undefined;
6607
+ source_group_id?: string | undefined;
6608
+ manufacturer_part_number?: string | undefined;
6609
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6610
+ display_value?: string | undefined;
6611
+ are_pins_interchangeable?: boolean | undefined;
6612
+ internally_connected_source_port_ids?: string[][] | undefined;
6613
+ }, {
6614
+ type: "source_component";
6615
+ name: string;
6616
+ source_component_id: string;
6617
+ ftype: "simple_pinout";
6618
+ subcircuit_id?: string | undefined;
6619
+ source_group_id?: string | undefined;
6620
+ manufacturer_part_number?: string | undefined;
6621
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6622
+ display_value?: string | undefined;
6623
+ are_pins_interchangeable?: boolean | undefined;
6624
+ internally_connected_source_port_ids?: string[][] | undefined;
6625
+ }>;
6626
+ type SourceSimplePinoutInput = z.input<typeof source_simple_pinout>;
6627
+ /**
6628
+ * Defines a simple pinout component
6629
+ */
6630
+ interface SourceSimplePinout extends SourceComponentBase {
6631
+ ftype: "simple_pinout";
6632
+ }
6633
+
6580
6634
  declare const source_simple_resonator: z.ZodObject<{
6581
6635
  type: z.ZodLiteral<"source_component">;
6582
6636
  source_component_id: z.ZodString;
@@ -7680,6 +7734,43 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
7680
7734
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7681
7735
  source_group_id: z.ZodOptional<z.ZodString>;
7682
7736
  subcircuit_id: z.ZodOptional<z.ZodString>;
7737
+ } & {
7738
+ ftype: z.ZodLiteral<"simple_pinout">;
7739
+ }, "strip", z.ZodTypeAny, {
7740
+ type: "source_component";
7741
+ name: string;
7742
+ source_component_id: string;
7743
+ ftype: "simple_pinout";
7744
+ subcircuit_id?: string | undefined;
7745
+ source_group_id?: string | undefined;
7746
+ manufacturer_part_number?: string | undefined;
7747
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7748
+ display_value?: string | undefined;
7749
+ are_pins_interchangeable?: boolean | undefined;
7750
+ internally_connected_source_port_ids?: string[][] | undefined;
7751
+ }, {
7752
+ type: "source_component";
7753
+ name: string;
7754
+ source_component_id: string;
7755
+ ftype: "simple_pinout";
7756
+ subcircuit_id?: string | undefined;
7757
+ source_group_id?: string | undefined;
7758
+ manufacturer_part_number?: string | undefined;
7759
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7760
+ display_value?: string | undefined;
7761
+ are_pins_interchangeable?: boolean | undefined;
7762
+ internally_connected_source_port_ids?: string[][] | undefined;
7763
+ }>, z.ZodObject<{
7764
+ type: z.ZodLiteral<"source_component">;
7765
+ source_component_id: z.ZodString;
7766
+ name: z.ZodString;
7767
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
7768
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
7769
+ display_value: z.ZodOptional<z.ZodString>;
7770
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7771
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7772
+ source_group_id: z.ZodOptional<z.ZodString>;
7773
+ subcircuit_id: z.ZodOptional<z.ZodString>;
7683
7774
  } & {
7684
7775
  ftype: z.ZodLiteral<"simple_resonator">;
7685
7776
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -8118,7 +8209,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<{
8118
8209
  * Deprecated: use `AnySourceElement` instead
8119
8210
  */
8120
8211
  type AnySourceComponent = z.infer<typeof any_source_component>;
8121
- type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError | SourceTraceNotConnectedError | SourcePropertyIgnoredWarning | SourcePinMissingTraceWarning;
8212
+ type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimplePinout | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleTestPoint | SourceSimpleMosfet | SourceSimpleFuse | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError | SourceTraceNotConnectedError | SourcePropertyIgnoredWarning | SourcePinMissingTraceWarning;
8122
8213
 
8123
8214
  declare const source_port: z.ZodObject<{
8124
8215
  type: z.ZodLiteral<"source_port">;
@@ -9238,6 +9329,43 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9238
9329
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
9239
9330
  source_group_id: z.ZodOptional<z.ZodString>;
9240
9331
  subcircuit_id: z.ZodOptional<z.ZodString>;
9332
+ } & {
9333
+ ftype: z.ZodLiteral<"simple_pinout">;
9334
+ }, "strip", z.ZodTypeAny, {
9335
+ type: "source_component";
9336
+ name: string;
9337
+ source_component_id: string;
9338
+ ftype: "simple_pinout";
9339
+ subcircuit_id?: string | undefined;
9340
+ source_group_id?: string | undefined;
9341
+ manufacturer_part_number?: string | undefined;
9342
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
9343
+ display_value?: string | undefined;
9344
+ are_pins_interchangeable?: boolean | undefined;
9345
+ internally_connected_source_port_ids?: string[][] | undefined;
9346
+ }, {
9347
+ type: "source_component";
9348
+ name: string;
9349
+ source_component_id: string;
9350
+ ftype: "simple_pinout";
9351
+ subcircuit_id?: string | undefined;
9352
+ source_group_id?: string | undefined;
9353
+ manufacturer_part_number?: string | undefined;
9354
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
9355
+ display_value?: string | undefined;
9356
+ are_pins_interchangeable?: boolean | undefined;
9357
+ internally_connected_source_port_ids?: string[][] | undefined;
9358
+ }>, z.ZodObject<{
9359
+ type: z.ZodLiteral<"source_component">;
9360
+ source_component_id: z.ZodString;
9361
+ name: z.ZodString;
9362
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
9363
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
9364
+ display_value: z.ZodOptional<z.ZodString>;
9365
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
9366
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
9367
+ source_group_id: z.ZodOptional<z.ZodString>;
9368
+ subcircuit_id: z.ZodOptional<z.ZodString>;
9241
9369
  } & {
9242
9370
  ftype: z.ZodLiteral<"simple_resonator">;
9243
9371
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -10117,6 +10245,43 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10117
10245
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
10118
10246
  source_group_id: z.ZodOptional<z.ZodString>;
10119
10247
  subcircuit_id: z.ZodOptional<z.ZodString>;
10248
+ } & {
10249
+ ftype: z.ZodLiteral<"simple_pinout">;
10250
+ }, "strip", z.ZodTypeAny, {
10251
+ type: "source_component";
10252
+ name: string;
10253
+ source_component_id: string;
10254
+ ftype: "simple_pinout";
10255
+ subcircuit_id?: string | undefined;
10256
+ source_group_id?: string | undefined;
10257
+ manufacturer_part_number?: string | undefined;
10258
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
10259
+ display_value?: string | undefined;
10260
+ are_pins_interchangeable?: boolean | undefined;
10261
+ internally_connected_source_port_ids?: string[][] | undefined;
10262
+ }, {
10263
+ type: "source_component";
10264
+ name: string;
10265
+ source_component_id: string;
10266
+ ftype: "simple_pinout";
10267
+ subcircuit_id?: string | undefined;
10268
+ source_group_id?: string | undefined;
10269
+ manufacturer_part_number?: string | undefined;
10270
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
10271
+ display_value?: string | undefined;
10272
+ are_pins_interchangeable?: boolean | undefined;
10273
+ internally_connected_source_port_ids?: string[][] | undefined;
10274
+ }>, z.ZodObject<{
10275
+ type: z.ZodLiteral<"source_component">;
10276
+ source_component_id: z.ZodString;
10277
+ name: z.ZodString;
10278
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
10279
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
10280
+ display_value: z.ZodOptional<z.ZodString>;
10281
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
10282
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
10283
+ source_group_id: z.ZodOptional<z.ZodString>;
10284
+ subcircuit_id: z.ZodOptional<z.ZodString>;
10120
10285
  } & {
10121
10286
  ftype: z.ZodLiteral<"simple_resonator">;
10122
10287
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -13351,6 +13516,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13351
13516
  display_pin_label: z.ZodOptional<z.ZodString>;
13352
13517
  subcircuit_id: z.ZodOptional<z.ZodString>;
13353
13518
  is_connected: z.ZodOptional<z.ZodBoolean>;
13519
+ has_input_arrow: z.ZodOptional<z.ZodBoolean>;
13520
+ has_output_arrow: z.ZodOptional<z.ZodBoolean>;
13354
13521
  }, "strip", z.ZodTypeAny, {
13355
13522
  type: "schematic_port";
13356
13523
  center: {
@@ -13368,6 +13535,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13368
13535
  pin_number?: number | undefined;
13369
13536
  display_pin_label?: string | undefined;
13370
13537
  is_connected?: boolean | undefined;
13538
+ has_input_arrow?: boolean | undefined;
13539
+ has_output_arrow?: boolean | undefined;
13371
13540
  }, {
13372
13541
  type: "schematic_port";
13373
13542
  center: {
@@ -13385,6 +13554,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
13385
13554
  pin_number?: number | undefined;
13386
13555
  display_pin_label?: string | undefined;
13387
13556
  is_connected?: boolean | undefined;
13557
+ has_input_arrow?: boolean | undefined;
13558
+ has_output_arrow?: boolean | undefined;
13388
13559
  }>, z.ZodObject<{
13389
13560
  type: z.ZodLiteral<"schematic_trace">;
13390
13561
  schematic_trace_id: z.ZodString;
@@ -14791,6 +14962,43 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
14791
14962
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
14792
14963
  source_group_id: z.ZodOptional<z.ZodString>;
14793
14964
  subcircuit_id: z.ZodOptional<z.ZodString>;
14965
+ } & {
14966
+ ftype: z.ZodLiteral<"simple_pinout">;
14967
+ }, "strip", z.ZodTypeAny, {
14968
+ type: "source_component";
14969
+ name: string;
14970
+ source_component_id: string;
14971
+ ftype: "simple_pinout";
14972
+ subcircuit_id?: string | undefined;
14973
+ source_group_id?: string | undefined;
14974
+ manufacturer_part_number?: string | undefined;
14975
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
14976
+ display_value?: string | undefined;
14977
+ are_pins_interchangeable?: boolean | undefined;
14978
+ internally_connected_source_port_ids?: string[][] | undefined;
14979
+ }, {
14980
+ type: "source_component";
14981
+ name: string;
14982
+ source_component_id: string;
14983
+ ftype: "simple_pinout";
14984
+ subcircuit_id?: string | undefined;
14985
+ source_group_id?: string | undefined;
14986
+ manufacturer_part_number?: string | undefined;
14987
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
14988
+ display_value?: string | undefined;
14989
+ are_pins_interchangeable?: boolean | undefined;
14990
+ internally_connected_source_port_ids?: string[][] | undefined;
14991
+ }>, z.ZodObject<{
14992
+ type: z.ZodLiteral<"source_component">;
14993
+ source_component_id: z.ZodString;
14994
+ name: z.ZodString;
14995
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
14996
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
14997
+ display_value: z.ZodOptional<z.ZodString>;
14998
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
14999
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
15000
+ source_group_id: z.ZodOptional<z.ZodString>;
15001
+ subcircuit_id: z.ZodOptional<z.ZodString>;
14794
15002
  } & {
14795
15003
  ftype: z.ZodLiteral<"simple_resonator">;
14796
15004
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -15670,6 +15878,43 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15670
15878
  internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
15671
15879
  source_group_id: z.ZodOptional<z.ZodString>;
15672
15880
  subcircuit_id: z.ZodOptional<z.ZodString>;
15881
+ } & {
15882
+ ftype: z.ZodLiteral<"simple_pinout">;
15883
+ }, "strip", z.ZodTypeAny, {
15884
+ type: "source_component";
15885
+ name: string;
15886
+ source_component_id: string;
15887
+ ftype: "simple_pinout";
15888
+ subcircuit_id?: string | undefined;
15889
+ source_group_id?: string | undefined;
15890
+ manufacturer_part_number?: string | undefined;
15891
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
15892
+ display_value?: string | undefined;
15893
+ are_pins_interchangeable?: boolean | undefined;
15894
+ internally_connected_source_port_ids?: string[][] | undefined;
15895
+ }, {
15896
+ type: "source_component";
15897
+ name: string;
15898
+ source_component_id: string;
15899
+ ftype: "simple_pinout";
15900
+ subcircuit_id?: string | undefined;
15901
+ source_group_id?: string | undefined;
15902
+ manufacturer_part_number?: string | undefined;
15903
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
15904
+ display_value?: string | undefined;
15905
+ are_pins_interchangeable?: boolean | undefined;
15906
+ internally_connected_source_port_ids?: string[][] | undefined;
15907
+ }>, z.ZodObject<{
15908
+ type: z.ZodLiteral<"source_component">;
15909
+ source_component_id: z.ZodString;
15910
+ name: z.ZodString;
15911
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
15912
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
15913
+ display_value: z.ZodOptional<z.ZodString>;
15914
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
15915
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
15916
+ source_group_id: z.ZodOptional<z.ZodString>;
15917
+ subcircuit_id: z.ZodOptional<z.ZodString>;
15673
15918
  } & {
15674
15919
  ftype: z.ZodLiteral<"simple_resonator">;
15675
15920
  load_capacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
@@ -18904,6 +19149,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
18904
19149
  display_pin_label: z.ZodOptional<z.ZodString>;
18905
19150
  subcircuit_id: z.ZodOptional<z.ZodString>;
18906
19151
  is_connected: z.ZodOptional<z.ZodBoolean>;
19152
+ has_input_arrow: z.ZodOptional<z.ZodBoolean>;
19153
+ has_output_arrow: z.ZodOptional<z.ZodBoolean>;
18907
19154
  }, "strip", z.ZodTypeAny, {
18908
19155
  type: "schematic_port";
18909
19156
  center: {
@@ -18921,6 +19168,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
18921
19168
  pin_number?: number | undefined;
18922
19169
  display_pin_label?: string | undefined;
18923
19170
  is_connected?: boolean | undefined;
19171
+ has_input_arrow?: boolean | undefined;
19172
+ has_output_arrow?: boolean | undefined;
18924
19173
  }, {
18925
19174
  type: "schematic_port";
18926
19175
  center: {
@@ -18938,6 +19187,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
18938
19187
  pin_number?: number | undefined;
18939
19188
  display_pin_label?: string | undefined;
18940
19189
  is_connected?: boolean | undefined;
19190
+ has_input_arrow?: boolean | undefined;
19191
+ has_output_arrow?: boolean | undefined;
18941
19192
  }>, z.ZodObject<{
18942
19193
  type: z.ZodLiteral<"schematic_trace">;
18943
19194
  schematic_trace_id: z.ZodString;
@@ -19757,4 +20008,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
19757
20008
  */
19758
20009
  type CircuitJson = AnyCircuitElement[];
19759
20010
 
19760
- 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 NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type 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 SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, 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_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, 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_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };
20011
+ 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 NinePointAnchor, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutCircle, type PCBKeepoutInput, type PCBKeepoutRect, type PCBMissingFootprintError, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBTraceMissingError, type PCBVia, type PcbAutoroutingError, type PcbAutoroutingErrorInput, type PcbAutoroutingErrorInterface, type PcbBoard, type PcbBoardInput, type PcbBreakoutPoint, type PcbBreakoutPointInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbCutout, type PcbCutoutCircle, type PcbCutoutCircleInput, type PcbCutoutInput, type PcbCutoutPolygon, type PcbCutoutPolygonInput, type PcbCutoutRect, type PcbCutoutRectInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbFootprintOverlapError, type PcbFootprintOverlapErrorInput, type PcbGroundPlane, type PcbGroundPlaneInput, type PcbGroundPlaneRegion, type PcbGroundPlaneRegionInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleCircularWithRectPad, type PcbHoleOval, type PcbHoleOvalInput, type PcbHolePillWithRectPad, type PcbHoleRotatedPillWithRectPad, type PcbManualEditConflictWarning, type PcbManualEditConflictWarningInput, type PcbMissingFootprintError, type PcbMissingFootprintErrorInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotConnectedError, type PcbPortNotConnectedErrorInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadPill, type PcbSmtPadPolygon, type PcbSmtPadRect, type PcbSmtPadRotatedPill, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteOval, type PcbSolderPastePill, type PcbSolderPasteRect, type PcbSolderPasteRotatedRect, type PcbText, type PcbTextInput, type PcbThermalSpoke, type PcbThermalSpokeInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceMissingError, type PcbTraceMissingErrorInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type 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 SchematicTable, type SchematicTableCell, type SchematicTableCellInput, type SchematicTableInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceEdge, type SchematicTraceInput, type SchematicVoltageProbe, type SchematicVoltageProbeInput, type SimulationAcVoltageSource, type SimulationAcVoltageSourceInput, type SimulationDcVoltageSource, type SimulationVoltageSource, type SimulationVoltageSourceInput, type Size, type SizeInput, type SourceComponentBase, type SourceFailedToCreateComponentError, type SourceFailedToCreateComponentErrorInput, type SourceGroup, type SourceGroupInput, type SourceMissingPropertyError, type SourceMissingPropertyErrorInput, type SourceNet, type SourceNetInput, type SourcePcbGroundPlane, type SourcePcbGroundPlaneInput, type SourcePinMissingTraceWarning, type SourcePinMissingTraceWarningInput, type SourcePort, type SourcePortInput, type SourceProjectMetadata, type SourcePropertyIgnoredWarning, type SourcePropertyIgnoredWarningInput, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleCrystal, type SourceSimpleCrystalInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimpleLed, type SourceSimpleLedInput, type SourceSimpleMosfet, type SourceSimpleMosfetInput, type SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePinout, type SourceSimplePinoutInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, type SourceSimpleSwitch, type SourceSimpleSwitchInput, type SourceSimpleTestPoint, type SourceSimpleTestPointInput, type SourceSimpleTransistor, type SourceSimpleTransistorInput, type SourceTrace, type SourceTraceNotConnectedError, type SourceTraceNotConnectedErrorInput, type SupplierName, type VisibleLayer, type VisibleLayerRef, type WaveShape, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, frequency, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, ninePointAnchor, 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_footprint_overlap_error, pcb_ground_plane, pcb_ground_plane_region, pcb_group, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_manual_edit_conflict_warning, pcb_missing_footprint_error, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_connected_error, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_smtpad_pill, pcb_solder_paste, pcb_text, pcb_thermal_spoke, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_missing_error, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, 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_table, schematic_table_cell, schematic_text, schematic_trace, schematic_voltage_probe, simulation_ac_voltage_source, simulation_dc_voltage_source, simulation_voltage_source, size, source_component_base, source_failed_to_create_component_error, source_group, source_missing_property_error, source_net, source_pcb_ground_plane, source_pin_missing_trace_warning, source_port, source_project_metadata, source_property_ignored_warning, source_simple_battery, source_simple_capacitor, source_simple_chip, source_simple_crystal, source_simple_diode, source_simple_ground, source_simple_inductor, source_simple_led, source_simple_mosfet, source_simple_pin_header, source_simple_pinout, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_switch, source_simple_test_point, source_simple_transistor, source_trace, source_trace_not_connected_error, supplier_name, time, visible_layer, voltage, wave_shape };