circuit-json 0.0.387 → 0.0.388

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/dist/index.d.mts CHANGED
@@ -2364,6 +2364,9 @@ declare const kicadFootprintMetadata: z.ZodObject<{
2364
2364
  } | undefined;
2365
2365
  }>;
2366
2366
 
2367
+ type NinePointAnchor = "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
2368
+ declare const ninePointAnchor: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
2369
+
2367
2370
  interface PcbComponentMetadata {
2368
2371
  kicad_footprint?: KicadFootprintMetadata;
2369
2372
  }
@@ -2399,7 +2402,18 @@ declare const pcb_component: z.ZodObject<{
2399
2402
  is_allowed_to_be_off_board: z.ZodOptional<z.ZodBoolean>;
2400
2403
  subcircuit_id: z.ZodOptional<z.ZodString>;
2401
2404
  pcb_group_id: z.ZodOptional<z.ZodString>;
2402
- position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "none"]>>;
2405
+ position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "relative_to_another_component", "none"]>>;
2406
+ anchor_position: z.ZodOptional<z.ZodObject<{
2407
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
2408
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
2409
+ }, "strip", z.ZodTypeAny, {
2410
+ x: number;
2411
+ y: number;
2412
+ }, {
2413
+ x: string | number;
2414
+ y: string | number;
2415
+ }>>;
2416
+ anchor_alignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
2403
2417
  positioned_relative_to_pcb_group_id: z.ZodOptional<z.ZodString>;
2404
2418
  positioned_relative_to_pcb_board_id: z.ZodOptional<z.ZodString>;
2405
2419
  metadata: z.ZodOptional<z.ZodObject<{
@@ -3674,12 +3688,12 @@ declare const pcb_component: z.ZodObject<{
3674
3688
  height: number;
3675
3689
  rotation: number;
3676
3690
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3677
- pcb_component_id: string;
3678
- source_component_id: string;
3679
3691
  center: {
3680
3692
  x: number;
3681
3693
  y: number;
3682
3694
  };
3695
+ pcb_component_id: string;
3696
+ source_component_id: string;
3683
3697
  obstructs_within_bounds: boolean;
3684
3698
  display_offset_x?: string | undefined;
3685
3699
  display_offset_y?: string | undefined;
@@ -3687,7 +3701,12 @@ declare const pcb_component: z.ZodObject<{
3687
3701
  is_allowed_to_be_off_board?: boolean | undefined;
3688
3702
  subcircuit_id?: string | undefined;
3689
3703
  pcb_group_id?: string | undefined;
3690
- position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
3704
+ position_mode?: "packed" | "relative_to_group_anchor" | "relative_to_another_component" | "none" | undefined;
3705
+ anchor_position?: {
3706
+ x: number;
3707
+ y: number;
3708
+ } | undefined;
3709
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
3691
3710
  positioned_relative_to_pcb_group_id?: string | undefined;
3692
3711
  positioned_relative_to_pcb_board_id?: string | undefined;
3693
3712
  metadata?: {
@@ -3832,11 +3851,11 @@ declare const pcb_component: z.ZodObject<{
3832
3851
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
3833
3852
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
3834
3853
  };
3835
- source_component_id: string;
3836
3854
  center: {
3837
3855
  x: string | number;
3838
3856
  y: string | number;
3839
3857
  };
3858
+ source_component_id: string;
3840
3859
  pcb_component_id?: string | undefined;
3841
3860
  display_offset_x?: string | undefined;
3842
3861
  display_offset_y?: string | undefined;
@@ -3844,7 +3863,12 @@ declare const pcb_component: z.ZodObject<{
3844
3863
  is_allowed_to_be_off_board?: boolean | undefined;
3845
3864
  subcircuit_id?: string | undefined;
3846
3865
  pcb_group_id?: string | undefined;
3847
- position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
3866
+ position_mode?: "packed" | "relative_to_group_anchor" | "relative_to_another_component" | "none" | undefined;
3867
+ anchor_position?: {
3868
+ x: string | number;
3869
+ y: string | number;
3870
+ } | undefined;
3871
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
3848
3872
  positioned_relative_to_pcb_group_id?: string | undefined;
3849
3873
  positioned_relative_to_pcb_board_id?: string | undefined;
3850
3874
  metadata?: {
@@ -4002,7 +4026,9 @@ interface PcbComponent {
4002
4026
  do_not_place?: boolean;
4003
4027
  is_allowed_to_be_off_board?: boolean;
4004
4028
  pcb_group_id?: string;
4005
- position_mode?: "packed" | "relative_to_group_anchor" | "none";
4029
+ position_mode?: "packed" | "relative_to_group_anchor" | "relative_to_another_component" | "none";
4030
+ anchor_position?: Point;
4031
+ anchor_alignment?: NinePointAnchor;
4006
4032
  positioned_relative_to_pcb_group_id?: string;
4007
4033
  positioned_relative_to_pcb_board_id?: string;
4008
4034
  metadata?: PcbComponentMetadata;
@@ -7302,6 +7328,11 @@ declare const pcb_board: z.ZodObject<{
7302
7328
  display_offset_y?: string | undefined;
7303
7329
  subcircuit_id?: string | undefined;
7304
7330
  position_mode?: "none" | "relative_to_panel_anchor" | undefined;
7331
+ anchor_position?: {
7332
+ x: number;
7333
+ y: number;
7334
+ } | undefined;
7335
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
7305
7336
  pcb_panel_id?: string | undefined;
7306
7337
  carrier_pcb_board_id?: string | undefined;
7307
7338
  is_subcircuit?: boolean | undefined;
@@ -7310,11 +7341,6 @@ declare const pcb_board: z.ZodObject<{
7310
7341
  x: number;
7311
7342
  y: number;
7312
7343
  }[] | undefined;
7313
- anchor_position?: {
7314
- x: number;
7315
- y: number;
7316
- } | undefined;
7317
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
7318
7344
  }, {
7319
7345
  type: "pcb_board";
7320
7346
  center: {
@@ -7329,6 +7355,11 @@ declare const pcb_board: z.ZodObject<{
7329
7355
  display_offset_y?: string | undefined;
7330
7356
  subcircuit_id?: string | undefined;
7331
7357
  position_mode?: "none" | "relative_to_panel_anchor" | undefined;
7358
+ anchor_position?: {
7359
+ x: string | number;
7360
+ y: string | number;
7361
+ } | undefined;
7362
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
7332
7363
  pcb_board_id?: string | undefined;
7333
7364
  pcb_panel_id?: string | undefined;
7334
7365
  carrier_pcb_board_id?: string | undefined;
@@ -7340,11 +7371,6 @@ declare const pcb_board: z.ZodObject<{
7340
7371
  y: string | number;
7341
7372
  }[] | undefined;
7342
7373
  material?: "fr4" | "fr1" | undefined;
7343
- anchor_position?: {
7344
- x: string | number;
7345
- y: string | number;
7346
- } | undefined;
7347
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
7348
7374
  }>;
7349
7375
  /**
7350
7376
  * Defines the board outline of the PCB
@@ -7717,9 +7743,6 @@ interface PcbSilkscreenPath {
7717
7743
  */
7718
7744
  type PcbSilkscreenPathDeprecated = PcbSilkscreenPath;
7719
7745
 
7720
- type NinePointAnchor = "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
7721
- declare const ninePointAnchor: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
7722
-
7723
7746
  declare const pcb_silkscreen_text: z.ZodObject<{
7724
7747
  type: z.ZodLiteral<"pcb_silkscreen_text">;
7725
7748
  pcb_silkscreen_text_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -7773,12 +7796,12 @@ declare const pcb_silkscreen_text: z.ZodObject<{
7773
7796
  font: "tscircuit2024";
7774
7797
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7775
7798
  pcb_component_id: string;
7776
- text: string;
7777
7799
  anchor_position: {
7778
7800
  x: number;
7779
7801
  y: number;
7780
7802
  };
7781
- anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
7803
+ anchor_alignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
7804
+ text: string;
7782
7805
  pcb_silkscreen_text_id: string;
7783
7806
  font_size: number;
7784
7807
  subcircuit_id?: string | undefined;
@@ -7802,12 +7825,12 @@ declare const pcb_silkscreen_text: z.ZodObject<{
7802
7825
  font?: "tscircuit2024" | undefined;
7803
7826
  subcircuit_id?: string | undefined;
7804
7827
  pcb_group_id?: string | undefined;
7805
- ccw_rotation?: number | undefined;
7806
7828
  anchor_position?: {
7807
7829
  x: string | number;
7808
7830
  y: string | number;
7809
7831
  } | undefined;
7810
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
7832
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
7833
+ ccw_rotation?: number | undefined;
7811
7834
  pcb_silkscreen_text_id?: string | undefined;
7812
7835
  font_size?: string | number | undefined;
7813
7836
  is_knockout?: boolean | undefined;
@@ -7903,12 +7926,12 @@ declare const pcb_copper_text: z.ZodObject<{
7903
7926
  font: "tscircuit2024";
7904
7927
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7905
7928
  pcb_component_id: string;
7906
- text: string;
7907
7929
  anchor_position: {
7908
7930
  x: number;
7909
7931
  y: number;
7910
7932
  };
7911
- anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
7933
+ anchor_alignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
7934
+ text: string;
7912
7935
  font_size: number;
7913
7936
  pcb_copper_text_id: string;
7914
7937
  subcircuit_id?: string | undefined;
@@ -7932,12 +7955,12 @@ declare const pcb_copper_text: z.ZodObject<{
7932
7955
  font?: "tscircuit2024" | undefined;
7933
7956
  subcircuit_id?: string | undefined;
7934
7957
  pcb_group_id?: string | undefined;
7935
- ccw_rotation?: number | undefined;
7936
7958
  anchor_position?: {
7937
7959
  x: string | number;
7938
7960
  y: string | number;
7939
7961
  } | undefined;
7940
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
7962
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
7963
+ ccw_rotation?: number | undefined;
7941
7964
  font_size?: string | number | undefined;
7942
7965
  is_knockout?: boolean | undefined;
7943
7966
  knockout_padding?: {
@@ -8018,11 +8041,11 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
8018
8041
  width: number;
8019
8042
  height: number;
8020
8043
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8021
- pcb_component_id: string;
8022
8044
  center: {
8023
8045
  x: number;
8024
8046
  y: number;
8025
8047
  };
8048
+ pcb_component_id: string;
8026
8049
  stroke_width: number;
8027
8050
  pcb_silkscreen_rect_id: string;
8028
8051
  subcircuit_id?: string | undefined;
@@ -8039,11 +8062,11 @@ declare const pcb_silkscreen_rect: z.ZodObject<{
8039
8062
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
8040
8063
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8041
8064
  };
8042
- pcb_component_id: string;
8043
8065
  center: {
8044
8066
  x: string | number;
8045
8067
  y: string | number;
8046
8068
  };
8069
+ pcb_component_id: string;
8047
8070
  subcircuit_id?: string | undefined;
8048
8071
  pcb_group_id?: string | undefined;
8049
8072
  ccw_rotation?: number | undefined;
@@ -8102,11 +8125,11 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
8102
8125
  }, "strip", z.ZodTypeAny, {
8103
8126
  type: "pcb_silkscreen_circle";
8104
8127
  layer: "top" | "bottom";
8105
- pcb_component_id: string;
8106
8128
  center: {
8107
8129
  x: number;
8108
8130
  y: number;
8109
8131
  };
8132
+ pcb_component_id: string;
8110
8133
  radius: number;
8111
8134
  stroke_width: number;
8112
8135
  pcb_silkscreen_circle_id: string;
@@ -8115,11 +8138,11 @@ declare const pcb_silkscreen_circle: z.ZodObject<{
8115
8138
  }, {
8116
8139
  type: "pcb_silkscreen_circle";
8117
8140
  layer: "top" | "bottom";
8118
- pcb_component_id: string;
8119
8141
  center: {
8120
8142
  x: string | number;
8121
8143
  y: string | number;
8122
8144
  };
8145
+ pcb_component_id: string;
8123
8146
  radius: string | number;
8124
8147
  subcircuit_id?: string | undefined;
8125
8148
  pcb_group_id?: string | undefined;
@@ -8165,11 +8188,11 @@ declare const pcb_silkscreen_oval: z.ZodObject<{
8165
8188
  }, "strip", z.ZodTypeAny, {
8166
8189
  type: "pcb_silkscreen_oval";
8167
8190
  layer: "top" | "bottom";
8168
- pcb_component_id: string;
8169
8191
  center: {
8170
8192
  x: number;
8171
8193
  y: number;
8172
8194
  };
8195
+ pcb_component_id: string;
8173
8196
  pcb_silkscreen_oval_id: string;
8174
8197
  radius_x: number;
8175
8198
  radius_y: number;
@@ -8179,11 +8202,11 @@ declare const pcb_silkscreen_oval: z.ZodObject<{
8179
8202
  }, {
8180
8203
  type: "pcb_silkscreen_oval";
8181
8204
  layer: "top" | "bottom";
8182
- pcb_component_id: string;
8183
8205
  center: {
8184
8206
  x: string | number;
8185
8207
  y: string | number;
8186
8208
  };
8209
+ pcb_component_id: string;
8187
8210
  radius_x: string | number;
8188
8211
  radius_y: string | number;
8189
8212
  subcircuit_id?: string | undefined;
@@ -8245,11 +8268,11 @@ declare const pcb_silkscreen_pill: z.ZodObject<{
8245
8268
  width: number;
8246
8269
  height: number;
8247
8270
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8248
- pcb_component_id: string;
8249
8271
  center: {
8250
8272
  x: number;
8251
8273
  y: number;
8252
8274
  };
8275
+ pcb_component_id: string;
8253
8276
  pcb_silkscreen_pill_id: string;
8254
8277
  subcircuit_id?: string | undefined;
8255
8278
  pcb_group_id?: string | undefined;
@@ -8261,11 +8284,11 @@ declare const pcb_silkscreen_pill: z.ZodObject<{
8261
8284
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
8262
8285
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8263
8286
  };
8264
- pcb_component_id: string;
8265
8287
  center: {
8266
8288
  x: string | number;
8267
8289
  y: string | number;
8268
8290
  };
8291
+ pcb_component_id: string;
8269
8292
  subcircuit_id?: string | undefined;
8270
8293
  pcb_group_id?: string | undefined;
8271
8294
  ccw_rotation?: number | undefined;
@@ -8319,12 +8342,12 @@ declare const pcb_fabrication_note_text: z.ZodObject<{
8319
8342
  font: "tscircuit2024";
8320
8343
  layer: "top" | "bottom";
8321
8344
  pcb_component_id: string;
8322
- text: string;
8323
8345
  anchor_position: {
8324
8346
  x: number;
8325
8347
  y: number;
8326
8348
  };
8327
- anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
8349
+ anchor_alignment: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right";
8350
+ text: string;
8328
8351
  font_size: number;
8329
8352
  pcb_fabrication_note_text_id: string;
8330
8353
  subcircuit_id?: string | undefined;
@@ -8342,7 +8365,7 @@ declare const pcb_fabrication_note_text: z.ZodObject<{
8342
8365
  x: string | number;
8343
8366
  y: string | number;
8344
8367
  } | undefined;
8345
- anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
8368
+ anchor_alignment?: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right" | undefined;
8346
8369
  font_size?: string | number | undefined;
8347
8370
  pcb_fabrication_note_text_id?: string | undefined;
8348
8371
  color?: string | undefined;
@@ -8472,11 +8495,11 @@ declare const pcb_fabrication_note_rect: z.ZodObject<{
8472
8495
  width: number;
8473
8496
  height: number;
8474
8497
  layer: "top" | "bottom";
8475
- pcb_component_id: string;
8476
8498
  center: {
8477
8499
  x: number;
8478
8500
  y: number;
8479
8501
  };
8502
+ pcb_component_id: string;
8480
8503
  stroke_width: number;
8481
8504
  pcb_fabrication_note_rect_id: string;
8482
8505
  subcircuit_id?: string | undefined;
@@ -8491,11 +8514,11 @@ declare const pcb_fabrication_note_rect: z.ZodObject<{
8491
8514
  width: string | number;
8492
8515
  height: string | number;
8493
8516
  layer: "top" | "bottom";
8494
- pcb_component_id: string;
8495
8517
  center: {
8496
8518
  x: string | number;
8497
8519
  y: string | number;
8498
8520
  };
8521
+ pcb_component_id: string;
8499
8522
  subcircuit_id?: string | undefined;
8500
8523
  pcb_group_id?: string | undefined;
8501
8524
  corner_radius?: string | number | undefined;
@@ -8692,7 +8715,7 @@ declare const pcb_note_text: z.ZodObject<{
8692
8715
  x: number;
8693
8716
  y: number;
8694
8717
  };
8695
- anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
8718
+ anchor_alignment: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right";
8696
8719
  font_size: number;
8697
8720
  pcb_note_text_id: string;
8698
8721
  name?: string | undefined;
@@ -8708,12 +8731,12 @@ declare const pcb_note_text: z.ZodObject<{
8708
8731
  pcb_component_id?: string | undefined;
8709
8732
  subcircuit_id?: string | undefined;
8710
8733
  pcb_group_id?: string | undefined;
8711
- text?: string | undefined;
8712
8734
  anchor_position?: {
8713
8735
  x: string | number;
8714
8736
  y: string | number;
8715
8737
  } | undefined;
8716
- anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
8738
+ anchor_alignment?: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right" | undefined;
8739
+ text?: string | undefined;
8717
8740
  font_size?: string | number | undefined;
8718
8741
  color?: string | undefined;
8719
8742
  pcb_note_text_id?: string | undefined;
@@ -9926,8 +9949,8 @@ declare const pcb_group: z.ZodObject<{
9926
9949
  y: number;
9927
9950
  };
9928
9951
  pcb_group_id: string;
9952
+ anchor_alignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
9929
9953
  pcb_component_ids: string[];
9930
- anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
9931
9954
  source_group_id: string;
9932
9955
  description?: string | undefined;
9933
9956
  width?: number | undefined;
@@ -9937,6 +9960,10 @@ declare const pcb_group: z.ZodObject<{
9937
9960
  display_offset_y?: string | undefined;
9938
9961
  subcircuit_id?: string | undefined;
9939
9962
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
9963
+ anchor_position?: {
9964
+ x: number;
9965
+ y: number;
9966
+ } | undefined;
9940
9967
  positioned_relative_to_pcb_group_id?: string | undefined;
9941
9968
  positioned_relative_to_pcb_board_id?: string | undefined;
9942
9969
  is_subcircuit?: boolean | undefined;
@@ -9944,10 +9971,6 @@ declare const pcb_group: z.ZodObject<{
9944
9971
  x: number;
9945
9972
  y: number;
9946
9973
  }[] | undefined;
9947
- anchor_position?: {
9948
- x: number;
9949
- y: number;
9950
- } | undefined;
9951
9974
  child_layout_mode?: "packed" | "none" | undefined;
9952
9975
  layout_mode?: string | undefined;
9953
9976
  autorouter_configuration?: {
@@ -9971,6 +9994,11 @@ declare const pcb_group: z.ZodObject<{
9971
9994
  subcircuit_id?: string | undefined;
9972
9995
  pcb_group_id?: string | undefined;
9973
9996
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
9997
+ anchor_position?: {
9998
+ x: string | number;
9999
+ y: string | number;
10000
+ } | undefined;
10001
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
9974
10002
  positioned_relative_to_pcb_group_id?: string | undefined;
9975
10003
  positioned_relative_to_pcb_board_id?: string | undefined;
9976
10004
  is_subcircuit?: boolean | undefined;
@@ -9978,11 +10006,6 @@ declare const pcb_group: z.ZodObject<{
9978
10006
  x: string | number;
9979
10007
  y: string | number;
9980
10008
  }[] | undefined;
9981
- anchor_position?: {
9982
- x: string | number;
9983
- y: string | number;
9984
- } | undefined;
9985
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
9986
10009
  child_layout_mode?: "packed" | "none" | undefined;
9987
10010
  layout_mode?: string | undefined;
9988
10011
  autorouter_configuration?: {
@@ -11213,11 +11236,11 @@ declare const pcb_courtyard_rect: z.ZodObject<{
11213
11236
  width: number;
11214
11237
  height: number;
11215
11238
  layer: "top" | "bottom";
11216
- pcb_component_id: string;
11217
11239
  center: {
11218
11240
  x: number;
11219
11241
  y: number;
11220
11242
  };
11243
+ pcb_component_id: string;
11221
11244
  pcb_courtyard_rect_id: string;
11222
11245
  subcircuit_id?: string | undefined;
11223
11246
  pcb_group_id?: string | undefined;
@@ -11227,11 +11250,11 @@ declare const pcb_courtyard_rect: z.ZodObject<{
11227
11250
  width: string | number;
11228
11251
  height: string | number;
11229
11252
  layer: "top" | "bottom";
11230
- pcb_component_id: string;
11231
11253
  center: {
11232
11254
  x: string | number;
11233
11255
  y: string | number;
11234
11256
  };
11257
+ pcb_component_id: string;
11235
11258
  subcircuit_id?: string | undefined;
11236
11259
  pcb_group_id?: string | undefined;
11237
11260
  color?: string | undefined;
@@ -11400,11 +11423,11 @@ declare const pcb_courtyard_circle: z.ZodObject<{
11400
11423
  }, "strip", z.ZodTypeAny, {
11401
11424
  type: "pcb_courtyard_circle";
11402
11425
  layer: "top" | "bottom";
11403
- pcb_component_id: string;
11404
11426
  center: {
11405
11427
  x: number;
11406
11428
  y: number;
11407
11429
  };
11430
+ pcb_component_id: string;
11408
11431
  radius: number;
11409
11432
  pcb_courtyard_circle_id: string;
11410
11433
  subcircuit_id?: string | undefined;
@@ -11413,11 +11436,11 @@ declare const pcb_courtyard_circle: z.ZodObject<{
11413
11436
  }, {
11414
11437
  type: "pcb_courtyard_circle";
11415
11438
  layer: "top" | "bottom";
11416
- pcb_component_id: string;
11417
11439
  center: {
11418
11440
  x: string | number;
11419
11441
  y: string | number;
11420
11442
  };
11443
+ pcb_component_id: string;
11421
11444
  radius: string | number;
11422
11445
  subcircuit_id?: string | undefined;
11423
11446
  pcb_group_id?: string | undefined;
@@ -23395,7 +23418,7 @@ declare const schematic_text: z.ZodObject<{
23395
23418
  subcircuit_id: z.ZodOptional<z.ZodString>;
23396
23419
  }, "strip", z.ZodTypeAny, {
23397
23420
  type: "schematic_text";
23398
- anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
23421
+ anchor: "top" | "bottom" | "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
23399
23422
  rotation: number;
23400
23423
  text: string;
23401
23424
  font_size: number;
@@ -23416,7 +23439,7 @@ declare const schematic_text: z.ZodObject<{
23416
23439
  x: string | number;
23417
23440
  y: string | number;
23418
23441
  };
23419
- anchor?: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
23442
+ anchor?: "top" | "bottom" | "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
23420
23443
  rotation?: number | undefined;
23421
23444
  subcircuit_id?: string | undefined;
23422
23445
  font_size?: number | undefined;
@@ -23573,11 +23596,11 @@ declare const schematic_net_label: z.ZodObject<{
23573
23596
  schematic_net_label_id: string;
23574
23597
  anchor_side: "top" | "bottom" | "left" | "right";
23575
23598
  subcircuit_id?: string | undefined;
23576
- source_trace_id?: string | undefined;
23577
23599
  anchor_position?: {
23578
23600
  x: number;
23579
23601
  y: number;
23580
23602
  } | undefined;
23603
+ source_trace_id?: string | undefined;
23581
23604
  symbol_name?: string | undefined;
23582
23605
  schematic_trace_id?: string | undefined;
23583
23606
  is_movable?: boolean | undefined;
@@ -23591,11 +23614,11 @@ declare const schematic_net_label: z.ZodObject<{
23591
23614
  source_net_id: string;
23592
23615
  anchor_side: "top" | "bottom" | "left" | "right";
23593
23616
  subcircuit_id?: string | undefined;
23594
- source_trace_id?: string | undefined;
23595
23617
  anchor_position?: {
23596
23618
  x: string | number;
23597
23619
  y: string | number;
23598
23620
  } | undefined;
23621
+ source_trace_id?: string | undefined;
23599
23622
  symbol_name?: string | undefined;
23600
23623
  schematic_trace_id?: string | undefined;
23601
23624
  schematic_net_label_id?: string | undefined;
@@ -24038,7 +24061,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
24038
24061
  subcircuit_id?: string | undefined;
24039
24062
  color?: string | undefined;
24040
24063
  voltage?: number | undefined;
24041
- label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
24064
+ label_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
24042
24065
  }, {
24043
24066
  type: "schematic_voltage_probe";
24044
24067
  schematic_trace_id: string;
@@ -24052,7 +24075,7 @@ declare const schematic_voltage_probe: z.ZodObject<{
24052
24075
  subcircuit_id?: string | undefined;
24053
24076
  color?: string | undefined;
24054
24077
  voltage?: string | number | undefined;
24055
- label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
24078
+ label_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
24056
24079
  }>;
24057
24080
  type SchematicVoltageProbeInput = z.input<typeof schematic_voltage_probe>;
24058
24081
 
@@ -24202,7 +24225,7 @@ declare const schematic_table: z.ZodObject<{
24202
24225
  schematic_table_id: string;
24203
24226
  column_widths: number[];
24204
24227
  row_heights: number[];
24205
- anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
24228
+ anchor?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
24206
24229
  subcircuit_id?: string | undefined;
24207
24230
  schematic_component_id?: string | undefined;
24208
24231
  cell_padding?: number | undefined;
@@ -24215,7 +24238,7 @@ declare const schematic_table: z.ZodObject<{
24215
24238
  };
24216
24239
  column_widths: (string | number)[];
24217
24240
  row_heights: (string | number)[];
24218
- anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
24241
+ anchor?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
24219
24242
  subcircuit_id?: string | undefined;
24220
24243
  schematic_component_id?: string | undefined;
24221
24244
  schematic_table_id?: string | undefined;
@@ -34056,7 +34079,18 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
34056
34079
  is_allowed_to_be_off_board: z.ZodOptional<z.ZodBoolean>;
34057
34080
  subcircuit_id: z.ZodOptional<z.ZodString>;
34058
34081
  pcb_group_id: z.ZodOptional<z.ZodString>;
34059
- position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "none"]>>;
34082
+ position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "relative_to_another_component", "none"]>>;
34083
+ anchor_position: z.ZodOptional<z.ZodObject<{
34084
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
34085
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
34086
+ }, "strip", z.ZodTypeAny, {
34087
+ x: number;
34088
+ y: number;
34089
+ }, {
34090
+ x: string | number;
34091
+ y: string | number;
34092
+ }>>;
34093
+ anchor_alignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
34060
34094
  positioned_relative_to_pcb_group_id: z.ZodOptional<z.ZodString>;
34061
34095
  positioned_relative_to_pcb_board_id: z.ZodOptional<z.ZodString>;
34062
34096
  metadata: z.ZodOptional<z.ZodObject<{
@@ -35331,12 +35365,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
35331
35365
  height: number;
35332
35366
  rotation: number;
35333
35367
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
35334
- pcb_component_id: string;
35335
- source_component_id: string;
35336
35368
  center: {
35337
35369
  x: number;
35338
35370
  y: number;
35339
35371
  };
35372
+ pcb_component_id: string;
35373
+ source_component_id: string;
35340
35374
  obstructs_within_bounds: boolean;
35341
35375
  display_offset_x?: string | undefined;
35342
35376
  display_offset_y?: string | undefined;
@@ -35344,7 +35378,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
35344
35378
  is_allowed_to_be_off_board?: boolean | undefined;
35345
35379
  subcircuit_id?: string | undefined;
35346
35380
  pcb_group_id?: string | undefined;
35347
- position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
35381
+ position_mode?: "packed" | "relative_to_group_anchor" | "relative_to_another_component" | "none" | undefined;
35382
+ anchor_position?: {
35383
+ x: number;
35384
+ y: number;
35385
+ } | undefined;
35386
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
35348
35387
  positioned_relative_to_pcb_group_id?: string | undefined;
35349
35388
  positioned_relative_to_pcb_board_id?: string | undefined;
35350
35389
  metadata?: {
@@ -35489,11 +35528,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
35489
35528
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
35490
35529
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
35491
35530
  };
35492
- source_component_id: string;
35493
35531
  center: {
35494
35532
  x: string | number;
35495
35533
  y: string | number;
35496
35534
  };
35535
+ source_component_id: string;
35497
35536
  pcb_component_id?: string | undefined;
35498
35537
  display_offset_x?: string | undefined;
35499
35538
  display_offset_y?: string | undefined;
@@ -35501,7 +35540,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
35501
35540
  is_allowed_to_be_off_board?: boolean | undefined;
35502
35541
  subcircuit_id?: string | undefined;
35503
35542
  pcb_group_id?: string | undefined;
35504
- position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
35543
+ position_mode?: "packed" | "relative_to_group_anchor" | "relative_to_another_component" | "none" | undefined;
35544
+ anchor_position?: {
35545
+ x: string | number;
35546
+ y: string | number;
35547
+ } | undefined;
35548
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
35505
35549
  positioned_relative_to_pcb_group_id?: string | undefined;
35506
35550
  positioned_relative_to_pcb_board_id?: string | undefined;
35507
35551
  metadata?: {
@@ -37588,6 +37632,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37588
37632
  display_offset_y?: string | undefined;
37589
37633
  subcircuit_id?: string | undefined;
37590
37634
  position_mode?: "none" | "relative_to_panel_anchor" | undefined;
37635
+ anchor_position?: {
37636
+ x: number;
37637
+ y: number;
37638
+ } | undefined;
37639
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
37591
37640
  pcb_panel_id?: string | undefined;
37592
37641
  carrier_pcb_board_id?: string | undefined;
37593
37642
  is_subcircuit?: boolean | undefined;
@@ -37596,11 +37645,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37596
37645
  x: number;
37597
37646
  y: number;
37598
37647
  }[] | undefined;
37599
- anchor_position?: {
37600
- x: number;
37601
- y: number;
37602
- } | undefined;
37603
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
37604
37648
  }, {
37605
37649
  type: "pcb_board";
37606
37650
  center: {
@@ -37615,6 +37659,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37615
37659
  display_offset_y?: string | undefined;
37616
37660
  subcircuit_id?: string | undefined;
37617
37661
  position_mode?: "none" | "relative_to_panel_anchor" | undefined;
37662
+ anchor_position?: {
37663
+ x: string | number;
37664
+ y: string | number;
37665
+ } | undefined;
37666
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
37618
37667
  pcb_board_id?: string | undefined;
37619
37668
  pcb_panel_id?: string | undefined;
37620
37669
  carrier_pcb_board_id?: string | undefined;
@@ -37626,11 +37675,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37626
37675
  y: string | number;
37627
37676
  }[] | undefined;
37628
37677
  material?: "fr4" | "fr1" | undefined;
37629
- anchor_position?: {
37630
- x: string | number;
37631
- y: string | number;
37632
- } | undefined;
37633
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
37634
37678
  }>, z.ZodObject<{
37635
37679
  type: z.ZodLiteral<"pcb_panel">;
37636
37680
  pcb_panel_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -37731,8 +37775,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37731
37775
  y: number;
37732
37776
  };
37733
37777
  pcb_group_id: string;
37778
+ anchor_alignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
37734
37779
  pcb_component_ids: string[];
37735
- anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
37736
37780
  source_group_id: string;
37737
37781
  description?: string | undefined;
37738
37782
  width?: number | undefined;
@@ -37742,6 +37786,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37742
37786
  display_offset_y?: string | undefined;
37743
37787
  subcircuit_id?: string | undefined;
37744
37788
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
37789
+ anchor_position?: {
37790
+ x: number;
37791
+ y: number;
37792
+ } | undefined;
37745
37793
  positioned_relative_to_pcb_group_id?: string | undefined;
37746
37794
  positioned_relative_to_pcb_board_id?: string | undefined;
37747
37795
  is_subcircuit?: boolean | undefined;
@@ -37749,10 +37797,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37749
37797
  x: number;
37750
37798
  y: number;
37751
37799
  }[] | undefined;
37752
- anchor_position?: {
37753
- x: number;
37754
- y: number;
37755
- } | undefined;
37756
37800
  child_layout_mode?: "packed" | "none" | undefined;
37757
37801
  layout_mode?: string | undefined;
37758
37802
  autorouter_configuration?: {
@@ -37776,6 +37820,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37776
37820
  subcircuit_id?: string | undefined;
37777
37821
  pcb_group_id?: string | undefined;
37778
37822
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
37823
+ anchor_position?: {
37824
+ x: string | number;
37825
+ y: string | number;
37826
+ } | undefined;
37827
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
37779
37828
  positioned_relative_to_pcb_group_id?: string | undefined;
37780
37829
  positioned_relative_to_pcb_board_id?: string | undefined;
37781
37830
  is_subcircuit?: boolean | undefined;
@@ -37783,11 +37832,6 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37783
37832
  x: string | number;
37784
37833
  y: string | number;
37785
37834
  }[] | undefined;
37786
- anchor_position?: {
37787
- x: string | number;
37788
- y: string | number;
37789
- } | undefined;
37790
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
37791
37835
  child_layout_mode?: "packed" | "none" | undefined;
37792
37836
  layout_mode?: string | undefined;
37793
37837
  autorouter_configuration?: {
@@ -37988,12 +38032,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
37988
38032
  font: "tscircuit2024";
37989
38033
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
37990
38034
  pcb_component_id: string;
37991
- text: string;
37992
38035
  anchor_position: {
37993
38036
  x: number;
37994
38037
  y: number;
37995
38038
  };
37996
- anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
38039
+ anchor_alignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
38040
+ text: string;
37997
38041
  pcb_silkscreen_text_id: string;
37998
38042
  font_size: number;
37999
38043
  subcircuit_id?: string | undefined;
@@ -38017,12 +38061,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38017
38061
  font?: "tscircuit2024" | undefined;
38018
38062
  subcircuit_id?: string | undefined;
38019
38063
  pcb_group_id?: string | undefined;
38020
- ccw_rotation?: number | undefined;
38021
38064
  anchor_position?: {
38022
38065
  x: string | number;
38023
38066
  y: string | number;
38024
38067
  } | undefined;
38025
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
38068
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
38069
+ ccw_rotation?: number | undefined;
38026
38070
  pcb_silkscreen_text_id?: string | undefined;
38027
38071
  font_size?: string | number | undefined;
38028
38072
  is_knockout?: boolean | undefined;
@@ -38066,11 +38110,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38066
38110
  width: number;
38067
38111
  height: number;
38068
38112
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
38069
- pcb_component_id: string;
38070
38113
  center: {
38071
38114
  x: number;
38072
38115
  y: number;
38073
38116
  };
38117
+ pcb_component_id: string;
38074
38118
  pcb_silkscreen_pill_id: string;
38075
38119
  subcircuit_id?: string | undefined;
38076
38120
  pcb_group_id?: string | undefined;
@@ -38082,11 +38126,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38082
38126
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
38083
38127
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
38084
38128
  };
38085
- pcb_component_id: string;
38086
38129
  center: {
38087
38130
  x: string | number;
38088
38131
  y: string | number;
38089
38132
  };
38133
+ pcb_component_id: string;
38090
38134
  subcircuit_id?: string | undefined;
38091
38135
  pcb_group_id?: string | undefined;
38092
38136
  ccw_rotation?: number | undefined;
@@ -38144,12 +38188,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38144
38188
  font: "tscircuit2024";
38145
38189
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
38146
38190
  pcb_component_id: string;
38147
- text: string;
38148
38191
  anchor_position: {
38149
38192
  x: number;
38150
38193
  y: number;
38151
38194
  };
38152
- anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
38195
+ anchor_alignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
38196
+ text: string;
38153
38197
  font_size: number;
38154
38198
  pcb_copper_text_id: string;
38155
38199
  subcircuit_id?: string | undefined;
@@ -38173,12 +38217,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38173
38217
  font?: "tscircuit2024" | undefined;
38174
38218
  subcircuit_id?: string | undefined;
38175
38219
  pcb_group_id?: string | undefined;
38176
- ccw_rotation?: number | undefined;
38177
38220
  anchor_position?: {
38178
38221
  x: string | number;
38179
38222
  y: string | number;
38180
38223
  } | undefined;
38181
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
38224
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
38225
+ ccw_rotation?: number | undefined;
38182
38226
  font_size?: string | number | undefined;
38183
38227
  is_knockout?: boolean | undefined;
38184
38228
  knockout_padding?: {
@@ -38227,11 +38271,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38227
38271
  width: number;
38228
38272
  height: number;
38229
38273
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
38230
- pcb_component_id: string;
38231
38274
  center: {
38232
38275
  x: number;
38233
38276
  y: number;
38234
38277
  };
38278
+ pcb_component_id: string;
38235
38279
  stroke_width: number;
38236
38280
  pcb_silkscreen_rect_id: string;
38237
38281
  subcircuit_id?: string | undefined;
@@ -38248,11 +38292,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38248
38292
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
38249
38293
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
38250
38294
  };
38251
- pcb_component_id: string;
38252
38295
  center: {
38253
38296
  x: string | number;
38254
38297
  y: string | number;
38255
38298
  };
38299
+ pcb_component_id: string;
38256
38300
  subcircuit_id?: string | undefined;
38257
38301
  pcb_group_id?: string | undefined;
38258
38302
  ccw_rotation?: number | undefined;
@@ -38284,11 +38328,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38284
38328
  }, "strip", z.ZodTypeAny, {
38285
38329
  type: "pcb_silkscreen_circle";
38286
38330
  layer: "top" | "bottom";
38287
- pcb_component_id: string;
38288
38331
  center: {
38289
38332
  x: number;
38290
38333
  y: number;
38291
38334
  };
38335
+ pcb_component_id: string;
38292
38336
  radius: number;
38293
38337
  stroke_width: number;
38294
38338
  pcb_silkscreen_circle_id: string;
@@ -38297,11 +38341,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38297
38341
  }, {
38298
38342
  type: "pcb_silkscreen_circle";
38299
38343
  layer: "top" | "bottom";
38300
- pcb_component_id: string;
38301
38344
  center: {
38302
38345
  x: string | number;
38303
38346
  y: string | number;
38304
38347
  };
38348
+ pcb_component_id: string;
38305
38349
  radius: string | number;
38306
38350
  subcircuit_id?: string | undefined;
38307
38351
  pcb_group_id?: string | undefined;
@@ -38330,11 +38374,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38330
38374
  }, "strip", z.ZodTypeAny, {
38331
38375
  type: "pcb_silkscreen_oval";
38332
38376
  layer: "top" | "bottom";
38333
- pcb_component_id: string;
38334
38377
  center: {
38335
38378
  x: number;
38336
38379
  y: number;
38337
38380
  };
38381
+ pcb_component_id: string;
38338
38382
  pcb_silkscreen_oval_id: string;
38339
38383
  radius_x: number;
38340
38384
  radius_y: number;
@@ -38344,11 +38388,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38344
38388
  }, {
38345
38389
  type: "pcb_silkscreen_oval";
38346
38390
  layer: "top" | "bottom";
38347
- pcb_component_id: string;
38348
38391
  center: {
38349
38392
  x: string | number;
38350
38393
  y: string | number;
38351
38394
  };
38395
+ pcb_component_id: string;
38352
38396
  radius_x: string | number;
38353
38397
  radius_y: string | number;
38354
38398
  subcircuit_id?: string | undefined;
@@ -38687,12 +38731,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38687
38731
  font: "tscircuit2024";
38688
38732
  layer: "top" | "bottom";
38689
38733
  pcb_component_id: string;
38690
- text: string;
38691
38734
  anchor_position: {
38692
38735
  x: number;
38693
38736
  y: number;
38694
38737
  };
38695
- anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
38738
+ anchor_alignment: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right";
38739
+ text: string;
38696
38740
  font_size: number;
38697
38741
  pcb_fabrication_note_text_id: string;
38698
38742
  subcircuit_id?: string | undefined;
@@ -38710,7 +38754,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38710
38754
  x: string | number;
38711
38755
  y: string | number;
38712
38756
  } | undefined;
38713
- anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
38757
+ anchor_alignment?: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right" | undefined;
38714
38758
  font_size?: string | number | undefined;
38715
38759
  pcb_fabrication_note_text_id?: string | undefined;
38716
38760
  color?: string | undefined;
@@ -38744,11 +38788,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38744
38788
  width: number;
38745
38789
  height: number;
38746
38790
  layer: "top" | "bottom";
38747
- pcb_component_id: string;
38748
38791
  center: {
38749
38792
  x: number;
38750
38793
  y: number;
38751
38794
  };
38795
+ pcb_component_id: string;
38752
38796
  stroke_width: number;
38753
38797
  pcb_fabrication_note_rect_id: string;
38754
38798
  subcircuit_id?: string | undefined;
@@ -38763,11 +38807,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38763
38807
  width: string | number;
38764
38808
  height: string | number;
38765
38809
  layer: "top" | "bottom";
38766
- pcb_component_id: string;
38767
38810
  center: {
38768
38811
  x: string | number;
38769
38812
  y: string | number;
38770
38813
  };
38814
+ pcb_component_id: string;
38771
38815
  subcircuit_id?: string | undefined;
38772
38816
  pcb_group_id?: string | undefined;
38773
38817
  corner_radius?: string | number | undefined;
@@ -38905,7 +38949,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38905
38949
  x: number;
38906
38950
  y: number;
38907
38951
  };
38908
- anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
38952
+ anchor_alignment: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right";
38909
38953
  font_size: number;
38910
38954
  pcb_note_text_id: string;
38911
38955
  name?: string | undefined;
@@ -38921,12 +38965,12 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
38921
38965
  pcb_component_id?: string | undefined;
38922
38966
  subcircuit_id?: string | undefined;
38923
38967
  pcb_group_id?: string | undefined;
38924
- text?: string | undefined;
38925
38968
  anchor_position?: {
38926
38969
  x: string | number;
38927
38970
  y: string | number;
38928
38971
  } | undefined;
38929
- anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
38972
+ anchor_alignment?: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right" | undefined;
38973
+ text?: string | undefined;
38930
38974
  font_size?: string | number | undefined;
38931
38975
  color?: string | undefined;
38932
38976
  pcb_note_text_id?: string | undefined;
@@ -40042,11 +40086,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
40042
40086
  width: number;
40043
40087
  height: number;
40044
40088
  layer: "top" | "bottom";
40045
- pcb_component_id: string;
40046
40089
  center: {
40047
40090
  x: number;
40048
40091
  y: number;
40049
40092
  };
40093
+ pcb_component_id: string;
40050
40094
  pcb_courtyard_rect_id: string;
40051
40095
  subcircuit_id?: string | undefined;
40052
40096
  pcb_group_id?: string | undefined;
@@ -40056,11 +40100,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
40056
40100
  width: string | number;
40057
40101
  height: string | number;
40058
40102
  layer: "top" | "bottom";
40059
- pcb_component_id: string;
40060
40103
  center: {
40061
40104
  x: string | number;
40062
40105
  y: string | number;
40063
40106
  };
40107
+ pcb_component_id: string;
40064
40108
  subcircuit_id?: string | undefined;
40065
40109
  pcb_group_id?: string | undefined;
40066
40110
  color?: string | undefined;
@@ -40168,11 +40212,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
40168
40212
  }, "strip", z.ZodTypeAny, {
40169
40213
  type: "pcb_courtyard_circle";
40170
40214
  layer: "top" | "bottom";
40171
- pcb_component_id: string;
40172
40215
  center: {
40173
40216
  x: number;
40174
40217
  y: number;
40175
40218
  };
40219
+ pcb_component_id: string;
40176
40220
  radius: number;
40177
40221
  pcb_courtyard_circle_id: string;
40178
40222
  subcircuit_id?: string | undefined;
@@ -40181,11 +40225,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
40181
40225
  }, {
40182
40226
  type: "pcb_courtyard_circle";
40183
40227
  layer: "top" | "bottom";
40184
- pcb_component_id: string;
40185
40228
  center: {
40186
40229
  x: string | number;
40187
40230
  y: string | number;
40188
40231
  };
40232
+ pcb_component_id: string;
40189
40233
  radius: string | number;
40190
40234
  subcircuit_id?: string | undefined;
40191
40235
  pcb_group_id?: string | undefined;
@@ -40244,7 +40288,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
40244
40288
  subcircuit_id: z.ZodOptional<z.ZodString>;
40245
40289
  }, "strip", z.ZodTypeAny, {
40246
40290
  type: "schematic_text";
40247
- anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
40291
+ anchor: "top" | "bottom" | "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
40248
40292
  rotation: number;
40249
40293
  text: string;
40250
40294
  font_size: number;
@@ -40265,7 +40309,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
40265
40309
  x: string | number;
40266
40310
  y: string | number;
40267
40311
  };
40268
- anchor?: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
40312
+ anchor?: "top" | "bottom" | "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
40269
40313
  rotation?: number | undefined;
40270
40314
  subcircuit_id?: string | undefined;
40271
40315
  font_size?: number | undefined;
@@ -47845,11 +47889,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
47845
47889
  schematic_net_label_id: string;
47846
47890
  anchor_side: "top" | "bottom" | "left" | "right";
47847
47891
  subcircuit_id?: string | undefined;
47848
- source_trace_id?: string | undefined;
47849
47892
  anchor_position?: {
47850
47893
  x: number;
47851
47894
  y: number;
47852
47895
  } | undefined;
47896
+ source_trace_id?: string | undefined;
47853
47897
  symbol_name?: string | undefined;
47854
47898
  schematic_trace_id?: string | undefined;
47855
47899
  is_movable?: boolean | undefined;
@@ -47863,11 +47907,11 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
47863
47907
  source_net_id: string;
47864
47908
  anchor_side: "top" | "bottom" | "left" | "right";
47865
47909
  subcircuit_id?: string | undefined;
47866
- source_trace_id?: string | undefined;
47867
47910
  anchor_position?: {
47868
47911
  x: string | number;
47869
47912
  y: string | number;
47870
47913
  } | undefined;
47914
+ source_trace_id?: string | undefined;
47871
47915
  symbol_name?: string | undefined;
47872
47916
  schematic_trace_id?: string | undefined;
47873
47917
  schematic_net_label_id?: string | undefined;
@@ -48043,7 +48087,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
48043
48087
  subcircuit_id?: string | undefined;
48044
48088
  color?: string | undefined;
48045
48089
  voltage?: number | undefined;
48046
- label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
48090
+ label_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
48047
48091
  }, {
48048
48092
  type: "schematic_voltage_probe";
48049
48093
  schematic_trace_id: string;
@@ -48057,7 +48101,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
48057
48101
  subcircuit_id?: string | undefined;
48058
48102
  color?: string | undefined;
48059
48103
  voltage?: string | number | undefined;
48060
- label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
48104
+ label_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
48061
48105
  }>, z.ZodObject<{
48062
48106
  type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
48063
48107
  schematic_manual_edit_conflict_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -48183,7 +48227,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
48183
48227
  schematic_table_id: string;
48184
48228
  column_widths: number[];
48185
48229
  row_heights: number[];
48186
- anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
48230
+ anchor?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
48187
48231
  subcircuit_id?: string | undefined;
48188
48232
  schematic_component_id?: string | undefined;
48189
48233
  cell_padding?: number | undefined;
@@ -48196,7 +48240,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
48196
48240
  };
48197
48241
  column_widths: (string | number)[];
48198
48242
  row_heights: (string | number)[];
48199
- anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
48243
+ anchor?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
48200
48244
  subcircuit_id?: string | undefined;
48201
48245
  schematic_component_id?: string | undefined;
48202
48246
  schematic_table_id?: string | undefined;
@@ -51391,7 +51435,18 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
51391
51435
  is_allowed_to_be_off_board: z.ZodOptional<z.ZodBoolean>;
51392
51436
  subcircuit_id: z.ZodOptional<z.ZodString>;
51393
51437
  pcb_group_id: z.ZodOptional<z.ZodString>;
51394
- position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "none"]>>;
51438
+ position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "relative_to_another_component", "none"]>>;
51439
+ anchor_position: z.ZodOptional<z.ZodObject<{
51440
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
51441
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
51442
+ }, "strip", z.ZodTypeAny, {
51443
+ x: number;
51444
+ y: number;
51445
+ }, {
51446
+ x: string | number;
51447
+ y: string | number;
51448
+ }>>;
51449
+ anchor_alignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
51395
51450
  positioned_relative_to_pcb_group_id: z.ZodOptional<z.ZodString>;
51396
51451
  positioned_relative_to_pcb_board_id: z.ZodOptional<z.ZodString>;
51397
51452
  metadata: z.ZodOptional<z.ZodObject<{
@@ -52666,12 +52721,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
52666
52721
  height: number;
52667
52722
  rotation: number;
52668
52723
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
52669
- pcb_component_id: string;
52670
- source_component_id: string;
52671
52724
  center: {
52672
52725
  x: number;
52673
52726
  y: number;
52674
52727
  };
52728
+ pcb_component_id: string;
52729
+ source_component_id: string;
52675
52730
  obstructs_within_bounds: boolean;
52676
52731
  display_offset_x?: string | undefined;
52677
52732
  display_offset_y?: string | undefined;
@@ -52679,7 +52734,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
52679
52734
  is_allowed_to_be_off_board?: boolean | undefined;
52680
52735
  subcircuit_id?: string | undefined;
52681
52736
  pcb_group_id?: string | undefined;
52682
- position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
52737
+ position_mode?: "packed" | "relative_to_group_anchor" | "relative_to_another_component" | "none" | undefined;
52738
+ anchor_position?: {
52739
+ x: number;
52740
+ y: number;
52741
+ } | undefined;
52742
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
52683
52743
  positioned_relative_to_pcb_group_id?: string | undefined;
52684
52744
  positioned_relative_to_pcb_board_id?: string | undefined;
52685
52745
  metadata?: {
@@ -52824,11 +52884,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
52824
52884
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
52825
52885
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
52826
52886
  };
52827
- source_component_id: string;
52828
52887
  center: {
52829
52888
  x: string | number;
52830
52889
  y: string | number;
52831
52890
  };
52891
+ source_component_id: string;
52832
52892
  pcb_component_id?: string | undefined;
52833
52893
  display_offset_x?: string | undefined;
52834
52894
  display_offset_y?: string | undefined;
@@ -52836,7 +52896,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
52836
52896
  is_allowed_to_be_off_board?: boolean | undefined;
52837
52897
  subcircuit_id?: string | undefined;
52838
52898
  pcb_group_id?: string | undefined;
52839
- position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
52899
+ position_mode?: "packed" | "relative_to_group_anchor" | "relative_to_another_component" | "none" | undefined;
52900
+ anchor_position?: {
52901
+ x: string | number;
52902
+ y: string | number;
52903
+ } | undefined;
52904
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
52840
52905
  positioned_relative_to_pcb_group_id?: string | undefined;
52841
52906
  positioned_relative_to_pcb_board_id?: string | undefined;
52842
52907
  metadata?: {
@@ -54923,6 +54988,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
54923
54988
  display_offset_y?: string | undefined;
54924
54989
  subcircuit_id?: string | undefined;
54925
54990
  position_mode?: "none" | "relative_to_panel_anchor" | undefined;
54991
+ anchor_position?: {
54992
+ x: number;
54993
+ y: number;
54994
+ } | undefined;
54995
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
54926
54996
  pcb_panel_id?: string | undefined;
54927
54997
  carrier_pcb_board_id?: string | undefined;
54928
54998
  is_subcircuit?: boolean | undefined;
@@ -54931,11 +55001,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
54931
55001
  x: number;
54932
55002
  y: number;
54933
55003
  }[] | undefined;
54934
- anchor_position?: {
54935
- x: number;
54936
- y: number;
54937
- } | undefined;
54938
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
54939
55004
  }, {
54940
55005
  type: "pcb_board";
54941
55006
  center: {
@@ -54950,6 +55015,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
54950
55015
  display_offset_y?: string | undefined;
54951
55016
  subcircuit_id?: string | undefined;
54952
55017
  position_mode?: "none" | "relative_to_panel_anchor" | undefined;
55018
+ anchor_position?: {
55019
+ x: string | number;
55020
+ y: string | number;
55021
+ } | undefined;
55022
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
54953
55023
  pcb_board_id?: string | undefined;
54954
55024
  pcb_panel_id?: string | undefined;
54955
55025
  carrier_pcb_board_id?: string | undefined;
@@ -54961,11 +55031,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
54961
55031
  y: string | number;
54962
55032
  }[] | undefined;
54963
55033
  material?: "fr4" | "fr1" | undefined;
54964
- anchor_position?: {
54965
- x: string | number;
54966
- y: string | number;
54967
- } | undefined;
54968
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
54969
55034
  }>, z.ZodObject<{
54970
55035
  type: z.ZodLiteral<"pcb_panel">;
54971
55036
  pcb_panel_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -55066,8 +55131,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55066
55131
  y: number;
55067
55132
  };
55068
55133
  pcb_group_id: string;
55134
+ anchor_alignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
55069
55135
  pcb_component_ids: string[];
55070
- anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
55071
55136
  source_group_id: string;
55072
55137
  description?: string | undefined;
55073
55138
  width?: number | undefined;
@@ -55077,6 +55142,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55077
55142
  display_offset_y?: string | undefined;
55078
55143
  subcircuit_id?: string | undefined;
55079
55144
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
55145
+ anchor_position?: {
55146
+ x: number;
55147
+ y: number;
55148
+ } | undefined;
55080
55149
  positioned_relative_to_pcb_group_id?: string | undefined;
55081
55150
  positioned_relative_to_pcb_board_id?: string | undefined;
55082
55151
  is_subcircuit?: boolean | undefined;
@@ -55084,10 +55153,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55084
55153
  x: number;
55085
55154
  y: number;
55086
55155
  }[] | undefined;
55087
- anchor_position?: {
55088
- x: number;
55089
- y: number;
55090
- } | undefined;
55091
55156
  child_layout_mode?: "packed" | "none" | undefined;
55092
55157
  layout_mode?: string | undefined;
55093
55158
  autorouter_configuration?: {
@@ -55111,6 +55176,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55111
55176
  subcircuit_id?: string | undefined;
55112
55177
  pcb_group_id?: string | undefined;
55113
55178
  position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
55179
+ anchor_position?: {
55180
+ x: string | number;
55181
+ y: string | number;
55182
+ } | undefined;
55183
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
55114
55184
  positioned_relative_to_pcb_group_id?: string | undefined;
55115
55185
  positioned_relative_to_pcb_board_id?: string | undefined;
55116
55186
  is_subcircuit?: boolean | undefined;
@@ -55118,11 +55188,6 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55118
55188
  x: string | number;
55119
55189
  y: string | number;
55120
55190
  }[] | undefined;
55121
- anchor_position?: {
55122
- x: string | number;
55123
- y: string | number;
55124
- } | undefined;
55125
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
55126
55191
  child_layout_mode?: "packed" | "none" | undefined;
55127
55192
  layout_mode?: string | undefined;
55128
55193
  autorouter_configuration?: {
@@ -55323,12 +55388,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55323
55388
  font: "tscircuit2024";
55324
55389
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
55325
55390
  pcb_component_id: string;
55326
- text: string;
55327
55391
  anchor_position: {
55328
55392
  x: number;
55329
55393
  y: number;
55330
55394
  };
55331
- anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
55395
+ anchor_alignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
55396
+ text: string;
55332
55397
  pcb_silkscreen_text_id: string;
55333
55398
  font_size: number;
55334
55399
  subcircuit_id?: string | undefined;
@@ -55352,12 +55417,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55352
55417
  font?: "tscircuit2024" | undefined;
55353
55418
  subcircuit_id?: string | undefined;
55354
55419
  pcb_group_id?: string | undefined;
55355
- ccw_rotation?: number | undefined;
55356
55420
  anchor_position?: {
55357
55421
  x: string | number;
55358
55422
  y: string | number;
55359
55423
  } | undefined;
55360
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
55424
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
55425
+ ccw_rotation?: number | undefined;
55361
55426
  pcb_silkscreen_text_id?: string | undefined;
55362
55427
  font_size?: string | number | undefined;
55363
55428
  is_knockout?: boolean | undefined;
@@ -55401,11 +55466,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55401
55466
  width: number;
55402
55467
  height: number;
55403
55468
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
55404
- pcb_component_id: string;
55405
55469
  center: {
55406
55470
  x: number;
55407
55471
  y: number;
55408
55472
  };
55473
+ pcb_component_id: string;
55409
55474
  pcb_silkscreen_pill_id: string;
55410
55475
  subcircuit_id?: string | undefined;
55411
55476
  pcb_group_id?: string | undefined;
@@ -55417,11 +55482,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55417
55482
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
55418
55483
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
55419
55484
  };
55420
- pcb_component_id: string;
55421
55485
  center: {
55422
55486
  x: string | number;
55423
55487
  y: string | number;
55424
55488
  };
55489
+ pcb_component_id: string;
55425
55490
  subcircuit_id?: string | undefined;
55426
55491
  pcb_group_id?: string | undefined;
55427
55492
  ccw_rotation?: number | undefined;
@@ -55479,12 +55544,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55479
55544
  font: "tscircuit2024";
55480
55545
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
55481
55546
  pcb_component_id: string;
55482
- text: string;
55483
55547
  anchor_position: {
55484
55548
  x: number;
55485
55549
  y: number;
55486
55550
  };
55487
- anchor_alignment: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
55551
+ anchor_alignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
55552
+ text: string;
55488
55553
  font_size: number;
55489
55554
  pcb_copper_text_id: string;
55490
55555
  subcircuit_id?: string | undefined;
@@ -55508,12 +55573,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55508
55573
  font?: "tscircuit2024" | undefined;
55509
55574
  subcircuit_id?: string | undefined;
55510
55575
  pcb_group_id?: string | undefined;
55511
- ccw_rotation?: number | undefined;
55512
55576
  anchor_position?: {
55513
55577
  x: string | number;
55514
55578
  y: string | number;
55515
55579
  } | undefined;
55516
- anchor_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
55580
+ anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
55581
+ ccw_rotation?: number | undefined;
55517
55582
  font_size?: string | number | undefined;
55518
55583
  is_knockout?: boolean | undefined;
55519
55584
  knockout_padding?: {
@@ -55562,11 +55627,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55562
55627
  width: number;
55563
55628
  height: number;
55564
55629
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
55565
- pcb_component_id: string;
55566
55630
  center: {
55567
55631
  x: number;
55568
55632
  y: number;
55569
55633
  };
55634
+ pcb_component_id: string;
55570
55635
  stroke_width: number;
55571
55636
  pcb_silkscreen_rect_id: string;
55572
55637
  subcircuit_id?: string | undefined;
@@ -55583,11 +55648,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55583
55648
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
55584
55649
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
55585
55650
  };
55586
- pcb_component_id: string;
55587
55651
  center: {
55588
55652
  x: string | number;
55589
55653
  y: string | number;
55590
55654
  };
55655
+ pcb_component_id: string;
55591
55656
  subcircuit_id?: string | undefined;
55592
55657
  pcb_group_id?: string | undefined;
55593
55658
  ccw_rotation?: number | undefined;
@@ -55619,11 +55684,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55619
55684
  }, "strip", z.ZodTypeAny, {
55620
55685
  type: "pcb_silkscreen_circle";
55621
55686
  layer: "top" | "bottom";
55622
- pcb_component_id: string;
55623
55687
  center: {
55624
55688
  x: number;
55625
55689
  y: number;
55626
55690
  };
55691
+ pcb_component_id: string;
55627
55692
  radius: number;
55628
55693
  stroke_width: number;
55629
55694
  pcb_silkscreen_circle_id: string;
@@ -55632,11 +55697,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55632
55697
  }, {
55633
55698
  type: "pcb_silkscreen_circle";
55634
55699
  layer: "top" | "bottom";
55635
- pcb_component_id: string;
55636
55700
  center: {
55637
55701
  x: string | number;
55638
55702
  y: string | number;
55639
55703
  };
55704
+ pcb_component_id: string;
55640
55705
  radius: string | number;
55641
55706
  subcircuit_id?: string | undefined;
55642
55707
  pcb_group_id?: string | undefined;
@@ -55665,11 +55730,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55665
55730
  }, "strip", z.ZodTypeAny, {
55666
55731
  type: "pcb_silkscreen_oval";
55667
55732
  layer: "top" | "bottom";
55668
- pcb_component_id: string;
55669
55733
  center: {
55670
55734
  x: number;
55671
55735
  y: number;
55672
55736
  };
55737
+ pcb_component_id: string;
55673
55738
  pcb_silkscreen_oval_id: string;
55674
55739
  radius_x: number;
55675
55740
  radius_y: number;
@@ -55679,11 +55744,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
55679
55744
  }, {
55680
55745
  type: "pcb_silkscreen_oval";
55681
55746
  layer: "top" | "bottom";
55682
- pcb_component_id: string;
55683
55747
  center: {
55684
55748
  x: string | number;
55685
55749
  y: string | number;
55686
55750
  };
55751
+ pcb_component_id: string;
55687
55752
  radius_x: string | number;
55688
55753
  radius_y: string | number;
55689
55754
  subcircuit_id?: string | undefined;
@@ -56022,12 +56087,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
56022
56087
  font: "tscircuit2024";
56023
56088
  layer: "top" | "bottom";
56024
56089
  pcb_component_id: string;
56025
- text: string;
56026
56090
  anchor_position: {
56027
56091
  x: number;
56028
56092
  y: number;
56029
56093
  };
56030
- anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
56094
+ anchor_alignment: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right";
56095
+ text: string;
56031
56096
  font_size: number;
56032
56097
  pcb_fabrication_note_text_id: string;
56033
56098
  subcircuit_id?: string | undefined;
@@ -56045,7 +56110,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
56045
56110
  x: string | number;
56046
56111
  y: string | number;
56047
56112
  } | undefined;
56048
- anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
56113
+ anchor_alignment?: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right" | undefined;
56049
56114
  font_size?: string | number | undefined;
56050
56115
  pcb_fabrication_note_text_id?: string | undefined;
56051
56116
  color?: string | undefined;
@@ -56079,11 +56144,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
56079
56144
  width: number;
56080
56145
  height: number;
56081
56146
  layer: "top" | "bottom";
56082
- pcb_component_id: string;
56083
56147
  center: {
56084
56148
  x: number;
56085
56149
  y: number;
56086
56150
  };
56151
+ pcb_component_id: string;
56087
56152
  stroke_width: number;
56088
56153
  pcb_fabrication_note_rect_id: string;
56089
56154
  subcircuit_id?: string | undefined;
@@ -56098,11 +56163,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
56098
56163
  width: string | number;
56099
56164
  height: string | number;
56100
56165
  layer: "top" | "bottom";
56101
- pcb_component_id: string;
56102
56166
  center: {
56103
56167
  x: string | number;
56104
56168
  y: string | number;
56105
56169
  };
56170
+ pcb_component_id: string;
56106
56171
  subcircuit_id?: string | undefined;
56107
56172
  pcb_group_id?: string | undefined;
56108
56173
  corner_radius?: string | number | undefined;
@@ -56240,7 +56305,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
56240
56305
  x: number;
56241
56306
  y: number;
56242
56307
  };
56243
- anchor_alignment: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right";
56308
+ anchor_alignment: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right";
56244
56309
  font_size: number;
56245
56310
  pcb_note_text_id: string;
56246
56311
  name?: string | undefined;
@@ -56256,12 +56321,12 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
56256
56321
  pcb_component_id?: string | undefined;
56257
56322
  subcircuit_id?: string | undefined;
56258
56323
  pcb_group_id?: string | undefined;
56259
- text?: string | undefined;
56260
56324
  anchor_position?: {
56261
56325
  x: string | number;
56262
56326
  y: string | number;
56263
56327
  } | undefined;
56264
- anchor_alignment?: "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | undefined;
56328
+ anchor_alignment?: "top_left" | "top_right" | "center" | "bottom_left" | "bottom_right" | undefined;
56329
+ text?: string | undefined;
56265
56330
  font_size?: string | number | undefined;
56266
56331
  color?: string | undefined;
56267
56332
  pcb_note_text_id?: string | undefined;
@@ -57377,11 +57442,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
57377
57442
  width: number;
57378
57443
  height: number;
57379
57444
  layer: "top" | "bottom";
57380
- pcb_component_id: string;
57381
57445
  center: {
57382
57446
  x: number;
57383
57447
  y: number;
57384
57448
  };
57449
+ pcb_component_id: string;
57385
57450
  pcb_courtyard_rect_id: string;
57386
57451
  subcircuit_id?: string | undefined;
57387
57452
  pcb_group_id?: string | undefined;
@@ -57391,11 +57456,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
57391
57456
  width: string | number;
57392
57457
  height: string | number;
57393
57458
  layer: "top" | "bottom";
57394
- pcb_component_id: string;
57395
57459
  center: {
57396
57460
  x: string | number;
57397
57461
  y: string | number;
57398
57462
  };
57463
+ pcb_component_id: string;
57399
57464
  subcircuit_id?: string | undefined;
57400
57465
  pcb_group_id?: string | undefined;
57401
57466
  color?: string | undefined;
@@ -57503,11 +57568,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
57503
57568
  }, "strip", z.ZodTypeAny, {
57504
57569
  type: "pcb_courtyard_circle";
57505
57570
  layer: "top" | "bottom";
57506
- pcb_component_id: string;
57507
57571
  center: {
57508
57572
  x: number;
57509
57573
  y: number;
57510
57574
  };
57575
+ pcb_component_id: string;
57511
57576
  radius: number;
57512
57577
  pcb_courtyard_circle_id: string;
57513
57578
  subcircuit_id?: string | undefined;
@@ -57516,11 +57581,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
57516
57581
  }, {
57517
57582
  type: "pcb_courtyard_circle";
57518
57583
  layer: "top" | "bottom";
57519
- pcb_component_id: string;
57520
57584
  center: {
57521
57585
  x: string | number;
57522
57586
  y: string | number;
57523
57587
  };
57588
+ pcb_component_id: string;
57524
57589
  radius: string | number;
57525
57590
  subcircuit_id?: string | undefined;
57526
57591
  pcb_group_id?: string | undefined;
@@ -57579,7 +57644,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
57579
57644
  subcircuit_id: z.ZodOptional<z.ZodString>;
57580
57645
  }, "strip", z.ZodTypeAny, {
57581
57646
  type: "schematic_text";
57582
- anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
57647
+ anchor: "top" | "bottom" | "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
57583
57648
  rotation: number;
57584
57649
  text: string;
57585
57650
  font_size: number;
@@ -57600,7 +57665,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
57600
57665
  x: string | number;
57601
57666
  y: string | number;
57602
57667
  };
57603
- anchor?: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
57668
+ anchor?: "top" | "bottom" | "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right" | undefined;
57604
57669
  rotation?: number | undefined;
57605
57670
  subcircuit_id?: string | undefined;
57606
57671
  font_size?: number | undefined;
@@ -65180,11 +65245,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65180
65245
  schematic_net_label_id: string;
65181
65246
  anchor_side: "top" | "bottom" | "left" | "right";
65182
65247
  subcircuit_id?: string | undefined;
65183
- source_trace_id?: string | undefined;
65184
65248
  anchor_position?: {
65185
65249
  x: number;
65186
65250
  y: number;
65187
65251
  } | undefined;
65252
+ source_trace_id?: string | undefined;
65188
65253
  symbol_name?: string | undefined;
65189
65254
  schematic_trace_id?: string | undefined;
65190
65255
  is_movable?: boolean | undefined;
@@ -65198,11 +65263,11 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65198
65263
  source_net_id: string;
65199
65264
  anchor_side: "top" | "bottom" | "left" | "right";
65200
65265
  subcircuit_id?: string | undefined;
65201
- source_trace_id?: string | undefined;
65202
65266
  anchor_position?: {
65203
65267
  x: string | number;
65204
65268
  y: string | number;
65205
65269
  } | undefined;
65270
+ source_trace_id?: string | undefined;
65206
65271
  symbol_name?: string | undefined;
65207
65272
  schematic_trace_id?: string | undefined;
65208
65273
  schematic_net_label_id?: string | undefined;
@@ -65378,7 +65443,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65378
65443
  subcircuit_id?: string | undefined;
65379
65444
  color?: string | undefined;
65380
65445
  voltage?: number | undefined;
65381
- label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
65446
+ label_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
65382
65447
  }, {
65383
65448
  type: "schematic_voltage_probe";
65384
65449
  schematic_trace_id: string;
@@ -65392,7 +65457,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65392
65457
  subcircuit_id?: string | undefined;
65393
65458
  color?: string | undefined;
65394
65459
  voltage?: string | number | undefined;
65395
- label_alignment?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
65460
+ label_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
65396
65461
  }>, z.ZodObject<{
65397
65462
  type: z.ZodLiteral<"schematic_manual_edit_conflict_warning">;
65398
65463
  schematic_manual_edit_conflict_warning_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
@@ -65518,7 +65583,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65518
65583
  schematic_table_id: string;
65519
65584
  column_widths: number[];
65520
65585
  row_heights: number[];
65521
- anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
65586
+ anchor?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
65522
65587
  subcircuit_id?: string | undefined;
65523
65588
  schematic_component_id?: string | undefined;
65524
65589
  cell_padding?: number | undefined;
@@ -65531,7 +65596,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
65531
65596
  };
65532
65597
  column_widths: (string | number)[];
65533
65598
  row_heights: (string | number)[];
65534
- anchor?: "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
65599
+ anchor?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
65535
65600
  subcircuit_id?: string | undefined;
65536
65601
  schematic_component_id?: string | undefined;
65537
65602
  schematic_table_id?: string | undefined;