@tscircuit/props 0.0.188 → 0.0.190

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -8204,6 +8204,440 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
8204
8204
  pinCount?: 2 | 3 | undefined;
8205
8205
  }>;
8206
8206
 
8207
+ /**
8208
+ * Pin labels for fuse component
8209
+ */
8210
+ declare const fusePinLabels: readonly ["pin1", "pin2"];
8211
+ type FusePinLabels = (typeof fusePinLabels)[number];
8212
+ interface FuseProps extends CommonComponentProps {
8213
+ /**
8214
+ * Current rating of the fuse in amperes
8215
+ */
8216
+ currentRating: number | string;
8217
+ /**
8218
+ * Voltage rating of the fuse
8219
+ */
8220
+ voltageRating?: number | string;
8221
+ /**
8222
+ * Whether to show ratings on schematic
8223
+ */
8224
+ schShowRatings?: boolean;
8225
+ /**
8226
+ * Connections to other components
8227
+ */
8228
+ connections?: Connections<FusePinLabels>;
8229
+ }
8230
+ /**
8231
+ * Schema for validating fuse props
8232
+ */
8233
+ declare const fuseProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8234
+ pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8235
+ pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8236
+ pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8237
+ schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8238
+ schY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8239
+ schRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
8240
+ layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
8241
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
8242
+ }, "strip", z.ZodTypeAny, {
8243
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8244
+ }, {
8245
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8246
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
8247
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8248
+ }>>;
8249
+ footprint: z.ZodOptional<z.ZodType<Footprint, z.ZodTypeDef, Footprint>>;
8250
+ }, {
8251
+ supplierPartNumbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
8252
+ }>, {
8253
+ key: z.ZodOptional<z.ZodAny>;
8254
+ name: z.ZodString;
8255
+ cadModel: z.ZodOptional<z.ZodUnion<[z.ZodNull, z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
8256
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
8257
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8258
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8259
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8260
+ }, "strip", z.ZodTypeAny, {
8261
+ x: string | number;
8262
+ y: string | number;
8263
+ z: string | number;
8264
+ }, {
8265
+ x: string | number;
8266
+ y: string | number;
8267
+ z: string | number;
8268
+ }>]>>;
8269
+ positionOffset: z.ZodOptional<z.ZodObject<{
8270
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8271
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8272
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8273
+ }, "strip", z.ZodTypeAny, {
8274
+ x: number;
8275
+ y: number;
8276
+ z: number;
8277
+ }, {
8278
+ x: string | number;
8279
+ y: string | number;
8280
+ z: string | number;
8281
+ }>>;
8282
+ size: z.ZodOptional<z.ZodObject<{
8283
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8284
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8285
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8286
+ }, "strip", z.ZodTypeAny, {
8287
+ x: number;
8288
+ y: number;
8289
+ z: number;
8290
+ }, {
8291
+ x: string | number;
8292
+ y: string | number;
8293
+ z: string | number;
8294
+ }>>;
8295
+ }, {
8296
+ stlUrl: z.ZodString;
8297
+ }>, "strip", z.ZodTypeAny, {
8298
+ stlUrl: string;
8299
+ rotationOffset?: number | {
8300
+ x: string | number;
8301
+ y: string | number;
8302
+ z: string | number;
8303
+ } | undefined;
8304
+ positionOffset?: {
8305
+ x: number;
8306
+ y: number;
8307
+ z: number;
8308
+ } | undefined;
8309
+ size?: {
8310
+ x: number;
8311
+ y: number;
8312
+ z: number;
8313
+ } | undefined;
8314
+ }, {
8315
+ stlUrl: string;
8316
+ rotationOffset?: number | {
8317
+ x: string | number;
8318
+ y: string | number;
8319
+ z: string | number;
8320
+ } | undefined;
8321
+ positionOffset?: {
8322
+ x: string | number;
8323
+ y: string | number;
8324
+ z: string | number;
8325
+ } | undefined;
8326
+ size?: {
8327
+ x: string | number;
8328
+ y: string | number;
8329
+ z: string | number;
8330
+ } | undefined;
8331
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8332
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
8333
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8334
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8335
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8336
+ }, "strip", z.ZodTypeAny, {
8337
+ x: string | number;
8338
+ y: string | number;
8339
+ z: string | number;
8340
+ }, {
8341
+ x: string | number;
8342
+ y: string | number;
8343
+ z: string | number;
8344
+ }>]>>;
8345
+ positionOffset: z.ZodOptional<z.ZodObject<{
8346
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8347
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8348
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8349
+ }, "strip", z.ZodTypeAny, {
8350
+ x: number;
8351
+ y: number;
8352
+ z: number;
8353
+ }, {
8354
+ x: string | number;
8355
+ y: string | number;
8356
+ z: string | number;
8357
+ }>>;
8358
+ size: z.ZodOptional<z.ZodObject<{
8359
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8360
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8361
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8362
+ }, "strip", z.ZodTypeAny, {
8363
+ x: number;
8364
+ y: number;
8365
+ z: number;
8366
+ }, {
8367
+ x: string | number;
8368
+ y: string | number;
8369
+ z: string | number;
8370
+ }>>;
8371
+ }, {
8372
+ objUrl: z.ZodString;
8373
+ mtlUrl: z.ZodOptional<z.ZodString>;
8374
+ }>, "strip", z.ZodTypeAny, {
8375
+ objUrl: string;
8376
+ rotationOffset?: number | {
8377
+ x: string | number;
8378
+ y: string | number;
8379
+ z: string | number;
8380
+ } | undefined;
8381
+ positionOffset?: {
8382
+ x: number;
8383
+ y: number;
8384
+ z: number;
8385
+ } | undefined;
8386
+ size?: {
8387
+ x: number;
8388
+ y: number;
8389
+ z: number;
8390
+ } | undefined;
8391
+ mtlUrl?: string | undefined;
8392
+ }, {
8393
+ objUrl: string;
8394
+ rotationOffset?: number | {
8395
+ x: string | number;
8396
+ y: string | number;
8397
+ z: string | number;
8398
+ } | undefined;
8399
+ positionOffset?: {
8400
+ x: string | number;
8401
+ y: string | number;
8402
+ z: string | number;
8403
+ } | undefined;
8404
+ size?: {
8405
+ x: string | number;
8406
+ y: string | number;
8407
+ z: string | number;
8408
+ } | undefined;
8409
+ mtlUrl?: string | undefined;
8410
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8411
+ rotationOffset: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodObject<{
8412
+ x: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8413
+ y: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8414
+ z: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8415
+ }, "strip", z.ZodTypeAny, {
8416
+ x: string | number;
8417
+ y: string | number;
8418
+ z: string | number;
8419
+ }, {
8420
+ x: string | number;
8421
+ y: string | number;
8422
+ z: string | number;
8423
+ }>]>>;
8424
+ positionOffset: z.ZodOptional<z.ZodObject<{
8425
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8426
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8427
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8428
+ }, "strip", z.ZodTypeAny, {
8429
+ x: number;
8430
+ y: number;
8431
+ z: number;
8432
+ }, {
8433
+ x: string | number;
8434
+ y: string | number;
8435
+ z: string | number;
8436
+ }>>;
8437
+ size: z.ZodOptional<z.ZodObject<{
8438
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8439
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8440
+ z: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8441
+ }, "strip", z.ZodTypeAny, {
8442
+ x: number;
8443
+ y: number;
8444
+ z: number;
8445
+ }, {
8446
+ x: string | number;
8447
+ y: string | number;
8448
+ z: string | number;
8449
+ }>>;
8450
+ }, {
8451
+ jscad: z.ZodRecord<z.ZodString, z.ZodAny>;
8452
+ }>, "strip", z.ZodTypeAny, {
8453
+ jscad: Record<string, any>;
8454
+ rotationOffset?: number | {
8455
+ x: string | number;
8456
+ y: string | number;
8457
+ z: string | number;
8458
+ } | undefined;
8459
+ positionOffset?: {
8460
+ x: number;
8461
+ y: number;
8462
+ z: number;
8463
+ } | undefined;
8464
+ size?: {
8465
+ x: number;
8466
+ y: number;
8467
+ z: number;
8468
+ } | undefined;
8469
+ }, {
8470
+ jscad: Record<string, any>;
8471
+ rotationOffset?: number | {
8472
+ x: string | number;
8473
+ y: string | number;
8474
+ z: string | number;
8475
+ } | undefined;
8476
+ positionOffset?: {
8477
+ x: string | number;
8478
+ y: string | number;
8479
+ z: string | number;
8480
+ } | undefined;
8481
+ size?: {
8482
+ x: string | number;
8483
+ y: string | number;
8484
+ z: string | number;
8485
+ } | undefined;
8486
+ }>]>>;
8487
+ children: z.ZodOptional<z.ZodAny>;
8488
+ symbolName: z.ZodOptional<z.ZodString>;
8489
+ }>, {
8490
+ currentRating: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
8491
+ voltageRating: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodString]>>;
8492
+ schShowRatings: z.ZodOptional<z.ZodBoolean>;
8493
+ connections: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>, z.ZodArray<z.ZodString, "many">]>>>;
8494
+ }>, "strip", z.ZodTypeAny, {
8495
+ name: string;
8496
+ currentRating: string | number;
8497
+ pcbX?: number | undefined;
8498
+ pcbY?: number | undefined;
8499
+ pcbRotation?: number | undefined;
8500
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
8501
+ schX?: number | undefined;
8502
+ schY?: number | undefined;
8503
+ schRotation?: number | undefined;
8504
+ footprint?: Footprint | undefined;
8505
+ supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8506
+ key?: any;
8507
+ cadModel?: string | {
8508
+ stlUrl: string;
8509
+ rotationOffset?: number | {
8510
+ x: string | number;
8511
+ y: string | number;
8512
+ z: string | number;
8513
+ } | undefined;
8514
+ positionOffset?: {
8515
+ x: number;
8516
+ y: number;
8517
+ z: number;
8518
+ } | undefined;
8519
+ size?: {
8520
+ x: number;
8521
+ y: number;
8522
+ z: number;
8523
+ } | undefined;
8524
+ } | {
8525
+ objUrl: string;
8526
+ rotationOffset?: number | {
8527
+ x: string | number;
8528
+ y: string | number;
8529
+ z: string | number;
8530
+ } | undefined;
8531
+ positionOffset?: {
8532
+ x: number;
8533
+ y: number;
8534
+ z: number;
8535
+ } | undefined;
8536
+ size?: {
8537
+ x: number;
8538
+ y: number;
8539
+ z: number;
8540
+ } | undefined;
8541
+ mtlUrl?: string | undefined;
8542
+ } | {
8543
+ jscad: Record<string, any>;
8544
+ rotationOffset?: number | {
8545
+ x: string | number;
8546
+ y: string | number;
8547
+ z: string | number;
8548
+ } | undefined;
8549
+ positionOffset?: {
8550
+ x: number;
8551
+ y: number;
8552
+ z: number;
8553
+ } | undefined;
8554
+ size?: {
8555
+ x: number;
8556
+ y: number;
8557
+ z: number;
8558
+ } | undefined;
8559
+ } | null | undefined;
8560
+ children?: any;
8561
+ symbolName?: string | undefined;
8562
+ connections?: Record<string, string | readonly string[] | string[]> | undefined;
8563
+ voltageRating?: string | number | undefined;
8564
+ schShowRatings?: boolean | undefined;
8565
+ }, {
8566
+ name: string;
8567
+ currentRating: string | number;
8568
+ pcbX?: string | number | undefined;
8569
+ pcbY?: string | number | undefined;
8570
+ pcbRotation?: string | number | undefined;
8571
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
8572
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
8573
+ } | undefined;
8574
+ schX?: string | number | undefined;
8575
+ schY?: string | number | undefined;
8576
+ schRotation?: string | number | undefined;
8577
+ footprint?: Footprint | undefined;
8578
+ supplierPartNumbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
8579
+ key?: any;
8580
+ cadModel?: string | {
8581
+ stlUrl: string;
8582
+ rotationOffset?: number | {
8583
+ x: string | number;
8584
+ y: string | number;
8585
+ z: string | number;
8586
+ } | undefined;
8587
+ positionOffset?: {
8588
+ x: string | number;
8589
+ y: string | number;
8590
+ z: string | number;
8591
+ } | undefined;
8592
+ size?: {
8593
+ x: string | number;
8594
+ y: string | number;
8595
+ z: string | number;
8596
+ } | undefined;
8597
+ } | {
8598
+ objUrl: string;
8599
+ rotationOffset?: number | {
8600
+ x: string | number;
8601
+ y: string | number;
8602
+ z: string | number;
8603
+ } | undefined;
8604
+ positionOffset?: {
8605
+ x: string | number;
8606
+ y: string | number;
8607
+ z: string | number;
8608
+ } | undefined;
8609
+ size?: {
8610
+ x: string | number;
8611
+ y: string | number;
8612
+ z: string | number;
8613
+ } | undefined;
8614
+ mtlUrl?: string | undefined;
8615
+ } | {
8616
+ jscad: Record<string, any>;
8617
+ rotationOffset?: number | {
8618
+ x: string | number;
8619
+ y: string | number;
8620
+ z: string | number;
8621
+ } | undefined;
8622
+ positionOffset?: {
8623
+ x: string | number;
8624
+ y: string | number;
8625
+ z: string | number;
8626
+ } | undefined;
8627
+ size?: {
8628
+ x: string | number;
8629
+ y: string | number;
8630
+ z: string | number;
8631
+ } | undefined;
8632
+ } | null | undefined;
8633
+ children?: any;
8634
+ symbolName?: string | undefined;
8635
+ connections?: Record<string, string | readonly string[] | string[]> | undefined;
8636
+ voltageRating?: string | number | undefined;
8637
+ schShowRatings?: boolean | undefined;
8638
+ }>;
8639
+ type InferredFuseProps = z.input<typeof fuseProps>;
8640
+
8207
8641
  interface CirclePlatedHoleProps extends Omit<PcbLayoutProps, "pcbRotation" | "layer"> {
8208
8642
  name?: string;
8209
8643
  shape: "circle";
@@ -11206,8 +11640,8 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
11206
11640
  connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pos", "neg", "anode", "cathode"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
11207
11641
  }>, "strip", z.ZodTypeAny, {
11208
11642
  name: string;
11209
- capacitance: number;
11210
11643
  schShowRatings: boolean;
11644
+ capacitance: number;
11211
11645
  polarized: boolean;
11212
11646
  pcbX?: number | undefined;
11213
11647
  pcbY?: number | undefined;
@@ -11352,8 +11786,8 @@ declare const capacitorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
11352
11786
  children?: any;
11353
11787
  symbolName?: string | undefined;
11354
11788
  connections?: Partial<Record<"pin1" | "pin2" | "anode" | "pos" | "cathode" | "neg", string | readonly string[] | string[]>> | undefined;
11355
- maxVoltageRating?: string | number | undefined;
11356
11789
  schShowRatings?: boolean | undefined;
11790
+ maxVoltageRating?: string | number | undefined;
11357
11791
  polarized?: boolean | undefined;
11358
11792
  decouplingFor?: string | undefined;
11359
11793
  decouplingTo?: string | undefined;
@@ -13023,6 +13457,10 @@ interface PinHeaderProps extends CommonComponentProps {
13023
13457
  * Direction the header is facing
13024
13458
  */
13025
13459
  facingDirection?: "left" | "right";
13460
+ /**
13461
+ * Pin arrangement in schematic view
13462
+ */
13463
+ schPinArrangement?: SchematicPinArrangement;
13026
13464
  }
13027
13465
  declare const pinHeaderProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
13028
13466
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -13291,6 +13729,106 @@ declare const pinHeaderProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
13291
13729
  platedDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
13292
13730
  pinLabels: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13293
13731
  facingDirection: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
13732
+ schPinArrangement: z.ZodOptional<z.ZodObject<{
13733
+ leftSize: z.ZodOptional<z.ZodNumber>;
13734
+ topSize: z.ZodOptional<z.ZodNumber>;
13735
+ rightSize: z.ZodOptional<z.ZodNumber>;
13736
+ bottomSize: z.ZodOptional<z.ZodNumber>;
13737
+ leftPinCount: z.ZodOptional<z.ZodNumber>;
13738
+ rightPinCount: z.ZodOptional<z.ZodNumber>;
13739
+ topPinCount: z.ZodOptional<z.ZodNumber>;
13740
+ bottomPinCount: z.ZodOptional<z.ZodNumber>;
13741
+ leftSide: z.ZodOptional<z.ZodObject<{
13742
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
13743
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
13744
+ }, "strip", z.ZodTypeAny, {
13745
+ pins: (string | number)[];
13746
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13747
+ }, {
13748
+ pins: (string | number)[];
13749
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13750
+ }>>;
13751
+ rightSide: z.ZodOptional<z.ZodObject<{
13752
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
13753
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
13754
+ }, "strip", z.ZodTypeAny, {
13755
+ pins: (string | number)[];
13756
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13757
+ }, {
13758
+ pins: (string | number)[];
13759
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13760
+ }>>;
13761
+ topSide: z.ZodOptional<z.ZodObject<{
13762
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
13763
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
13764
+ }, "strip", z.ZodTypeAny, {
13765
+ pins: (string | number)[];
13766
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13767
+ }, {
13768
+ pins: (string | number)[];
13769
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13770
+ }>>;
13771
+ bottomSide: z.ZodOptional<z.ZodObject<{
13772
+ pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
13773
+ direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
13774
+ }, "strip", z.ZodTypeAny, {
13775
+ pins: (string | number)[];
13776
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13777
+ }, {
13778
+ pins: (string | number)[];
13779
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13780
+ }>>;
13781
+ }, "strip", z.ZodTypeAny, {
13782
+ leftSize?: number | undefined;
13783
+ topSize?: number | undefined;
13784
+ rightSize?: number | undefined;
13785
+ bottomSize?: number | undefined;
13786
+ leftSide?: {
13787
+ pins: (string | number)[];
13788
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13789
+ } | undefined;
13790
+ topSide?: {
13791
+ pins: (string | number)[];
13792
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13793
+ } | undefined;
13794
+ rightSide?: {
13795
+ pins: (string | number)[];
13796
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13797
+ } | undefined;
13798
+ bottomSide?: {
13799
+ pins: (string | number)[];
13800
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13801
+ } | undefined;
13802
+ leftPinCount?: number | undefined;
13803
+ rightPinCount?: number | undefined;
13804
+ topPinCount?: number | undefined;
13805
+ bottomPinCount?: number | undefined;
13806
+ }, {
13807
+ leftSize?: number | undefined;
13808
+ topSize?: number | undefined;
13809
+ rightSize?: number | undefined;
13810
+ bottomSize?: number | undefined;
13811
+ leftSide?: {
13812
+ pins: (string | number)[];
13813
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13814
+ } | undefined;
13815
+ topSide?: {
13816
+ pins: (string | number)[];
13817
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13818
+ } | undefined;
13819
+ rightSide?: {
13820
+ pins: (string | number)[];
13821
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13822
+ } | undefined;
13823
+ bottomSide?: {
13824
+ pins: (string | number)[];
13825
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13826
+ } | undefined;
13827
+ leftPinCount?: number | undefined;
13828
+ rightPinCount?: number | undefined;
13829
+ topPinCount?: number | undefined;
13830
+ bottomPinCount?: number | undefined;
13831
+ }>>;
13294
13832
  }>, "strip", z.ZodTypeAny, {
13295
13833
  name: string;
13296
13834
  pinCount: number;
@@ -13361,6 +13899,32 @@ declare const pinHeaderProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
13361
13899
  children?: any;
13362
13900
  symbolName?: string | undefined;
13363
13901
  pinLabels?: string[] | undefined;
13902
+ schPinArrangement?: {
13903
+ leftSize?: number | undefined;
13904
+ topSize?: number | undefined;
13905
+ rightSize?: number | undefined;
13906
+ bottomSize?: number | undefined;
13907
+ leftSide?: {
13908
+ pins: (string | number)[];
13909
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13910
+ } | undefined;
13911
+ topSide?: {
13912
+ pins: (string | number)[];
13913
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13914
+ } | undefined;
13915
+ rightSide?: {
13916
+ pins: (string | number)[];
13917
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13918
+ } | undefined;
13919
+ bottomSide?: {
13920
+ pins: (string | number)[];
13921
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
13922
+ } | undefined;
13923
+ leftPinCount?: number | undefined;
13924
+ rightPinCount?: number | undefined;
13925
+ topPinCount?: number | undefined;
13926
+ bottomPinCount?: number | undefined;
13927
+ } | undefined;
13364
13928
  holeDiameter?: number | undefined;
13365
13929
  pitch?: number | undefined;
13366
13930
  schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
@@ -13439,6 +14003,32 @@ declare const pinHeaderProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.
13439
14003
  children?: any;
13440
14004
  symbolName?: string | undefined;
13441
14005
  pinLabels?: string[] | undefined;
14006
+ schPinArrangement?: {
14007
+ leftSize?: number | undefined;
14008
+ topSize?: number | undefined;
14009
+ rightSize?: number | undefined;
14010
+ bottomSize?: number | undefined;
14011
+ leftSide?: {
14012
+ pins: (string | number)[];
14013
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
14014
+ } | undefined;
14015
+ topSide?: {
14016
+ pins: (string | number)[];
14017
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
14018
+ } | undefined;
14019
+ rightSide?: {
14020
+ pins: (string | number)[];
14021
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
14022
+ } | undefined;
14023
+ bottomSide?: {
14024
+ pins: (string | number)[];
14025
+ direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
14026
+ } | undefined;
14027
+ leftPinCount?: number | undefined;
14028
+ rightPinCount?: number | undefined;
14029
+ topPinCount?: number | undefined;
14030
+ bottomPinCount?: number | undefined;
14031
+ } | undefined;
13442
14032
  holeDiameter?: string | number | undefined;
13443
14033
  pitch?: string | number | undefined;
13444
14034
  schFacingDirection?: "up" | "down" | "left" | "right" | undefined;
@@ -19071,4 +19661,4 @@ declare const platformConfig: z.ZodObject<{
19071
19661
  cloudAutorouterUrl?: string | undefined;
19072
19662
  }>;
19073
19663
 
19074
- 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 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 GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, 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 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, 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, 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, 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 };
19664
+ 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 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 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, 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, 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 };