@tscircuit/props 0.0.65 → 0.0.67

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
@@ -1150,7 +1150,8 @@ interface SchematicPortArrangementWithSides {
1150
1150
  rightSide?: PinSideDefinition;
1151
1151
  bottomSide?: PinSideDefinition;
1152
1152
  }
1153
- type SchematicPortArrangement = SchematicPortArrangementWithSizes | SchematicPortArrangementWithSides | SchematicPortArrangementWithPinCounts;
1153
+ interface SchematicPortArrangement extends SchematicPortArrangementWithSizes, SchematicPortArrangementWithSides, SchematicPortArrangementWithPinCounts {
1154
+ }
1154
1155
  declare const explicitPinSideDefinition: z.ZodObject<{
1155
1156
  pins: z.ZodArray<z.ZodNumber, "many">;
1156
1157
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
@@ -1161,37 +1162,15 @@ declare const explicitPinSideDefinition: z.ZodObject<{
1161
1162
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1162
1163
  pins: number[];
1163
1164
  }>;
1164
- declare const schematicPortArrangement: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1165
+ declare const schematicPortArrangement: z.ZodObject<{
1165
1166
  leftSize: z.ZodOptional<z.ZodNumber>;
1166
1167
  topSize: z.ZodOptional<z.ZodNumber>;
1167
1168
  rightSize: z.ZodOptional<z.ZodNumber>;
1168
1169
  bottomSize: z.ZodOptional<z.ZodNumber>;
1169
- }, "strip", z.ZodTypeAny, {
1170
- leftSize?: number | undefined;
1171
- topSize?: number | undefined;
1172
- rightSize?: number | undefined;
1173
- bottomSize?: number | undefined;
1174
- }, {
1175
- leftSize?: number | undefined;
1176
- topSize?: number | undefined;
1177
- rightSize?: number | undefined;
1178
- bottomSize?: number | undefined;
1179
- }>, z.ZodObject<{
1180
1170
  leftPinCount: z.ZodOptional<z.ZodNumber>;
1181
1171
  rightPinCount: z.ZodOptional<z.ZodNumber>;
1182
1172
  topPinCount: z.ZodOptional<z.ZodNumber>;
1183
1173
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
1184
- }, "strip", z.ZodTypeAny, {
1185
- leftPinCount?: number | undefined;
1186
- rightPinCount?: number | undefined;
1187
- topPinCount?: number | undefined;
1188
- bottomPinCount?: number | undefined;
1189
- }, {
1190
- leftPinCount?: number | undefined;
1191
- rightPinCount?: number | undefined;
1192
- topPinCount?: number | undefined;
1193
- bottomPinCount?: number | undefined;
1194
- }>]>, z.ZodObject<{
1195
1174
  leftSide: z.ZodOptional<z.ZodObject<{
1196
1175
  pins: z.ZodArray<z.ZodNumber, "many">;
1197
1176
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
@@ -1233,15 +1212,19 @@ declare const schematicPortArrangement: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1233
1212
  pins: number[];
1234
1213
  }>>;
1235
1214
  }, "strip", z.ZodTypeAny, {
1215
+ leftSize?: number | undefined;
1216
+ topSize?: number | undefined;
1217
+ rightSize?: number | undefined;
1218
+ bottomSize?: number | undefined;
1236
1219
  leftSide?: {
1237
1220
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1238
1221
  pins: number[];
1239
1222
  } | undefined;
1240
- rightSide?: {
1223
+ topSide?: {
1241
1224
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1242
1225
  pins: number[];
1243
1226
  } | undefined;
1244
- topSide?: {
1227
+ rightSide?: {
1245
1228
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1246
1229
  pins: number[];
1247
1230
  } | undefined;
@@ -1249,16 +1232,24 @@ declare const schematicPortArrangement: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1249
1232
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1250
1233
  pins: number[];
1251
1234
  } | undefined;
1235
+ leftPinCount?: number | undefined;
1236
+ rightPinCount?: number | undefined;
1237
+ topPinCount?: number | undefined;
1238
+ bottomPinCount?: number | undefined;
1252
1239
  }, {
1240
+ leftSize?: number | undefined;
1241
+ topSize?: number | undefined;
1242
+ rightSize?: number | undefined;
1243
+ bottomSize?: number | undefined;
1253
1244
  leftSide?: {
1254
1245
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1255
1246
  pins: number[];
1256
1247
  } | undefined;
1257
- rightSide?: {
1248
+ topSide?: {
1258
1249
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1259
1250
  pins: number[];
1260
1251
  } | undefined;
1261
- topSide?: {
1252
+ rightSide?: {
1262
1253
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1263
1254
  pins: number[];
1264
1255
  } | undefined;
@@ -1266,7 +1257,11 @@ declare const schematicPortArrangement: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1266
1257
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1267
1258
  pins: number[];
1268
1259
  } | undefined;
1269
- }>]>;
1260
+ leftPinCount?: number | undefined;
1261
+ rightPinCount?: number | undefined;
1262
+ topPinCount?: number | undefined;
1263
+ bottomPinCount?: number | undefined;
1264
+ }>;
1270
1265
 
1271
1266
  type SchematicPinStyle = Record<string, {
1272
1267
  leftMargin?: number | string;
@@ -1624,37 +1619,15 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1624
1619
  }>, {
1625
1620
  manufacturerPartNumber: z.ZodOptional<z.ZodString>;
1626
1621
  pinLabels: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodString>>;
1627
- schPortArrangement: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
1622
+ schPortArrangement: z.ZodOptional<z.ZodObject<{
1628
1623
  leftSize: z.ZodOptional<z.ZodNumber>;
1629
1624
  topSize: z.ZodOptional<z.ZodNumber>;
1630
1625
  rightSize: z.ZodOptional<z.ZodNumber>;
1631
1626
  bottomSize: z.ZodOptional<z.ZodNumber>;
1632
- }, "strip", z.ZodTypeAny, {
1633
- leftSize?: number | undefined;
1634
- topSize?: number | undefined;
1635
- rightSize?: number | undefined;
1636
- bottomSize?: number | undefined;
1637
- }, {
1638
- leftSize?: number | undefined;
1639
- topSize?: number | undefined;
1640
- rightSize?: number | undefined;
1641
- bottomSize?: number | undefined;
1642
- }>, z.ZodObject<{
1643
1627
  leftPinCount: z.ZodOptional<z.ZodNumber>;
1644
1628
  rightPinCount: z.ZodOptional<z.ZodNumber>;
1645
1629
  topPinCount: z.ZodOptional<z.ZodNumber>;
1646
1630
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
1647
- }, "strip", z.ZodTypeAny, {
1648
- leftPinCount?: number | undefined;
1649
- rightPinCount?: number | undefined;
1650
- topPinCount?: number | undefined;
1651
- bottomPinCount?: number | undefined;
1652
- }, {
1653
- leftPinCount?: number | undefined;
1654
- rightPinCount?: number | undefined;
1655
- topPinCount?: number | undefined;
1656
- bottomPinCount?: number | undefined;
1657
- }>]>, z.ZodObject<{
1658
1631
  leftSide: z.ZodOptional<z.ZodObject<{
1659
1632
  pins: z.ZodArray<z.ZodNumber, "many">;
1660
1633
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
@@ -1696,15 +1669,19 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1696
1669
  pins: number[];
1697
1670
  }>>;
1698
1671
  }, "strip", z.ZodTypeAny, {
1672
+ leftSize?: number | undefined;
1673
+ topSize?: number | undefined;
1674
+ rightSize?: number | undefined;
1675
+ bottomSize?: number | undefined;
1699
1676
  leftSide?: {
1700
1677
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1701
1678
  pins: number[];
1702
1679
  } | undefined;
1703
- rightSide?: {
1680
+ topSide?: {
1704
1681
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1705
1682
  pins: number[];
1706
1683
  } | undefined;
1707
- topSide?: {
1684
+ rightSide?: {
1708
1685
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1709
1686
  pins: number[];
1710
1687
  } | undefined;
@@ -1712,16 +1689,24 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1712
1689
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1713
1690
  pins: number[];
1714
1691
  } | undefined;
1692
+ leftPinCount?: number | undefined;
1693
+ rightPinCount?: number | undefined;
1694
+ topPinCount?: number | undefined;
1695
+ bottomPinCount?: number | undefined;
1715
1696
  }, {
1697
+ leftSize?: number | undefined;
1698
+ topSize?: number | undefined;
1699
+ rightSize?: number | undefined;
1700
+ bottomSize?: number | undefined;
1716
1701
  leftSide?: {
1717
1702
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1718
1703
  pins: number[];
1719
1704
  } | undefined;
1720
- rightSide?: {
1705
+ topSide?: {
1721
1706
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1722
1707
  pins: number[];
1723
1708
  } | undefined;
1724
- topSide?: {
1709
+ rightSide?: {
1725
1710
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1726
1711
  pins: number[];
1727
1712
  } | undefined;
@@ -1729,7 +1714,11 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1729
1714
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1730
1715
  pins: number[];
1731
1716
  } | undefined;
1732
- }>]>>;
1717
+ leftPinCount?: number | undefined;
1718
+ rightPinCount?: number | undefined;
1719
+ topPinCount?: number | undefined;
1720
+ bottomPinCount?: number | undefined;
1721
+ }>>;
1733
1722
  schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1734
1723
  leftMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
1735
1724
  rightMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -1823,21 +1812,15 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1823
1812
  topSize?: number | undefined;
1824
1813
  rightSize?: number | undefined;
1825
1814
  bottomSize?: number | undefined;
1826
- } | {
1827
- leftPinCount?: number | undefined;
1828
- rightPinCount?: number | undefined;
1829
- topPinCount?: number | undefined;
1830
- bottomPinCount?: number | undefined;
1831
- } | {
1832
1815
  leftSide?: {
1833
1816
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1834
1817
  pins: number[];
1835
1818
  } | undefined;
1836
- rightSide?: {
1819
+ topSide?: {
1837
1820
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1838
1821
  pins: number[];
1839
1822
  } | undefined;
1840
- topSide?: {
1823
+ rightSide?: {
1841
1824
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1842
1825
  pins: number[];
1843
1826
  } | undefined;
@@ -1845,6 +1828,10 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1845
1828
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1846
1829
  pins: number[];
1847
1830
  } | undefined;
1831
+ leftPinCount?: number | undefined;
1832
+ rightPinCount?: number | undefined;
1833
+ topPinCount?: number | undefined;
1834
+ bottomPinCount?: number | undefined;
1848
1835
  } | undefined;
1849
1836
  schPinStyle?: Record<string, {
1850
1837
  leftMargin?: number | undefined;
@@ -1931,21 +1918,15 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1931
1918
  topSize?: number | undefined;
1932
1919
  rightSize?: number | undefined;
1933
1920
  bottomSize?: number | undefined;
1934
- } | {
1935
- leftPinCount?: number | undefined;
1936
- rightPinCount?: number | undefined;
1937
- topPinCount?: number | undefined;
1938
- bottomPinCount?: number | undefined;
1939
- } | {
1940
1921
  leftSide?: {
1941
1922
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1942
1923
  pins: number[];
1943
1924
  } | undefined;
1944
- rightSide?: {
1925
+ topSide?: {
1945
1926
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1946
1927
  pins: number[];
1947
1928
  } | undefined;
1948
- topSide?: {
1929
+ rightSide?: {
1949
1930
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1950
1931
  pins: number[];
1951
1932
  } | undefined;
@@ -1953,6 +1934,10 @@ declare const chipProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.exten
1953
1934
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
1954
1935
  pins: number[];
1955
1936
  } | undefined;
1937
+ leftPinCount?: number | undefined;
1938
+ rightPinCount?: number | undefined;
1939
+ topPinCount?: number | undefined;
1940
+ bottomPinCount?: number | undefined;
1956
1941
  } | undefined;
1957
1942
  schPinStyle?: Record<string, {
1958
1943
  leftMargin?: string | number | undefined;
@@ -2226,37 +2211,15 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2226
2211
  }>, {
2227
2212
  manufacturerPartNumber: z.ZodOptional<z.ZodString>;
2228
2213
  pinLabels: z.ZodOptional<z.ZodRecord<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodString>>;
2229
- schPortArrangement: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2214
+ schPortArrangement: z.ZodOptional<z.ZodObject<{
2230
2215
  leftSize: z.ZodOptional<z.ZodNumber>;
2231
2216
  topSize: z.ZodOptional<z.ZodNumber>;
2232
2217
  rightSize: z.ZodOptional<z.ZodNumber>;
2233
2218
  bottomSize: z.ZodOptional<z.ZodNumber>;
2234
- }, "strip", z.ZodTypeAny, {
2235
- leftSize?: number | undefined;
2236
- topSize?: number | undefined;
2237
- rightSize?: number | undefined;
2238
- bottomSize?: number | undefined;
2239
- }, {
2240
- leftSize?: number | undefined;
2241
- topSize?: number | undefined;
2242
- rightSize?: number | undefined;
2243
- bottomSize?: number | undefined;
2244
- }>, z.ZodObject<{
2245
2219
  leftPinCount: z.ZodOptional<z.ZodNumber>;
2246
2220
  rightPinCount: z.ZodOptional<z.ZodNumber>;
2247
2221
  topPinCount: z.ZodOptional<z.ZodNumber>;
2248
2222
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
2249
- }, "strip", z.ZodTypeAny, {
2250
- leftPinCount?: number | undefined;
2251
- rightPinCount?: number | undefined;
2252
- topPinCount?: number | undefined;
2253
- bottomPinCount?: number | undefined;
2254
- }, {
2255
- leftPinCount?: number | undefined;
2256
- rightPinCount?: number | undefined;
2257
- topPinCount?: number | undefined;
2258
- bottomPinCount?: number | undefined;
2259
- }>]>, z.ZodObject<{
2260
2223
  leftSide: z.ZodOptional<z.ZodObject<{
2261
2224
  pins: z.ZodArray<z.ZodNumber, "many">;
2262
2225
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
@@ -2298,15 +2261,19 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2298
2261
  pins: number[];
2299
2262
  }>>;
2300
2263
  }, "strip", z.ZodTypeAny, {
2264
+ leftSize?: number | undefined;
2265
+ topSize?: number | undefined;
2266
+ rightSize?: number | undefined;
2267
+ bottomSize?: number | undefined;
2301
2268
  leftSide?: {
2302
2269
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2303
2270
  pins: number[];
2304
2271
  } | undefined;
2305
- rightSide?: {
2272
+ topSide?: {
2306
2273
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2307
2274
  pins: number[];
2308
2275
  } | undefined;
2309
- topSide?: {
2276
+ rightSide?: {
2310
2277
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2311
2278
  pins: number[];
2312
2279
  } | undefined;
@@ -2314,16 +2281,24 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2314
2281
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2315
2282
  pins: number[];
2316
2283
  } | undefined;
2284
+ leftPinCount?: number | undefined;
2285
+ rightPinCount?: number | undefined;
2286
+ topPinCount?: number | undefined;
2287
+ bottomPinCount?: number | undefined;
2317
2288
  }, {
2289
+ leftSize?: number | undefined;
2290
+ topSize?: number | undefined;
2291
+ rightSize?: number | undefined;
2292
+ bottomSize?: number | undefined;
2318
2293
  leftSide?: {
2319
2294
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2320
2295
  pins: number[];
2321
2296
  } | undefined;
2322
- rightSide?: {
2297
+ topSide?: {
2323
2298
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2324
2299
  pins: number[];
2325
2300
  } | undefined;
2326
- topSide?: {
2301
+ rightSide?: {
2327
2302
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2328
2303
  pins: number[];
2329
2304
  } | undefined;
@@ -2331,7 +2306,11 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2331
2306
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2332
2307
  pins: number[];
2333
2308
  } | undefined;
2334
- }>]>>;
2309
+ leftPinCount?: number | undefined;
2310
+ rightPinCount?: number | undefined;
2311
+ topPinCount?: number | undefined;
2312
+ bottomPinCount?: number | undefined;
2313
+ }>>;
2335
2314
  schPinStyle: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2336
2315
  leftMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
2337
2316
  rightMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -2425,21 +2404,15 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2425
2404
  topSize?: number | undefined;
2426
2405
  rightSize?: number | undefined;
2427
2406
  bottomSize?: number | undefined;
2428
- } | {
2429
- leftPinCount?: number | undefined;
2430
- rightPinCount?: number | undefined;
2431
- topPinCount?: number | undefined;
2432
- bottomPinCount?: number | undefined;
2433
- } | {
2434
2407
  leftSide?: {
2435
2408
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2436
2409
  pins: number[];
2437
2410
  } | undefined;
2438
- rightSide?: {
2411
+ topSide?: {
2439
2412
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2440
2413
  pins: number[];
2441
2414
  } | undefined;
2442
- topSide?: {
2415
+ rightSide?: {
2443
2416
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2444
2417
  pins: number[];
2445
2418
  } | undefined;
@@ -2447,6 +2420,10 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2447
2420
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2448
2421
  pins: number[];
2449
2422
  } | undefined;
2423
+ leftPinCount?: number | undefined;
2424
+ rightPinCount?: number | undefined;
2425
+ topPinCount?: number | undefined;
2426
+ bottomPinCount?: number | undefined;
2450
2427
  } | undefined;
2451
2428
  schPinStyle?: Record<string, {
2452
2429
  leftMargin?: number | undefined;
@@ -2533,21 +2510,15 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2533
2510
  topSize?: number | undefined;
2534
2511
  rightSize?: number | undefined;
2535
2512
  bottomSize?: number | undefined;
2536
- } | {
2537
- leftPinCount?: number | undefined;
2538
- rightPinCount?: number | undefined;
2539
- topPinCount?: number | undefined;
2540
- bottomPinCount?: number | undefined;
2541
- } | {
2542
2513
  leftSide?: {
2543
2514
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2544
2515
  pins: number[];
2545
2516
  } | undefined;
2546
- rightSide?: {
2517
+ topSide?: {
2547
2518
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2548
2519
  pins: number[];
2549
2520
  } | undefined;
2550
- topSide?: {
2521
+ rightSide?: {
2551
2522
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2552
2523
  pins: number[];
2553
2524
  } | undefined;
@@ -2555,6 +2526,10 @@ declare const bugProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
2555
2526
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2556
2527
  pins: number[];
2557
2528
  } | undefined;
2529
+ leftPinCount?: number | undefined;
2530
+ rightPinCount?: number | undefined;
2531
+ topPinCount?: number | undefined;
2532
+ bottomPinCount?: number | undefined;
2558
2533
  } | undefined;
2559
2534
  schPinStyle?: Record<string, {
2560
2535
  leftMargin?: string | number | undefined;
@@ -2857,37 +2832,15 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
2857
2832
  schWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
2858
2833
  schHeight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
2859
2834
  schDirection: z.ZodOptional<z.ZodEnum<["left", "right"]>>;
2860
- schPortArrangement: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
2835
+ schPortArrangement: z.ZodOptional<z.ZodObject<{
2861
2836
  leftSize: z.ZodOptional<z.ZodNumber>;
2862
2837
  topSize: z.ZodOptional<z.ZodNumber>;
2863
2838
  rightSize: z.ZodOptional<z.ZodNumber>;
2864
2839
  bottomSize: z.ZodOptional<z.ZodNumber>;
2865
- }, "strip", z.ZodTypeAny, {
2866
- leftSize?: number | undefined;
2867
- topSize?: number | undefined;
2868
- rightSize?: number | undefined;
2869
- bottomSize?: number | undefined;
2870
- }, {
2871
- leftSize?: number | undefined;
2872
- topSize?: number | undefined;
2873
- rightSize?: number | undefined;
2874
- bottomSize?: number | undefined;
2875
- }>, z.ZodObject<{
2876
2840
  leftPinCount: z.ZodOptional<z.ZodNumber>;
2877
2841
  rightPinCount: z.ZodOptional<z.ZodNumber>;
2878
2842
  topPinCount: z.ZodOptional<z.ZodNumber>;
2879
2843
  bottomPinCount: z.ZodOptional<z.ZodNumber>;
2880
- }, "strip", z.ZodTypeAny, {
2881
- leftPinCount?: number | undefined;
2882
- rightPinCount?: number | undefined;
2883
- topPinCount?: number | undefined;
2884
- bottomPinCount?: number | undefined;
2885
- }, {
2886
- leftPinCount?: number | undefined;
2887
- rightPinCount?: number | undefined;
2888
- topPinCount?: number | undefined;
2889
- bottomPinCount?: number | undefined;
2890
- }>]>, z.ZodObject<{
2891
2844
  leftSide: z.ZodOptional<z.ZodObject<{
2892
2845
  pins: z.ZodArray<z.ZodNumber, "many">;
2893
2846
  direction: z.ZodUnion<[z.ZodLiteral<"top-to-bottom">, z.ZodLiteral<"left-to-right">, z.ZodLiteral<"bottom-to-top">, z.ZodLiteral<"right-to-left">]>;
@@ -2929,15 +2882,19 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
2929
2882
  pins: number[];
2930
2883
  }>>;
2931
2884
  }, "strip", z.ZodTypeAny, {
2885
+ leftSize?: number | undefined;
2886
+ topSize?: number | undefined;
2887
+ rightSize?: number | undefined;
2888
+ bottomSize?: number | undefined;
2932
2889
  leftSide?: {
2933
2890
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2934
2891
  pins: number[];
2935
2892
  } | undefined;
2936
- rightSide?: {
2893
+ topSide?: {
2937
2894
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2938
2895
  pins: number[];
2939
2896
  } | undefined;
2940
- topSide?: {
2897
+ rightSide?: {
2941
2898
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2942
2899
  pins: number[];
2943
2900
  } | undefined;
@@ -2945,16 +2902,24 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
2945
2902
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2946
2903
  pins: number[];
2947
2904
  } | undefined;
2905
+ leftPinCount?: number | undefined;
2906
+ rightPinCount?: number | undefined;
2907
+ topPinCount?: number | undefined;
2908
+ bottomPinCount?: number | undefined;
2948
2909
  }, {
2910
+ leftSize?: number | undefined;
2911
+ topSize?: number | undefined;
2912
+ rightSize?: number | undefined;
2913
+ bottomSize?: number | undefined;
2949
2914
  leftSide?: {
2950
2915
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2951
2916
  pins: number[];
2952
2917
  } | undefined;
2953
- rightSide?: {
2918
+ topSide?: {
2954
2919
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2955
2920
  pins: number[];
2956
2921
  } | undefined;
2957
- topSide?: {
2922
+ rightSide?: {
2958
2923
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2959
2924
  pins: number[];
2960
2925
  } | undefined;
@@ -2962,7 +2927,11 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
2962
2927
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
2963
2928
  pins: number[];
2964
2929
  } | undefined;
2965
- }>]>>;
2930
+ leftPinCount?: number | undefined;
2931
+ rightPinCount?: number | undefined;
2932
+ topPinCount?: number | undefined;
2933
+ bottomPinCount?: number | undefined;
2934
+ }>>;
2966
2935
  }>, "strip", z.ZodTypeAny, {
2967
2936
  name: string;
2968
2937
  pcbX?: number | undefined;
@@ -3037,21 +3006,15 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3037
3006
  topSize?: number | undefined;
3038
3007
  rightSize?: number | undefined;
3039
3008
  bottomSize?: number | undefined;
3040
- } | {
3041
- leftPinCount?: number | undefined;
3042
- rightPinCount?: number | undefined;
3043
- topPinCount?: number | undefined;
3044
- bottomPinCount?: number | undefined;
3045
- } | {
3046
3009
  leftSide?: {
3047
3010
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3048
3011
  pins: number[];
3049
3012
  } | undefined;
3050
- rightSide?: {
3013
+ topSide?: {
3051
3014
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3052
3015
  pins: number[];
3053
3016
  } | undefined;
3054
- topSide?: {
3017
+ rightSide?: {
3055
3018
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3056
3019
  pins: number[];
3057
3020
  } | undefined;
@@ -3059,6 +3022,10 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3059
3022
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3060
3023
  pins: number[];
3061
3024
  } | undefined;
3025
+ leftPinCount?: number | undefined;
3026
+ rightPinCount?: number | undefined;
3027
+ topPinCount?: number | undefined;
3028
+ bottomPinCount?: number | undefined;
3062
3029
  } | undefined;
3063
3030
  schPinStyle?: Record<string, {
3064
3031
  leftMargin?: number | undefined;
@@ -3146,21 +3113,15 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3146
3113
  topSize?: number | undefined;
3147
3114
  rightSize?: number | undefined;
3148
3115
  bottomSize?: number | undefined;
3149
- } | {
3150
- leftPinCount?: number | undefined;
3151
- rightPinCount?: number | undefined;
3152
- topPinCount?: number | undefined;
3153
- bottomPinCount?: number | undefined;
3154
- } | {
3155
3116
  leftSide?: {
3156
3117
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3157
3118
  pins: number[];
3158
3119
  } | undefined;
3159
- rightSide?: {
3120
+ topSide?: {
3160
3121
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3161
3122
  pins: number[];
3162
3123
  } | undefined;
3163
- topSide?: {
3124
+ rightSide?: {
3164
3125
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3165
3126
  pins: number[];
3166
3127
  } | undefined;
@@ -3168,6 +3129,10 @@ declare const jumperProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.ext
3168
3129
  direction: "top-to-bottom" | "left-to-right" | "bottom-to-top" | "right-to-left";
3169
3130
  pins: number[];
3170
3131
  } | undefined;
3132
+ leftPinCount?: number | undefined;
3133
+ rightPinCount?: number | undefined;
3134
+ topPinCount?: number | undefined;
3135
+ bottomPinCount?: number | undefined;
3171
3136
  } | undefined;
3172
3137
  schPinStyle?: Record<string, {
3173
3138
  leftMargin?: string | number | undefined;
@@ -4861,6 +4826,38 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
4861
4826
  }>]>;
4862
4827
  type TraceProps = z.input<typeof traceProps>;
4863
4828
 
4829
+ interface FootprintProps {
4830
+ /**
4831
+ * The layer that the footprint is designed for. If you set this to "top"
4832
+ * then it means the children were intended to represent the top layer. If
4833
+ * the <chip /> with this footprint is moved to the bottom layer, then the
4834
+ * components will be mirrored.
4835
+ *
4836
+ * Generally, you shouldn't set this except where it can help prevent
4837
+ * confusion because you have a complex multi-layer footprint. Default is
4838
+ * "top" and this is most intuitive.
4839
+ */
4840
+ originalLayer?: LayerRef;
4841
+ }
4842
+ declare const footprintProps: z.ZodObject<{
4843
+ originalLayer: z.ZodOptional<z.ZodDefault<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
4844
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
4845
+ }, "strip", z.ZodTypeAny, {
4846
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4847
+ }, {
4848
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4849
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4850
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4851
+ }>>>;
4852
+ }, "strip", z.ZodTypeAny, {
4853
+ originalLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
4854
+ }, {
4855
+ originalLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4856
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4857
+ } | undefined;
4858
+ }>;
4859
+ type FootprintPropsInput = z.input<typeof footprintProps>;
4860
+
4864
4861
  declare const inductorProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
4865
4862
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
4866
4863
  pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -6796,8 +6793,6 @@ declare const schematicPathProps: z.ZodObject<{
6796
6793
  fillColor?: "red" | "blue" | undefined;
6797
6794
  }>;
6798
6795
  type SchematicPathProps = z.input<typeof schematicPathProps>;
6799
- declare const footprintProps: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
6800
- type FootprintProps = z.input<typeof footprintProps>;
6801
6796
  declare const componentProps: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
6802
6797
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
6803
6798
  pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -8245,4 +8240,4 @@ declare const fabricationNotePathProps: z.ZodObject<z.objectUtil.extendShape<Omi
8245
8240
  }>;
8246
8241
  type FabricationNotePathProps = z.input<typeof fabricationNotePathProps>;
8247
8242
 
8248
- export { type BaseGroupProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CircleSmtPadProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type DiodeProps, type Direction, type DirectionAlongEdge, type FabricationNotePathProps, type FabricationNoteTextProps, type Footprint, type FootprintProps, type FootprintSoupElements, type GroupProps, type HoleProps, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredHoleProps, type InferredSmtPadProps, type JumperProps, type LedProps, type NetAliasProps, type NetProps, type PcbKeepoutProps, type PcbLayoutProps, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PinSideDefinition, type PlatedHoleProps, type PortHints, type PortProps, type PowerSourceProps, type RectSmtPadProps, type ResistorProps, 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 SubcircuitGroupProps, type SupplierName, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type ViaProps, baseGroupProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, platedHoleProps, point3, portHints, portProps, portRef, powerSourceProps, rectSmtPadProps, resistorPins, resistorProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, subcircuitGroupProps, supplierProps, switchProps, traceHintProps, traceProps, viaProps };
8243
+ export { type BaseGroupProps, type BoardProps, type CadModelBase, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelStl, type CapacitorProps, type ChipProps, type CircleSmtPadProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConstrainedLayoutProps, type ConstraintProps, type DiodeProps, type Direction, type DirectionAlongEdge, 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 JumperProps, type LedProps, type NetAliasProps, type NetProps, type PcbKeepoutProps, type PcbLayoutProps, type PcbSameXConstraint, type PcbSameYConstraint, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PinSideDefinition, type PlatedHoleProps, type PortHints, type PortProps, type PowerSourceProps, type RectSmtPadProps, type ResistorProps, 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 SubcircuitGroupProps, type SupplierName, type SupplierProps, type SwitchProps, type TraceHintProps, type TraceProps, type ViaProps, baseGroupProps, boardProps, bugProps, cadModelBase, cadModelJscad, cadModelObj, cadModelProp, cadModelStl, capacitorPins, capacitorProps, chipProps, circleSmtPadProps, commonComponentProps, commonLayoutProps, componentProps, constrainedLayoutProps, constraintProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, explicitPinSideDefinition, fabricationNotePathProps, fabricationNoteTextProps, footprintProp, footprintProps, groupProps, holeProps, inductorPins, inductorProps, jumperProps, ledPins, ledProps, lrPins, lrPolarPins, netAliasProps, netProps, pcbKeepoutProps, pcbLayoutProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, platedHoleProps, point3, portHints, portProps, portRef, powerSourceProps, rectSmtPadProps, resistorPins, resistorProps, rotationPoint3, routeHintPointProps, schematicBoxProps, schematicLineProps, schematicPathProps, schematicPinStyle, schematicPortArrangement, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, subcircuitGroupProps, supplierProps, switchProps, traceHintProps, traceProps, viaProps };