@tscircuit/props 0.0.134 → 0.0.136
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 +523 -18
- package/dist/index.js +21 -5
- package/dist/index.js.map +1 -1
- package/lib/common/schematicPinDefinitions.ts +11 -0
- package/lib/components/chip.ts +9 -6
- package/lib/components/push-button.ts +15 -3
- package/lib/components/smtpad.ts +22 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1549,6 +1549,10 @@ interface SchematicPortArrangementWithSides {
|
|
|
1549
1549
|
}
|
|
1550
1550
|
interface SchematicPortArrangement extends SchematicPortArrangementWithSizes, SchematicPortArrangementWithSides, SchematicPortArrangementWithPinCounts {
|
|
1551
1551
|
}
|
|
1552
|
+
type SchematicPinArrangement = SchematicPortArrangement;
|
|
1553
|
+
type SchematicPinArrangementWithSizes = SchematicPortArrangementWithSizes;
|
|
1554
|
+
type SchematicPinArrangementWithSides = SchematicPortArrangementWithSides;
|
|
1555
|
+
type SchematicPinArrangementWithPinCounts = SchematicPortArrangementWithPinCounts;
|
|
1552
1556
|
declare const explicitPinSideDefinition: z.ZodObject<{
|
|
1553
1557
|
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1554
1558
|
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
@@ -1559,6 +1563,9 @@ declare const explicitPinSideDefinition: z.ZodObject<{
|
|
|
1559
1563
|
pins: (string | number)[];
|
|
1560
1564
|
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1561
1565
|
}>;
|
|
1566
|
+
/**
|
|
1567
|
+
* @deprecated Use schematicPinArrangement instead.
|
|
1568
|
+
*/
|
|
1562
1569
|
declare const schematicPortArrangement: z.ZodObject<{
|
|
1563
1570
|
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
1564
1571
|
topSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1659,6 +1666,106 @@ declare const schematicPortArrangement: z.ZodObject<{
|
|
|
1659
1666
|
topPinCount?: number | undefined;
|
|
1660
1667
|
bottomPinCount?: number | undefined;
|
|
1661
1668
|
}>;
|
|
1669
|
+
declare const schematicPinArrangement: z.ZodObject<{
|
|
1670
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
1671
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
1672
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
1673
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
1674
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1675
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1676
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1677
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
1678
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
1679
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1680
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1681
|
+
}, "strip", z.ZodTypeAny, {
|
|
1682
|
+
pins: (string | number)[];
|
|
1683
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1684
|
+
}, {
|
|
1685
|
+
pins: (string | number)[];
|
|
1686
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1687
|
+
}>>;
|
|
1688
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
1689
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1690
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1691
|
+
}, "strip", z.ZodTypeAny, {
|
|
1692
|
+
pins: (string | number)[];
|
|
1693
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1694
|
+
}, {
|
|
1695
|
+
pins: (string | number)[];
|
|
1696
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1697
|
+
}>>;
|
|
1698
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
1699
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1700
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1701
|
+
}, "strip", z.ZodTypeAny, {
|
|
1702
|
+
pins: (string | number)[];
|
|
1703
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1704
|
+
}, {
|
|
1705
|
+
pins: (string | number)[];
|
|
1706
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1707
|
+
}>>;
|
|
1708
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
1709
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
1710
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
1711
|
+
}, "strip", z.ZodTypeAny, {
|
|
1712
|
+
pins: (string | number)[];
|
|
1713
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1714
|
+
}, {
|
|
1715
|
+
pins: (string | number)[];
|
|
1716
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1717
|
+
}>>;
|
|
1718
|
+
}, "strip", z.ZodTypeAny, {
|
|
1719
|
+
leftSize?: number | undefined;
|
|
1720
|
+
topSize?: number | undefined;
|
|
1721
|
+
rightSize?: number | undefined;
|
|
1722
|
+
bottomSize?: number | undefined;
|
|
1723
|
+
leftSide?: {
|
|
1724
|
+
pins: (string | number)[];
|
|
1725
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1726
|
+
} | undefined;
|
|
1727
|
+
topSide?: {
|
|
1728
|
+
pins: (string | number)[];
|
|
1729
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1730
|
+
} | undefined;
|
|
1731
|
+
rightSide?: {
|
|
1732
|
+
pins: (string | number)[];
|
|
1733
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1734
|
+
} | undefined;
|
|
1735
|
+
bottomSide?: {
|
|
1736
|
+
pins: (string | number)[];
|
|
1737
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1738
|
+
} | undefined;
|
|
1739
|
+
leftPinCount?: number | undefined;
|
|
1740
|
+
rightPinCount?: number | undefined;
|
|
1741
|
+
topPinCount?: number | undefined;
|
|
1742
|
+
bottomPinCount?: number | undefined;
|
|
1743
|
+
}, {
|
|
1744
|
+
leftSize?: number | undefined;
|
|
1745
|
+
topSize?: number | undefined;
|
|
1746
|
+
rightSize?: number | undefined;
|
|
1747
|
+
bottomSize?: number | undefined;
|
|
1748
|
+
leftSide?: {
|
|
1749
|
+
pins: (string | number)[];
|
|
1750
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1751
|
+
} | undefined;
|
|
1752
|
+
topSide?: {
|
|
1753
|
+
pins: (string | number)[];
|
|
1754
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1755
|
+
} | undefined;
|
|
1756
|
+
rightSide?: {
|
|
1757
|
+
pins: (string | number)[];
|
|
1758
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1759
|
+
} | undefined;
|
|
1760
|
+
bottomSide?: {
|
|
1761
|
+
pins: (string | number)[];
|
|
1762
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
1763
|
+
} | undefined;
|
|
1764
|
+
leftPinCount?: number | undefined;
|
|
1765
|
+
rightPinCount?: number | undefined;
|
|
1766
|
+
topPinCount?: number | undefined;
|
|
1767
|
+
bottomPinCount?: number | undefined;
|
|
1768
|
+
}>;
|
|
1662
1769
|
|
|
1663
1770
|
type SchematicPinStyle = Record<string, {
|
|
1664
1771
|
leftMargin?: number | string;
|
|
@@ -3975,14 +4082,16 @@ declare const boardProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exte
|
|
|
3975
4082
|
interface ChipProps extends CommonComponentProps {
|
|
3976
4083
|
manufacturerPartNumber?: string;
|
|
3977
4084
|
pinLabels?: Record<number | string, string | readonly string[]>;
|
|
4085
|
+
schPinArrangement?: SchematicPortArrangement;
|
|
4086
|
+
/** @deprecated Use schPinArrangement instead. */
|
|
3978
4087
|
schPortArrangement?: SchematicPortArrangement;
|
|
3979
4088
|
schPinStyle?: SchematicPinStyle;
|
|
3980
4089
|
schPinSpacing?: Distance;
|
|
3981
4090
|
schWidth?: Distance;
|
|
3982
4091
|
schHeight?: Distance;
|
|
3983
4092
|
noSchematicRepresentation?: boolean;
|
|
3984
|
-
|
|
3985
|
-
|
|
4093
|
+
internallyConnectedPins?: string[][];
|
|
4094
|
+
externallyConnectedPins?: string[][];
|
|
3986
4095
|
}
|
|
3987
4096
|
type PinLabels = Record<number | string, string | readonly string[] | string[]>;
|
|
3988
4097
|
declare const pinLabelsProp: z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>;
|
|
@@ -4245,8 +4354,108 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
4245
4354
|
}>, {
|
|
4246
4355
|
manufacturerPartNumber: z.ZodOptional<z.ZodString>;
|
|
4247
4356
|
pinLabels: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>>>;
|
|
4248
|
-
|
|
4249
|
-
|
|
4357
|
+
internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
4358
|
+
externallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
4359
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
4360
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
4361
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
4362
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
4363
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
4364
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
4365
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
4366
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
4367
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
4368
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
4369
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
4370
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
4371
|
+
}, "strip", z.ZodTypeAny, {
|
|
4372
|
+
pins: (string | number)[];
|
|
4373
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4374
|
+
}, {
|
|
4375
|
+
pins: (string | number)[];
|
|
4376
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4377
|
+
}>>;
|
|
4378
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
4379
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
4380
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
4381
|
+
}, "strip", z.ZodTypeAny, {
|
|
4382
|
+
pins: (string | number)[];
|
|
4383
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4384
|
+
}, {
|
|
4385
|
+
pins: (string | number)[];
|
|
4386
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4387
|
+
}>>;
|
|
4388
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
4389
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
4390
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
4391
|
+
}, "strip", z.ZodTypeAny, {
|
|
4392
|
+
pins: (string | number)[];
|
|
4393
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4394
|
+
}, {
|
|
4395
|
+
pins: (string | number)[];
|
|
4396
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4397
|
+
}>>;
|
|
4398
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
4399
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
4400
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
4401
|
+
}, "strip", z.ZodTypeAny, {
|
|
4402
|
+
pins: (string | number)[];
|
|
4403
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4404
|
+
}, {
|
|
4405
|
+
pins: (string | number)[];
|
|
4406
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4407
|
+
}>>;
|
|
4408
|
+
}, "strip", z.ZodTypeAny, {
|
|
4409
|
+
leftSize?: number | undefined;
|
|
4410
|
+
topSize?: number | undefined;
|
|
4411
|
+
rightSize?: number | undefined;
|
|
4412
|
+
bottomSize?: number | undefined;
|
|
4413
|
+
leftSide?: {
|
|
4414
|
+
pins: (string | number)[];
|
|
4415
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4416
|
+
} | undefined;
|
|
4417
|
+
topSide?: {
|
|
4418
|
+
pins: (string | number)[];
|
|
4419
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4420
|
+
} | undefined;
|
|
4421
|
+
rightSide?: {
|
|
4422
|
+
pins: (string | number)[];
|
|
4423
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4424
|
+
} | undefined;
|
|
4425
|
+
bottomSide?: {
|
|
4426
|
+
pins: (string | number)[];
|
|
4427
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4428
|
+
} | undefined;
|
|
4429
|
+
leftPinCount?: number | undefined;
|
|
4430
|
+
rightPinCount?: number | undefined;
|
|
4431
|
+
topPinCount?: number | undefined;
|
|
4432
|
+
bottomPinCount?: number | undefined;
|
|
4433
|
+
}, {
|
|
4434
|
+
leftSize?: number | undefined;
|
|
4435
|
+
topSize?: number | undefined;
|
|
4436
|
+
rightSize?: number | undefined;
|
|
4437
|
+
bottomSize?: number | undefined;
|
|
4438
|
+
leftSide?: {
|
|
4439
|
+
pins: (string | number)[];
|
|
4440
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4441
|
+
} | undefined;
|
|
4442
|
+
topSide?: {
|
|
4443
|
+
pins: (string | number)[];
|
|
4444
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4445
|
+
} | undefined;
|
|
4446
|
+
rightSide?: {
|
|
4447
|
+
pins: (string | number)[];
|
|
4448
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4449
|
+
} | undefined;
|
|
4450
|
+
bottomSide?: {
|
|
4451
|
+
pins: (string | number)[];
|
|
4452
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4453
|
+
} | undefined;
|
|
4454
|
+
leftPinCount?: number | undefined;
|
|
4455
|
+
rightPinCount?: number | undefined;
|
|
4456
|
+
topPinCount?: number | undefined;
|
|
4457
|
+
bottomPinCount?: number | undefined;
|
|
4458
|
+
}>>;
|
|
4250
4459
|
schPortArrangement: z.ZodOptional<z.ZodObject<{
|
|
4251
4460
|
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
4252
4461
|
topSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -4436,8 +4645,34 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
4436
4645
|
symbolName?: string | undefined;
|
|
4437
4646
|
manufacturerPartNumber?: string | undefined;
|
|
4438
4647
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
4439
|
-
|
|
4440
|
-
|
|
4648
|
+
internallyConnectedPins?: string[][] | undefined;
|
|
4649
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
4650
|
+
schPinArrangement?: {
|
|
4651
|
+
leftSize?: number | undefined;
|
|
4652
|
+
topSize?: number | undefined;
|
|
4653
|
+
rightSize?: number | undefined;
|
|
4654
|
+
bottomSize?: number | undefined;
|
|
4655
|
+
leftSide?: {
|
|
4656
|
+
pins: (string | number)[];
|
|
4657
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4658
|
+
} | undefined;
|
|
4659
|
+
topSide?: {
|
|
4660
|
+
pins: (string | number)[];
|
|
4661
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4662
|
+
} | undefined;
|
|
4663
|
+
rightSide?: {
|
|
4664
|
+
pins: (string | number)[];
|
|
4665
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4666
|
+
} | undefined;
|
|
4667
|
+
bottomSide?: {
|
|
4668
|
+
pins: (string | number)[];
|
|
4669
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4670
|
+
} | undefined;
|
|
4671
|
+
leftPinCount?: number | undefined;
|
|
4672
|
+
rightPinCount?: number | undefined;
|
|
4673
|
+
topPinCount?: number | undefined;
|
|
4674
|
+
bottomPinCount?: number | undefined;
|
|
4675
|
+
} | undefined;
|
|
4441
4676
|
schPortArrangement?: {
|
|
4442
4677
|
leftSize?: number | undefined;
|
|
4443
4678
|
topSize?: number | undefined;
|
|
@@ -4545,8 +4780,34 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
|
|
|
4545
4780
|
symbolName?: string | undefined;
|
|
4546
4781
|
manufacturerPartNumber?: string | undefined;
|
|
4547
4782
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
4548
|
-
|
|
4549
|
-
|
|
4783
|
+
internallyConnectedPins?: string[][] | undefined;
|
|
4784
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
4785
|
+
schPinArrangement?: {
|
|
4786
|
+
leftSize?: number | undefined;
|
|
4787
|
+
topSize?: number | undefined;
|
|
4788
|
+
rightSize?: number | undefined;
|
|
4789
|
+
bottomSize?: number | undefined;
|
|
4790
|
+
leftSide?: {
|
|
4791
|
+
pins: (string | number)[];
|
|
4792
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4793
|
+
} | undefined;
|
|
4794
|
+
topSide?: {
|
|
4795
|
+
pins: (string | number)[];
|
|
4796
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4797
|
+
} | undefined;
|
|
4798
|
+
rightSide?: {
|
|
4799
|
+
pins: (string | number)[];
|
|
4800
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4801
|
+
} | undefined;
|
|
4802
|
+
bottomSide?: {
|
|
4803
|
+
pins: (string | number)[];
|
|
4804
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
4805
|
+
} | undefined;
|
|
4806
|
+
leftPinCount?: number | undefined;
|
|
4807
|
+
rightPinCount?: number | undefined;
|
|
4808
|
+
topPinCount?: number | undefined;
|
|
4809
|
+
bottomPinCount?: number | undefined;
|
|
4810
|
+
} | undefined;
|
|
4550
4811
|
schPortArrangement?: {
|
|
4551
4812
|
leftSize?: number | undefined;
|
|
4552
4813
|
topSize?: number | undefined;
|
|
@@ -4846,8 +5107,108 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
4846
5107
|
}>, {
|
|
4847
5108
|
manufacturerPartNumber: z.ZodOptional<z.ZodString>;
|
|
4848
5109
|
pinLabels: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>>>;
|
|
4849
|
-
|
|
4850
|
-
|
|
5110
|
+
internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5111
|
+
externallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
5112
|
+
schPinArrangement: z.ZodOptional<z.ZodObject<{
|
|
5113
|
+
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
5114
|
+
topSize: z.ZodOptional<z.ZodNumber>;
|
|
5115
|
+
rightSize: z.ZodOptional<z.ZodNumber>;
|
|
5116
|
+
bottomSize: z.ZodOptional<z.ZodNumber>;
|
|
5117
|
+
leftPinCount: z.ZodOptional<z.ZodNumber>;
|
|
5118
|
+
rightPinCount: z.ZodOptional<z.ZodNumber>;
|
|
5119
|
+
topPinCount: z.ZodOptional<z.ZodNumber>;
|
|
5120
|
+
bottomPinCount: z.ZodOptional<z.ZodNumber>;
|
|
5121
|
+
leftSide: z.ZodOptional<z.ZodObject<{
|
|
5122
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5123
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5124
|
+
}, "strip", z.ZodTypeAny, {
|
|
5125
|
+
pins: (string | number)[];
|
|
5126
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5127
|
+
}, {
|
|
5128
|
+
pins: (string | number)[];
|
|
5129
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5130
|
+
}>>;
|
|
5131
|
+
rightSide: z.ZodOptional<z.ZodObject<{
|
|
5132
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5133
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5134
|
+
}, "strip", z.ZodTypeAny, {
|
|
5135
|
+
pins: (string | number)[];
|
|
5136
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5137
|
+
}, {
|
|
5138
|
+
pins: (string | number)[];
|
|
5139
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5140
|
+
}>>;
|
|
5141
|
+
topSide: z.ZodOptional<z.ZodObject<{
|
|
5142
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5143
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5144
|
+
}, "strip", z.ZodTypeAny, {
|
|
5145
|
+
pins: (string | number)[];
|
|
5146
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5147
|
+
}, {
|
|
5148
|
+
pins: (string | number)[];
|
|
5149
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5150
|
+
}>>;
|
|
5151
|
+
bottomSide: z.ZodOptional<z.ZodObject<{
|
|
5152
|
+
pins: z.ZodArray<z.ZodUnion<[z.ZodNumber, z.ZodString]>, "many">;
|
|
5153
|
+
direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
|
|
5154
|
+
}, "strip", z.ZodTypeAny, {
|
|
5155
|
+
pins: (string | number)[];
|
|
5156
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5157
|
+
}, {
|
|
5158
|
+
pins: (string | number)[];
|
|
5159
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5160
|
+
}>>;
|
|
5161
|
+
}, "strip", z.ZodTypeAny, {
|
|
5162
|
+
leftSize?: number | undefined;
|
|
5163
|
+
topSize?: number | undefined;
|
|
5164
|
+
rightSize?: number | undefined;
|
|
5165
|
+
bottomSize?: number | undefined;
|
|
5166
|
+
leftSide?: {
|
|
5167
|
+
pins: (string | number)[];
|
|
5168
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5169
|
+
} | undefined;
|
|
5170
|
+
topSide?: {
|
|
5171
|
+
pins: (string | number)[];
|
|
5172
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5173
|
+
} | undefined;
|
|
5174
|
+
rightSide?: {
|
|
5175
|
+
pins: (string | number)[];
|
|
5176
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5177
|
+
} | undefined;
|
|
5178
|
+
bottomSide?: {
|
|
5179
|
+
pins: (string | number)[];
|
|
5180
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5181
|
+
} | undefined;
|
|
5182
|
+
leftPinCount?: number | undefined;
|
|
5183
|
+
rightPinCount?: number | undefined;
|
|
5184
|
+
topPinCount?: number | undefined;
|
|
5185
|
+
bottomPinCount?: number | undefined;
|
|
5186
|
+
}, {
|
|
5187
|
+
leftSize?: number | undefined;
|
|
5188
|
+
topSize?: number | undefined;
|
|
5189
|
+
rightSize?: number | undefined;
|
|
5190
|
+
bottomSize?: number | undefined;
|
|
5191
|
+
leftSide?: {
|
|
5192
|
+
pins: (string | number)[];
|
|
5193
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5194
|
+
} | undefined;
|
|
5195
|
+
topSide?: {
|
|
5196
|
+
pins: (string | number)[];
|
|
5197
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5198
|
+
} | undefined;
|
|
5199
|
+
rightSide?: {
|
|
5200
|
+
pins: (string | number)[];
|
|
5201
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5202
|
+
} | undefined;
|
|
5203
|
+
bottomSide?: {
|
|
5204
|
+
pins: (string | number)[];
|
|
5205
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5206
|
+
} | undefined;
|
|
5207
|
+
leftPinCount?: number | undefined;
|
|
5208
|
+
rightPinCount?: number | undefined;
|
|
5209
|
+
topPinCount?: number | undefined;
|
|
5210
|
+
bottomPinCount?: number | undefined;
|
|
5211
|
+
}>>;
|
|
4851
5212
|
schPortArrangement: z.ZodOptional<z.ZodObject<{
|
|
4852
5213
|
leftSize: z.ZodOptional<z.ZodNumber>;
|
|
4853
5214
|
topSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -5037,8 +5398,34 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5037
5398
|
symbolName?: string | undefined;
|
|
5038
5399
|
manufacturerPartNumber?: string | undefined;
|
|
5039
5400
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
5040
|
-
|
|
5041
|
-
|
|
5401
|
+
internallyConnectedPins?: string[][] | undefined;
|
|
5402
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
5403
|
+
schPinArrangement?: {
|
|
5404
|
+
leftSize?: number | undefined;
|
|
5405
|
+
topSize?: number | undefined;
|
|
5406
|
+
rightSize?: number | undefined;
|
|
5407
|
+
bottomSize?: number | undefined;
|
|
5408
|
+
leftSide?: {
|
|
5409
|
+
pins: (string | number)[];
|
|
5410
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5411
|
+
} | undefined;
|
|
5412
|
+
topSide?: {
|
|
5413
|
+
pins: (string | number)[];
|
|
5414
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5415
|
+
} | undefined;
|
|
5416
|
+
rightSide?: {
|
|
5417
|
+
pins: (string | number)[];
|
|
5418
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5419
|
+
} | undefined;
|
|
5420
|
+
bottomSide?: {
|
|
5421
|
+
pins: (string | number)[];
|
|
5422
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5423
|
+
} | undefined;
|
|
5424
|
+
leftPinCount?: number | undefined;
|
|
5425
|
+
rightPinCount?: number | undefined;
|
|
5426
|
+
topPinCount?: number | undefined;
|
|
5427
|
+
bottomPinCount?: number | undefined;
|
|
5428
|
+
} | undefined;
|
|
5042
5429
|
schPortArrangement?: {
|
|
5043
5430
|
leftSize?: number | undefined;
|
|
5044
5431
|
topSize?: number | undefined;
|
|
@@ -5146,8 +5533,34 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
|
|
|
5146
5533
|
symbolName?: string | undefined;
|
|
5147
5534
|
manufacturerPartNumber?: string | undefined;
|
|
5148
5535
|
pinLabels?: Record<string | number, string | readonly string[]> | undefined;
|
|
5149
|
-
|
|
5150
|
-
|
|
5536
|
+
internallyConnectedPins?: string[][] | undefined;
|
|
5537
|
+
externallyConnectedPins?: string[][] | undefined;
|
|
5538
|
+
schPinArrangement?: {
|
|
5539
|
+
leftSize?: number | undefined;
|
|
5540
|
+
topSize?: number | undefined;
|
|
5541
|
+
rightSize?: number | undefined;
|
|
5542
|
+
bottomSize?: number | undefined;
|
|
5543
|
+
leftSide?: {
|
|
5544
|
+
pins: (string | number)[];
|
|
5545
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5546
|
+
} | undefined;
|
|
5547
|
+
topSide?: {
|
|
5548
|
+
pins: (string | number)[];
|
|
5549
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5550
|
+
} | undefined;
|
|
5551
|
+
rightSide?: {
|
|
5552
|
+
pins: (string | number)[];
|
|
5553
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5554
|
+
} | undefined;
|
|
5555
|
+
bottomSide?: {
|
|
5556
|
+
pins: (string | number)[];
|
|
5557
|
+
direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
|
|
5558
|
+
} | undefined;
|
|
5559
|
+
leftPinCount?: number | undefined;
|
|
5560
|
+
rightPinCount?: number | undefined;
|
|
5561
|
+
topPinCount?: number | undefined;
|
|
5562
|
+
bottomPinCount?: number | undefined;
|
|
5563
|
+
} | undefined;
|
|
5151
5564
|
schPortArrangement?: {
|
|
5152
5565
|
leftSize?: number | undefined;
|
|
5153
5566
|
topSize?: number | undefined;
|
|
@@ -8248,7 +8661,14 @@ interface CircleSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
|
8248
8661
|
radius: Distance;
|
|
8249
8662
|
portHints?: PortHints;
|
|
8250
8663
|
}
|
|
8251
|
-
|
|
8664
|
+
interface PillSmtPadProps extends Omit<PcbLayoutProps, "pcbRotation"> {
|
|
8665
|
+
shape: "pill";
|
|
8666
|
+
width: Distance;
|
|
8667
|
+
height: Distance;
|
|
8668
|
+
radius: Distance;
|
|
8669
|
+
portHints?: PortHints;
|
|
8670
|
+
}
|
|
8671
|
+
type SmtPadProps = RectSmtPadProps | CircleSmtPadProps | RotatedRectSmtPadProps | PillSmtPadProps;
|
|
8252
8672
|
declare const rectSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
8253
8673
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8254
8674
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -8360,6 +8780,46 @@ declare const circleSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
|
8360
8780
|
} | undefined;
|
|
8361
8781
|
portHints?: (string | number)[] | undefined;
|
|
8362
8782
|
}>;
|
|
8783
|
+
declare const pillSmtPadProps: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
8784
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8785
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8786
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8787
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
8788
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
8789
|
+
}, "strip", z.ZodTypeAny, {
|
|
8790
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8791
|
+
}, {
|
|
8792
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8793
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8794
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8795
|
+
}>>;
|
|
8796
|
+
}, "pcbRotation">, {
|
|
8797
|
+
shape: z.ZodLiteral<"pill">;
|
|
8798
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8799
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8800
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8801
|
+
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
8802
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8803
|
+
shape: "pill";
|
|
8804
|
+
width: number;
|
|
8805
|
+
height: number;
|
|
8806
|
+
radius: number;
|
|
8807
|
+
pcbX?: number | undefined;
|
|
8808
|
+
pcbY?: number | undefined;
|
|
8809
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8810
|
+
portHints?: (string | number)[] | undefined;
|
|
8811
|
+
}, {
|
|
8812
|
+
shape: "pill";
|
|
8813
|
+
width: string | number;
|
|
8814
|
+
height: string | number;
|
|
8815
|
+
radius: string | number;
|
|
8816
|
+
pcbX?: string | number | undefined;
|
|
8817
|
+
pcbY?: string | number | undefined;
|
|
8818
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8819
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8820
|
+
} | undefined;
|
|
8821
|
+
portHints?: (string | number)[] | undefined;
|
|
8822
|
+
}>;
|
|
8363
8823
|
declare const smtPadProps: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
8364
8824
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8365
8825
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -8468,6 +8928,45 @@ declare const smtPadProps: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<Omit
|
|
|
8468
8928
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8469
8929
|
} | undefined;
|
|
8470
8930
|
portHints?: (string | number)[] | undefined;
|
|
8931
|
+
}>, z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
8932
|
+
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8933
|
+
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8934
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
8935
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
8936
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
8937
|
+
}, "strip", z.ZodTypeAny, {
|
|
8938
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8939
|
+
}, {
|
|
8940
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8941
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8942
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8943
|
+
}>>;
|
|
8944
|
+
}, "pcbRotation">, {
|
|
8945
|
+
shape: z.ZodLiteral<"pill">;
|
|
8946
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8947
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8948
|
+
radius: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8949
|
+
portHints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">>;
|
|
8950
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8951
|
+
shape: "pill";
|
|
8952
|
+
width: number;
|
|
8953
|
+
height: number;
|
|
8954
|
+
radius: number;
|
|
8955
|
+
pcbX?: number | undefined;
|
|
8956
|
+
pcbY?: number | undefined;
|
|
8957
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
8958
|
+
portHints?: (string | number)[] | undefined;
|
|
8959
|
+
}, {
|
|
8960
|
+
shape: "pill";
|
|
8961
|
+
width: string | number;
|
|
8962
|
+
height: string | number;
|
|
8963
|
+
radius: string | number;
|
|
8964
|
+
pcbX?: string | number | undefined;
|
|
8965
|
+
pcbY?: string | number | undefined;
|
|
8966
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
8967
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
8968
|
+
} | undefined;
|
|
8969
|
+
portHints?: (string | number)[] | undefined;
|
|
8471
8970
|
}>]>;
|
|
8472
8971
|
type InferredSmtPadProps = z.input<typeof smtPadProps>;
|
|
8473
8972
|
|
|
@@ -9789,6 +10288,9 @@ declare const netAliasProps: z.ZodObject<{
|
|
|
9789
10288
|
anchorSide?: "up" | "down" | "left" | "right" | undefined;
|
|
9790
10289
|
}>;
|
|
9791
10290
|
|
|
10291
|
+
interface PushButtonProps extends CommonComponentProps {
|
|
10292
|
+
internallyConnectedPins?: string[][];
|
|
10293
|
+
}
|
|
9792
10294
|
declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
9793
10295
|
pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
9794
10296
|
pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -10045,7 +10547,9 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10045
10547
|
}>]>>;
|
|
10046
10548
|
children: z.ZodOptional<z.ZodAny>;
|
|
10047
10549
|
symbolName: z.ZodOptional<z.ZodString>;
|
|
10048
|
-
}>, {
|
|
10550
|
+
}>, {
|
|
10551
|
+
internallyConnectedPins: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">>;
|
|
10552
|
+
}>, "strip", z.ZodTypeAny, {
|
|
10049
10553
|
name: string;
|
|
10050
10554
|
pcbX?: number | undefined;
|
|
10051
10555
|
pcbY?: number | undefined;
|
|
@@ -10112,6 +10616,7 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10112
10616
|
} | undefined;
|
|
10113
10617
|
children?: any;
|
|
10114
10618
|
symbolName?: string | undefined;
|
|
10619
|
+
internallyConnectedPins?: string[][] | undefined;
|
|
10115
10620
|
}, {
|
|
10116
10621
|
name: string;
|
|
10117
10622
|
pcbX?: string | number | undefined;
|
|
@@ -10181,8 +10686,8 @@ declare const pushButtonProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
10181
10686
|
} | undefined;
|
|
10182
10687
|
children?: any;
|
|
10183
10688
|
symbolName?: string | undefined;
|
|
10689
|
+
internallyConnectedPins?: string[][] | undefined;
|
|
10184
10690
|
}>;
|
|
10185
|
-
type PushButtonProps = z.input<typeof pushButtonProps>;
|
|
10186
10691
|
|
|
10187
10692
|
type SubcircuitProps = SubcircuitGroupProps;
|
|
10188
10693
|
declare const subcircuitProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -14205,4 +14710,4 @@ declare const portProps: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14205
14710
|
}>;
|
|
14206
14711
|
type PortProps = z.input<typeof portProps>;
|
|
14207
14712
|
|
|
14208
|
-
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 CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, 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 InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type JumperProps, 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 PinHeaderProps, type PinLabels, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PortHints, type PortProps, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type SchematicBoxProps, type SchematicLineProps, type SchematicPathProps, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicTextProps, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, 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, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pinHeaderProps, pinLabelsProp, platedHoleProps, point3, portHints, portProps, portRef, potentiometerPins, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|
|
14713
|
+
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 CapacitorProps, type ChipProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type CrystalProps, type DiodeProps, type Direction, type DirectionAlongEdge, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, 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 InferredHoleProps, type InferredSmtPadProps, type InferredSolderPasteProps, type JumperProps, 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 PinHeaderProps, type PinLabels, type PinSideDefinition, type PinVariant, type PlatedHoleProps, type PortHints, type PortProps, type PotentiometerProps, type PowerSourceProps, type PushButtonProps, type RectSmtPadProps, type RectSolderPasteProps, 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 SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SmtPadProps, type SolderPasteProps, 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, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, crystalPins, crystalProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, edit_component_location_event, edit_pcb_component_location_event, edit_schematic_component_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinHeaderProps, pinLabelsProp, platedHoleProps, point3, portHints, portProps, portRef, potentiometerPins, potentiometerProps, powerSourceProps, pushButtonProps, rectSmtPadProps, rectSolderPasteProps, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinArrangement, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, traceHintProps, traceProps, transistorPins, transistorProps, viaProps };
|