@tscircuit/props 0.0.239 → 0.0.241
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 +27 -0
- package/dist/index.d.ts +83 -4
- package/dist/index.js +86 -72
- package/dist/index.js.map +1 -1
- package/lib/components/platedhole.ts +10 -0
- 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
|
@@ -12047,6 +12047,7 @@ type InferredFuseProps = z.input<typeof fuseProps>;
|
|
|
12047
12047
|
|
|
12048
12048
|
interface CirclePlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
12049
12049
|
name?: string;
|
|
12050
|
+
connectsTo?: string | string[];
|
|
12050
12051
|
shape: "circle";
|
|
12051
12052
|
holeDiameter: number | string;
|
|
12052
12053
|
outerDiameter: number | string;
|
|
@@ -12054,6 +12055,7 @@ interface CirclePlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "la
|
|
|
12054
12055
|
}
|
|
12055
12056
|
interface OvalPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
12056
12057
|
name?: string;
|
|
12058
|
+
connectsTo?: string | string[];
|
|
12057
12059
|
shape: "oval";
|
|
12058
12060
|
outerWidth: number | string;
|
|
12059
12061
|
outerHeight: number | string;
|
|
@@ -12067,6 +12069,7 @@ interface OvalPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "laye
|
|
|
12067
12069
|
}
|
|
12068
12070
|
interface PillPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
12069
12071
|
name?: string;
|
|
12072
|
+
connectsTo?: string | string[];
|
|
12070
12073
|
shape: "pill";
|
|
12071
12074
|
outerWidth: number | string;
|
|
12072
12075
|
outerHeight: number | string;
|
|
@@ -12080,6 +12083,7 @@ interface PillPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "laye
|
|
|
12080
12083
|
}
|
|
12081
12084
|
interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
12082
12085
|
name?: string;
|
|
12086
|
+
connectsTo?: string | string[];
|
|
12083
12087
|
shape: "circular_hole_with_rect_pad";
|
|
12084
12088
|
holeDiameter: number | string;
|
|
12085
12089
|
rectPadWidth: number | string;
|
|
@@ -12090,6 +12094,7 @@ interface CircularHoleWithRectPlatedProps extends Omit<PcbLayoutProps, "pcbRotat
|
|
|
12090
12094
|
}
|
|
12091
12095
|
interface PillWithRectPadPlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
|
|
12092
12096
|
name?: string;
|
|
12097
|
+
connectsTo?: string | string[];
|
|
12093
12098
|
shape: "pill_hole_with_rect_pad";
|
|
12094
12099
|
holeShape: "pill";
|
|
12095
12100
|
padShape: "rect";
|
|
@@ -12115,6 +12120,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12115
12120
|
}>>;
|
|
12116
12121
|
}, "pcbRotation" | "layer">, {
|
|
12117
12122
|
name: z.ZodOptional<z.ZodString>;
|
|
12123
|
+
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
12118
12124
|
shape: z.ZodLiteral<"circle">;
|
|
12119
12125
|
holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12120
12126
|
outerDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12126,6 +12132,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12126
12132
|
pcbX?: number | undefined;
|
|
12127
12133
|
pcbY?: number | undefined;
|
|
12128
12134
|
name?: string | undefined;
|
|
12135
|
+
connectsTo?: string | string[] | undefined;
|
|
12129
12136
|
portHints?: (string | number)[] | undefined;
|
|
12130
12137
|
}, {
|
|
12131
12138
|
shape: "circle";
|
|
@@ -12134,6 +12141,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12134
12141
|
pcbX?: string | number | undefined;
|
|
12135
12142
|
pcbY?: string | number | undefined;
|
|
12136
12143
|
name?: string | undefined;
|
|
12144
|
+
connectsTo?: string | string[] | undefined;
|
|
12137
12145
|
portHints?: (string | number)[] | undefined;
|
|
12138
12146
|
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
12139
12147
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -12150,6 +12158,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12150
12158
|
}>>;
|
|
12151
12159
|
}, "pcbRotation" | "layer">, {
|
|
12152
12160
|
name: z.ZodOptional<z.ZodString>;
|
|
12161
|
+
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
12153
12162
|
shape: z.ZodLiteral<"oval">;
|
|
12154
12163
|
outerWidth: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12155
12164
|
outerHeight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12165,6 +12174,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12165
12174
|
pcbX?: number | undefined;
|
|
12166
12175
|
pcbY?: number | undefined;
|
|
12167
12176
|
name?: string | undefined;
|
|
12177
|
+
connectsTo?: string | string[] | undefined;
|
|
12168
12178
|
portHints?: (string | number)[] | undefined;
|
|
12169
12179
|
holeWidth?: number | undefined;
|
|
12170
12180
|
holeHeight?: number | undefined;
|
|
@@ -12179,6 +12189,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12179
12189
|
pcbX?: string | number | undefined;
|
|
12180
12190
|
pcbY?: string | number | undefined;
|
|
12181
12191
|
name?: string | undefined;
|
|
12192
|
+
connectsTo?: string | string[] | undefined;
|
|
12182
12193
|
portHints?: (string | number)[] | undefined;
|
|
12183
12194
|
innerWidth?: string | number | undefined;
|
|
12184
12195
|
innerHeight?: string | number | undefined;
|
|
@@ -12197,6 +12208,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12197
12208
|
}>>;
|
|
12198
12209
|
}, "pcbRotation" | "layer">, {
|
|
12199
12210
|
name: z.ZodOptional<z.ZodString>;
|
|
12211
|
+
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
12200
12212
|
shape: z.ZodLiteral<"pill">;
|
|
12201
12213
|
outerWidth: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12202
12214
|
outerHeight: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12212,6 +12224,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12212
12224
|
pcbX?: number | undefined;
|
|
12213
12225
|
pcbY?: number | undefined;
|
|
12214
12226
|
name?: string | undefined;
|
|
12227
|
+
connectsTo?: string | string[] | undefined;
|
|
12215
12228
|
portHints?: (string | number)[] | undefined;
|
|
12216
12229
|
holeWidth?: number | undefined;
|
|
12217
12230
|
holeHeight?: number | undefined;
|
|
@@ -12226,6 +12239,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12226
12239
|
pcbX?: string | number | undefined;
|
|
12227
12240
|
pcbY?: string | number | undefined;
|
|
12228
12241
|
name?: string | undefined;
|
|
12242
|
+
connectsTo?: string | string[] | undefined;
|
|
12229
12243
|
portHints?: (string | number)[] | undefined;
|
|
12230
12244
|
innerWidth?: string | number | undefined;
|
|
12231
12245
|
innerHeight?: string | number | undefined;
|
|
@@ -12244,6 +12258,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12244
12258
|
}>>;
|
|
12245
12259
|
}, "pcbRotation" | "layer">, {
|
|
12246
12260
|
name: z.ZodOptional<z.ZodString>;
|
|
12261
|
+
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
12247
12262
|
shape: z.ZodLiteral<"circular_hole_with_rect_pad">;
|
|
12248
12263
|
holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
12249
12264
|
rectPadWidth: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -12259,6 +12274,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12259
12274
|
pcbX?: number | undefined;
|
|
12260
12275
|
pcbY?: number | undefined;
|
|
12261
12276
|
name?: string | undefined;
|
|
12277
|
+
connectsTo?: string | string[] | undefined;
|
|
12262
12278
|
portHints?: (string | number)[] | undefined;
|
|
12263
12279
|
holeShape?: "circle" | undefined;
|
|
12264
12280
|
padShape?: "rect" | undefined;
|
|
@@ -12270,6 +12286,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12270
12286
|
pcbX?: string | number | undefined;
|
|
12271
12287
|
pcbY?: string | number | undefined;
|
|
12272
12288
|
name?: string | undefined;
|
|
12289
|
+
connectsTo?: string | string[] | undefined;
|
|
12273
12290
|
portHints?: (string | number)[] | undefined;
|
|
12274
12291
|
holeShape?: "circle" | undefined;
|
|
12275
12292
|
padShape?: "rect" | undefined;
|
|
@@ -12288,6 +12305,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12288
12305
|
}>>;
|
|
12289
12306
|
}, "pcbRotation" | "layer">, {
|
|
12290
12307
|
name: z.ZodOptional<z.ZodString>;
|
|
12308
|
+
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
12291
12309
|
shape: z.ZodLiteral<"pill_hole_with_rect_pad">;
|
|
12292
12310
|
holeShape: z.ZodLiteral<"pill">;
|
|
12293
12311
|
padShape: z.ZodLiteral<"rect">;
|
|
@@ -12307,6 +12325,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12307
12325
|
pcbX?: number | undefined;
|
|
12308
12326
|
pcbY?: number | undefined;
|
|
12309
12327
|
name?: string | undefined;
|
|
12328
|
+
connectsTo?: string | string[] | undefined;
|
|
12310
12329
|
portHints?: (string | number)[] | undefined;
|
|
12311
12330
|
}, {
|
|
12312
12331
|
shape: "pill_hole_with_rect_pad";
|
|
@@ -12319,6 +12338,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12319
12338
|
pcbX?: string | number | undefined;
|
|
12320
12339
|
pcbY?: string | number | undefined;
|
|
12321
12340
|
name?: string | undefined;
|
|
12341
|
+
connectsTo?: string | string[] | undefined;
|
|
12322
12342
|
portHints?: (string | number)[] | undefined;
|
|
12323
12343
|
}>]>, {
|
|
12324
12344
|
shape: "circle";
|
|
@@ -12327,6 +12347,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12327
12347
|
pcbX?: number | undefined;
|
|
12328
12348
|
pcbY?: number | undefined;
|
|
12329
12349
|
name?: string | undefined;
|
|
12350
|
+
connectsTo?: string | string[] | undefined;
|
|
12330
12351
|
portHints?: (string | number)[] | undefined;
|
|
12331
12352
|
} | {
|
|
12332
12353
|
shape: "oval";
|
|
@@ -12335,6 +12356,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12335
12356
|
pcbX?: number | undefined;
|
|
12336
12357
|
pcbY?: number | undefined;
|
|
12337
12358
|
name?: string | undefined;
|
|
12359
|
+
connectsTo?: string | string[] | undefined;
|
|
12338
12360
|
portHints?: (string | number)[] | undefined;
|
|
12339
12361
|
holeWidth?: number | undefined;
|
|
12340
12362
|
holeHeight?: number | undefined;
|
|
@@ -12347,6 +12369,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12347
12369
|
pcbX?: number | undefined;
|
|
12348
12370
|
pcbY?: number | undefined;
|
|
12349
12371
|
name?: string | undefined;
|
|
12372
|
+
connectsTo?: string | string[] | undefined;
|
|
12350
12373
|
portHints?: (string | number)[] | undefined;
|
|
12351
12374
|
holeWidth?: number | undefined;
|
|
12352
12375
|
holeHeight?: number | undefined;
|
|
@@ -12360,6 +12383,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12360
12383
|
pcbX?: number | undefined;
|
|
12361
12384
|
pcbY?: number | undefined;
|
|
12362
12385
|
name?: string | undefined;
|
|
12386
|
+
connectsTo?: string | string[] | undefined;
|
|
12363
12387
|
portHints?: (string | number)[] | undefined;
|
|
12364
12388
|
holeShape?: "circle" | undefined;
|
|
12365
12389
|
padShape?: "rect" | undefined;
|
|
@@ -12374,6 +12398,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12374
12398
|
pcbX?: number | undefined;
|
|
12375
12399
|
pcbY?: number | undefined;
|
|
12376
12400
|
name?: string | undefined;
|
|
12401
|
+
connectsTo?: string | string[] | undefined;
|
|
12377
12402
|
portHints?: (string | number)[] | undefined;
|
|
12378
12403
|
}, {
|
|
12379
12404
|
shape: "circle";
|
|
@@ -12382,6 +12407,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12382
12407
|
pcbX?: string | number | undefined;
|
|
12383
12408
|
pcbY?: string | number | undefined;
|
|
12384
12409
|
name?: string | undefined;
|
|
12410
|
+
connectsTo?: string | string[] | undefined;
|
|
12385
12411
|
portHints?: (string | number)[] | undefined;
|
|
12386
12412
|
} | {
|
|
12387
12413
|
shape: "oval";
|
|
@@ -12392,6 +12418,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12392
12418
|
pcbX?: string | number | undefined;
|
|
12393
12419
|
pcbY?: string | number | undefined;
|
|
12394
12420
|
name?: string | undefined;
|
|
12421
|
+
connectsTo?: string | string[] | undefined;
|
|
12395
12422
|
portHints?: (string | number)[] | undefined;
|
|
12396
12423
|
innerWidth?: string | number | undefined;
|
|
12397
12424
|
innerHeight?: string | number | undefined;
|
|
@@ -12404,6 +12431,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12404
12431
|
pcbX?: string | number | undefined;
|
|
12405
12432
|
pcbY?: string | number | undefined;
|
|
12406
12433
|
name?: string | undefined;
|
|
12434
|
+
connectsTo?: string | string[] | undefined;
|
|
12407
12435
|
portHints?: (string | number)[] | undefined;
|
|
12408
12436
|
innerWidth?: string | number | undefined;
|
|
12409
12437
|
innerHeight?: string | number | undefined;
|
|
@@ -12415,6 +12443,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12415
12443
|
pcbX?: string | number | undefined;
|
|
12416
12444
|
pcbY?: string | number | undefined;
|
|
12417
12445
|
name?: string | undefined;
|
|
12446
|
+
connectsTo?: string | string[] | undefined;
|
|
12418
12447
|
portHints?: (string | number)[] | undefined;
|
|
12419
12448
|
holeShape?: "circle" | undefined;
|
|
12420
12449
|
padShape?: "rect" | undefined;
|
|
@@ -12429,6 +12458,7 @@ declare const platedHoleProps: z.ZodEffects<z.ZodDiscriminatedUnion<"shape", [z.
|
|
|
12429
12458
|
pcbX?: string | number | undefined;
|
|
12430
12459
|
pcbY?: string | number | undefined;
|
|
12431
12460
|
name?: string | undefined;
|
|
12461
|
+
connectsTo?: string | string[] | undefined;
|
|
12432
12462
|
portHints?: (string | number)[] | undefined;
|
|
12433
12463
|
}>;
|
|
12434
12464
|
|
|
@@ -15871,12 +15901,14 @@ declare const cutoutProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
15871
15901
|
type CutoutPropsInput = z.input<typeof cutoutProps>;
|
|
15872
15902
|
|
|
15873
15903
|
interface RectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
15904
|
+
name?: string;
|
|
15874
15905
|
shape: "rect";
|
|
15875
15906
|
width: Distance;
|
|
15876
15907
|
height: Distance;
|
|
15877
15908
|
portHints?: PortHints;
|
|
15878
15909
|
}
|
|
15879
15910
|
interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
15911
|
+
name?: string;
|
|
15880
15912
|
shape: "rotated_rect";
|
|
15881
15913
|
width: Distance;
|
|
15882
15914
|
height: Distance;
|
|
@@ -15884,11 +15916,13 @@ interface RotatedRectSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
15884
15916
|
portHints?: PortHints;
|
|
15885
15917
|
}
|
|
15886
15918
|
interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
15919
|
+
name?: string;
|
|
15887
15920
|
shape: "circle";
|
|
15888
15921
|
radius: Distance;
|
|
15889
15922
|
portHints?: PortHints;
|
|
15890
15923
|
}
|
|
15891
15924
|
interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
15925
|
+
name?: string;
|
|
15892
15926
|
shape: "pill";
|
|
15893
15927
|
width: Distance;
|
|
15894
15928
|
height: Distance;
|
|
@@ -15896,6 +15930,7 @@ interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
15896
15930
|
portHints?: PortHints;
|
|
15897
15931
|
}
|
|
15898
15932
|
interface PolygonSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
15933
|
+
name?: string;
|
|
15899
15934
|
shape: "polygon";
|
|
15900
15935
|
points: Point[];
|
|
15901
15936
|
portHints?: PortHints;
|
|
@@ -15915,6 +15950,7 @@ declare const rectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
15915
15950
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15916
15951
|
}>>;
|
|
15917
15952
|
}, "pcbRotation">, {
|
|
15953
|
+
name: z.ZodOptional<z.ZodString>;
|
|
15918
15954
|
shape: z.ZodLiteral<"rect">;
|
|
15919
15955
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15920
15956
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15926,6 +15962,7 @@ declare const rectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
15926
15962
|
pcbX?: number | undefined;
|
|
15927
15963
|
pcbY?: number | undefined;
|
|
15928
15964
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
15965
|
+
name?: string | undefined;
|
|
15929
15966
|
portHints?: (string | number)[] | undefined;
|
|
15930
15967
|
}, {
|
|
15931
15968
|
shape: "rect";
|
|
@@ -15936,6 +15973,7 @@ declare const rectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
15936
15973
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
15937
15974
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15938
15975
|
} | undefined;
|
|
15976
|
+
name?: string | undefined;
|
|
15939
15977
|
portHints?: (string | number)[] | undefined;
|
|
15940
15978
|
}>;
|
|
15941
15979
|
declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -15952,6 +15990,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
15952
15990
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15953
15991
|
}>>;
|
|
15954
15992
|
}, "pcbRotation">, {
|
|
15993
|
+
name: z.ZodOptional<z.ZodString>;
|
|
15955
15994
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
15956
15995
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15957
15996
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -15965,6 +16004,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
15965
16004
|
pcbX?: number | undefined;
|
|
15966
16005
|
pcbY?: number | undefined;
|
|
15967
16006
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16007
|
+
name?: string | undefined;
|
|
15968
16008
|
portHints?: (string | number)[] | undefined;
|
|
15969
16009
|
}, {
|
|
15970
16010
|
shape: "rotated_rect";
|
|
@@ -15976,6 +16016,7 @@ declare const rotatedRectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<
|
|
|
15976
16016
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
15977
16017
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15978
16018
|
} | undefined;
|
|
16019
|
+
name?: string | undefined;
|
|
15979
16020
|
portHints?: (string | number)[] | undefined;
|
|
15980
16021
|
}>;
|
|
15981
16022
|
declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -15992,6 +16033,7 @@ declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
15992
16033
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
15993
16034
|
}>>;
|
|
15994
16035
|
}, "pcbRotation">, {
|
|
16036
|
+
name: z.ZodOptional<z.ZodString>;
|
|
15995
16037
|
shape: z.ZodLiteral<"circle">;
|
|
15996
16038
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
15997
16039
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
@@ -16001,6 +16043,7 @@ declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16001
16043
|
pcbX?: number | undefined;
|
|
16002
16044
|
pcbY?: number | undefined;
|
|
16003
16045
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16046
|
+
name?: string | undefined;
|
|
16004
16047
|
portHints?: (string | number)[] | undefined;
|
|
16005
16048
|
}, {
|
|
16006
16049
|
shape: "circle";
|
|
@@ -16010,6 +16053,7 @@ declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16010
16053
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16011
16054
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16012
16055
|
} | undefined;
|
|
16056
|
+
name?: string | undefined;
|
|
16013
16057
|
portHints?: (string | number)[] | undefined;
|
|
16014
16058
|
}>;
|
|
16015
16059
|
declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -16026,6 +16070,7 @@ declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16026
16070
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16027
16071
|
}>>;
|
|
16028
16072
|
}, "pcbRotation">, {
|
|
16073
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16029
16074
|
shape: z.ZodLiteral<"pill">;
|
|
16030
16075
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16031
16076
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16039,6 +16084,7 @@ declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16039
16084
|
pcbX?: number | undefined;
|
|
16040
16085
|
pcbY?: number | undefined;
|
|
16041
16086
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16087
|
+
name?: string | undefined;
|
|
16042
16088
|
portHints?: (string | number)[] | undefined;
|
|
16043
16089
|
}, {
|
|
16044
16090
|
shape: "pill";
|
|
@@ -16050,6 +16096,7 @@ declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16050
16096
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16051
16097
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16052
16098
|
} | undefined;
|
|
16099
|
+
name?: string | undefined;
|
|
16053
16100
|
portHints?: (string | number)[] | undefined;
|
|
16054
16101
|
}>;
|
|
16055
16102
|
declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -16066,6 +16113,7 @@ declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16066
16113
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16067
16114
|
}>>;
|
|
16068
16115
|
}, "pcbRotation">, {
|
|
16116
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16069
16117
|
shape: z.ZodLiteral<"polygon">;
|
|
16070
16118
|
points: z.ZodArray<z.ZodObject<{
|
|
16071
16119
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16087,6 +16135,7 @@ declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16087
16135
|
pcbX?: number | undefined;
|
|
16088
16136
|
pcbY?: number | undefined;
|
|
16089
16137
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16138
|
+
name?: string | undefined;
|
|
16090
16139
|
portHints?: (string | number)[] | undefined;
|
|
16091
16140
|
}, {
|
|
16092
16141
|
shape: "polygon";
|
|
@@ -16099,6 +16148,7 @@ declare const polygonSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
16099
16148
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16100
16149
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16101
16150
|
} | undefined;
|
|
16151
|
+
name?: string | undefined;
|
|
16102
16152
|
portHints?: (string | number)[] | undefined;
|
|
16103
16153
|
}>;
|
|
16104
16154
|
declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
@@ -16115,6 +16165,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16115
16165
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16116
16166
|
}>>;
|
|
16117
16167
|
}, "pcbRotation">, {
|
|
16168
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16118
16169
|
shape: z.ZodLiteral<"circle">;
|
|
16119
16170
|
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16120
16171
|
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
@@ -16124,6 +16175,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16124
16175
|
pcbX?: number | undefined;
|
|
16125
16176
|
pcbY?: number | undefined;
|
|
16126
16177
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16178
|
+
name?: string | undefined;
|
|
16127
16179
|
portHints?: (string | number)[] | undefined;
|
|
16128
16180
|
}, {
|
|
16129
16181
|
shape: "circle";
|
|
@@ -16133,6 +16185,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16133
16185
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16134
16186
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16135
16187
|
} | undefined;
|
|
16188
|
+
name?: string | undefined;
|
|
16136
16189
|
portHints?: (string | number)[] | undefined;
|
|
16137
16190
|
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
16138
16191
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -16148,6 +16201,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16148
16201
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16149
16202
|
}>>;
|
|
16150
16203
|
}, "pcbRotation">, {
|
|
16204
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16151
16205
|
shape: z.ZodLiteral<"rect">;
|
|
16152
16206
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16153
16207
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16159,6 +16213,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16159
16213
|
pcbX?: number | undefined;
|
|
16160
16214
|
pcbY?: number | undefined;
|
|
16161
16215
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16216
|
+
name?: string | undefined;
|
|
16162
16217
|
portHints?: (string | number)[] | undefined;
|
|
16163
16218
|
}, {
|
|
16164
16219
|
shape: "rect";
|
|
@@ -16169,6 +16224,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16169
16224
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16170
16225
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16171
16226
|
} | undefined;
|
|
16227
|
+
name?: string | undefined;
|
|
16172
16228
|
portHints?: (string | number)[] | undefined;
|
|
16173
16229
|
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
16174
16230
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -16184,6 +16240,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16184
16240
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16185
16241
|
}>>;
|
|
16186
16242
|
}, "pcbRotation">, {
|
|
16243
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16187
16244
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
16188
16245
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16189
16246
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16197,6 +16254,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16197
16254
|
pcbX?: number | undefined;
|
|
16198
16255
|
pcbY?: number | undefined;
|
|
16199
16256
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16257
|
+
name?: string | undefined;
|
|
16200
16258
|
portHints?: (string | number)[] | undefined;
|
|
16201
16259
|
}, {
|
|
16202
16260
|
shape: "rotated_rect";
|
|
@@ -16208,6 +16266,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16208
16266
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16209
16267
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16210
16268
|
} | undefined;
|
|
16269
|
+
name?: string | undefined;
|
|
16211
16270
|
portHints?: (string | number)[] | undefined;
|
|
16212
16271
|
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
16213
16272
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -16223,6 +16282,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16223
16282
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16224
16283
|
}>>;
|
|
16225
16284
|
}, "pcbRotation">, {
|
|
16285
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16226
16286
|
shape: z.ZodLiteral<"pill">;
|
|
16227
16287
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16228
16288
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16236,6 +16296,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16236
16296
|
pcbX?: number | undefined;
|
|
16237
16297
|
pcbY?: number | undefined;
|
|
16238
16298
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16299
|
+
name?: string | undefined;
|
|
16239
16300
|
portHints?: (string | number)[] | undefined;
|
|
16240
16301
|
}, {
|
|
16241
16302
|
shape: "pill";
|
|
@@ -16247,6 +16308,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16247
16308
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16248
16309
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16249
16310
|
} | undefined;
|
|
16311
|
+
name?: string | undefined;
|
|
16250
16312
|
portHints?: (string | number)[] | undefined;
|
|
16251
16313
|
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
16252
16314
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -16262,6 +16324,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16262
16324
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16263
16325
|
}>>;
|
|
16264
16326
|
}, "pcbRotation">, {
|
|
16327
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16265
16328
|
shape: z.ZodLiteral<"polygon">;
|
|
16266
16329
|
points: z.ZodArray<z.ZodObject<{
|
|
16267
16330
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -16283,6 +16346,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16283
16346
|
pcbX?: number | undefined;
|
|
16284
16347
|
pcbY?: number | undefined;
|
|
16285
16348
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
16349
|
+
name?: string | undefined;
|
|
16286
16350
|
portHints?: (string | number)[] | undefined;
|
|
16287
16351
|
}, {
|
|
16288
16352
|
shape: "polygon";
|
|
@@ -16295,6 +16359,7 @@ declare const smtPadProps: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objec
|
|
|
16295
16359
|
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
16296
16360
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
16297
16361
|
} | undefined;
|
|
16362
|
+
name?: string | undefined;
|
|
16298
16363
|
portHints?: (string | number)[] | undefined;
|
|
16299
16364
|
}>]>;
|
|
16300
16365
|
type InferredSmtPadProps = z.input<typeof smtPadProps>;
|
|
@@ -17899,18 +17964,18 @@ declare const netLabelProps: z.ZodObject<{
|
|
|
17899
17964
|
schX?: number | undefined;
|
|
17900
17965
|
schY?: number | undefined;
|
|
17901
17966
|
schRotation?: number | undefined;
|
|
17967
|
+
connectsTo?: string | string[] | undefined;
|
|
17902
17968
|
net?: string | undefined;
|
|
17903
17969
|
connection?: string | undefined;
|
|
17904
17970
|
anchorSide?: "left" | "right" | "top" | "bottom" | undefined;
|
|
17905
|
-
connectsTo?: string | string[] | undefined;
|
|
17906
17971
|
}, {
|
|
17907
17972
|
schX?: string | number | undefined;
|
|
17908
17973
|
schY?: string | number | undefined;
|
|
17909
17974
|
schRotation?: string | number | undefined;
|
|
17975
|
+
connectsTo?: string | string[] | undefined;
|
|
17910
17976
|
net?: string | undefined;
|
|
17911
17977
|
connection?: string | undefined;
|
|
17912
17978
|
anchorSide?: "left" | "right" | "top" | "bottom" | undefined;
|
|
17913
|
-
connectsTo?: string | string[] | undefined;
|
|
17914
17979
|
}>;
|
|
17915
17980
|
|
|
17916
17981
|
type PushButtonProps<T extends PinLabelsProp | string = string> = ChipProps<T>;
|
|
@@ -22563,6 +22628,14 @@ declare const pcbTraceProps: z.ZodObject<{
|
|
|
22563
22628
|
}>;
|
|
22564
22629
|
type PcbTraceProps = z.input<typeof pcbTraceProps>;
|
|
22565
22630
|
|
|
22631
|
+
interface ViaProps extends CommonLayoutProps {
|
|
22632
|
+
name?: string;
|
|
22633
|
+
fromLayer: LayerRefInput;
|
|
22634
|
+
toLayer: LayerRefInput;
|
|
22635
|
+
holeDiameter: number | string;
|
|
22636
|
+
outerDiameter: number | string;
|
|
22637
|
+
connectsTo?: string | string[];
|
|
22638
|
+
}
|
|
22566
22639
|
declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
22567
22640
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
22568
22641
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -22581,6 +22654,7 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
22581
22654
|
}>>;
|
|
22582
22655
|
footprint: z.ZodOptional<z.ZodType<FootprintProp, z.ZodTypeDef, FootprintProp>>;
|
|
22583
22656
|
}, {
|
|
22657
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22584
22658
|
fromLayer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
22585
22659
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
22586
22660
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -22601,6 +22675,7 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
22601
22675
|
}>;
|
|
22602
22676
|
holeDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22603
22677
|
outerDiameter: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
22678
|
+
connectsTo: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
|
22604
22679
|
}>, "strip", z.ZodTypeAny, {
|
|
22605
22680
|
holeDiameter: number;
|
|
22606
22681
|
outerDiameter: number;
|
|
@@ -22614,6 +22689,8 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
22614
22689
|
schY?: number | undefined;
|
|
22615
22690
|
schRotation?: number | undefined;
|
|
22616
22691
|
footprint?: FootprintProp | undefined;
|
|
22692
|
+
name?: string | undefined;
|
|
22693
|
+
connectsTo?: string | string[] | undefined;
|
|
22617
22694
|
}, {
|
|
22618
22695
|
holeDiameter: string | number;
|
|
22619
22696
|
outerDiameter: string | number;
|
|
@@ -22633,8 +22710,10 @@ declare const viaProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
22633
22710
|
schY?: string | number | undefined;
|
|
22634
22711
|
schRotation?: string | number | undefined;
|
|
22635
22712
|
footprint?: FootprintProp | undefined;
|
|
22713
|
+
name?: string | undefined;
|
|
22714
|
+
connectsTo?: string | string[] | undefined;
|
|
22636
22715
|
}>;
|
|
22637
|
-
type
|
|
22716
|
+
type InferredViaProps = z.input<typeof viaProps>;
|
|
22638
22717
|
|
|
22639
22718
|
interface TestpointProps extends CommonComponentProps {
|
|
22640
22719
|
/**
|
|
@@ -24430,4 +24509,4 @@ declare const platformConfig: z.ZodType<PlatformConfig>;
|
|
|
24430
24509
|
|
|
24431
24510
|
declare const ninePointAnchor: z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>;
|
|
24432
24511
|
|
|
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 };
|
|
24512
|
+
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 };
|