@tscircuit/props 0.0.238 → 0.0.240

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.ts CHANGED
@@ -1526,6 +1526,9 @@ declare const point3: z.ZodObject<{
1526
1526
  z: string | number;
1527
1527
  }>;
1528
1528
 
1529
+ declare const schematicOrientation: z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>;
1530
+ type SchematicOrientation = "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right";
1531
+
1529
1532
  /**
1530
1533
  * @deprecated Use SchematicPortArrangementWithPinCounts instead.
1531
1534
  */
@@ -11619,6 +11622,7 @@ interface FuseProps extends CommonComponentProps {
11619
11622
  * Whether to show ratings on schematic
11620
11623
  */
11621
11624
  schShowRatings?: boolean;
11625
+ schOrientation?: SchematicOrientation;
11622
11626
  /**
11623
11627
  * Connections to other components
11624
11628
  */
@@ -11888,6 +11892,7 @@ declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
11888
11892
  currentRating: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
11889
11893
  voltageRating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
11890
11894
  schShowRatings: z.ZodOptional<z.ZodBoolean>;
11895
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
11891
11896
  connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>, z.ZodArray<z.ZodString, "many">]>>>;
11892
11897
  }>, "strip", z.ZodTypeAny, {
11893
11898
  name: string;
@@ -11961,6 +11966,7 @@ declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
11961
11966
  connections?: Record<string, string | readonly string[] | string[]> | undefined;
11962
11967
  voltageRating?: string | number | undefined;
11963
11968
  schShowRatings?: boolean | undefined;
11969
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
11964
11970
  }, {
11965
11971
  name: string;
11966
11972
  currentRating: string | number;
@@ -12035,6 +12041,7 @@ declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
12035
12041
  connections?: Record<string, string | readonly string[] | string[]> | undefined;
12036
12042
  voltageRating?: string | number | undefined;
12037
12043
  schShowRatings?: boolean | undefined;
12044
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
12038
12045
  }>;
12039
12046
  type InferredFuseProps = z.input<typeof fuseProps>;
12040
12047
 
@@ -12433,6 +12440,7 @@ interface ResistorProps extends CommonComponentProps {
12433
12440
  pullupTo?: string;
12434
12441
  pulldownFor?: string;
12435
12442
  pulldownTo?: string;
12443
+ schOrientation?: SchematicOrientation;
12436
12444
  connections?: Connections<ResistorPinLabels>;
12437
12445
  }
12438
12446
  declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -12698,6 +12706,7 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
12698
12706
  pullupTo: z.ZodOptional<z.ZodString>;
12699
12707
  pulldownFor: z.ZodOptional<z.ZodString>;
12700
12708
  pulldownTo: z.ZodOptional<z.ZodString>;
12709
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
12701
12710
  connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
12702
12711
  }>, "strip", z.ZodTypeAny, {
12703
12712
  name: string;
@@ -12769,6 +12778,7 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
12769
12778
  symbolName?: string | undefined;
12770
12779
  doNotPlace?: boolean | undefined;
12771
12780
  connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
12781
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
12772
12782
  pullupFor?: string | undefined;
12773
12783
  pullupTo?: string | undefined;
12774
12784
  pulldownFor?: string | undefined;
@@ -12845,6 +12855,7 @@ declare const resistorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
12845
12855
  symbolName?: string | undefined;
12846
12856
  doNotPlace?: boolean | undefined;
12847
12857
  connections?: Partial<Record<"pin1" | "pin2" | "pos" | "neg", string | readonly string[] | string[]>> | undefined;
12858
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
12848
12859
  pullupFor?: string | undefined;
12849
12860
  pullupTo?: string | undefined;
12850
12861
  pulldownFor?: string | undefined;
@@ -13266,6 +13277,7 @@ interface CrystalProps extends CommonComponentProps {
13266
13277
  frequency: number | string;
13267
13278
  loadCapacitance: number | string;
13268
13279
  pinVariant?: PinVariant;
13280
+ schOrientation?: SchematicOrientation;
13269
13281
  }
13270
13282
  declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
13271
13283
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -13528,6 +13540,7 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
13528
13540
  frequency: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
13529
13541
  loadCapacitance: z.ZodEffects<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>, number, string | number>;
13530
13542
  pinVariant: z.ZodOptional<z.ZodEnum<["two_pin", "four_pin"]>>;
13543
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
13531
13544
  }>, "strip", z.ZodTypeAny, {
13532
13545
  name: string;
13533
13546
  frequency: number;
@@ -13598,6 +13611,7 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
13598
13611
  children?: any;
13599
13612
  symbolName?: string | undefined;
13600
13613
  doNotPlace?: boolean | undefined;
13614
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
13601
13615
  pinVariant?: "two_pin" | "four_pin" | undefined;
13602
13616
  }, {
13603
13617
  name: string;
@@ -13671,6 +13685,7 @@ declare const crystalProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
13671
13685
  children?: any;
13672
13686
  symbolName?: string | undefined;
13673
13687
  doNotPlace?: boolean | undefined;
13688
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
13674
13689
  pinVariant?: "two_pin" | "four_pin" | undefined;
13675
13690
  }>;
13676
13691
  declare const crystalPins: readonly ["pin1", "left", "pin2", "right"];
@@ -14959,6 +14974,7 @@ interface CapacitorProps extends CommonComponentProps {
14959
14974
  bypassFor?: string;
14960
14975
  bypassTo?: string;
14961
14976
  maxDecouplingTraceLength?: number;
14977
+ schOrientation?: SchematicOrientation;
14962
14978
  connections?: Connections<CapacitorPinLabels>;
14963
14979
  }
14964
14980
  declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -15228,6 +15244,7 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
15228
15244
  bypassFor: z.ZodOptional<z.ZodString>;
15229
15245
  bypassTo: z.ZodOptional<z.ZodString>;
15230
15246
  maxDecouplingTraceLength: z.ZodOptional<z.ZodNumber>;
15247
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
15231
15248
  connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg", "anode", "cathode"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
15232
15249
  }>, "strip", z.ZodTypeAny, {
15233
15250
  name: string;
@@ -15301,6 +15318,7 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
15301
15318
  symbolName?: string | undefined;
15302
15319
  doNotPlace?: boolean | undefined;
15303
15320
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
15321
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
15304
15322
  maxVoltageRating?: number | undefined;
15305
15323
  decouplingFor?: string | undefined;
15306
15324
  decouplingTo?: string | undefined;
@@ -15380,6 +15398,7 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
15380
15398
  doNotPlace?: boolean | undefined;
15381
15399
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
15382
15400
  schShowRatings?: boolean | undefined;
15401
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
15383
15402
  maxVoltageRating?: string | number | undefined;
15384
15403
  polarized?: boolean | undefined;
15385
15404
  decouplingFor?: string | undefined;
@@ -15852,12 +15871,14 @@ declare const cutoutProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
15852
15871
  type CutoutPropsInput = z.input<typeof cutoutProps>;
15853
15872
 
15854
15873
  interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
15874
+ name?: string;
15855
15875
  shape: "rect";
15856
15876
  width: Distance;
15857
15877
  height: Distance;
15858
15878
  portHints?: PortHints;
15859
15879
  }
15860
15880
  interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
15881
+ name?: string;
15861
15882
  shape: "rotated_rect";
15862
15883
  width: Distance;
15863
15884
  height: Distance;
@@ -15865,11 +15886,13 @@ interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
15865
15886
  portHints?: PortHints;
15866
15887
  }
15867
15888
  interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
15889
+ name?: string;
15868
15890
  shape: "circle";
15869
15891
  radius: Distance;
15870
15892
  portHints?: PortHints;
15871
15893
  }
15872
15894
  interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
15895
+ name?: string;
15873
15896
  shape: "pill";
15874
15897
  width: Distance;
15875
15898
  height: Distance;
@@ -15877,6 +15900,7 @@ interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
15877
15900
  portHints?: PortHints;
15878
15901
  }
15879
15902
  interface PolygonSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
15903
+ name?: string;
15880
15904
  shape: "polygon";
15881
15905
  points: Point[];
15882
15906
  portHints?: PortHints;
@@ -15896,6 +15920,7 @@ declare const rectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
15896
15920
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
15897
15921
  }>>;
15898
15922
  }, "pcbRotation">, {
15923
+ name: z.ZodOptional<z.ZodString>;
15899
15924
  shape: z.ZodLiteral<"rect">;
15900
15925
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15901
15926
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15907,6 +15932,7 @@ declare const rectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
15907
15932
  pcbX?: number | undefined;
15908
15933
  pcbY?: number | undefined;
15909
15934
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
15935
+ name?: string | undefined;
15910
15936
  portHints?: (string | number)[] | undefined;
15911
15937
  }, {
15912
15938
  shape: "rect";
@@ -15917,6 +15943,7 @@ declare const rectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
15917
15943
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
15918
15944
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
15919
15945
  } | undefined;
15946
+ name?: string | undefined;
15920
15947
  portHints?: (string | number)[] | undefined;
15921
15948
  }>;
15922
15949
  declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
@@ -15933,6 +15960,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<
15933
15960
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
15934
15961
  }>>;
15935
15962
  }, "pcbRotation">, {
15963
+ name: z.ZodOptional<z.ZodString>;
15936
15964
  shape: z.ZodLiteral<"rotated_rect">;
15937
15965
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15938
15966
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -15946,6 +15974,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<
15946
15974
  pcbX?: number | undefined;
15947
15975
  pcbY?: number | undefined;
15948
15976
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
15977
+ name?: string | undefined;
15949
15978
  portHints?: (string | number)[] | undefined;
15950
15979
  }, {
15951
15980
  shape: "rotated_rect";
@@ -15957,6 +15986,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<
15957
15986
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
15958
15987
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
15959
15988
  } | undefined;
15989
+ name?: string | undefined;
15960
15990
  portHints?: (string | number)[] | undefined;
15961
15991
  }>;
15962
15992
  declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
@@ -15973,6 +16003,7 @@ declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
15973
16003
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
15974
16004
  }>>;
15975
16005
  }, "pcbRotation">, {
16006
+ name: z.ZodOptional<z.ZodString>;
15976
16007
  shape: z.ZodLiteral<"circle">;
15977
16008
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
15978
16009
  portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
@@ -15982,6 +16013,7 @@ declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
15982
16013
  pcbX?: number | undefined;
15983
16014
  pcbY?: number | undefined;
15984
16015
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
16016
+ name?: string | undefined;
15985
16017
  portHints?: (string | number)[] | undefined;
15986
16018
  }, {
15987
16019
  shape: "circle";
@@ -15991,6 +16023,7 @@ declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
15991
16023
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
15992
16024
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
15993
16025
  } | undefined;
16026
+ name?: string | undefined;
15994
16027
  portHints?: (string | number)[] | undefined;
15995
16028
  }>;
15996
16029
  declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
@@ -16007,6 +16040,7 @@ declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
16007
16040
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16008
16041
  }>>;
16009
16042
  }, "pcbRotation">, {
16043
+ name: z.ZodOptional<z.ZodString>;
16010
16044
  shape: z.ZodLiteral<"pill">;
16011
16045
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16012
16046
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -16020,6 +16054,7 @@ declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
16020
16054
  pcbX?: number | undefined;
16021
16055
  pcbY?: number | undefined;
16022
16056
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
16057
+ name?: string | undefined;
16023
16058
  portHints?: (string | number)[] | undefined;
16024
16059
  }, {
16025
16060
  shape: "pill";
@@ -16031,6 +16066,7 @@ declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
16031
16066
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16032
16067
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16033
16068
  } | undefined;
16069
+ name?: string | undefined;
16034
16070
  portHints?: (string | number)[] | undefined;
16035
16071
  }>;
16036
16072
  declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
@@ -16047,6 +16083,7 @@ declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
16047
16083
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16048
16084
  }>>;
16049
16085
  }, "pcbRotation">, {
16086
+ name: z.ZodOptional<z.ZodString>;
16050
16087
  shape: z.ZodLiteral<"polygon">;
16051
16088
  points: z.ZodArray<z.ZodObject<{
16052
16089
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -16068,6 +16105,7 @@ declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
16068
16105
  pcbX?: number | undefined;
16069
16106
  pcbY?: number | undefined;
16070
16107
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
16108
+ name?: string | undefined;
16071
16109
  portHints?: (string | number)[] | undefined;
16072
16110
  }, {
16073
16111
  shape: "polygon";
@@ -16080,6 +16118,7 @@ declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
16080
16118
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16081
16119
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16082
16120
  } | undefined;
16121
+ name?: string | undefined;
16083
16122
  portHints?: (string | number)[] | undefined;
16084
16123
  }>;
16085
16124
  declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<Omit<{
@@ -16096,6 +16135,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16096
16135
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16097
16136
  }>>;
16098
16137
  }, "pcbRotation">, {
16138
+ name: z.ZodOptional<z.ZodString>;
16099
16139
  shape: z.ZodLiteral<"circle">;
16100
16140
  radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16101
16141
  portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
@@ -16105,6 +16145,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16105
16145
  pcbX?: number | undefined;
16106
16146
  pcbY?: number | undefined;
16107
16147
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
16148
+ name?: string | undefined;
16108
16149
  portHints?: (string | number)[] | undefined;
16109
16150
  }, {
16110
16151
  shape: "circle";
@@ -16114,6 +16155,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16114
16155
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16115
16156
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16116
16157
  } | undefined;
16158
+ name?: string | undefined;
16117
16159
  portHints?: (string | number)[] | undefined;
16118
16160
  }>, z.ZodObject<z.objectUtil.extendShape<Omit<{
16119
16161
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -16129,6 +16171,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16129
16171
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16130
16172
  }>>;
16131
16173
  }, "pcbRotation">, {
16174
+ name: z.ZodOptional<z.ZodString>;
16132
16175
  shape: z.ZodLiteral<"rect">;
16133
16176
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16134
16177
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -16140,6 +16183,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16140
16183
  pcbX?: number | undefined;
16141
16184
  pcbY?: number | undefined;
16142
16185
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
16186
+ name?: string | undefined;
16143
16187
  portHints?: (string | number)[] | undefined;
16144
16188
  }, {
16145
16189
  shape: "rect";
@@ -16150,6 +16194,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16150
16194
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16151
16195
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16152
16196
  } | undefined;
16197
+ name?: string | undefined;
16153
16198
  portHints?: (string | number)[] | undefined;
16154
16199
  }>, z.ZodObject<z.objectUtil.extendShape<Omit<{
16155
16200
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -16165,6 +16210,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16165
16210
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16166
16211
  }>>;
16167
16212
  }, "pcbRotation">, {
16213
+ name: z.ZodOptional<z.ZodString>;
16168
16214
  shape: z.ZodLiteral<"rotated_rect">;
16169
16215
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16170
16216
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -16178,6 +16224,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16178
16224
  pcbX?: number | undefined;
16179
16225
  pcbY?: number | undefined;
16180
16226
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
16227
+ name?: string | undefined;
16181
16228
  portHints?: (string | number)[] | undefined;
16182
16229
  }, {
16183
16230
  shape: "rotated_rect";
@@ -16189,6 +16236,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16189
16236
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16190
16237
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16191
16238
  } | undefined;
16239
+ name?: string | undefined;
16192
16240
  portHints?: (string | number)[] | undefined;
16193
16241
  }>, z.ZodObject<z.objectUtil.extendShape<Omit<{
16194
16242
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -16204,6 +16252,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16204
16252
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16205
16253
  }>>;
16206
16254
  }, "pcbRotation">, {
16255
+ name: z.ZodOptional<z.ZodString>;
16207
16256
  shape: z.ZodLiteral<"pill">;
16208
16257
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
16209
16258
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -16217,6 +16266,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16217
16266
  pcbX?: number | undefined;
16218
16267
  pcbY?: number | undefined;
16219
16268
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
16269
+ name?: string | undefined;
16220
16270
  portHints?: (string | number)[] | undefined;
16221
16271
  }, {
16222
16272
  shape: "pill";
@@ -16228,6 +16278,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16228
16278
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16229
16279
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16230
16280
  } | undefined;
16281
+ name?: string | undefined;
16231
16282
  portHints?: (string | number)[] | undefined;
16232
16283
  }>, z.ZodObject<z.objectUtil.extendShape<Omit<{
16233
16284
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -16243,6 +16294,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16243
16294
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16244
16295
  }>>;
16245
16296
  }, "pcbRotation">, {
16297
+ name: z.ZodOptional<z.ZodString>;
16246
16298
  shape: z.ZodLiteral<"polygon">;
16247
16299
  points: z.ZodArray<z.ZodObject<{
16248
16300
  x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
@@ -16264,6 +16316,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16264
16316
  pcbX?: number | undefined;
16265
16317
  pcbY?: number | undefined;
16266
16318
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
16319
+ name?: string | undefined;
16267
16320
  portHints?: (string | number)[] | undefined;
16268
16321
  }, {
16269
16322
  shape: "polygon";
@@ -16276,6 +16329,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
16276
16329
  layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
16277
16330
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
16278
16331
  } | undefined;
16332
+ name?: string | undefined;
16279
16333
  portHints?: (string | number)[] | undefined;
16280
16334
  }>]>;
16281
16335
  type InferredSmtPadProps = z.input<typeof smtPadProps>;
@@ -16711,6 +16765,7 @@ type FootprintPropsInput = z.input<typeof footprintProps>;
16711
16765
 
16712
16766
  interface BatteryProps extends CommonComponentProps {
16713
16767
  capacity?: number | string;
16768
+ schOrientation?: SchematicOrientation;
16714
16769
  }
16715
16770
  declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
16716
16771
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -16971,6 +17026,7 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
16971
17026
  doNotPlace: z.ZodOptional<z.ZodBoolean>;
16972
17027
  }>, {
16973
17028
  capacity: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodNumber, z.ZodString]>, number, string | number>>;
17029
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
16974
17030
  }>, "strip", z.ZodTypeAny, {
16975
17031
  name: string;
16976
17032
  pcbX?: number | undefined;
@@ -17039,6 +17095,7 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
17039
17095
  children?: any;
17040
17096
  symbolName?: string | undefined;
17041
17097
  doNotPlace?: boolean | undefined;
17098
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
17042
17099
  capacity?: number | undefined;
17043
17100
  }, {
17044
17101
  name: string;
@@ -17110,6 +17167,7 @@ declare const batteryProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ex
17110
17167
  children?: any;
17111
17168
  symbolName?: string | undefined;
17112
17169
  doNotPlace?: boolean | undefined;
17170
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
17113
17171
  capacity?: string | number | undefined;
17114
17172
  }>;
17115
17173
  declare const batteryPins: readonly ["pin1", "left", "anode", "pos", "pin2", "right", "cathode", "neg"];
@@ -20293,6 +20351,7 @@ declare const mosfetPins: readonly ["pin1", "drain", "pin2", "source", "pin3", "
20293
20351
  interface InductorProps extends CommonComponentProps {
20294
20352
  inductance: number | string;
20295
20353
  maxCurrentRating?: number | string;
20354
+ schOrientation?: SchematicOrientation;
20296
20355
  }
20297
20356
  declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
20298
20357
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -20554,6 +20613,7 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
20554
20613
  }>, {
20555
20614
  inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
20556
20615
  maxCurrentRating: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
20616
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
20557
20617
  }>, "strip", z.ZodTypeAny, {
20558
20618
  name: string;
20559
20619
  inductance: number;
@@ -20623,6 +20683,7 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
20623
20683
  children?: any;
20624
20684
  symbolName?: string | undefined;
20625
20685
  doNotPlace?: boolean | undefined;
20686
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
20626
20687
  maxCurrentRating?: string | number | undefined;
20627
20688
  }, {
20628
20689
  name: string;
@@ -20695,6 +20756,7 @@ declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.e
20695
20756
  children?: any;
20696
20757
  symbolName?: string | undefined;
20697
20758
  doNotPlace?: boolean | undefined;
20759
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
20698
20760
  maxCurrentRating?: string | number | undefined;
20699
20761
  }>;
20700
20762
  declare const inductorPins: readonly ["pin1", "left", "pin2", "right"];
@@ -20964,6 +21026,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
20964
21026
  zener: z.ZodOptional<z.ZodBoolean>;
20965
21027
  photo: z.ZodOptional<z.ZodBoolean>;
20966
21028
  tvs: z.ZodOptional<z.ZodBoolean>;
21029
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
20967
21030
  }>, "strip", z.ZodTypeAny, {
20968
21031
  name: string;
20969
21032
  variant: "standard" | "schottky" | "zener" | "photo" | "tvs";
@@ -21035,6 +21098,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21035
21098
  doNotPlace?: boolean | undefined;
21036
21099
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21037
21100
  standard?: boolean | undefined;
21101
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21038
21102
  schottky?: boolean | undefined;
21039
21103
  zener?: boolean | undefined;
21040
21104
  photo?: boolean | undefined;
@@ -21111,6 +21175,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21111
21175
  doNotPlace?: boolean | undefined;
21112
21176
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21113
21177
  standard?: boolean | undefined;
21178
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21114
21179
  schottky?: boolean | undefined;
21115
21180
  zener?: boolean | undefined;
21116
21181
  photo?: boolean | undefined;
@@ -21187,6 +21252,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21187
21252
  doNotPlace?: boolean | undefined;
21188
21253
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21189
21254
  standard?: boolean | undefined;
21255
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21190
21256
  schottky?: boolean | undefined;
21191
21257
  zener?: boolean | undefined;
21192
21258
  photo?: boolean | undefined;
@@ -21263,6 +21329,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21263
21329
  doNotPlace?: boolean | undefined;
21264
21330
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21265
21331
  standard?: boolean | undefined;
21332
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21266
21333
  schottky?: boolean | undefined;
21267
21334
  zener?: boolean | undefined;
21268
21335
  photo?: boolean | undefined;
@@ -21343,6 +21410,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21343
21410
  symbolName?: string | undefined;
21344
21411
  doNotPlace?: boolean | undefined;
21345
21412
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21413
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21346
21414
  }, {
21347
21415
  name: string;
21348
21416
  pcbX?: string | number | undefined;
@@ -21415,6 +21483,7 @@ declare const diodeProps: z.ZodEffects<z.ZodEffects<z.ZodObject<z.objectUtil.ext
21415
21483
  doNotPlace?: boolean | undefined;
21416
21484
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
21417
21485
  standard?: boolean | undefined;
21486
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21418
21487
  schottky?: boolean | undefined;
21419
21488
  zener?: boolean | undefined;
21420
21489
  photo?: boolean | undefined;
@@ -21437,6 +21506,7 @@ interface DiodeProps extends CommonComponentProps {
21437
21506
  zener?: boolean;
21438
21507
  photo?: boolean;
21439
21508
  tvs?: boolean;
21509
+ schOrientation?: SchematicOrientation;
21440
21510
  }
21441
21511
  type InferredDiodeProps = z.input<typeof diodeProps>;
21442
21512
 
@@ -21701,6 +21771,7 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
21701
21771
  color: z.ZodOptional<z.ZodString>;
21702
21772
  wavelength: z.ZodOptional<z.ZodString>;
21703
21773
  schDisplayValue: z.ZodOptional<z.ZodString>;
21774
+ schOrientation: z.ZodOptional<z.ZodEnum<["vertical", "horizontal", "pos_top", "pos_bottom", "pos_left", "pos_right", "neg_top", "neg_bottom", "neg_left", "neg_right"]>>;
21704
21775
  }>, "strip", z.ZodTypeAny, {
21705
21776
  name: string;
21706
21777
  pcbX?: number | undefined;
@@ -21769,6 +21840,7 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
21769
21840
  children?: any;
21770
21841
  symbolName?: string | undefined;
21771
21842
  doNotPlace?: boolean | undefined;
21843
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21772
21844
  color?: string | undefined;
21773
21845
  wavelength?: string | undefined;
21774
21846
  schDisplayValue?: string | undefined;
@@ -21842,6 +21914,7 @@ declare const ledProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
21842
21914
  children?: any;
21843
21915
  symbolName?: string | undefined;
21844
21916
  doNotPlace?: boolean | undefined;
21917
+ schOrientation?: "vertical" | "horizontal" | "pos_top" | "pos_bottom" | "pos_left" | "pos_right" | "neg_top" | "neg_bottom" | "neg_left" | "neg_right" | undefined;
21845
21918
  color?: string | undefined;
21846
21919
  wavelength?: string | undefined;
21847
21920
  schDisplayValue?: string | undefined;
@@ -22525,6 +22598,14 @@ declare const pcbTraceProps: z.ZodObject<{
22525
22598
  }>;
22526
22599
  type PcbTraceProps = z.input<typeof pcbTraceProps>;
22527
22600
 
22601
+ interface ViaProps extends CommonLayoutProps {
22602
+ name?: string;
22603
+ fromLayer: LayerRefInput;
22604
+ toLayer: LayerRefInput;
22605
+ holeDiameter: number | string;
22606
+ outerDiameter: number | string;
22607
+ connectsTo?: string | string[];
22608
+ }
22528
22609
  declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
22529
22610
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
22530
22611
  pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -22543,6 +22624,7 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
22543
22624
  }>>;
22544
22625
  footprint: z.ZodOptional<z.ZodType<FootprintProp, z.ZodTypeDef, FootprintProp>>;
22545
22626
  }, {
22627
+ name: z.ZodOptional<z.ZodString>;
22546
22628
  fromLayer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
22547
22629
  name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
22548
22630
  }, "strip", z.ZodTypeAny, {
@@ -22563,6 +22645,7 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
22563
22645
  }>;
22564
22646
  holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22565
22647
  outerDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
22648
+ connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
22566
22649
  }>, "strip", z.ZodTypeAny, {
22567
22650
  holeDiameter: number;
22568
22651
  outerDiameter: number;
@@ -22576,6 +22659,8 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
22576
22659
  schY?: number | undefined;
22577
22660
  schRotation?: number | undefined;
22578
22661
  footprint?: FootprintProp | undefined;
22662
+ name?: string | undefined;
22663
+ connectsTo?: string | string[] | undefined;
22579
22664
  }, {
22580
22665
  holeDiameter: string | number;
22581
22666
  outerDiameter: string | number;
@@ -22595,8 +22680,10 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
22595
22680
  schY?: string | number | undefined;
22596
22681
  schRotation?: string | number | undefined;
22597
22682
  footprint?: FootprintProp | undefined;
22683
+ name?: string | undefined;
22684
+ connectsTo?: string | string[] | undefined;
22598
22685
  }>;
22599
- type ViaProps = z.input<typeof viaProps>;
22686
+ type InferredViaProps = z.input<typeof viaProps>;
22600
22687
 
22601
22688
  interface TestpointProps extends CommonComponentProps {
22602
22689
  /**
@@ -24392,4 +24479,4 @@ declare const platformConfig: z.ZodType<PlatformConfig>;
24392
24479
 
24393
24480
  declare const ninePointAnchor: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
24394
24481
 
24395
- export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
24482
+ export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type CutoutProps, type CutoutPropsInput, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNotePathProps, type FabricationNoteTextProps, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type JumperProps, type LayoutConfig, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OvalPlatedHoleProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectCutoutProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TestpointProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerProps, powerSourceProps, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };