@tscircuit/props 0.0.239 → 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 +51 -2
- package/dist/index.js +81 -72
- package/dist/index.js.map +1 -1
- package/lib/components/smtpad.ts +10 -0
- package/lib/components/via.ts +17 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15871,12 +15871,14 @@ declare const cutoutProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
15871
15871
|
type CutoutPropsInput = z.input<typeof cutoutProps>;
|
|
15872
15872
|
|
|
15873
15873
|
interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
15874
|
+
name?: string;
|
|
15874
15875
|
shape: "rect";
|
|
15875
15876
|
width: Distance;
|
|
15876
15877
|
height: Distance;
|
|
15877
15878
|
portHints?: PortHints;
|
|
15878
15879
|
}
|
|
15879
15880
|
interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
15881
|
+
name?: string;
|
|
15880
15882
|
shape: "rotated_rect";
|
|
15881
15883
|
width: Distance;
|
|
15882
15884
|
height: Distance;
|
|
@@ -15884,11 +15886,13 @@ interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
15884
15886
|
portHints?: PortHints;
|
|
15885
15887
|
}
|
|
15886
15888
|
interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
15889
|
+
name?: string;
|
|
15887
15890
|
shape: "circle";
|
|
15888
15891
|
radius: Distance;
|
|
15889
15892
|
portHints?: PortHints;
|
|
15890
15893
|
}
|
|
15891
15894
|
interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
15895
|
+
name?: string;
|
|
15892
15896
|
shape: "pill";
|
|
15893
15897
|
width: Distance;
|
|
15894
15898
|
height: Distance;
|
|
@@ -15896,6 +15900,7 @@ interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
15896
15900
|
portHints?: PortHints;
|
|
15897
15901
|
}
|
|
15898
15902
|
interface PolygonSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
15903
|
+
name?: string;
|
|
15899
15904
|
shape: "polygon";
|
|
15900
15905
|
points: Point[];
|
|
15901
15906
|
portHints?: PortHints;
|
|
@@ -15915,6 +15920,7 @@ declare const rectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
15915
15920
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15916
15921
|
}>>;
|
|
15917
15922
|
}, "pcbRotation">, {
|
|
15923
|
+
name: z.ZodOptional<z.ZodString>;
|
|
15918
15924
|
shape: z.ZodLiteral<"rect">;
|
|
15919
15925
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15920
15926
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15926,6 +15932,7 @@ declare const rectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
15926
15932
|
pcbX?: number | undefined;
|
|
15927
15933
|
pcbY?: number | undefined;
|
|
15928
15934
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
15935
|
+
name?: string | undefined;
|
|
15929
15936
|
portHints?: (string | number)[] | undefined;
|
|
15930
15937
|
}, {
|
|
15931
15938
|
shape: "rect";
|
|
@@ -15936,6 +15943,7 @@ declare const rectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
15936
15943
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
15937
15944
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15938
15945
|
} | undefined;
|
|
15946
|
+
name?: string | undefined;
|
|
15939
15947
|
portHints?: (string | number)[] | undefined;
|
|
15940
15948
|
}>;
|
|
15941
15949
|
declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -15952,6 +15960,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
15952
15960
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15953
15961
|
}>>;
|
|
15954
15962
|
}, "pcbRotation">, {
|
|
15963
|
+
name: z.ZodOptional<z.ZodString>;
|
|
15955
15964
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
15956
15965
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15957
15966
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15965,6 +15974,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
15965
15974
|
pcbX?: number | undefined;
|
|
15966
15975
|
pcbY?: number | undefined;
|
|
15967
15976
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
15977
|
+
name?: string | undefined;
|
|
15968
15978
|
portHints?: (string | number)[] | undefined;
|
|
15969
15979
|
}, {
|
|
15970
15980
|
shape: "rotated_rect";
|
|
@@ -15976,6 +15986,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
15976
15986
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
15977
15987
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15978
15988
|
} | undefined;
|
|
15989
|
+
name?: string | undefined;
|
|
15979
15990
|
portHints?: (string | number)[] | undefined;
|
|
15980
15991
|
}>;
|
|
15981
15992
|
declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -15992,6 +16003,7 @@ declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
15992
16003
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15993
16004
|
}>>;
|
|
15994
16005
|
}, "pcbRotation">, {
|
|
16006
|
+
name: z.ZodOptional<z.ZodString>;
|
|
15995
16007
|
shape: z.ZodLiteral<"circle">;
|
|
15996
16008
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15997
16009
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
@@ -16001,6 +16013,7 @@ declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16001
16013
|
pcbX?: number | undefined;
|
|
16002
16014
|
pcbY?: number | undefined;
|
|
16003
16015
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16016
|
+
name?: string | undefined;
|
|
16004
16017
|
portHints?: (string | number)[] | undefined;
|
|
16005
16018
|
}, {
|
|
16006
16019
|
shape: "circle";
|
|
@@ -16010,6 +16023,7 @@ declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16010
16023
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16011
16024
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16012
16025
|
} | undefined;
|
|
16026
|
+
name?: string | undefined;
|
|
16013
16027
|
portHints?: (string | number)[] | undefined;
|
|
16014
16028
|
}>;
|
|
16015
16029
|
declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -16026,6 +16040,7 @@ declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16026
16040
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16027
16041
|
}>>;
|
|
16028
16042
|
}, "pcbRotation">, {
|
|
16043
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16029
16044
|
shape: z.ZodLiteral<"pill">;
|
|
16030
16045
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16031
16046
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16039,6 +16054,7 @@ declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16039
16054
|
pcbX?: number | undefined;
|
|
16040
16055
|
pcbY?: number | undefined;
|
|
16041
16056
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16057
|
+
name?: string | undefined;
|
|
16042
16058
|
portHints?: (string | number)[] | undefined;
|
|
16043
16059
|
}, {
|
|
16044
16060
|
shape: "pill";
|
|
@@ -16050,6 +16066,7 @@ declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16050
16066
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16051
16067
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16052
16068
|
} | undefined;
|
|
16069
|
+
name?: string | undefined;
|
|
16053
16070
|
portHints?: (string | number)[] | undefined;
|
|
16054
16071
|
}>;
|
|
16055
16072
|
declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -16066,6 +16083,7 @@ declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16066
16083
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16067
16084
|
}>>;
|
|
16068
16085
|
}, "pcbRotation">, {
|
|
16086
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16069
16087
|
shape: z.ZodLiteral<"polygon">;
|
|
16070
16088
|
points: z.ZodArray<z.ZodObject<{
|
|
16071
16089
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16087,6 +16105,7 @@ declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16087
16105
|
pcbX?: number | undefined;
|
|
16088
16106
|
pcbY?: number | undefined;
|
|
16089
16107
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16108
|
+
name?: string | undefined;
|
|
16090
16109
|
portHints?: (string | number)[] | undefined;
|
|
16091
16110
|
}, {
|
|
16092
16111
|
shape: "polygon";
|
|
@@ -16099,6 +16118,7 @@ declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16099
16118
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16100
16119
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16101
16120
|
} | undefined;
|
|
16121
|
+
name?: string | undefined;
|
|
16102
16122
|
portHints?: (string | number)[] | undefined;
|
|
16103
16123
|
}>;
|
|
16104
16124
|
declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -16115,6 +16135,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16115
16135
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16116
16136
|
}>>;
|
|
16117
16137
|
}, "pcbRotation">, {
|
|
16138
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16118
16139
|
shape: z.ZodLiteral<"circle">;
|
|
16119
16140
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16120
16141
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
@@ -16124,6 +16145,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16124
16145
|
pcbX?: number | undefined;
|
|
16125
16146
|
pcbY?: number | undefined;
|
|
16126
16147
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16148
|
+
name?: string | undefined;
|
|
16127
16149
|
portHints?: (string | number)[] | undefined;
|
|
16128
16150
|
}, {
|
|
16129
16151
|
shape: "circle";
|
|
@@ -16133,6 +16155,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16133
16155
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16134
16156
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16135
16157
|
} | undefined;
|
|
16158
|
+
name?: string | undefined;
|
|
16136
16159
|
portHints?: (string | number)[] | undefined;
|
|
16137
16160
|
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
16138
16161
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -16148,6 +16171,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16148
16171
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16149
16172
|
}>>;
|
|
16150
16173
|
}, "pcbRotation">, {
|
|
16174
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16151
16175
|
shape: z.ZodLiteral<"rect">;
|
|
16152
16176
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16153
16177
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16159,6 +16183,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16159
16183
|
pcbX?: number | undefined;
|
|
16160
16184
|
pcbY?: number | undefined;
|
|
16161
16185
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16186
|
+
name?: string | undefined;
|
|
16162
16187
|
portHints?: (string | number)[] | undefined;
|
|
16163
16188
|
}, {
|
|
16164
16189
|
shape: "rect";
|
|
@@ -16169,6 +16194,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16169
16194
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16170
16195
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16171
16196
|
} | undefined;
|
|
16197
|
+
name?: string | undefined;
|
|
16172
16198
|
portHints?: (string | number)[] | undefined;
|
|
16173
16199
|
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
16174
16200
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -16184,6 +16210,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16184
16210
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16185
16211
|
}>>;
|
|
16186
16212
|
}, "pcbRotation">, {
|
|
16213
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16187
16214
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
16188
16215
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16189
16216
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16197,6 +16224,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16197
16224
|
pcbX?: number | undefined;
|
|
16198
16225
|
pcbY?: number | undefined;
|
|
16199
16226
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16227
|
+
name?: string | undefined;
|
|
16200
16228
|
portHints?: (string | number)[] | undefined;
|
|
16201
16229
|
}, {
|
|
16202
16230
|
shape: "rotated_rect";
|
|
@@ -16208,6 +16236,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16208
16236
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16209
16237
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16210
16238
|
} | undefined;
|
|
16239
|
+
name?: string | undefined;
|
|
16211
16240
|
portHints?: (string | number)[] | undefined;
|
|
16212
16241
|
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
16213
16242
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -16223,6 +16252,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16223
16252
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16224
16253
|
}>>;
|
|
16225
16254
|
}, "pcbRotation">, {
|
|
16255
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16226
16256
|
shape: z.ZodLiteral<"pill">;
|
|
16227
16257
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16228
16258
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16236,6 +16266,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16236
16266
|
pcbX?: number | undefined;
|
|
16237
16267
|
pcbY?: number | undefined;
|
|
16238
16268
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16269
|
+
name?: string | undefined;
|
|
16239
16270
|
portHints?: (string | number)[] | undefined;
|
|
16240
16271
|
}, {
|
|
16241
16272
|
shape: "pill";
|
|
@@ -16247,6 +16278,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16247
16278
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16248
16279
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16249
16280
|
} | undefined;
|
|
16281
|
+
name?: string | undefined;
|
|
16250
16282
|
portHints?: (string | number)[] | undefined;
|
|
16251
16283
|
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
16252
16284
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -16262,6 +16294,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16262
16294
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16263
16295
|
}>>;
|
|
16264
16296
|
}, "pcbRotation">, {
|
|
16297
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16265
16298
|
shape: z.ZodLiteral<"polygon">;
|
|
16266
16299
|
points: z.ZodArray<z.ZodObject<{
|
|
16267
16300
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16283,6 +16316,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16283
16316
|
pcbX?: number | undefined;
|
|
16284
16317
|
pcbY?: number | undefined;
|
|
16285
16318
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16319
|
+
name?: string | undefined;
|
|
16286
16320
|
portHints?: (string | number)[] | undefined;
|
|
16287
16321
|
}, {
|
|
16288
16322
|
shape: "polygon";
|
|
@@ -16295,6 +16329,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16295
16329
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16296
16330
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16297
16331
|
} | undefined;
|
|
16332
|
+
name?: string | undefined;
|
|
16298
16333
|
portHints?: (string | number)[] | undefined;
|
|
16299
16334
|
}>]>;
|
|
16300
16335
|
type InferredSmtPadProps = z.input<typeof smtPadProps>;
|
|
@@ -22563,6 +22598,14 @@ declare const pcbTraceProps: z.ZodObject<{
|
|
|
22563
22598
|
}>;
|
|
22564
22599
|
type PcbTraceProps = z.input<typeof pcbTraceProps>;
|
|
22565
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
|
+
}
|
|
22566
22609
|
declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
22567
22610
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22568
22611
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -22581,6 +22624,7 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
22581
22624
|
}>>;
|
|
22582
22625
|
footprint: z.ZodOptional<z.ZodType<FootprintProp, z.ZodTypeDef, FootprintProp>>;
|
|
22583
22626
|
}, {
|
|
22627
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22584
22628
|
fromLayer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
22585
22629
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
22586
22630
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22601,6 +22645,7 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
22601
22645
|
}>;
|
|
22602
22646
|
holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22603
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">]>>;
|
|
22604
22649
|
}>, "strip", z.ZodTypeAny, {
|
|
22605
22650
|
holeDiameter: number;
|
|
22606
22651
|
outerDiameter: number;
|
|
@@ -22614,6 +22659,8 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
22614
22659
|
schY?: number | undefined;
|
|
22615
22660
|
schRotation?: number | undefined;
|
|
22616
22661
|
footprint?: FootprintProp | undefined;
|
|
22662
|
+
name?: string | undefined;
|
|
22663
|
+
connectsTo?: string | string[] | undefined;
|
|
22617
22664
|
}, {
|
|
22618
22665
|
holeDiameter: string | number;
|
|
22619
22666
|
outerDiameter: string | number;
|
|
@@ -22633,8 +22680,10 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
22633
22680
|
schY?: string | number | undefined;
|
|
22634
22681
|
schRotation?: string | number | undefined;
|
|
22635
22682
|
footprint?: FootprintProp | undefined;
|
|
22683
|
+
name?: string | undefined;
|
|
22684
|
+
connectsTo?: string | string[] | undefined;
|
|
22636
22685
|
}>;
|
|
22637
|
-
type
|
|
22686
|
+
type InferredViaProps = z.input<typeof viaProps>;
|
|
22638
22687
|
|
|
22639
22688
|
interface TestpointProps extends CommonComponentProps {
|
|
22640
22689
|
/**
|
|
@@ -24430,4 +24479,4 @@ declare const platformConfig: z.ZodType<PlatformConfig>;
|
|
|
24430
24479
|
|
|
24431
24480
|
declare const ninePointAnchor: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
|
|
24432
24481
|
|
|
24433
|
-
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 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 };
|
|
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 };
|