@tscircuit/props 0.0.207 → 0.0.208

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -45,6 +45,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput)
45
45
  | `<solderpaste />` | [`RectSolderPasteProps`](#rectsolderpasteprops-solderpaste) |
46
46
  | `<stampboard />` | [`StampboardProps`](#stampboardprops-stampboard) |
47
47
  | `<switch />` | [`SwitchProps`](#switchprops-switch) |
48
+ | `<testpoint />` | [`TestpointProps`](#testpointprops-testpoint) |
48
49
  | `<transistor />` | [`TransistorProps`](#transistorprops-transistor) |
49
50
  <!-- COMPONENT_TABLE_END -->
50
51
 
@@ -620,6 +621,40 @@ export interface SwitchProps extends CommonComponentProps {
620
621
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/switch.ts)
621
622
 
622
623
 
624
+ ### TestpointProps `<testpoint />`
625
+
626
+ ```ts
627
+ export interface TestpointProps extends CommonComponentProps {
628
+ /**
629
+ * The footprint variant of the testpoint either a surface pad or through-hole
630
+ */
631
+ footprintVariant?: "pad" | "through_hole"
632
+ /**
633
+ * The shape of the pad if using a pad variant
634
+ */
635
+ padShape?: "rect" | "circle"
636
+ /**
637
+ * Diameter of the copper pad (applies to both SMD pads and plated holes)
638
+ */
639
+ padDiameter?: number | string
640
+ /**
641
+ * Diameter of the hole if using a through-hole testpoint
642
+ */
643
+ holeDiameter?: number | string
644
+ /**
645
+ * Width of the pad when padShape is rect
646
+ */
647
+ width?: number | string
648
+ /**
649
+ * Height of the pad when padShape is rect
650
+ */
651
+ height?: number | string
652
+ }
653
+ ```
654
+
655
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/testpoint.ts)
656
+
657
+
623
658
  ### TransistorProps `<transistor />`
624
659
 
625
660
  ```ts
package/dist/index.d.ts CHANGED
@@ -19660,6 +19660,599 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
19660
19660
  }>;
19661
19661
  type ViaProps = z.input<typeof viaProps>;
19662
19662
 
19663
+ interface TestpointProps extends CommonComponentProps {
19664
+ /**
19665
+ * The footprint variant of the testpoint either a surface pad or through-hole
19666
+ */
19667
+ footprintVariant?: "pad" | "through_hole";
19668
+ /**
19669
+ * The shape of the pad if using a pad variant
19670
+ */
19671
+ padShape?: "rect" | "circle";
19672
+ /**
19673
+ * Diameter of the copper pad (applies to both SMD pads and plated holes)
19674
+ */
19675
+ padDiameter?: number | string;
19676
+ /**
19677
+ * Diameter of the hole if using a through-hole testpoint
19678
+ */
19679
+ holeDiameter?: number | string;
19680
+ /**
19681
+ * Width of the pad when padShape is rect
19682
+ */
19683
+ width?: number | string;
19684
+ /**
19685
+ * Height of the pad when padShape is rect
19686
+ */
19687
+ height?: number | string;
19688
+ }
19689
+ declare const testpointProps: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
19690
+ pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19691
+ pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19692
+ pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19693
+ schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19694
+ schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19695
+ schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19696
+ layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
19697
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
19698
+ }, "strip", z.ZodTypeAny, {
19699
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19700
+ }, {
19701
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19702
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
19703
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
19704
+ }>>;
19705
+ footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
19706
+ }, {
19707
+ supplierPartNumbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
19708
+ }>, {
19709
+ key: z.ZodOptional<z.ZodAny>;
19710
+ name: z.ZodString;
19711
+ cadModel: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
19712
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
19713
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
19714
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
19715
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
19716
+ }, "strip", z.ZodTypeAny, {
19717
+ x: string | number;
19718
+ y: string | number;
19719
+ z: string | number;
19720
+ }, {
19721
+ x: string | number;
19722
+ y: string | number;
19723
+ z: string | number;
19724
+ }>]>>;
19725
+ positionOffset: z.ZodOptional<z.ZodObject<{
19726
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19727
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19728
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19729
+ }, "strip", z.ZodTypeAny, {
19730
+ x: number;
19731
+ y: number;
19732
+ z: number;
19733
+ }, {
19734
+ x: string | number;
19735
+ y: string | number;
19736
+ z: string | number;
19737
+ }>>;
19738
+ size: z.ZodOptional<z.ZodObject<{
19739
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19740
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19741
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19742
+ }, "strip", z.ZodTypeAny, {
19743
+ x: number;
19744
+ y: number;
19745
+ z: number;
19746
+ }, {
19747
+ x: string | number;
19748
+ y: string | number;
19749
+ z: string | number;
19750
+ }>>;
19751
+ }, {
19752
+ stlUrl: z.ZodString;
19753
+ }>, "strip", z.ZodTypeAny, {
19754
+ stlUrl: string;
19755
+ rotationOffset?: number | {
19756
+ x: string | number;
19757
+ y: string | number;
19758
+ z: string | number;
19759
+ } | undefined;
19760
+ positionOffset?: {
19761
+ x: number;
19762
+ y: number;
19763
+ z: number;
19764
+ } | undefined;
19765
+ size?: {
19766
+ x: number;
19767
+ y: number;
19768
+ z: number;
19769
+ } | undefined;
19770
+ }, {
19771
+ stlUrl: string;
19772
+ rotationOffset?: number | {
19773
+ x: string | number;
19774
+ y: string | number;
19775
+ z: string | number;
19776
+ } | undefined;
19777
+ positionOffset?: {
19778
+ x: string | number;
19779
+ y: string | number;
19780
+ z: string | number;
19781
+ } | undefined;
19782
+ size?: {
19783
+ x: string | number;
19784
+ y: string | number;
19785
+ z: string | number;
19786
+ } | undefined;
19787
+ }>, z.ZodObject<z.objectUtil.extendShape<{
19788
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
19789
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
19790
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
19791
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
19792
+ }, "strip", z.ZodTypeAny, {
19793
+ x: string | number;
19794
+ y: string | number;
19795
+ z: string | number;
19796
+ }, {
19797
+ x: string | number;
19798
+ y: string | number;
19799
+ z: string | number;
19800
+ }>]>>;
19801
+ positionOffset: z.ZodOptional<z.ZodObject<{
19802
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19803
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19804
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19805
+ }, "strip", z.ZodTypeAny, {
19806
+ x: number;
19807
+ y: number;
19808
+ z: number;
19809
+ }, {
19810
+ x: string | number;
19811
+ y: string | number;
19812
+ z: string | number;
19813
+ }>>;
19814
+ size: z.ZodOptional<z.ZodObject<{
19815
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19816
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19817
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19818
+ }, "strip", z.ZodTypeAny, {
19819
+ x: number;
19820
+ y: number;
19821
+ z: number;
19822
+ }, {
19823
+ x: string | number;
19824
+ y: string | number;
19825
+ z: string | number;
19826
+ }>>;
19827
+ }, {
19828
+ objUrl: z.ZodString;
19829
+ mtlUrl: z.ZodOptional<z.ZodString>;
19830
+ }>, "strip", z.ZodTypeAny, {
19831
+ objUrl: string;
19832
+ rotationOffset?: number | {
19833
+ x: string | number;
19834
+ y: string | number;
19835
+ z: string | number;
19836
+ } | undefined;
19837
+ positionOffset?: {
19838
+ x: number;
19839
+ y: number;
19840
+ z: number;
19841
+ } | undefined;
19842
+ size?: {
19843
+ x: number;
19844
+ y: number;
19845
+ z: number;
19846
+ } | undefined;
19847
+ mtlUrl?: string | undefined;
19848
+ }, {
19849
+ objUrl: string;
19850
+ rotationOffset?: number | {
19851
+ x: string | number;
19852
+ y: string | number;
19853
+ z: string | number;
19854
+ } | undefined;
19855
+ positionOffset?: {
19856
+ x: string | number;
19857
+ y: string | number;
19858
+ z: string | number;
19859
+ } | undefined;
19860
+ size?: {
19861
+ x: string | number;
19862
+ y: string | number;
19863
+ z: string | number;
19864
+ } | undefined;
19865
+ mtlUrl?: string | undefined;
19866
+ }>, z.ZodObject<z.objectUtil.extendShape<{
19867
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
19868
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
19869
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
19870
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
19871
+ }, "strip", z.ZodTypeAny, {
19872
+ x: string | number;
19873
+ y: string | number;
19874
+ z: string | number;
19875
+ }, {
19876
+ x: string | number;
19877
+ y: string | number;
19878
+ z: string | number;
19879
+ }>]>>;
19880
+ positionOffset: z.ZodOptional<z.ZodObject<{
19881
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19882
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19883
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19884
+ }, "strip", z.ZodTypeAny, {
19885
+ x: number;
19886
+ y: number;
19887
+ z: number;
19888
+ }, {
19889
+ x: string | number;
19890
+ y: string | number;
19891
+ z: string | number;
19892
+ }>>;
19893
+ size: z.ZodOptional<z.ZodObject<{
19894
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19895
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19896
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
19897
+ }, "strip", z.ZodTypeAny, {
19898
+ x: number;
19899
+ y: number;
19900
+ z: number;
19901
+ }, {
19902
+ x: string | number;
19903
+ y: string | number;
19904
+ z: string | number;
19905
+ }>>;
19906
+ }, {
19907
+ jscad: z.ZodRecord<z.ZodString, z.ZodAny>;
19908
+ }>, "strip", z.ZodTypeAny, {
19909
+ jscad: Record<string, any>;
19910
+ rotationOffset?: number | {
19911
+ x: string | number;
19912
+ y: string | number;
19913
+ z: string | number;
19914
+ } | undefined;
19915
+ positionOffset?: {
19916
+ x: number;
19917
+ y: number;
19918
+ z: number;
19919
+ } | undefined;
19920
+ size?: {
19921
+ x: number;
19922
+ y: number;
19923
+ z: number;
19924
+ } | undefined;
19925
+ }, {
19926
+ jscad: Record<string, any>;
19927
+ rotationOffset?: number | {
19928
+ x: string | number;
19929
+ y: string | number;
19930
+ z: string | number;
19931
+ } | undefined;
19932
+ positionOffset?: {
19933
+ x: string | number;
19934
+ y: string | number;
19935
+ z: string | number;
19936
+ } | undefined;
19937
+ size?: {
19938
+ x: string | number;
19939
+ y: string | number;
19940
+ z: string | number;
19941
+ } | undefined;
19942
+ }>]>>;
19943
+ children: z.ZodOptional<z.ZodAny>;
19944
+ symbolName: z.ZodOptional<z.ZodString>;
19945
+ doNotPlace: z.ZodOptional<z.ZodBoolean>;
19946
+ }>, {
19947
+ footprintVariant: z.ZodDefault<z.ZodOptional<z.ZodEnum<["pad", "through_hole"]>>>;
19948
+ padShape: z.ZodDefault<z.ZodOptional<z.ZodEnum<["rect", "circle"]>>>;
19949
+ padDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19950
+ holeDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19951
+ width: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19952
+ height: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19953
+ }>, "strip", z.ZodTypeAny, {
19954
+ name: string;
19955
+ padShape: "circle" | "rect";
19956
+ footprintVariant: "pad" | "through_hole";
19957
+ pcbX?: number | undefined;
19958
+ pcbY?: number | undefined;
19959
+ pcbRotation?: number | undefined;
19960
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
19961
+ schX?: number | undefined;
19962
+ schY?: number | undefined;
19963
+ schRotation?: number | undefined;
19964
+ footprint?: Footprint | undefined;
19965
+ supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
19966
+ key?: any;
19967
+ cadModel?: string | {
19968
+ stlUrl: string;
19969
+ rotationOffset?: number | {
19970
+ x: string | number;
19971
+ y: string | number;
19972
+ z: string | number;
19973
+ } | undefined;
19974
+ positionOffset?: {
19975
+ x: number;
19976
+ y: number;
19977
+ z: number;
19978
+ } | undefined;
19979
+ size?: {
19980
+ x: number;
19981
+ y: number;
19982
+ z: number;
19983
+ } | undefined;
19984
+ } | {
19985
+ objUrl: string;
19986
+ rotationOffset?: number | {
19987
+ x: string | number;
19988
+ y: string | number;
19989
+ z: string | number;
19990
+ } | undefined;
19991
+ positionOffset?: {
19992
+ x: number;
19993
+ y: number;
19994
+ z: number;
19995
+ } | undefined;
19996
+ size?: {
19997
+ x: number;
19998
+ y: number;
19999
+ z: number;
20000
+ } | undefined;
20001
+ mtlUrl?: string | undefined;
20002
+ } | {
20003
+ jscad: Record<string, any>;
20004
+ rotationOffset?: number | {
20005
+ x: string | number;
20006
+ y: string | number;
20007
+ z: string | number;
20008
+ } | undefined;
20009
+ positionOffset?: {
20010
+ x: number;
20011
+ y: number;
20012
+ z: number;
20013
+ } | undefined;
20014
+ size?: {
20015
+ x: number;
20016
+ y: number;
20017
+ z: number;
20018
+ } | undefined;
20019
+ } | null | undefined;
20020
+ children?: any;
20021
+ symbolName?: string | undefined;
20022
+ doNotPlace?: boolean | undefined;
20023
+ width?: number | undefined;
20024
+ height?: number | undefined;
20025
+ holeDiameter?: number | undefined;
20026
+ padDiameter?: number | undefined;
20027
+ }, {
20028
+ name: string;
20029
+ pcbX?: string | number | undefined;
20030
+ pcbY?: string | number | undefined;
20031
+ pcbRotation?: string | number | undefined;
20032
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
20033
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
20034
+ } | undefined;
20035
+ schX?: string | number | undefined;
20036
+ schY?: string | number | undefined;
20037
+ schRotation?: string | number | undefined;
20038
+ footprint?: Footprint | undefined;
20039
+ supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
20040
+ key?: any;
20041
+ cadModel?: string | {
20042
+ stlUrl: string;
20043
+ rotationOffset?: number | {
20044
+ x: string | number;
20045
+ y: string | number;
20046
+ z: string | number;
20047
+ } | undefined;
20048
+ positionOffset?: {
20049
+ x: string | number;
20050
+ y: string | number;
20051
+ z: string | number;
20052
+ } | undefined;
20053
+ size?: {
20054
+ x: string | number;
20055
+ y: string | number;
20056
+ z: string | number;
20057
+ } | undefined;
20058
+ } | {
20059
+ objUrl: string;
20060
+ rotationOffset?: number | {
20061
+ x: string | number;
20062
+ y: string | number;
20063
+ z: string | number;
20064
+ } | undefined;
20065
+ positionOffset?: {
20066
+ x: string | number;
20067
+ y: string | number;
20068
+ z: string | number;
20069
+ } | undefined;
20070
+ size?: {
20071
+ x: string | number;
20072
+ y: string | number;
20073
+ z: string | number;
20074
+ } | undefined;
20075
+ mtlUrl?: string | undefined;
20076
+ } | {
20077
+ jscad: Record<string, any>;
20078
+ rotationOffset?: number | {
20079
+ x: string | number;
20080
+ y: string | number;
20081
+ z: string | number;
20082
+ } | undefined;
20083
+ positionOffset?: {
20084
+ x: string | number;
20085
+ y: string | number;
20086
+ z: string | number;
20087
+ } | undefined;
20088
+ size?: {
20089
+ x: string | number;
20090
+ y: string | number;
20091
+ z: string | number;
20092
+ } | undefined;
20093
+ } | null | undefined;
20094
+ children?: any;
20095
+ symbolName?: string | undefined;
20096
+ doNotPlace?: boolean | undefined;
20097
+ width?: string | number | undefined;
20098
+ height?: string | number | undefined;
20099
+ holeDiameter?: string | number | undefined;
20100
+ padShape?: "circle" | "rect" | undefined;
20101
+ footprintVariant?: "pad" | "through_hole" | undefined;
20102
+ padDiameter?: string | number | undefined;
20103
+ }>, {
20104
+ name: string;
20105
+ padShape: "circle" | "rect";
20106
+ footprintVariant: "pad" | "through_hole";
20107
+ pcbX?: number | undefined;
20108
+ pcbY?: number | undefined;
20109
+ pcbRotation?: number | undefined;
20110
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
20111
+ schX?: number | undefined;
20112
+ schY?: number | undefined;
20113
+ schRotation?: number | undefined;
20114
+ footprint?: Footprint | undefined;
20115
+ supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
20116
+ key?: any;
20117
+ cadModel?: string | {
20118
+ stlUrl: string;
20119
+ rotationOffset?: number | {
20120
+ x: string | number;
20121
+ y: string | number;
20122
+ z: string | number;
20123
+ } | undefined;
20124
+ positionOffset?: {
20125
+ x: number;
20126
+ y: number;
20127
+ z: number;
20128
+ } | undefined;
20129
+ size?: {
20130
+ x: number;
20131
+ y: number;
20132
+ z: number;
20133
+ } | undefined;
20134
+ } | {
20135
+ objUrl: string;
20136
+ rotationOffset?: number | {
20137
+ x: string | number;
20138
+ y: string | number;
20139
+ z: string | number;
20140
+ } | undefined;
20141
+ positionOffset?: {
20142
+ x: number;
20143
+ y: number;
20144
+ z: number;
20145
+ } | undefined;
20146
+ size?: {
20147
+ x: number;
20148
+ y: number;
20149
+ z: number;
20150
+ } | undefined;
20151
+ mtlUrl?: string | undefined;
20152
+ } | {
20153
+ jscad: Record<string, any>;
20154
+ rotationOffset?: number | {
20155
+ x: string | number;
20156
+ y: string | number;
20157
+ z: string | number;
20158
+ } | undefined;
20159
+ positionOffset?: {
20160
+ x: number;
20161
+ y: number;
20162
+ z: number;
20163
+ } | undefined;
20164
+ size?: {
20165
+ x: number;
20166
+ y: number;
20167
+ z: number;
20168
+ } | undefined;
20169
+ } | null | undefined;
20170
+ children?: any;
20171
+ symbolName?: string | undefined;
20172
+ doNotPlace?: boolean | undefined;
20173
+ width?: number | undefined;
20174
+ height?: number | undefined;
20175
+ holeDiameter?: number | undefined;
20176
+ padDiameter?: number | undefined;
20177
+ }, {
20178
+ name: string;
20179
+ pcbX?: string | number | undefined;
20180
+ pcbY?: string | number | undefined;
20181
+ pcbRotation?: string | number | undefined;
20182
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
20183
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
20184
+ } | undefined;
20185
+ schX?: string | number | undefined;
20186
+ schY?: string | number | undefined;
20187
+ schRotation?: string | number | undefined;
20188
+ footprint?: Footprint | undefined;
20189
+ supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
20190
+ key?: any;
20191
+ cadModel?: string | {
20192
+ stlUrl: string;
20193
+ rotationOffset?: number | {
20194
+ x: string | number;
20195
+ y: string | number;
20196
+ z: string | number;
20197
+ } | undefined;
20198
+ positionOffset?: {
20199
+ x: string | number;
20200
+ y: string | number;
20201
+ z: string | number;
20202
+ } | undefined;
20203
+ size?: {
20204
+ x: string | number;
20205
+ y: string | number;
20206
+ z: string | number;
20207
+ } | undefined;
20208
+ } | {
20209
+ objUrl: string;
20210
+ rotationOffset?: number | {
20211
+ x: string | number;
20212
+ y: string | number;
20213
+ z: string | number;
20214
+ } | undefined;
20215
+ positionOffset?: {
20216
+ x: string | number;
20217
+ y: string | number;
20218
+ z: string | number;
20219
+ } | undefined;
20220
+ size?: {
20221
+ x: string | number;
20222
+ y: string | number;
20223
+ z: string | number;
20224
+ } | undefined;
20225
+ mtlUrl?: string | undefined;
20226
+ } | {
20227
+ jscad: Record<string, any>;
20228
+ rotationOffset?: number | {
20229
+ x: string | number;
20230
+ y: string | number;
20231
+ z: string | number;
20232
+ } | undefined;
20233
+ positionOffset?: {
20234
+ x: string | number;
20235
+ y: string | number;
20236
+ z: string | number;
20237
+ } | undefined;
20238
+ size?: {
20239
+ x: string | number;
20240
+ y: string | number;
20241
+ z: string | number;
20242
+ } | undefined;
20243
+ } | null | undefined;
20244
+ children?: any;
20245
+ symbolName?: string | undefined;
20246
+ doNotPlace?: boolean | undefined;
20247
+ width?: string | number | undefined;
20248
+ height?: string | number | undefined;
20249
+ holeDiameter?: string | number | undefined;
20250
+ padShape?: "circle" | "rect" | undefined;
20251
+ footprintVariant?: "pad" | "through_hole" | undefined;
20252
+ padDiameter?: string | number | undefined;
20253
+ }>;
20254
+ type InferredTestpointProps = z.input<typeof testpointProps>;
20255
+
19663
20256
  declare const pcbKeepoutProps: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<Omit<{
19664
20257
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
19665
20258
  pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -20831,4 +21424,4 @@ interface PlatformConfig {
20831
21424
  }
20832
21425
  declare const platformConfig: z.ZodType<PlatformConfig>;
20833
21426
 
20834
- export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, 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 Footprint, 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 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 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 SolderPasteProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type TransistorProps, type ViaProps, autorouterConfig, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, 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, netProps, 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, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
21427
+ export { type AutorouterConfig, type AutorouterProp, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BatteryProps, type BoardProps, 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 Footprint, 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 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 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, 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, netProps, 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, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, testpointProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };