circuit-json 0.0.118 → 0.0.120

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
@@ -55,6 +55,7 @@ and is the primary way that Circuit JSON is defined and maintained.
55
55
  - [SourceSimplePowerSource](#sourcesimplepowersource)
56
56
  - [SourceSimplePushButton](#sourcesimplepushbutton)
57
57
  - [SourceSimpleResistor](#sourcesimpleresistor)
58
+ - [SourceSimpleResonator](#sourcesimpleresonator)
58
59
  - [SourceTrace](#sourcetrace)
59
60
  - [PCB Elements](#pcb-elements)
60
61
  - [PcbBoard](#pcbboard)
@@ -314,6 +315,20 @@ interface SourceSimpleResistor extends SourceComponentBase {
314
315
  }
315
316
  ```
316
317
 
318
+ ### SourceSimpleResonator
319
+
320
+ Defines a simple resonator component
321
+
322
+ ```typescript
323
+ /** Defines a simple resonator component */
324
+ interface SourceSimpleResonator extends SourceComponentBase {
325
+ ftype: "simple_resonator"
326
+ load_capacitance: number
327
+ equivalent_series_resistance?: number
328
+ frequency: number
329
+ }
330
+ ```
331
+
317
332
  ### SourceTrace
318
333
 
319
334
  ```typescript
@@ -650,6 +665,7 @@ interface PcbSilkscreenText {
650
665
  font_size: Length
651
666
  pcb_component_id: string
652
667
  text: string
668
+ ccw_rotation?: number
653
669
  layer: LayerRef
654
670
  is_mirrored?: boolean
655
671
  anchor_position: Point
package/dist/index.d.mts CHANGED
@@ -818,6 +818,41 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
818
818
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
819
819
  display_value?: string | undefined;
820
820
  gender?: "male" | "female" | undefined;
821
+ }>, z.ZodObject<z.objectUtil.extendShape<{
822
+ type: z.ZodLiteral<"source_component">;
823
+ ftype: z.ZodOptional<z.ZodString>;
824
+ source_component_id: z.ZodString;
825
+ name: z.ZodString;
826
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
827
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
828
+ display_value: z.ZodOptional<z.ZodString>;
829
+ }, {
830
+ ftype: z.ZodLiteral<"simple_resonator">;
831
+ load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
832
+ equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
833
+ frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
834
+ }>, "strip", z.ZodTypeAny, {
835
+ type: "source_component";
836
+ ftype: "simple_resonator";
837
+ source_component_id: string;
838
+ name: string;
839
+ frequency: number;
840
+ load_capacitance: number;
841
+ manufacturer_part_number?: string | undefined;
842
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
843
+ display_value?: string | undefined;
844
+ equivalent_series_resistance?: number | undefined;
845
+ }, {
846
+ type: "source_component";
847
+ ftype: "simple_resonator";
848
+ source_component_id: string;
849
+ name: string;
850
+ frequency: string | number;
851
+ load_capacitance: string | number;
852
+ manufacturer_part_number?: string | undefined;
853
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
854
+ display_value?: string | undefined;
855
+ equivalent_series_resistance?: string | number | undefined;
821
856
  }>]>;
822
857
  type AnySourceComponent = z.infer<typeof any_source_component>;
823
858
 
@@ -1164,6 +1199,53 @@ declare const source_simple_pin_header: z.ZodObject<z.objectUtil.extendShape<{
1164
1199
  type SourceSimplePinHeader = z.infer<typeof source_simple_pin_header>;
1165
1200
  type SourceSimplePinHeaderInput = z.input<typeof source_simple_pin_header>;
1166
1201
 
1202
+ declare const source_simple_resonator: z.ZodObject<z.objectUtil.extendShape<{
1203
+ type: z.ZodLiteral<"source_component">;
1204
+ ftype: z.ZodOptional<z.ZodString>;
1205
+ source_component_id: z.ZodString;
1206
+ name: z.ZodString;
1207
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
1208
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
1209
+ display_value: z.ZodOptional<z.ZodString>;
1210
+ }, {
1211
+ ftype: z.ZodLiteral<"simple_resonator">;
1212
+ load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1213
+ equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
1214
+ frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1215
+ }>, "strip", z.ZodTypeAny, {
1216
+ type: "source_component";
1217
+ ftype: "simple_resonator";
1218
+ source_component_id: string;
1219
+ name: string;
1220
+ frequency: number;
1221
+ load_capacitance: number;
1222
+ manufacturer_part_number?: string | undefined;
1223
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
1224
+ display_value?: string | undefined;
1225
+ equivalent_series_resistance?: number | undefined;
1226
+ }, {
1227
+ type: "source_component";
1228
+ ftype: "simple_resonator";
1229
+ source_component_id: string;
1230
+ name: string;
1231
+ frequency: string | number;
1232
+ load_capacitance: string | number;
1233
+ manufacturer_part_number?: string | undefined;
1234
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
1235
+ display_value?: string | undefined;
1236
+ equivalent_series_resistance?: string | number | undefined;
1237
+ }>;
1238
+ type SourceSimpleResonatorInput = z.input<typeof source_simple_resonator>;
1239
+ /**
1240
+ * Defines a simple resonator component
1241
+ */
1242
+ interface SourceSimpleResonator extends SourceComponentBase {
1243
+ ftype: "simple_resonator";
1244
+ load_capacitance: number;
1245
+ equivalent_series_resistance?: number;
1246
+ frequency: number;
1247
+ }
1248
+
1167
1249
  interface SchematicBox {
1168
1250
  type: "schematic_box";
1169
1251
  schematic_component_id: string;
@@ -4112,6 +4194,7 @@ declare const pcb_silkscreen_text: z.ZodObject<{
4112
4194
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4113
4195
  pcb_component_id: z.ZodString;
4114
4196
  text: z.ZodString;
4197
+ ccw_rotation: z.ZodOptional<z.ZodNumber>;
4115
4198
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4116
4199
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4117
4200
  }, "strip", z.ZodTypeAny, {
@@ -4146,6 +4229,7 @@ declare const pcb_silkscreen_text: z.ZodObject<{
4146
4229
  font: "tscircuit2024";
4147
4230
  font_size: number;
4148
4231
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
4232
+ ccw_rotation?: number | undefined;
4149
4233
  is_mirrored?: boolean | undefined;
4150
4234
  }, {
4151
4235
  type: "pcb_silkscreen_text";
@@ -4158,6 +4242,7 @@ declare const pcb_silkscreen_text: z.ZodObject<{
4158
4242
  x: string | number;
4159
4243
  y: string | number;
4160
4244
  } | undefined;
4245
+ ccw_rotation?: number | undefined;
4161
4246
  pcb_silkscreen_text_id?: string | undefined;
4162
4247
  font?: "tscircuit2024" | undefined;
4163
4248
  font_size?: string | number | undefined;
@@ -4175,6 +4260,7 @@ interface PcbSilkscreenText {
4175
4260
  font_size: Length;
4176
4261
  pcb_component_id: string;
4177
4262
  text: string;
4263
+ ccw_rotation?: number;
4178
4264
  layer: LayerRef;
4179
4265
  is_mirrored?: boolean;
4180
4266
  anchor_position: Point;
@@ -5265,6 +5351,41 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5265
5351
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5266
5352
  display_value?: string | undefined;
5267
5353
  gender?: "male" | "female" | undefined;
5354
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5355
+ type: z.ZodLiteral<"source_component">;
5356
+ ftype: z.ZodOptional<z.ZodString>;
5357
+ source_component_id: z.ZodString;
5358
+ name: z.ZodString;
5359
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
5360
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
5361
+ display_value: z.ZodOptional<z.ZodString>;
5362
+ }, {
5363
+ ftype: z.ZodLiteral<"simple_resonator">;
5364
+ load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5365
+ equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5366
+ frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5367
+ }>, "strip", z.ZodTypeAny, {
5368
+ type: "source_component";
5369
+ ftype: "simple_resonator";
5370
+ source_component_id: string;
5371
+ name: string;
5372
+ frequency: number;
5373
+ load_capacitance: number;
5374
+ manufacturer_part_number?: string | undefined;
5375
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5376
+ display_value?: string | undefined;
5377
+ equivalent_series_resistance?: number | undefined;
5378
+ }, {
5379
+ type: "source_component";
5380
+ ftype: "simple_resonator";
5381
+ source_component_id: string;
5382
+ name: string;
5383
+ frequency: string | number;
5384
+ load_capacitance: string | number;
5385
+ manufacturer_part_number?: string | undefined;
5386
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5387
+ display_value?: string | undefined;
5388
+ equivalent_series_resistance?: string | number | undefined;
5268
5389
  }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5269
5390
  type: z.ZodLiteral<"source_component">;
5270
5391
  ftype: z.ZodOptional<z.ZodString>;
@@ -5598,6 +5719,41 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5598
5719
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
5599
5720
  supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
5600
5721
  display_value: z.ZodOptional<z.ZodString>;
5722
+ }, {
5723
+ ftype: z.ZodLiteral<"simple_resonator">;
5724
+ load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5725
+ equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5726
+ frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5727
+ }>, "strip", z.ZodTypeAny, {
5728
+ type: "source_component";
5729
+ ftype: "simple_resonator";
5730
+ source_component_id: string;
5731
+ name: string;
5732
+ frequency: number;
5733
+ load_capacitance: number;
5734
+ manufacturer_part_number?: string | undefined;
5735
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5736
+ display_value?: string | undefined;
5737
+ equivalent_series_resistance?: number | undefined;
5738
+ }, {
5739
+ type: "source_component";
5740
+ ftype: "simple_resonator";
5741
+ source_component_id: string;
5742
+ name: string;
5743
+ frequency: string | number;
5744
+ load_capacitance: string | number;
5745
+ manufacturer_part_number?: string | undefined;
5746
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
5747
+ display_value?: string | undefined;
5748
+ equivalent_series_resistance?: string | number | undefined;
5749
+ }>, z.ZodObject<z.objectUtil.extendShape<{
5750
+ type: z.ZodLiteral<"source_component">;
5751
+ ftype: z.ZodOptional<z.ZodString>;
5752
+ source_component_id: z.ZodString;
5753
+ name: z.ZodString;
5754
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
5755
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
5756
+ display_value: z.ZodOptional<z.ZodString>;
5601
5757
  }, {
5602
5758
  ftype: z.ZodLiteral<"simple_potentiometer">;
5603
5759
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -6671,6 +6827,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6671
6827
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6672
6828
  pcb_component_id: z.ZodString;
6673
6829
  text: z.ZodString;
6830
+ ccw_rotation: z.ZodOptional<z.ZodNumber>;
6674
6831
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
6675
6832
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
6676
6833
  }, "strip", z.ZodTypeAny, {
@@ -6705,6 +6862,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6705
6862
  font: "tscircuit2024";
6706
6863
  font_size: number;
6707
6864
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
6865
+ ccw_rotation?: number | undefined;
6708
6866
  is_mirrored?: boolean | undefined;
6709
6867
  }, {
6710
6868
  type: "pcb_silkscreen_text";
@@ -6717,6 +6875,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
6717
6875
  x: string | number;
6718
6876
  y: string | number;
6719
6877
  } | undefined;
6878
+ ccw_rotation?: number | undefined;
6720
6879
  pcb_silkscreen_text_id?: string | undefined;
6721
6880
  font?: "tscircuit2024" | undefined;
6722
6881
  font_size?: string | number | undefined;
@@ -7144,7 +7303,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
7144
7303
  box_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
7145
7304
  symbol_name: z.ZodOptional<z.ZodString>;
7146
7305
  port_arrangement: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
7147
- left_size: z.ZodNumber;
7306
+ left_size: z.ZodNumber; /**
7307
+ * @deprecated use any_circuit_element instead
7308
+ */
7148
7309
  right_size: z.ZodNumber;
7149
7310
  top_size: z.ZodOptional<z.ZodNumber>;
7150
7311
  bottom_size: z.ZodOptional<z.ZodNumber>;
@@ -8301,6 +8462,41 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8301
8462
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8302
8463
  display_value?: string | undefined;
8303
8464
  gender?: "male" | "female" | undefined;
8465
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8466
+ type: z.ZodLiteral<"source_component">;
8467
+ ftype: z.ZodOptional<z.ZodString>;
8468
+ source_component_id: z.ZodString;
8469
+ name: z.ZodString;
8470
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
8471
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8472
+ display_value: z.ZodOptional<z.ZodString>;
8473
+ }, {
8474
+ ftype: z.ZodLiteral<"simple_resonator">;
8475
+ load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8476
+ equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8477
+ frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8478
+ }>, "strip", z.ZodTypeAny, {
8479
+ type: "source_component";
8480
+ ftype: "simple_resonator";
8481
+ source_component_id: string;
8482
+ name: string;
8483
+ frequency: number;
8484
+ load_capacitance: number;
8485
+ manufacturer_part_number?: string | undefined;
8486
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8487
+ display_value?: string | undefined;
8488
+ equivalent_series_resistance?: number | undefined;
8489
+ }, {
8490
+ type: "source_component";
8491
+ ftype: "simple_resonator";
8492
+ source_component_id: string;
8493
+ name: string;
8494
+ frequency: string | number;
8495
+ load_capacitance: string | number;
8496
+ manufacturer_part_number?: string | undefined;
8497
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8498
+ display_value?: string | undefined;
8499
+ equivalent_series_resistance?: string | number | undefined;
8304
8500
  }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8305
8501
  type: z.ZodLiteral<"source_component">;
8306
8502
  ftype: z.ZodOptional<z.ZodString>;
@@ -8634,6 +8830,41 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8634
8830
  manufacturer_part_number: z.ZodOptional<z.ZodString>;
8635
8831
  supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8636
8832
  display_value: z.ZodOptional<z.ZodString>;
8833
+ }, {
8834
+ ftype: z.ZodLiteral<"simple_resonator">;
8835
+ load_capacitance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8836
+ equivalent_series_resistance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8837
+ frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8838
+ }>, "strip", z.ZodTypeAny, {
8839
+ type: "source_component";
8840
+ ftype: "simple_resonator";
8841
+ source_component_id: string;
8842
+ name: string;
8843
+ frequency: number;
8844
+ load_capacitance: number;
8845
+ manufacturer_part_number?: string | undefined;
8846
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8847
+ display_value?: string | undefined;
8848
+ equivalent_series_resistance?: number | undefined;
8849
+ }, {
8850
+ type: "source_component";
8851
+ ftype: "simple_resonator";
8852
+ source_component_id: string;
8853
+ name: string;
8854
+ frequency: string | number;
8855
+ load_capacitance: string | number;
8856
+ manufacturer_part_number?: string | undefined;
8857
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8858
+ display_value?: string | undefined;
8859
+ equivalent_series_resistance?: string | number | undefined;
8860
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8861
+ type: z.ZodLiteral<"source_component">;
8862
+ ftype: z.ZodOptional<z.ZodString>;
8863
+ source_component_id: z.ZodString;
8864
+ name: z.ZodString;
8865
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
8866
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8867
+ display_value: z.ZodOptional<z.ZodString>;
8637
8868
  }, {
8638
8869
  ftype: z.ZodLiteral<"simple_potentiometer">;
8639
8870
  max_resistance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -9707,6 +9938,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9707
9938
  font_size: z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
9708
9939
  pcb_component_id: z.ZodString;
9709
9940
  text: z.ZodString;
9941
+ ccw_rotation: z.ZodOptional<z.ZodNumber>;
9710
9942
  layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
9711
9943
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
9712
9944
  }, "strip", z.ZodTypeAny, {
@@ -9741,6 +9973,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9741
9973
  font: "tscircuit2024";
9742
9974
  font_size: number;
9743
9975
  anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
9976
+ ccw_rotation?: number | undefined;
9744
9977
  is_mirrored?: boolean | undefined;
9745
9978
  }, {
9746
9979
  type: "pcb_silkscreen_text";
@@ -9753,6 +9986,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
9753
9986
  x: string | number;
9754
9987
  y: string | number;
9755
9988
  } | undefined;
9989
+ ccw_rotation?: number | undefined;
9756
9990
  pcb_silkscreen_text_id?: string | undefined;
9757
9991
  font?: "tscircuit2024" | undefined;
9758
9992
  font_size?: string | number | undefined;
@@ -10180,7 +10414,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
10180
10414
  box_width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
10181
10415
  symbol_name: z.ZodOptional<z.ZodString>;
10182
10416
  port_arrangement: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
10183
- left_size: z.ZodNumber;
10417
+ left_size: z.ZodNumber; /**
10418
+ * @deprecated use any_circuit_element instead
10419
+ */
10184
10420
  right_size: z.ZodNumber;
10185
10421
  top_size: z.ZodOptional<z.ZodNumber>;
10186
10422
  bottom_size: z.ZodOptional<z.ZodNumber>;
@@ -10915,4 +11151,4 @@ type AnySoupElementInput = AnyCircuitElementInput;
10915
11151
  */
10916
11152
  type CircuitJson = AnyCircuitElement[];
10917
11153
 
10918
- 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 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_trace, supplier_name, time, visible_layer, voltage };
11154
+ 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 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_trace, supplier_name, time, visible_layer, voltage };