@tscircuit/props 0.0.83 → 0.0.85

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
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { LayerRef, LayerRefInput } from '@tscircuit/soup';
2
+ import { LayerRef, LayerRefInput } from 'circuit-json';
3
3
  import { ReactElement } from 'react';
4
4
  import { LayoutBuilder, ManualEditFile } from '@tscircuit/layout';
5
5
 
@@ -1141,7 +1141,7 @@ interface SchematicPortArrangementWithPinCounts {
1141
1141
  bottomPinCount?: number;
1142
1142
  }
1143
1143
  interface PinSideDefinition {
1144
- pins: number[];
1144
+ pins: number[] | string[];
1145
1145
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1146
1146
  }
1147
1147
  interface SchematicPortArrangementWithSides {
@@ -1153,14 +1153,14 @@ interface SchematicPortArrangementWithSides {
1153
1153
  interface SchematicPortArrangement extends SchematicPortArrangementWithSizes, SchematicPortArrangementWithSides, SchematicPortArrangementWithPinCounts {
1154
1154
  }
1155
1155
  declare const explicitPinSideDefinition: z.ZodObject<{
1156
- pins: z.ZodArray<z.ZodNumber, "many">;
1156
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1157
1157
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1158
1158
  }, "strip", z.ZodTypeAny, {
1159
1159
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1160
- pins: number[];
1160
+ pins: string[] | number[];
1161
1161
  }, {
1162
1162
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1163
- pins: number[];
1163
+ pins: string[] | number[];
1164
1164
  }>;
1165
1165
  declare const schematicPortArrangement: z.ZodObject<{
1166
1166
  leftSize: z.ZodOptional<z.ZodNumber>;
@@ -1172,44 +1172,44 @@ declare const schematicPortArrangement: z.ZodObject<{
1172
1172
  topPinCount: z.ZodOptional<z.ZodNumber>;
1173
1173
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
1174
1174
  leftSide: z.ZodOptional<z.ZodObject<{
1175
- pins: z.ZodArray<z.ZodNumber, "many">;
1175
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1176
1176
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1177
1177
  }, "strip", z.ZodTypeAny, {
1178
1178
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1179
- pins: number[];
1179
+ pins: string[] | number[];
1180
1180
  }, {
1181
1181
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1182
- pins: number[];
1182
+ pins: string[] | number[];
1183
1183
  }>>;
1184
1184
  rightSide: z.ZodOptional<z.ZodObject<{
1185
- pins: z.ZodArray<z.ZodNumber, "many">;
1185
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1186
1186
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1187
1187
  }, "strip", z.ZodTypeAny, {
1188
1188
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1189
- pins: number[];
1189
+ pins: string[] | number[];
1190
1190
  }, {
1191
1191
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1192
- pins: number[];
1192
+ pins: string[] | number[];
1193
1193
  }>>;
1194
1194
  topSide: z.ZodOptional<z.ZodObject<{
1195
- pins: z.ZodArray<z.ZodNumber, "many">;
1195
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1196
1196
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1197
1197
  }, "strip", z.ZodTypeAny, {
1198
1198
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1199
- pins: number[];
1199
+ pins: string[] | number[];
1200
1200
  }, {
1201
1201
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1202
- pins: number[];
1202
+ pins: string[] | number[];
1203
1203
  }>>;
1204
1204
  bottomSide: z.ZodOptional<z.ZodObject<{
1205
- pins: z.ZodArray<z.ZodNumber, "many">;
1205
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1206
1206
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1207
1207
  }, "strip", z.ZodTypeAny, {
1208
1208
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1209
- pins: number[];
1209
+ pins: string[] | number[];
1210
1210
  }, {
1211
1211
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1212
- pins: number[];
1212
+ pins: string[] | number[];
1213
1213
  }>>;
1214
1214
  }, "strip", z.ZodTypeAny, {
1215
1215
  leftSize?: number | undefined;
@@ -1218,19 +1218,19 @@ declare const schematicPortArrangement: z.ZodObject<{
1218
1218
  bottomSize?: number | undefined;
1219
1219
  leftSide?: {
1220
1220
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1221
- pins: number[];
1221
+ pins: string[] | number[];
1222
1222
  } | undefined;
1223
1223
  topSide?: {
1224
1224
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1225
- pins: number[];
1225
+ pins: string[] | number[];
1226
1226
  } | undefined;
1227
1227
  rightSide?: {
1228
1228
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1229
- pins: number[];
1229
+ pins: string[] | number[];
1230
1230
  } | undefined;
1231
1231
  bottomSide?: {
1232
1232
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1233
- pins: number[];
1233
+ pins: string[] | number[];
1234
1234
  } | undefined;
1235
1235
  leftPinCount?: number | undefined;
1236
1236
  rightPinCount?: number | undefined;
@@ -1243,19 +1243,19 @@ declare const schematicPortArrangement: z.ZodObject<{
1243
1243
  bottomSize?: number | undefined;
1244
1244
  leftSide?: {
1245
1245
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1246
- pins: number[];
1246
+ pins: string[] | number[];
1247
1247
  } | undefined;
1248
1248
  topSide?: {
1249
1249
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1250
- pins: number[];
1250
+ pins: string[] | number[];
1251
1251
  } | undefined;
1252
1252
  rightSide?: {
1253
1253
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1254
- pins: number[];
1254
+ pins: string[] | number[];
1255
1255
  } | undefined;
1256
1256
  bottomSide?: {
1257
1257
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1258
- pins: number[];
1258
+ pins: string[] | number[];
1259
1259
  } | undefined;
1260
1260
  leftPinCount?: number | undefined;
1261
1261
  rightPinCount?: number | undefined;
@@ -1642,44 +1642,44 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1642
1642
  topPinCount: z.ZodOptional<z.ZodNumber>;
1643
1643
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
1644
1644
  leftSide: z.ZodOptional<z.ZodObject<{
1645
- pins: z.ZodArray<z.ZodNumber, "many">;
1645
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1646
1646
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1647
1647
  }, "strip", z.ZodTypeAny, {
1648
1648
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1649
- pins: number[];
1649
+ pins: string[] | number[];
1650
1650
  }, {
1651
1651
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1652
- pins: number[];
1652
+ pins: string[] | number[];
1653
1653
  }>>;
1654
1654
  rightSide: z.ZodOptional<z.ZodObject<{
1655
- pins: z.ZodArray<z.ZodNumber, "many">;
1655
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1656
1656
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1657
1657
  }, "strip", z.ZodTypeAny, {
1658
1658
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1659
- pins: number[];
1659
+ pins: string[] | number[];
1660
1660
  }, {
1661
1661
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1662
- pins: number[];
1662
+ pins: string[] | number[];
1663
1663
  }>>;
1664
1664
  topSide: z.ZodOptional<z.ZodObject<{
1665
- pins: z.ZodArray<z.ZodNumber, "many">;
1665
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1666
1666
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1667
1667
  }, "strip", z.ZodTypeAny, {
1668
1668
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1669
- pins: number[];
1669
+ pins: string[] | number[];
1670
1670
  }, {
1671
1671
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1672
- pins: number[];
1672
+ pins: string[] | number[];
1673
1673
  }>>;
1674
1674
  bottomSide: z.ZodOptional<z.ZodObject<{
1675
- pins: z.ZodArray<z.ZodNumber, "many">;
1675
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
1676
1676
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
1677
1677
  }, "strip", z.ZodTypeAny, {
1678
1678
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1679
- pins: number[];
1679
+ pins: string[] | number[];
1680
1680
  }, {
1681
1681
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1682
- pins: number[];
1682
+ pins: string[] | number[];
1683
1683
  }>>;
1684
1684
  }, "strip", z.ZodTypeAny, {
1685
1685
  leftSize?: number | undefined;
@@ -1688,19 +1688,19 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1688
1688
  bottomSize?: number | undefined;
1689
1689
  leftSide?: {
1690
1690
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1691
- pins: number[];
1691
+ pins: string[] | number[];
1692
1692
  } | undefined;
1693
1693
  topSide?: {
1694
1694
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1695
- pins: number[];
1695
+ pins: string[] | number[];
1696
1696
  } | undefined;
1697
1697
  rightSide?: {
1698
1698
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1699
- pins: number[];
1699
+ pins: string[] | number[];
1700
1700
  } | undefined;
1701
1701
  bottomSide?: {
1702
1702
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1703
- pins: number[];
1703
+ pins: string[] | number[];
1704
1704
  } | undefined;
1705
1705
  leftPinCount?: number | undefined;
1706
1706
  rightPinCount?: number | undefined;
@@ -1713,19 +1713,19 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1713
1713
  bottomSize?: number | undefined;
1714
1714
  leftSide?: {
1715
1715
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1716
- pins: number[];
1716
+ pins: string[] | number[];
1717
1717
  } | undefined;
1718
1718
  topSide?: {
1719
1719
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1720
- pins: number[];
1720
+ pins: string[] | number[];
1721
1721
  } | undefined;
1722
1722
  rightSide?: {
1723
1723
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1724
- pins: number[];
1724
+ pins: string[] | number[];
1725
1725
  } | undefined;
1726
1726
  bottomSide?: {
1727
1727
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1728
- pins: number[];
1728
+ pins: string[] | number[];
1729
1729
  } | undefined;
1730
1730
  leftPinCount?: number | undefined;
1731
1731
  rightPinCount?: number | undefined;
@@ -1827,19 +1827,19 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1827
1827
  bottomSize?: number | undefined;
1828
1828
  leftSide?: {
1829
1829
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1830
- pins: number[];
1830
+ pins: string[] | number[];
1831
1831
  } | undefined;
1832
1832
  topSide?: {
1833
1833
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1834
- pins: number[];
1834
+ pins: string[] | number[];
1835
1835
  } | undefined;
1836
1836
  rightSide?: {
1837
1837
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1838
- pins: number[];
1838
+ pins: string[] | number[];
1839
1839
  } | undefined;
1840
1840
  bottomSide?: {
1841
1841
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1842
- pins: number[];
1842
+ pins: string[] | number[];
1843
1843
  } | undefined;
1844
1844
  leftPinCount?: number | undefined;
1845
1845
  rightPinCount?: number | undefined;
@@ -1933,19 +1933,19 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1933
1933
  bottomSize?: number | undefined;
1934
1934
  leftSide?: {
1935
1935
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1936
- pins: number[];
1936
+ pins: string[] | number[];
1937
1937
  } | undefined;
1938
1938
  topSide?: {
1939
1939
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1940
- pins: number[];
1940
+ pins: string[] | number[];
1941
1941
  } | undefined;
1942
1942
  rightSide?: {
1943
1943
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1944
- pins: number[];
1944
+ pins: string[] | number[];
1945
1945
  } | undefined;
1946
1946
  bottomSide?: {
1947
1947
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1948
- pins: number[];
1948
+ pins: string[] | number[];
1949
1949
  } | undefined;
1950
1950
  leftPinCount?: number | undefined;
1951
1951
  rightPinCount?: number | undefined;
@@ -2234,44 +2234,44 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2234
2234
  topPinCount: z.ZodOptional<z.ZodNumber>;
2235
2235
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
2236
2236
  leftSide: z.ZodOptional<z.ZodObject<{
2237
- pins: z.ZodArray<z.ZodNumber, "many">;
2237
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2238
2238
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2239
2239
  }, "strip", z.ZodTypeAny, {
2240
2240
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2241
- pins: number[];
2241
+ pins: string[] | number[];
2242
2242
  }, {
2243
2243
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2244
- pins: number[];
2244
+ pins: string[] | number[];
2245
2245
  }>>;
2246
2246
  rightSide: z.ZodOptional<z.ZodObject<{
2247
- pins: z.ZodArray<z.ZodNumber, "many">;
2247
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2248
2248
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2249
2249
  }, "strip", z.ZodTypeAny, {
2250
2250
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2251
- pins: number[];
2251
+ pins: string[] | number[];
2252
2252
  }, {
2253
2253
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2254
- pins: number[];
2254
+ pins: string[] | number[];
2255
2255
  }>>;
2256
2256
  topSide: z.ZodOptional<z.ZodObject<{
2257
- pins: z.ZodArray<z.ZodNumber, "many">;
2257
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2258
2258
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2259
2259
  }, "strip", z.ZodTypeAny, {
2260
2260
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2261
- pins: number[];
2261
+ pins: string[] | number[];
2262
2262
  }, {
2263
2263
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2264
- pins: number[];
2264
+ pins: string[] | number[];
2265
2265
  }>>;
2266
2266
  bottomSide: z.ZodOptional<z.ZodObject<{
2267
- pins: z.ZodArray<z.ZodNumber, "many">;
2267
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2268
2268
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2269
2269
  }, "strip", z.ZodTypeAny, {
2270
2270
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2271
- pins: number[];
2271
+ pins: string[] | number[];
2272
2272
  }, {
2273
2273
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2274
- pins: number[];
2274
+ pins: string[] | number[];
2275
2275
  }>>;
2276
2276
  }, "strip", z.ZodTypeAny, {
2277
2277
  leftSize?: number | undefined;
@@ -2280,19 +2280,19 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2280
2280
  bottomSize?: number | undefined;
2281
2281
  leftSide?: {
2282
2282
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2283
- pins: number[];
2283
+ pins: string[] | number[];
2284
2284
  } | undefined;
2285
2285
  topSide?: {
2286
2286
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2287
- pins: number[];
2287
+ pins: string[] | number[];
2288
2288
  } | undefined;
2289
2289
  rightSide?: {
2290
2290
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2291
- pins: number[];
2291
+ pins: string[] | number[];
2292
2292
  } | undefined;
2293
2293
  bottomSide?: {
2294
2294
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2295
- pins: number[];
2295
+ pins: string[] | number[];
2296
2296
  } | undefined;
2297
2297
  leftPinCount?: number | undefined;
2298
2298
  rightPinCount?: number | undefined;
@@ -2305,19 +2305,19 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2305
2305
  bottomSize?: number | undefined;
2306
2306
  leftSide?: {
2307
2307
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2308
- pins: number[];
2308
+ pins: string[] | number[];
2309
2309
  } | undefined;
2310
2310
  topSide?: {
2311
2311
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2312
- pins: number[];
2312
+ pins: string[] | number[];
2313
2313
  } | undefined;
2314
2314
  rightSide?: {
2315
2315
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2316
- pins: number[];
2316
+ pins: string[] | number[];
2317
2317
  } | undefined;
2318
2318
  bottomSide?: {
2319
2319
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2320
- pins: number[];
2320
+ pins: string[] | number[];
2321
2321
  } | undefined;
2322
2322
  leftPinCount?: number | undefined;
2323
2323
  rightPinCount?: number | undefined;
@@ -2419,19 +2419,19 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2419
2419
  bottomSize?: number | undefined;
2420
2420
  leftSide?: {
2421
2421
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2422
- pins: number[];
2422
+ pins: string[] | number[];
2423
2423
  } | undefined;
2424
2424
  topSide?: {
2425
2425
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2426
- pins: number[];
2426
+ pins: string[] | number[];
2427
2427
  } | undefined;
2428
2428
  rightSide?: {
2429
2429
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2430
- pins: number[];
2430
+ pins: string[] | number[];
2431
2431
  } | undefined;
2432
2432
  bottomSide?: {
2433
2433
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2434
- pins: number[];
2434
+ pins: string[] | number[];
2435
2435
  } | undefined;
2436
2436
  leftPinCount?: number | undefined;
2437
2437
  rightPinCount?: number | undefined;
@@ -2525,19 +2525,19 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2525
2525
  bottomSize?: number | undefined;
2526
2526
  leftSide?: {
2527
2527
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2528
- pins: number[];
2528
+ pins: string[] | number[];
2529
2529
  } | undefined;
2530
2530
  topSide?: {
2531
2531
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2532
- pins: number[];
2532
+ pins: string[] | number[];
2533
2533
  } | undefined;
2534
2534
  rightSide?: {
2535
2535
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2536
- pins: number[];
2536
+ pins: string[] | number[];
2537
2537
  } | undefined;
2538
2538
  bottomSide?: {
2539
2539
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2540
- pins: number[];
2540
+ pins: string[] | number[];
2541
2541
  } | undefined;
2542
2542
  leftPinCount?: number | undefined;
2543
2543
  rightPinCount?: number | undefined;
@@ -2855,44 +2855,44 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
2855
2855
  topPinCount: z.ZodOptional<z.ZodNumber>;
2856
2856
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
2857
2857
  leftSide: z.ZodOptional<z.ZodObject<{
2858
- pins: z.ZodArray<z.ZodNumber, "many">;
2858
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2859
2859
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2860
2860
  }, "strip", z.ZodTypeAny, {
2861
2861
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2862
- pins: number[];
2862
+ pins: string[] | number[];
2863
2863
  }, {
2864
2864
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2865
- pins: number[];
2865
+ pins: string[] | number[];
2866
2866
  }>>;
2867
2867
  rightSide: z.ZodOptional<z.ZodObject<{
2868
- pins: z.ZodArray<z.ZodNumber, "many">;
2868
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2869
2869
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2870
2870
  }, "strip", z.ZodTypeAny, {
2871
2871
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2872
- pins: number[];
2872
+ pins: string[] | number[];
2873
2873
  }, {
2874
2874
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2875
- pins: number[];
2875
+ pins: string[] | number[];
2876
2876
  }>>;
2877
2877
  topSide: z.ZodOptional<z.ZodObject<{
2878
- pins: z.ZodArray<z.ZodNumber, "many">;
2878
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2879
2879
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2880
2880
  }, "strip", z.ZodTypeAny, {
2881
2881
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2882
- pins: number[];
2882
+ pins: string[] | number[];
2883
2883
  }, {
2884
2884
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2885
- pins: number[];
2885
+ pins: string[] | number[];
2886
2886
  }>>;
2887
2887
  bottomSide: z.ZodOptional<z.ZodObject<{
2888
- pins: z.ZodArray<z.ZodNumber, "many">;
2888
+ pins: z.ZodUnion<[z.ZodArray<z.ZodNumber, "many">, z.ZodArray<z.ZodString, "many">]>;
2889
2889
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
2890
2890
  }, "strip", z.ZodTypeAny, {
2891
2891
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2892
- pins: number[];
2892
+ pins: string[] | number[];
2893
2893
  }, {
2894
2894
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2895
- pins: number[];
2895
+ pins: string[] | number[];
2896
2896
  }>>;
2897
2897
  }, "strip", z.ZodTypeAny, {
2898
2898
  leftSize?: number | undefined;
@@ -2901,19 +2901,19 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
2901
2901
  bottomSize?: number | undefined;
2902
2902
  leftSide?: {
2903
2903
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2904
- pins: number[];
2904
+ pins: string[] | number[];
2905
2905
  } | undefined;
2906
2906
  topSide?: {
2907
2907
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2908
- pins: number[];
2908
+ pins: string[] | number[];
2909
2909
  } | undefined;
2910
2910
  rightSide?: {
2911
2911
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2912
- pins: number[];
2912
+ pins: string[] | number[];
2913
2913
  } | undefined;
2914
2914
  bottomSide?: {
2915
2915
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2916
- pins: number[];
2916
+ pins: string[] | number[];
2917
2917
  } | undefined;
2918
2918
  leftPinCount?: number | undefined;
2919
2919
  rightPinCount?: number | undefined;
@@ -2926,19 +2926,19 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
2926
2926
  bottomSize?: number | undefined;
2927
2927
  leftSide?: {
2928
2928
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2929
- pins: number[];
2929
+ pins: string[] | number[];
2930
2930
  } | undefined;
2931
2931
  topSide?: {
2932
2932
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2933
- pins: number[];
2933
+ pins: string[] | number[];
2934
2934
  } | undefined;
2935
2935
  rightSide?: {
2936
2936
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2937
- pins: number[];
2937
+ pins: string[] | number[];
2938
2938
  } | undefined;
2939
2939
  bottomSide?: {
2940
2940
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2941
- pins: number[];
2941
+ pins: string[] | number[];
2942
2942
  } | undefined;
2943
2943
  leftPinCount?: number | undefined;
2944
2944
  rightPinCount?: number | undefined;
@@ -3021,19 +3021,19 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3021
3021
  bottomSize?: number | undefined;
3022
3022
  leftSide?: {
3023
3023
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3024
- pins: number[];
3024
+ pins: string[] | number[];
3025
3025
  } | undefined;
3026
3026
  topSide?: {
3027
3027
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3028
- pins: number[];
3028
+ pins: string[] | number[];
3029
3029
  } | undefined;
3030
3030
  rightSide?: {
3031
3031
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3032
- pins: number[];
3032
+ pins: string[] | number[];
3033
3033
  } | undefined;
3034
3034
  bottomSide?: {
3035
3035
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3036
- pins: number[];
3036
+ pins: string[] | number[];
3037
3037
  } | undefined;
3038
3038
  leftPinCount?: number | undefined;
3039
3039
  rightPinCount?: number | undefined;
@@ -3128,19 +3128,19 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3128
3128
  bottomSize?: number | undefined;
3129
3129
  leftSide?: {
3130
3130
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3131
- pins: number[];
3131
+ pins: string[] | number[];
3132
3132
  } | undefined;
3133
3133
  topSide?: {
3134
3134
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3135
- pins: number[];
3135
+ pins: string[] | number[];
3136
3136
  } | undefined;
3137
3137
  rightSide?: {
3138
3138
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3139
- pins: number[];
3139
+ pins: string[] | number[];
3140
3140
  } | undefined;
3141
3141
  bottomSide?: {
3142
3142
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3143
- pins: number[];
3143
+ pins: string[] | number[];
3144
3144
  } | undefined;
3145
3145
  leftPinCount?: number | undefined;
3146
3146
  rightPinCount?: number | undefined;