circuit-json 0.0.184 → 0.0.186

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
@@ -59,6 +59,7 @@ https://github.com/user-attachments/assets/2f28b7ba-689e-4d80-85b2-5bdef84b41f8
59
59
  - [SourceSimpleDiode](#sourcesimplediode)
60
60
  - [SourceSimpleGround](#sourcesimpleground)
61
61
  - [SourceSimpleInductor](#sourcesimpleinductor)
62
+ - [SourceSimpleLed](#sourcesimpleled)
62
63
  - [SourceSimpleMosfet](#sourcesimplemosfet)
63
64
  - [SourceSimplePowerSource](#sourcesimplepowersource)
64
65
  - [SourceSimplePushButton](#sourcesimplepushbutton)
@@ -383,6 +384,21 @@ interface SourceSimpleInductor extends SourceComponentBase {
383
384
  }
384
385
  ```
385
386
 
387
+ ### SourceSimpleLed
388
+
389
+ [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_led.ts)
390
+
391
+ Defines a simple led component
392
+
393
+ ```typescript
394
+ /** Defines a simple led component */
395
+ interface SourceSimpleLed extends Omit<SourceSimpleDiode, "ftype"> {
396
+ ftype: "simple_led"
397
+ color?: string
398
+ wavelength?: string
399
+ }
400
+ ```
401
+
386
402
  ### SourceSimpleMosfet
387
403
 
388
404
  [Source](https://github.com/tscircuit/circuit-json/blob/main/src/source/source_simple_mosfet.ts)
@@ -1095,6 +1111,7 @@ interface SchematicBox {
1095
1111
  schematic_component_id: string
1096
1112
  width: number
1097
1113
  height: number
1114
+ is_dashed: boolean
1098
1115
  x: number
1099
1116
  y: number
1100
1117
  }
package/dist/index.d.mts CHANGED
@@ -3483,6 +3483,7 @@ interface SchematicBox {
3483
3483
  schematic_component_id: string;
3484
3484
  width: number;
3485
3485
  height: number;
3486
+ is_dashed: boolean;
3486
3487
  x: number;
3487
3488
  y: number;
3488
3489
  }
@@ -3491,6 +3492,7 @@ declare const schematic_box: z.ZodObject<{
3491
3492
  schematic_component_id: z.ZodString;
3492
3493
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3493
3494
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3495
+ is_dashed: z.ZodDefault<z.ZodBoolean>;
3494
3496
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3495
3497
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3496
3498
  }, "strip", z.ZodTypeAny, {
@@ -3500,6 +3502,7 @@ declare const schematic_box: z.ZodObject<{
3500
3502
  width: number;
3501
3503
  height: number;
3502
3504
  schematic_component_id: string;
3505
+ is_dashed: boolean;
3503
3506
  }, {
3504
3507
  x: string | number;
3505
3508
  y: string | number;
@@ -3507,6 +3510,7 @@ declare const schematic_box: z.ZodObject<{
3507
3510
  width: string | number;
3508
3511
  height: string | number;
3509
3512
  schematic_component_id: string;
3513
+ is_dashed?: boolean | undefined;
3510
3514
  }>;
3511
3515
  type SchematicBoxInput = z.input<typeof schematic_box>;
3512
3516
 
@@ -5089,6 +5093,60 @@ interface SourceSimpleDiode extends SourceComponentBase {
5089
5093
  ftype: "simple_diode";
5090
5094
  }
5091
5095
 
5096
+ declare const source_simple_led: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5097
+ type: z.ZodLiteral<"source_component">;
5098
+ ftype: z.ZodOptional<z.ZodString>;
5099
+ source_component_id: z.ZodString;
5100
+ name: z.ZodString;
5101
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
5102
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
5103
+ display_value: z.ZodOptional<z.ZodString>;
5104
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
5105
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
5106
+ source_group_id: z.ZodOptional<z.ZodString>;
5107
+ }, {
5108
+ ftype: z.ZodLiteral<"simple_diode">;
5109
+ }>, {
5110
+ ftype: z.ZodLiteral<"simple_led">;
5111
+ color: z.ZodOptional<z.ZodString>;
5112
+ wavelength: z.ZodOptional<z.ZodString>;
5113
+ }>, "strip", z.ZodTypeAny, {
5114
+ type: "source_component";
5115
+ name: string;
5116
+ source_component_id: string;
5117
+ ftype: "simple_led";
5118
+ color?: string | undefined;
5119
+ source_group_id?: string | undefined;
5120
+ manufacturer_part_number?: string | undefined;
5121
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5122
+ display_value?: string | undefined;
5123
+ are_pins_interchangeable?: boolean | undefined;
5124
+ internally_connected_source_port_ids?: string[][] | undefined;
5125
+ wavelength?: string | undefined;
5126
+ }, {
5127
+ type: "source_component";
5128
+ name: string;
5129
+ source_component_id: string;
5130
+ ftype: "simple_led";
5131
+ color?: string | undefined;
5132
+ source_group_id?: string | undefined;
5133
+ manufacturer_part_number?: string | undefined;
5134
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5135
+ display_value?: string | undefined;
5136
+ are_pins_interchangeable?: boolean | undefined;
5137
+ internally_connected_source_port_ids?: string[][] | undefined;
5138
+ wavelength?: string | undefined;
5139
+ }>;
5140
+ type SourceSimpleLedInput = z.input<typeof source_simple_led>;
5141
+ /**
5142
+ * Defines a simple led component
5143
+ */
5144
+ interface SourceSimpleLed extends Omit<SourceSimpleDiode, "ftype"> {
5145
+ ftype: "simple_led";
5146
+ color?: string;
5147
+ wavelength?: string;
5148
+ }
5149
+
5092
5150
  declare const source_simple_ground: z.ZodObject<z.objectUtil.extendShape<{
5093
5151
  type: z.ZodLiteral<"source_component">;
5094
5152
  ftype: z.ZodOptional<z.ZodString>;
@@ -6058,6 +6116,49 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6058
6116
  display_value?: string | undefined;
6059
6117
  are_pins_interchangeable?: boolean | undefined;
6060
6118
  internally_connected_source_port_ids?: string[][] | undefined;
6119
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
6120
+ type: z.ZodLiteral<"source_component">;
6121
+ ftype: z.ZodOptional<z.ZodString>;
6122
+ source_component_id: z.ZodString;
6123
+ name: z.ZodString;
6124
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
6125
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
6126
+ display_value: z.ZodOptional<z.ZodString>;
6127
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
6128
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
6129
+ source_group_id: z.ZodOptional<z.ZodString>;
6130
+ }, {
6131
+ ftype: z.ZodLiteral<"simple_diode">;
6132
+ }>, {
6133
+ ftype: z.ZodLiteral<"simple_led">;
6134
+ color: z.ZodOptional<z.ZodString>;
6135
+ wavelength: z.ZodOptional<z.ZodString>;
6136
+ }>, "strip", z.ZodTypeAny, {
6137
+ type: "source_component";
6138
+ name: string;
6139
+ source_component_id: string;
6140
+ ftype: "simple_led";
6141
+ color?: string | undefined;
6142
+ source_group_id?: string | undefined;
6143
+ manufacturer_part_number?: string | undefined;
6144
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6145
+ display_value?: string | undefined;
6146
+ are_pins_interchangeable?: boolean | undefined;
6147
+ internally_connected_source_port_ids?: string[][] | undefined;
6148
+ wavelength?: string | undefined;
6149
+ }, {
6150
+ type: "source_component";
6151
+ name: string;
6152
+ source_component_id: string;
6153
+ ftype: "simple_led";
6154
+ color?: string | undefined;
6155
+ source_group_id?: string | undefined;
6156
+ manufacturer_part_number?: string | undefined;
6157
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6158
+ display_value?: string | undefined;
6159
+ are_pins_interchangeable?: boolean | undefined;
6160
+ internally_connected_source_port_ids?: string[][] | undefined;
6161
+ wavelength?: string | undefined;
6061
6162
  }>, z.ZodObject<z.objectUtil.extendShape<{
6062
6163
  type: z.ZodLiteral<"source_component">;
6063
6164
  ftype: z.ZodOptional<z.ZodString>;
@@ -6725,7 +6826,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
6725
6826
  * Deprecated: use `AnySourceElement` instead
6726
6827
  */
6727
6828
  type AnySourceComponent = z.infer<typeof any_source_component>;
6728
- type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleMosfet | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
6829
+ type AnySourceElement = SourceSimpleResistor | SourceSimpleCapacitor | SourceSimpleDiode | SourceSimpleLed | SourceSimpleGround | SourceSimpleChip | SourceLed | SourceSimplePowerSource | SourceSimpleBattery | SourceSimpleInductor | SourceSimplePushButton | SourceSimplePotentiometer | SourceSimpleCrystal | SourceSimplePinHeader | SourceSimpleResonator | SourceSimpleSwitch | SourceSimpleTransistor | SourceSimpleMosfet | SourceProjectMetadata | SourceMissingPropertyError | SourceFailedToCreateComponentError;
6729
6830
 
6730
6831
  declare const source_port: z.ZodObject<{
6731
6832
  type: z.ZodLiteral<"source_port">;
@@ -7164,6 +7265,49 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7164
7265
  display_value?: string | undefined;
7165
7266
  are_pins_interchangeable?: boolean | undefined;
7166
7267
  internally_connected_source_port_ids?: string[][] | undefined;
7268
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
7269
+ type: z.ZodLiteral<"source_component">;
7270
+ ftype: z.ZodOptional<z.ZodString>;
7271
+ source_component_id: z.ZodString;
7272
+ name: z.ZodString;
7273
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
7274
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
7275
+ display_value: z.ZodOptional<z.ZodString>;
7276
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
7277
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
7278
+ source_group_id: z.ZodOptional<z.ZodString>;
7279
+ }, {
7280
+ ftype: z.ZodLiteral<"simple_diode">;
7281
+ }>, {
7282
+ ftype: z.ZodLiteral<"simple_led">;
7283
+ color: z.ZodOptional<z.ZodString>;
7284
+ wavelength: z.ZodOptional<z.ZodString>;
7285
+ }>, "strip", z.ZodTypeAny, {
7286
+ type: "source_component";
7287
+ name: string;
7288
+ source_component_id: string;
7289
+ ftype: "simple_led";
7290
+ color?: string | undefined;
7291
+ source_group_id?: string | undefined;
7292
+ manufacturer_part_number?: string | undefined;
7293
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7294
+ display_value?: string | undefined;
7295
+ are_pins_interchangeable?: boolean | undefined;
7296
+ internally_connected_source_port_ids?: string[][] | undefined;
7297
+ wavelength?: string | undefined;
7298
+ }, {
7299
+ type: "source_component";
7300
+ name: string;
7301
+ source_component_id: string;
7302
+ ftype: "simple_led";
7303
+ color?: string | undefined;
7304
+ source_group_id?: string | undefined;
7305
+ manufacturer_part_number?: string | undefined;
7306
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
7307
+ display_value?: string | undefined;
7308
+ are_pins_interchangeable?: boolean | undefined;
7309
+ internally_connected_source_port_ids?: string[][] | undefined;
7310
+ wavelength?: string | undefined;
7167
7311
  }>, z.ZodObject<z.objectUtil.extendShape<{
7168
7312
  type: z.ZodLiteral<"source_component">;
7169
7313
  ftype: z.ZodOptional<z.ZodString>;
@@ -8069,6 +8213,49 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
8069
8213
  display_value?: string | undefined;
8070
8214
  are_pins_interchangeable?: boolean | undefined;
8071
8215
  internally_connected_source_port_ids?: string[][] | undefined;
8216
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8217
+ type: z.ZodLiteral<"source_component">;
8218
+ ftype: z.ZodOptional<z.ZodString>;
8219
+ source_component_id: z.ZodString;
8220
+ name: z.ZodString;
8221
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
8222
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8223
+ display_value: z.ZodOptional<z.ZodString>;
8224
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
8225
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
8226
+ source_group_id: z.ZodOptional<z.ZodString>;
8227
+ }, {
8228
+ ftype: z.ZodLiteral<"simple_diode">;
8229
+ }>, {
8230
+ ftype: z.ZodLiteral<"simple_led">;
8231
+ color: z.ZodOptional<z.ZodString>;
8232
+ wavelength: z.ZodOptional<z.ZodString>;
8233
+ }>, "strip", z.ZodTypeAny, {
8234
+ type: "source_component";
8235
+ name: string;
8236
+ source_component_id: string;
8237
+ ftype: "simple_led";
8238
+ color?: string | undefined;
8239
+ source_group_id?: string | undefined;
8240
+ manufacturer_part_number?: string | undefined;
8241
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8242
+ display_value?: string | undefined;
8243
+ are_pins_interchangeable?: boolean | undefined;
8244
+ internally_connected_source_port_ids?: string[][] | undefined;
8245
+ wavelength?: string | undefined;
8246
+ }, {
8247
+ type: "source_component";
8248
+ name: string;
8249
+ source_component_id: string;
8250
+ ftype: "simple_led";
8251
+ color?: string | undefined;
8252
+ source_group_id?: string | undefined;
8253
+ manufacturer_part_number?: string | undefined;
8254
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8255
+ display_value?: string | undefined;
8256
+ are_pins_interchangeable?: boolean | undefined;
8257
+ internally_connected_source_port_ids?: string[][] | undefined;
8258
+ wavelength?: string | undefined;
8072
8259
  }>, z.ZodObject<z.objectUtil.extendShape<{
8073
8260
  type: z.ZodLiteral<"source_component">;
8074
8261
  ftype: z.ZodOptional<z.ZodString>;
@@ -10547,6 +10734,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10547
10734
  schematic_component_id: z.ZodString;
10548
10735
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10549
10736
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10737
+ is_dashed: z.ZodDefault<z.ZodBoolean>;
10550
10738
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10551
10739
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
10552
10740
  }, "strip", z.ZodTypeAny, {
@@ -10556,6 +10744,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10556
10744
  width: number;
10557
10745
  height: number;
10558
10746
  schematic_component_id: string;
10747
+ is_dashed: boolean;
10559
10748
  }, {
10560
10749
  x: string | number;
10561
10750
  y: string | number;
@@ -10563,6 +10752,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
10563
10752
  width: string | number;
10564
10753
  height: string | number;
10565
10754
  schematic_component_id: string;
10755
+ is_dashed?: boolean | undefined;
10566
10756
  }>, z.ZodObject<{
10567
10757
  type: z.ZodLiteral<"schematic_text">;
10568
10758
  schematic_component_id: z.ZodOptional<z.ZodString>;
@@ -11660,6 +11850,49 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
11660
11850
  display_value?: string | undefined;
11661
11851
  are_pins_interchangeable?: boolean | undefined;
11662
11852
  internally_connected_source_port_ids?: string[][] | undefined;
11853
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
11854
+ type: z.ZodLiteral<"source_component">;
11855
+ ftype: z.ZodOptional<z.ZodString>;
11856
+ source_component_id: z.ZodString;
11857
+ name: z.ZodString;
11858
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
11859
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
11860
+ display_value: z.ZodOptional<z.ZodString>;
11861
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
11862
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
11863
+ source_group_id: z.ZodOptional<z.ZodString>;
11864
+ }, {
11865
+ ftype: z.ZodLiteral<"simple_diode">;
11866
+ }>, {
11867
+ ftype: z.ZodLiteral<"simple_led">;
11868
+ color: z.ZodOptional<z.ZodString>;
11869
+ wavelength: z.ZodOptional<z.ZodString>;
11870
+ }>, "strip", z.ZodTypeAny, {
11871
+ type: "source_component";
11872
+ name: string;
11873
+ source_component_id: string;
11874
+ ftype: "simple_led";
11875
+ color?: string | undefined;
11876
+ source_group_id?: string | undefined;
11877
+ manufacturer_part_number?: string | undefined;
11878
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
11879
+ display_value?: string | undefined;
11880
+ are_pins_interchangeable?: boolean | undefined;
11881
+ internally_connected_source_port_ids?: string[][] | undefined;
11882
+ wavelength?: string | undefined;
11883
+ }, {
11884
+ type: "source_component";
11885
+ name: string;
11886
+ source_component_id: string;
11887
+ ftype: "simple_led";
11888
+ color?: string | undefined;
11889
+ source_group_id?: string | undefined;
11890
+ manufacturer_part_number?: string | undefined;
11891
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
11892
+ display_value?: string | undefined;
11893
+ are_pins_interchangeable?: boolean | undefined;
11894
+ internally_connected_source_port_ids?: string[][] | undefined;
11895
+ wavelength?: string | undefined;
11663
11896
  }>, z.ZodObject<z.objectUtil.extendShape<{
11664
11897
  type: z.ZodLiteral<"source_component">;
11665
11898
  ftype: z.ZodOptional<z.ZodString>;
@@ -12565,6 +12798,49 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
12565
12798
  display_value?: string | undefined;
12566
12799
  are_pins_interchangeable?: boolean | undefined;
12567
12800
  internally_connected_source_port_ids?: string[][] | undefined;
12801
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
12802
+ type: z.ZodLiteral<"source_component">;
12803
+ ftype: z.ZodOptional<z.ZodString>;
12804
+ source_component_id: z.ZodString;
12805
+ name: z.ZodString;
12806
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
12807
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
12808
+ display_value: z.ZodOptional<z.ZodString>;
12809
+ are_pins_interchangeable: z.ZodOptional<z.ZodBoolean>;
12810
+ internally_connected_source_port_ids: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
12811
+ source_group_id: z.ZodOptional<z.ZodString>;
12812
+ }, {
12813
+ ftype: z.ZodLiteral<"simple_diode">;
12814
+ }>, {
12815
+ ftype: z.ZodLiteral<"simple_led">;
12816
+ color: z.ZodOptional<z.ZodString>;
12817
+ wavelength: z.ZodOptional<z.ZodString>;
12818
+ }>, "strip", z.ZodTypeAny, {
12819
+ type: "source_component";
12820
+ name: string;
12821
+ source_component_id: string;
12822
+ ftype: "simple_led";
12823
+ color?: string | undefined;
12824
+ source_group_id?: string | undefined;
12825
+ manufacturer_part_number?: string | undefined;
12826
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
12827
+ display_value?: string | undefined;
12828
+ are_pins_interchangeable?: boolean | undefined;
12829
+ internally_connected_source_port_ids?: string[][] | undefined;
12830
+ wavelength?: string | undefined;
12831
+ }, {
12832
+ type: "source_component";
12833
+ name: string;
12834
+ source_component_id: string;
12835
+ ftype: "simple_led";
12836
+ color?: string | undefined;
12837
+ source_group_id?: string | undefined;
12838
+ manufacturer_part_number?: string | undefined;
12839
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
12840
+ display_value?: string | undefined;
12841
+ are_pins_interchangeable?: boolean | undefined;
12842
+ internally_connected_source_port_ids?: string[][] | undefined;
12843
+ wavelength?: string | undefined;
12568
12844
  }>, z.ZodObject<z.objectUtil.extendShape<{
12569
12845
  type: z.ZodLiteral<"source_component">;
12570
12846
  ftype: z.ZodOptional<z.ZodString>;
@@ -15043,6 +15319,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15043
15319
  schematic_component_id: z.ZodString;
15044
15320
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15045
15321
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15322
+ is_dashed: z.ZodDefault<z.ZodBoolean>;
15046
15323
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15047
15324
  y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15048
15325
  }, "strip", z.ZodTypeAny, {
@@ -15052,6 +15329,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15052
15329
  width: number;
15053
15330
  height: number;
15054
15331
  schematic_component_id: string;
15332
+ is_dashed: boolean;
15055
15333
  }, {
15056
15334
  x: string | number;
15057
15335
  y: string | number;
@@ -15059,6 +15337,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
15059
15337
  width: string | number;
15060
15338
  height: string | number;
15061
15339
  schematic_component_id: string;
15340
+ is_dashed?: boolean | undefined;
15062
15341
  }>, z.ZodObject<{
15063
15342
  type: z.ZodLiteral<"schematic_text">;
15064
15343
  schematic_component_id: z.ZodOptional<z.ZodString>;
@@ -15992,4 +16271,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
15992
16271
  */
15993
16272
  type CircuitJson = AnyCircuitElement[];
15994
16273
 
15995
- 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 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 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 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_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_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 };
16274
+ 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 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 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_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 };