circuit-json 0.0.122 → 0.0.124

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
@@ -220,6 +220,7 @@ Defines a simple capacitor component
220
220
  interface SourceSimpleCapacitor extends SourceComponentBase {
221
221
  ftype: "simple_capacitor"
222
222
  capacitance: number
223
+ display_capacitance?: string
223
224
  }
224
225
  ```
225
226
 
@@ -313,6 +314,7 @@ Defines a simple resistor component
313
314
  interface SourceSimpleResistor extends SourceComponentBase {
314
315
  ftype: "simple_resistor"
315
316
  resistance: number
317
+ display_resistance?: string
316
318
  }
317
319
  ```
318
320
 
@@ -531,6 +533,23 @@ interface PcbPlatedHoleCircle {
531
533
  pcb_port_id?: string
532
534
  pcb_plated_hole_id: string
533
535
  }
536
+
537
+ interface PcbHoleCircularWithRectPad {
538
+ type: "pcb_plated_hole"
539
+ shape: "circular_hole_with_rect_pad"
540
+ hole_shape: "circle"
541
+ pad_shape: "rect"
542
+ hole_diameter: number
543
+ rect_pad_width: number
544
+ rect_pad_height: number
545
+ x: Distance
546
+ y: Distance
547
+ layers: LayerRef[]
548
+ port_hints?: string[]
549
+ pcb_component_id?: string
550
+ pcb_port_id?: string
551
+ pcb_plated_hole_id: string
552
+ }
534
553
  ```
535
554
 
536
555
  ### PcbPort
package/dist/index.d.mts CHANGED
@@ -141,6 +141,7 @@ declare const source_simple_capacitor: z.ZodObject<z.objectUtil.extendShape<{
141
141
  }, {
142
142
  ftype: z.ZodLiteral<"simple_capacitor">;
143
143
  capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
144
+ display_capacitance: z.ZodOptional<z.ZodString>;
144
145
  }>, "strip", z.ZodTypeAny, {
145
146
  type: "source_component";
146
147
  ftype: "simple_capacitor";
@@ -150,6 +151,7 @@ declare const source_simple_capacitor: z.ZodObject<z.objectUtil.extendShape<{
150
151
  manufacturer_part_number?: string | undefined;
151
152
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
152
153
  display_value?: string | undefined;
154
+ display_capacitance?: string | undefined;
153
155
  }, {
154
156
  type: "source_component";
155
157
  ftype: "simple_capacitor";
@@ -159,6 +161,7 @@ declare const source_simple_capacitor: z.ZodObject<z.objectUtil.extendShape<{
159
161
  manufacturer_part_number?: string | undefined;
160
162
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
161
163
  display_value?: string | undefined;
164
+ display_capacitance?: string | undefined;
162
165
  }>;
163
166
  type SourceSimpleCapacitorInput = z.input<typeof source_simple_capacitor>;
164
167
  /**
@@ -167,6 +170,7 @@ type SourceSimpleCapacitorInput = z.input<typeof source_simple_capacitor>;
167
170
  interface SourceSimpleCapacitor extends SourceComponentBase {
168
171
  ftype: "simple_capacitor";
169
172
  capacitance: number;
173
+ display_capacitance?: string;
170
174
  }
171
175
 
172
176
  declare const source_simple_resistor: z.ZodObject<z.objectUtil.extendShape<{
@@ -180,6 +184,7 @@ declare const source_simple_resistor: z.ZodObject<z.objectUtil.extendShape<{
180
184
  }, {
181
185
  ftype: z.ZodLiteral<"simple_resistor">;
182
186
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
187
+ display_resistance: z.ZodOptional<z.ZodString>;
183
188
  }>, "strip", z.ZodTypeAny, {
184
189
  type: "source_component";
185
190
  ftype: "simple_resistor";
@@ -189,6 +194,7 @@ declare const source_simple_resistor: z.ZodObject<z.objectUtil.extendShape<{
189
194
  manufacturer_part_number?: string | undefined;
190
195
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
191
196
  display_value?: string | undefined;
197
+ display_resistance?: string | undefined;
192
198
  }, {
193
199
  type: "source_component";
194
200
  ftype: "simple_resistor";
@@ -198,6 +204,7 @@ declare const source_simple_resistor: z.ZodObject<z.objectUtil.extendShape<{
198
204
  manufacturer_part_number?: string | undefined;
199
205
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
200
206
  display_value?: string | undefined;
207
+ display_resistance?: string | undefined;
201
208
  }>;
202
209
  type SourceSimpleResistorInput = z.input<typeof source_simple_resistor>;
203
210
  /**
@@ -206,6 +213,7 @@ type SourceSimpleResistorInput = z.input<typeof source_simple_resistor>;
206
213
  interface SourceSimpleResistor extends SourceComponentBase {
207
214
  ftype: "simple_resistor";
208
215
  resistance: number;
216
+ display_resistance?: string;
209
217
  }
210
218
 
211
219
  declare const source_simple_diode: z.ZodObject<z.objectUtil.extendShape<{
@@ -433,6 +441,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
433
441
  }, {
434
442
  ftype: z.ZodLiteral<"simple_resistor">;
435
443
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
444
+ display_resistance: z.ZodOptional<z.ZodString>;
436
445
  }>, "strip", z.ZodTypeAny, {
437
446
  type: "source_component";
438
447
  ftype: "simple_resistor";
@@ -442,6 +451,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
442
451
  manufacturer_part_number?: string | undefined;
443
452
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
444
453
  display_value?: string | undefined;
454
+ display_resistance?: string | undefined;
445
455
  }, {
446
456
  type: "source_component";
447
457
  ftype: "simple_resistor";
@@ -451,6 +461,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
451
461
  manufacturer_part_number?: string | undefined;
452
462
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
453
463
  display_value?: string | undefined;
464
+ display_resistance?: string | undefined;
454
465
  }>, z.ZodObject<z.objectUtil.extendShape<{
455
466
  type: z.ZodLiteral<"source_component">;
456
467
  ftype: z.ZodOptional<z.ZodString>;
@@ -462,6 +473,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
462
473
  }, {
463
474
  ftype: z.ZodLiteral<"simple_capacitor">;
464
475
  capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
476
+ display_capacitance: z.ZodOptional<z.ZodString>;
465
477
  }>, "strip", z.ZodTypeAny, {
466
478
  type: "source_component";
467
479
  ftype: "simple_capacitor";
@@ -471,6 +483,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
471
483
  manufacturer_part_number?: string | undefined;
472
484
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
473
485
  display_value?: string | undefined;
486
+ display_capacitance?: string | undefined;
474
487
  }, {
475
488
  type: "source_component";
476
489
  ftype: "simple_capacitor";
@@ -480,6 +493,7 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
480
493
  manufacturer_part_number?: string | undefined;
481
494
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
482
495
  display_value?: string | undefined;
496
+ display_capacitance?: string | undefined;
483
497
  }>, z.ZodObject<z.objectUtil.extendShape<{
484
498
  type: z.ZodLiteral<"source_component">;
485
499
  ftype: z.ZodOptional<z.ZodString>;
@@ -2963,6 +2977,22 @@ interface PcbPlatedHoleOval {
2963
2977
  pcb_port_id?: string;
2964
2978
  pcb_plated_hole_id: string;
2965
2979
  }
2980
+ interface PcbHoleCircularWithRectPad {
2981
+ type: "pcb_plated_hole";
2982
+ shape: "circular_hole_with_rect_pad";
2983
+ hole_shape: "circle";
2984
+ pad_shape: "rect";
2985
+ hole_diameter: number;
2986
+ rect_pad_width: number;
2987
+ rect_pad_height: number;
2988
+ x: Distance;
2989
+ y: Distance;
2990
+ layers: LayerRef[];
2991
+ port_hints?: string[];
2992
+ pcb_component_id?: string;
2993
+ pcb_port_id?: string;
2994
+ pcb_plated_hole_id: string;
2995
+ }
2966
2996
  declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
2967
2997
  type: z.ZodLiteral<"pcb_plated_hole">;
2968
2998
  shape: z.ZodLiteral<"circle">;
@@ -3061,8 +3091,63 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
3061
3091
  pcb_component_id?: string | undefined;
3062
3092
  pcb_port_id?: string | undefined;
3063
3093
  pcb_plated_hole_id?: string | undefined;
3094
+ }>, z.ZodObject<{
3095
+ type: z.ZodLiteral<"pcb_plated_hole">;
3096
+ shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
3097
+ hole_shape: z.ZodLiteral<"circle">;
3098
+ pad_shape: z.ZodLiteral<"rect">;
3099
+ hole_diameter: z.ZodNumber;
3100
+ rect_pad_width: z.ZodNumber;
3101
+ rect_pad_height: z.ZodNumber;
3102
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3103
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
3104
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
3105
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
3106
+ }, "strip", z.ZodTypeAny, {
3107
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3108
+ }, {
3109
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3110
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
3111
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3112
+ }>, "many">;
3113
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3114
+ pcb_component_id: z.ZodOptional<z.ZodString>;
3115
+ pcb_port_id: z.ZodOptional<z.ZodString>;
3116
+ pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3117
+ }, "strip", z.ZodTypeAny, {
3118
+ x: number;
3119
+ y: number;
3120
+ type: "pcb_plated_hole";
3121
+ shape: "circular_hole_with_rect_pad";
3122
+ hole_shape: "circle";
3123
+ hole_diameter: number;
3124
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
3125
+ pcb_plated_hole_id: string;
3126
+ pad_shape: "rect";
3127
+ rect_pad_width: number;
3128
+ rect_pad_height: number;
3129
+ port_hints?: string[] | undefined;
3130
+ pcb_component_id?: string | undefined;
3131
+ pcb_port_id?: string | undefined;
3132
+ }, {
3133
+ x: string | number;
3134
+ y: string | number;
3135
+ type: "pcb_plated_hole";
3136
+ shape: "circular_hole_with_rect_pad";
3137
+ hole_shape: "circle";
3138
+ hole_diameter: number;
3139
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
3140
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3141
+ })[];
3142
+ pad_shape: "rect";
3143
+ rect_pad_width: number;
3144
+ rect_pad_height: number;
3145
+ port_hints?: string[] | undefined;
3146
+ pcb_component_id?: string | undefined;
3147
+ pcb_port_id?: string | undefined;
3148
+ pcb_plated_hole_id?: string | undefined;
3064
3149
  }>]>;
3065
- type PcbPlatedHole = PcbPlatedHoleCircle | PcbPlatedHoleOval;
3150
+ type PcbPlatedHole = PcbPlatedHoleCircle | PcbPlatedHoleOval | PcbHoleCircularWithRectPad;
3066
3151
  /**
3067
3152
  * @deprecated use PcbPlatedHole
3068
3153
  */
@@ -5030,6 +5115,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5030
5115
  }, {
5031
5116
  ftype: z.ZodLiteral<"simple_resistor">;
5032
5117
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5118
+ display_resistance: z.ZodOptional<z.ZodString>;
5033
5119
  }>, "strip", z.ZodTypeAny, {
5034
5120
  type: "source_component";
5035
5121
  ftype: "simple_resistor";
@@ -5039,6 +5125,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5039
5125
  manufacturer_part_number?: string | undefined;
5040
5126
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5041
5127
  display_value?: string | undefined;
5128
+ display_resistance?: string | undefined;
5042
5129
  }, {
5043
5130
  type: "source_component";
5044
5131
  ftype: "simple_resistor";
@@ -5048,6 +5135,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5048
5135
  manufacturer_part_number?: string | undefined;
5049
5136
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5050
5137
  display_value?: string | undefined;
5138
+ display_resistance?: string | undefined;
5051
5139
  }>, z.ZodObject<z.objectUtil.extendShape<{
5052
5140
  type: z.ZodLiteral<"source_component">;
5053
5141
  ftype: z.ZodOptional<z.ZodString>;
@@ -5059,6 +5147,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5059
5147
  }, {
5060
5148
  ftype: z.ZodLiteral<"simple_capacitor">;
5061
5149
  capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5150
+ display_capacitance: z.ZodOptional<z.ZodString>;
5062
5151
  }>, "strip", z.ZodTypeAny, {
5063
5152
  type: "source_component";
5064
5153
  ftype: "simple_capacitor";
@@ -5068,6 +5157,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5068
5157
  manufacturer_part_number?: string | undefined;
5069
5158
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5070
5159
  display_value?: string | undefined;
5160
+ display_capacitance?: string | undefined;
5071
5161
  }, {
5072
5162
  type: "source_component";
5073
5163
  ftype: "simple_capacitor";
@@ -5077,6 +5167,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5077
5167
  manufacturer_part_number?: string | undefined;
5078
5168
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5079
5169
  display_value?: string | undefined;
5170
+ display_capacitance?: string | undefined;
5080
5171
  }>, z.ZodObject<z.objectUtil.extendShape<{
5081
5172
  type: z.ZodLiteral<"source_component">;
5082
5173
  ftype: z.ZodOptional<z.ZodString>;
@@ -5612,6 +5703,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5612
5703
  }, {
5613
5704
  ftype: z.ZodLiteral<"simple_capacitor">;
5614
5705
  capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5706
+ display_capacitance: z.ZodOptional<z.ZodString>;
5615
5707
  }>, "strip", z.ZodTypeAny, {
5616
5708
  type: "source_component";
5617
5709
  ftype: "simple_capacitor";
@@ -5621,6 +5713,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5621
5713
  manufacturer_part_number?: string | undefined;
5622
5714
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5623
5715
  display_value?: string | undefined;
5716
+ display_capacitance?: string | undefined;
5624
5717
  }, {
5625
5718
  type: "source_component";
5626
5719
  ftype: "simple_capacitor";
@@ -5630,6 +5723,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5630
5723
  manufacturer_part_number?: string | undefined;
5631
5724
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5632
5725
  display_value?: string | undefined;
5726
+ display_capacitance?: string | undefined;
5633
5727
  }>, z.ZodObject<z.objectUtil.extendShape<{
5634
5728
  type: z.ZodLiteral<"source_component">;
5635
5729
  ftype: z.ZodOptional<z.ZodString>;
@@ -5667,6 +5761,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5667
5761
  }, {
5668
5762
  ftype: z.ZodLiteral<"simple_resistor">;
5669
5763
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5764
+ display_resistance: z.ZodOptional<z.ZodString>;
5670
5765
  }>, "strip", z.ZodTypeAny, {
5671
5766
  type: "source_component";
5672
5767
  ftype: "simple_resistor";
@@ -5676,6 +5771,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5676
5771
  manufacturer_part_number?: string | undefined;
5677
5772
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5678
5773
  display_value?: string | undefined;
5774
+ display_resistance?: string | undefined;
5679
5775
  }, {
5680
5776
  type: "source_component";
5681
5777
  ftype: "simple_resistor";
@@ -5685,6 +5781,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5685
5781
  manufacturer_part_number?: string | undefined;
5686
5782
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5687
5783
  display_value?: string | undefined;
5784
+ display_resistance?: string | undefined;
5688
5785
  }>, z.ZodObject<z.objectUtil.extendShape<{
5689
5786
  type: z.ZodLiteral<"source_component">;
5690
5787
  ftype: z.ZodOptional<z.ZodString>;
@@ -6154,6 +6251,61 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6154
6251
  pcb_component_id?: string | undefined;
6155
6252
  pcb_port_id?: string | undefined;
6156
6253
  pcb_plated_hole_id?: string | undefined;
6254
+ }>, z.ZodObject<{
6255
+ type: z.ZodLiteral<"pcb_plated_hole">;
6256
+ shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
6257
+ hole_shape: z.ZodLiteral<"circle">;
6258
+ pad_shape: z.ZodLiteral<"rect">;
6259
+ hole_diameter: z.ZodNumber;
6260
+ rect_pad_width: z.ZodNumber;
6261
+ rect_pad_height: z.ZodNumber;
6262
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6263
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6264
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
6265
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
6266
+ }, "strip", z.ZodTypeAny, {
6267
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6268
+ }, {
6269
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6270
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6271
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6272
+ }>, "many">;
6273
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
6274
+ pcb_component_id: z.ZodOptional<z.ZodString>;
6275
+ pcb_port_id: z.ZodOptional<z.ZodString>;
6276
+ pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
6277
+ }, "strip", z.ZodTypeAny, {
6278
+ x: number;
6279
+ y: number;
6280
+ type: "pcb_plated_hole";
6281
+ shape: "circular_hole_with_rect_pad";
6282
+ hole_shape: "circle";
6283
+ hole_diameter: number;
6284
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
6285
+ pcb_plated_hole_id: string;
6286
+ pad_shape: "rect";
6287
+ rect_pad_width: number;
6288
+ rect_pad_height: number;
6289
+ port_hints?: string[] | undefined;
6290
+ pcb_component_id?: string | undefined;
6291
+ pcb_port_id?: string | undefined;
6292
+ }, {
6293
+ x: string | number;
6294
+ y: string | number;
6295
+ type: "pcb_plated_hole";
6296
+ shape: "circular_hole_with_rect_pad";
6297
+ hole_shape: "circle";
6298
+ hole_diameter: number;
6299
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6300
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6301
+ })[];
6302
+ pad_shape: "rect";
6303
+ rect_pad_width: number;
6304
+ rect_pad_height: number;
6305
+ port_hints?: string[] | undefined;
6306
+ pcb_component_id?: string | undefined;
6307
+ pcb_port_id?: string | undefined;
6308
+ pcb_plated_hole_id?: string | undefined;
6157
6309
  }>]>, z.ZodUnion<[z.ZodObject<{
6158
6310
  type: z.ZodLiteral<"pcb_keepout">;
6159
6311
  shape: z.ZodLiteral<"rect">;
@@ -8197,6 +8349,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8197
8349
  }, {
8198
8350
  ftype: z.ZodLiteral<"simple_resistor">;
8199
8351
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8352
+ display_resistance: z.ZodOptional<z.ZodString>;
8200
8353
  }>, "strip", z.ZodTypeAny, {
8201
8354
  type: "source_component";
8202
8355
  ftype: "simple_resistor";
@@ -8206,6 +8359,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8206
8359
  manufacturer_part_number?: string | undefined;
8207
8360
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8208
8361
  display_value?: string | undefined;
8362
+ display_resistance?: string | undefined;
8209
8363
  }, {
8210
8364
  type: "source_component";
8211
8365
  ftype: "simple_resistor";
@@ -8215,6 +8369,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8215
8369
  manufacturer_part_number?: string | undefined;
8216
8370
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8217
8371
  display_value?: string | undefined;
8372
+ display_resistance?: string | undefined;
8218
8373
  }>, z.ZodObject<z.objectUtil.extendShape<{
8219
8374
  type: z.ZodLiteral<"source_component">;
8220
8375
  ftype: z.ZodOptional<z.ZodString>;
@@ -8226,6 +8381,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8226
8381
  }, {
8227
8382
  ftype: z.ZodLiteral<"simple_capacitor">;
8228
8383
  capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8384
+ display_capacitance: z.ZodOptional<z.ZodString>;
8229
8385
  }>, "strip", z.ZodTypeAny, {
8230
8386
  type: "source_component";
8231
8387
  ftype: "simple_capacitor";
@@ -8235,6 +8391,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8235
8391
  manufacturer_part_number?: string | undefined;
8236
8392
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8237
8393
  display_value?: string | undefined;
8394
+ display_capacitance?: string | undefined;
8238
8395
  }, {
8239
8396
  type: "source_component";
8240
8397
  ftype: "simple_capacitor";
@@ -8244,6 +8401,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8244
8401
  manufacturer_part_number?: string | undefined;
8245
8402
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8246
8403
  display_value?: string | undefined;
8404
+ display_capacitance?: string | undefined;
8247
8405
  }>, z.ZodObject<z.objectUtil.extendShape<{
8248
8406
  type: z.ZodLiteral<"source_component">;
8249
8407
  ftype: z.ZodOptional<z.ZodString>;
@@ -8779,6 +8937,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8779
8937
  }, {
8780
8938
  ftype: z.ZodLiteral<"simple_capacitor">;
8781
8939
  capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8940
+ display_capacitance: z.ZodOptional<z.ZodString>;
8782
8941
  }>, "strip", z.ZodTypeAny, {
8783
8942
  type: "source_component";
8784
8943
  ftype: "simple_capacitor";
@@ -8788,6 +8947,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8788
8947
  manufacturer_part_number?: string | undefined;
8789
8948
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8790
8949
  display_value?: string | undefined;
8950
+ display_capacitance?: string | undefined;
8791
8951
  }, {
8792
8952
  type: "source_component";
8793
8953
  ftype: "simple_capacitor";
@@ -8797,6 +8957,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8797
8957
  manufacturer_part_number?: string | undefined;
8798
8958
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8799
8959
  display_value?: string | undefined;
8960
+ display_capacitance?: string | undefined;
8800
8961
  }>, z.ZodObject<z.objectUtil.extendShape<{
8801
8962
  type: z.ZodLiteral<"source_component">;
8802
8963
  ftype: z.ZodOptional<z.ZodString>;
@@ -8834,6 +8995,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8834
8995
  }, {
8835
8996
  ftype: z.ZodLiteral<"simple_resistor">;
8836
8997
  resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8998
+ display_resistance: z.ZodOptional<z.ZodString>;
8837
8999
  }>, "strip", z.ZodTypeAny, {
8838
9000
  type: "source_component";
8839
9001
  ftype: "simple_resistor";
@@ -8843,6 +9005,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8843
9005
  manufacturer_part_number?: string | undefined;
8844
9006
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8845
9007
  display_value?: string | undefined;
9008
+ display_resistance?: string | undefined;
8846
9009
  }, {
8847
9010
  type: "source_component";
8848
9011
  ftype: "simple_resistor";
@@ -8852,6 +9015,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8852
9015
  manufacturer_part_number?: string | undefined;
8853
9016
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8854
9017
  display_value?: string | undefined;
9018
+ display_resistance?: string | undefined;
8855
9019
  }>, z.ZodObject<z.objectUtil.extendShape<{
8856
9020
  type: z.ZodLiteral<"source_component">;
8857
9021
  ftype: z.ZodOptional<z.ZodString>;
@@ -9321,6 +9485,61 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9321
9485
  pcb_component_id?: string | undefined;
9322
9486
  pcb_port_id?: string | undefined;
9323
9487
  pcb_plated_hole_id?: string | undefined;
9488
+ }>, z.ZodObject<{
9489
+ type: z.ZodLiteral<"pcb_plated_hole">;
9490
+ shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
9491
+ hole_shape: z.ZodLiteral<"circle">;
9492
+ pad_shape: z.ZodLiteral<"rect">;
9493
+ hole_diameter: z.ZodNumber;
9494
+ rect_pad_width: z.ZodNumber;
9495
+ rect_pad_height: z.ZodNumber;
9496
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9497
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
9498
+ layers: z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
9499
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
9500
+ }, "strip", z.ZodTypeAny, {
9501
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
9502
+ }, {
9503
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
9504
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
9505
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
9506
+ }>, "many">;
9507
+ port_hints: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9508
+ pcb_component_id: z.ZodOptional<z.ZodString>;
9509
+ pcb_port_id: z.ZodOptional<z.ZodString>;
9510
+ pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
9511
+ }, "strip", z.ZodTypeAny, {
9512
+ x: number;
9513
+ y: number;
9514
+ type: "pcb_plated_hole";
9515
+ shape: "circular_hole_with_rect_pad";
9516
+ hole_shape: "circle";
9517
+ hole_diameter: number;
9518
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
9519
+ pcb_plated_hole_id: string;
9520
+ pad_shape: "rect";
9521
+ rect_pad_width: number;
9522
+ rect_pad_height: number;
9523
+ port_hints?: string[] | undefined;
9524
+ pcb_component_id?: string | undefined;
9525
+ pcb_port_id?: string | undefined;
9526
+ }, {
9527
+ x: string | number;
9528
+ y: string | number;
9529
+ type: "pcb_plated_hole";
9530
+ shape: "circular_hole_with_rect_pad";
9531
+ hole_shape: "circle";
9532
+ hole_diameter: number;
9533
+ layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
9534
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
9535
+ })[];
9536
+ pad_shape: "rect";
9537
+ rect_pad_width: number;
9538
+ rect_pad_height: number;
9539
+ port_hints?: string[] | undefined;
9540
+ pcb_component_id?: string | undefined;
9541
+ pcb_port_id?: string | undefined;
9542
+ pcb_plated_hole_id?: string | undefined;
9324
9543
  }>]>, z.ZodUnion<[z.ZodObject<{
9325
9544
  type: z.ZodLiteral<"pcb_keepout">;
9326
9545
  shape: z.ZodLiteral<"rect">;
@@ -11327,4 +11546,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
11327
11546
  */
11328
11547
  type CircuitJson = AnyCircuitElement[];
11329
11548
 
11330
- export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, 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 PCBManualEditConflictError, 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 PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbGroup, type PcbGroupInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleOval, type PcbHoleOvalInput, type PcbManualEditConflictError, type PcbManualEditConflictErrorInput, 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 PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteRect, 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 SchematicLine, type SchematicLineInput, 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 SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, 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 SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, 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_board, pcb_component, 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_error, 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_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_line, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_group, source_led, source_net, source_port, 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_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
11549
+ export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type CircuitJson, type Distance, 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 PCBManualEditConflictError, 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 PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, 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 PcbManualEditConflictError, type PcbManualEditConflictErrorInput, 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 PcbSmtPadRect, type PcbSmtPadRotatedRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteRect, 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 SchematicLine, type SchematicLineInput, 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 SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourcePortInput, 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 SourceSimplePinHeader, type SourceSimplePinHeaderInput, type SourceSimplePotentiometer, type SourceSimplePotentiometerInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimplePushButton, type SourceSimplePushButtonInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceSimpleResonator, type SourceSimpleResonatorInput, 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_board, pcb_component, 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_error, 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_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_line, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, schematic_voltage_probe, size, source_component_base, source_group, source_led, source_net, source_port, 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_pin_header, source_simple_potentiometer, source_simple_power_source, source_simple_push_button, source_simple_resistor, source_simple_resonator, source_simple_transistor, source_trace, supplier_name, time, visible_layer, voltage };
package/dist/index.mjs CHANGED
@@ -294,7 +294,8 @@ expectTypesMatch(true);
294
294
  // src/source/source_simple_capacitor.ts
295
295
  var source_simple_capacitor = source_component_base.extend({
296
296
  ftype: z8.literal("simple_capacitor"),
297
- capacitance
297
+ capacitance,
298
+ display_capacitance: z8.string().optional()
298
299
  });
299
300
  expectTypesMatch(true);
300
301
 
@@ -302,7 +303,8 @@ expectTypesMatch(true);
302
303
  import { z as z9 } from "zod";
303
304
  var source_simple_resistor = source_component_base.extend({
304
305
  ftype: z9.literal("simple_resistor"),
305
- resistance
306
+ resistance,
307
+ display_resistance: z9.string().optional()
306
308
  });
307
309
  expectTypesMatch(true);
308
310
 
@@ -820,14 +822,32 @@ var pcb_plated_hole_oval = z45.object({
820
822
  pcb_port_id: z45.string().optional(),
821
823
  pcb_plated_hole_id: getZodPrefixedIdWithDefault("pcb_plated_hole")
822
824
  });
825
+ var pcb_circular_hole_with_rect_pad = z45.object({
826
+ type: z45.literal("pcb_plated_hole"),
827
+ shape: z45.literal("circular_hole_with_rect_pad"),
828
+ hole_shape: z45.literal("circle"),
829
+ pad_shape: z45.literal("rect"),
830
+ hole_diameter: z45.number(),
831
+ rect_pad_width: z45.number(),
832
+ rect_pad_height: z45.number(),
833
+ x: distance,
834
+ y: distance,
835
+ layers: z45.array(layer_ref),
836
+ port_hints: z45.array(z45.string()).optional(),
837
+ pcb_component_id: z45.string().optional(),
838
+ pcb_port_id: z45.string().optional(),
839
+ pcb_plated_hole_id: getZodPrefixedIdWithDefault("pcb_plated_hole")
840
+ });
823
841
  var pcb_plated_hole = z45.union([
824
842
  pcb_plated_hole_circle,
825
- pcb_plated_hole_oval
843
+ pcb_plated_hole_oval,
844
+ pcb_circular_hole_with_rect_pad
826
845
  ]);
827
846
  expectTypesMatch(
828
847
  true
829
848
  );
830
849
  expectTypesMatch(true);
850
+ expectTypesMatch(true);
831
851
 
832
852
  // src/pcb/pcb_port.ts
833
853
  import { z as z46 } from "zod";