circuit-json 0.0.86 → 0.0.87
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.mts +449 -39
- package/dist/index.mjs +247 -221
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1341,6 +1341,220 @@ declare const schematic_error: z.ZodObject<{
|
|
|
1341
1341
|
type SchematicErrorInput = z.input<typeof schematic_error>;
|
|
1342
1342
|
type SchematicError = z.infer<typeof schematic_error>;
|
|
1343
1343
|
|
|
1344
|
+
declare const schematic_debug_object_base: z.ZodObject<{
|
|
1345
|
+
type: z.ZodLiteral<"schematic_debug_object">;
|
|
1346
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
}, "strip", z.ZodTypeAny, {
|
|
1348
|
+
type: "schematic_debug_object";
|
|
1349
|
+
label?: string | undefined;
|
|
1350
|
+
}, {
|
|
1351
|
+
type: "schematic_debug_object";
|
|
1352
|
+
label?: string | undefined;
|
|
1353
|
+
}>;
|
|
1354
|
+
declare const schematic_debug_rect: z.ZodObject<z.objectUtil.extendShape<{
|
|
1355
|
+
type: z.ZodLiteral<"schematic_debug_object">;
|
|
1356
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
}, {
|
|
1358
|
+
shape: z.ZodLiteral<"rect">;
|
|
1359
|
+
center: z.ZodObject<{
|
|
1360
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1361
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1362
|
+
}, "strip", z.ZodTypeAny, {
|
|
1363
|
+
x: number;
|
|
1364
|
+
y: number;
|
|
1365
|
+
}, {
|
|
1366
|
+
x: string | number;
|
|
1367
|
+
y: string | number;
|
|
1368
|
+
}>;
|
|
1369
|
+
size: z.ZodObject<{
|
|
1370
|
+
width: z.ZodNumber;
|
|
1371
|
+
height: z.ZodNumber;
|
|
1372
|
+
}, "strip", z.ZodTypeAny, {
|
|
1373
|
+
width: number;
|
|
1374
|
+
height: number;
|
|
1375
|
+
}, {
|
|
1376
|
+
width: number;
|
|
1377
|
+
height: number;
|
|
1378
|
+
}>;
|
|
1379
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1380
|
+
type: "schematic_debug_object";
|
|
1381
|
+
size: {
|
|
1382
|
+
width: number;
|
|
1383
|
+
height: number;
|
|
1384
|
+
};
|
|
1385
|
+
center: {
|
|
1386
|
+
x: number;
|
|
1387
|
+
y: number;
|
|
1388
|
+
};
|
|
1389
|
+
shape: "rect";
|
|
1390
|
+
label?: string | undefined;
|
|
1391
|
+
}, {
|
|
1392
|
+
type: "schematic_debug_object";
|
|
1393
|
+
size: {
|
|
1394
|
+
width: number;
|
|
1395
|
+
height: number;
|
|
1396
|
+
};
|
|
1397
|
+
center: {
|
|
1398
|
+
x: string | number;
|
|
1399
|
+
y: string | number;
|
|
1400
|
+
};
|
|
1401
|
+
shape: "rect";
|
|
1402
|
+
label?: string | undefined;
|
|
1403
|
+
}>;
|
|
1404
|
+
declare const schematic_debug_line: z.ZodObject<z.objectUtil.extendShape<{
|
|
1405
|
+
type: z.ZodLiteral<"schematic_debug_object">;
|
|
1406
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1407
|
+
}, {
|
|
1408
|
+
shape: z.ZodLiteral<"line">;
|
|
1409
|
+
start: z.ZodObject<{
|
|
1410
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1411
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1412
|
+
}, "strip", z.ZodTypeAny, {
|
|
1413
|
+
x: number;
|
|
1414
|
+
y: number;
|
|
1415
|
+
}, {
|
|
1416
|
+
x: string | number;
|
|
1417
|
+
y: string | number;
|
|
1418
|
+
}>;
|
|
1419
|
+
end: z.ZodObject<{
|
|
1420
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1421
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1422
|
+
}, "strip", z.ZodTypeAny, {
|
|
1423
|
+
x: number;
|
|
1424
|
+
y: number;
|
|
1425
|
+
}, {
|
|
1426
|
+
x: string | number;
|
|
1427
|
+
y: string | number;
|
|
1428
|
+
}>;
|
|
1429
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1430
|
+
type: "schematic_debug_object";
|
|
1431
|
+
shape: "line";
|
|
1432
|
+
start: {
|
|
1433
|
+
x: number;
|
|
1434
|
+
y: number;
|
|
1435
|
+
};
|
|
1436
|
+
end: {
|
|
1437
|
+
x: number;
|
|
1438
|
+
y: number;
|
|
1439
|
+
};
|
|
1440
|
+
label?: string | undefined;
|
|
1441
|
+
}, {
|
|
1442
|
+
type: "schematic_debug_object";
|
|
1443
|
+
shape: "line";
|
|
1444
|
+
start: {
|
|
1445
|
+
x: string | number;
|
|
1446
|
+
y: string | number;
|
|
1447
|
+
};
|
|
1448
|
+
end: {
|
|
1449
|
+
x: string | number;
|
|
1450
|
+
y: string | number;
|
|
1451
|
+
};
|
|
1452
|
+
label?: string | undefined;
|
|
1453
|
+
}>;
|
|
1454
|
+
declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
|
|
1455
|
+
type: z.ZodLiteral<"schematic_debug_object">;
|
|
1456
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1457
|
+
}, {
|
|
1458
|
+
shape: z.ZodLiteral<"rect">;
|
|
1459
|
+
center: z.ZodObject<{
|
|
1460
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1461
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1462
|
+
}, "strip", z.ZodTypeAny, {
|
|
1463
|
+
x: number;
|
|
1464
|
+
y: number;
|
|
1465
|
+
}, {
|
|
1466
|
+
x: string | number;
|
|
1467
|
+
y: string | number;
|
|
1468
|
+
}>;
|
|
1469
|
+
size: z.ZodObject<{
|
|
1470
|
+
width: z.ZodNumber;
|
|
1471
|
+
height: z.ZodNumber;
|
|
1472
|
+
}, "strip", z.ZodTypeAny, {
|
|
1473
|
+
width: number;
|
|
1474
|
+
height: number;
|
|
1475
|
+
}, {
|
|
1476
|
+
width: number;
|
|
1477
|
+
height: number;
|
|
1478
|
+
}>;
|
|
1479
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1480
|
+
type: "schematic_debug_object";
|
|
1481
|
+
size: {
|
|
1482
|
+
width: number;
|
|
1483
|
+
height: number;
|
|
1484
|
+
};
|
|
1485
|
+
center: {
|
|
1486
|
+
x: number;
|
|
1487
|
+
y: number;
|
|
1488
|
+
};
|
|
1489
|
+
shape: "rect";
|
|
1490
|
+
label?: string | undefined;
|
|
1491
|
+
}, {
|
|
1492
|
+
type: "schematic_debug_object";
|
|
1493
|
+
size: {
|
|
1494
|
+
width: number;
|
|
1495
|
+
height: number;
|
|
1496
|
+
};
|
|
1497
|
+
center: {
|
|
1498
|
+
x: string | number;
|
|
1499
|
+
y: string | number;
|
|
1500
|
+
};
|
|
1501
|
+
shape: "rect";
|
|
1502
|
+
label?: string | undefined;
|
|
1503
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1504
|
+
type: z.ZodLiteral<"schematic_debug_object">;
|
|
1505
|
+
label: z.ZodOptional<z.ZodString>;
|
|
1506
|
+
}, {
|
|
1507
|
+
shape: z.ZodLiteral<"line">;
|
|
1508
|
+
start: z.ZodObject<{
|
|
1509
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1510
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1511
|
+
}, "strip", z.ZodTypeAny, {
|
|
1512
|
+
x: number;
|
|
1513
|
+
y: number;
|
|
1514
|
+
}, {
|
|
1515
|
+
x: string | number;
|
|
1516
|
+
y: string | number;
|
|
1517
|
+
}>;
|
|
1518
|
+
end: z.ZodObject<{
|
|
1519
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1520
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1521
|
+
}, "strip", z.ZodTypeAny, {
|
|
1522
|
+
x: number;
|
|
1523
|
+
y: number;
|
|
1524
|
+
}, {
|
|
1525
|
+
x: string | number;
|
|
1526
|
+
y: string | number;
|
|
1527
|
+
}>;
|
|
1528
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1529
|
+
type: "schematic_debug_object";
|
|
1530
|
+
shape: "line";
|
|
1531
|
+
start: {
|
|
1532
|
+
x: number;
|
|
1533
|
+
y: number;
|
|
1534
|
+
};
|
|
1535
|
+
end: {
|
|
1536
|
+
x: number;
|
|
1537
|
+
y: number;
|
|
1538
|
+
};
|
|
1539
|
+
label?: string | undefined;
|
|
1540
|
+
}, {
|
|
1541
|
+
type: "schematic_debug_object";
|
|
1542
|
+
shape: "line";
|
|
1543
|
+
start: {
|
|
1544
|
+
x: string | number;
|
|
1545
|
+
y: string | number;
|
|
1546
|
+
};
|
|
1547
|
+
end: {
|
|
1548
|
+
x: string | number;
|
|
1549
|
+
y: string | number;
|
|
1550
|
+
};
|
|
1551
|
+
label?: string | undefined;
|
|
1552
|
+
}>]>;
|
|
1553
|
+
type SchematicDebugObject = z.infer<typeof schematic_debug_object>;
|
|
1554
|
+
type SchematicDebugRect = z.infer<typeof schematic_debug_rect>;
|
|
1555
|
+
type SchematicDebugLine = z.infer<typeof schematic_debug_line>;
|
|
1556
|
+
type SchematicDebugObjectInput = z.input<typeof schematic_debug_object>;
|
|
1557
|
+
|
|
1344
1558
|
declare const all_layers: readonly ["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"];
|
|
1345
1559
|
declare const layer_string: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
1346
1560
|
declare const layer_ref: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
@@ -1755,8 +1969,8 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1755
1969
|
x: number;
|
|
1756
1970
|
y: number;
|
|
1757
1971
|
type: "pcb_plated_hole";
|
|
1758
|
-
hole_diameter: number;
|
|
1759
1972
|
shape: "circle";
|
|
1973
|
+
hole_diameter: number;
|
|
1760
1974
|
outer_diameter: number;
|
|
1761
1975
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
1762
1976
|
pcb_plated_hole_id: string;
|
|
@@ -1767,8 +1981,8 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1767
1981
|
x: string | number;
|
|
1768
1982
|
y: string | number;
|
|
1769
1983
|
type: "pcb_plated_hole";
|
|
1770
|
-
hole_diameter: number;
|
|
1771
1984
|
shape: "circle";
|
|
1985
|
+
hole_diameter: number;
|
|
1772
1986
|
outer_diameter: number;
|
|
1773
1987
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1774
1988
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
@@ -1803,9 +2017,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1803
2017
|
x: number;
|
|
1804
2018
|
y: number;
|
|
1805
2019
|
type: "pcb_plated_hole";
|
|
2020
|
+
shape: "oval" | "pill";
|
|
1806
2021
|
hole_width: number;
|
|
1807
2022
|
hole_height: number;
|
|
1808
|
-
shape: "oval" | "pill";
|
|
1809
2023
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
1810
2024
|
pcb_plated_hole_id: string;
|
|
1811
2025
|
outer_width: number;
|
|
@@ -1817,9 +2031,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1817
2031
|
x: string | number;
|
|
1818
2032
|
y: string | number;
|
|
1819
2033
|
type: "pcb_plated_hole";
|
|
2034
|
+
shape: "oval" | "pill";
|
|
1820
2035
|
hole_width: number;
|
|
1821
2036
|
hole_height: number;
|
|
1822
|
-
shape: "oval" | "pill";
|
|
1823
2037
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1824
2038
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1825
2039
|
})[];
|
|
@@ -1921,8 +2135,8 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
1921
2135
|
x: number;
|
|
1922
2136
|
y: number;
|
|
1923
2137
|
type: "pcb_smtpad";
|
|
1924
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1925
2138
|
shape: "circle";
|
|
2139
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1926
2140
|
pcb_smtpad_id: string;
|
|
1927
2141
|
radius: number;
|
|
1928
2142
|
port_hints?: string[] | undefined;
|
|
@@ -1932,10 +2146,10 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
1932
2146
|
x: string | number;
|
|
1933
2147
|
y: string | number;
|
|
1934
2148
|
type: "pcb_smtpad";
|
|
2149
|
+
shape: "circle";
|
|
1935
2150
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1936
2151
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1937
2152
|
};
|
|
1938
|
-
shape: "circle";
|
|
1939
2153
|
radius: number;
|
|
1940
2154
|
port_hints?: string[] | undefined;
|
|
1941
2155
|
pcb_component_id?: string | undefined;
|
|
@@ -1967,8 +2181,8 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
1967
2181
|
type: "pcb_smtpad";
|
|
1968
2182
|
width: number;
|
|
1969
2183
|
height: number;
|
|
1970
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1971
2184
|
shape: "rect";
|
|
2185
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1972
2186
|
pcb_smtpad_id: string;
|
|
1973
2187
|
port_hints?: string[] | undefined;
|
|
1974
2188
|
pcb_component_id?: string | undefined;
|
|
@@ -1979,10 +2193,10 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
|
|
|
1979
2193
|
type: "pcb_smtpad";
|
|
1980
2194
|
width: number;
|
|
1981
2195
|
height: number;
|
|
2196
|
+
shape: "rect";
|
|
1982
2197
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
1983
2198
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1984
2199
|
};
|
|
1985
|
-
shape: "rect";
|
|
1986
2200
|
port_hints?: string[] | undefined;
|
|
1987
2201
|
pcb_component_id?: string | undefined;
|
|
1988
2202
|
pcb_port_id?: string | undefined;
|
|
@@ -2048,8 +2262,8 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
2048
2262
|
x: number;
|
|
2049
2263
|
y: number;
|
|
2050
2264
|
type: "pcb_solder_paste";
|
|
2051
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2052
2265
|
shape: "circle";
|
|
2266
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2053
2267
|
radius: number;
|
|
2054
2268
|
pcb_solder_paste_id: string;
|
|
2055
2269
|
pcb_component_id?: string | undefined;
|
|
@@ -2058,10 +2272,10 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
2058
2272
|
x: string | number;
|
|
2059
2273
|
y: string | number;
|
|
2060
2274
|
type: "pcb_solder_paste";
|
|
2275
|
+
shape: "circle";
|
|
2061
2276
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2062
2277
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2063
2278
|
};
|
|
2064
|
-
shape: "circle";
|
|
2065
2279
|
radius: number;
|
|
2066
2280
|
pcb_component_id?: string | undefined;
|
|
2067
2281
|
pcb_smtpad_id?: string | undefined;
|
|
@@ -2091,8 +2305,8 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
2091
2305
|
type: "pcb_solder_paste";
|
|
2092
2306
|
width: number;
|
|
2093
2307
|
height: number;
|
|
2094
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2095
2308
|
shape: "rect";
|
|
2309
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2096
2310
|
pcb_solder_paste_id: string;
|
|
2097
2311
|
pcb_component_id?: string | undefined;
|
|
2098
2312
|
pcb_smtpad_id?: string | undefined;
|
|
@@ -2102,10 +2316,10 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
|
|
|
2102
2316
|
type: "pcb_solder_paste";
|
|
2103
2317
|
width: number;
|
|
2104
2318
|
height: number;
|
|
2319
|
+
shape: "rect";
|
|
2105
2320
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
2106
2321
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2107
2322
|
};
|
|
2108
|
-
shape: "rect";
|
|
2109
2323
|
pcb_component_id?: string | undefined;
|
|
2110
2324
|
pcb_smtpad_id?: string | undefined;
|
|
2111
2325
|
pcb_solder_paste_id?: string | undefined;
|
|
@@ -4219,8 +4433,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4219
4433
|
x: number;
|
|
4220
4434
|
y: number;
|
|
4221
4435
|
type: "pcb_plated_hole";
|
|
4222
|
-
hole_diameter: number;
|
|
4223
4436
|
shape: "circle";
|
|
4437
|
+
hole_diameter: number;
|
|
4224
4438
|
outer_diameter: number;
|
|
4225
4439
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
4226
4440
|
pcb_plated_hole_id: string;
|
|
@@ -4231,8 +4445,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4231
4445
|
x: string | number;
|
|
4232
4446
|
y: string | number;
|
|
4233
4447
|
type: "pcb_plated_hole";
|
|
4234
|
-
hole_diameter: number;
|
|
4235
4448
|
shape: "circle";
|
|
4449
|
+
hole_diameter: number;
|
|
4236
4450
|
outer_diameter: number;
|
|
4237
4451
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4238
4452
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
@@ -4267,9 +4481,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4267
4481
|
x: number;
|
|
4268
4482
|
y: number;
|
|
4269
4483
|
type: "pcb_plated_hole";
|
|
4484
|
+
shape: "oval" | "pill";
|
|
4270
4485
|
hole_width: number;
|
|
4271
4486
|
hole_height: number;
|
|
4272
|
-
shape: "oval" | "pill";
|
|
4273
4487
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
4274
4488
|
pcb_plated_hole_id: string;
|
|
4275
4489
|
outer_width: number;
|
|
@@ -4281,9 +4495,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4281
4495
|
x: string | number;
|
|
4282
4496
|
y: string | number;
|
|
4283
4497
|
type: "pcb_plated_hole";
|
|
4498
|
+
shape: "oval" | "pill";
|
|
4284
4499
|
hole_width: number;
|
|
4285
4500
|
hole_height: number;
|
|
4286
|
-
shape: "oval" | "pill";
|
|
4287
4501
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4288
4502
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4289
4503
|
})[];
|
|
@@ -4658,8 +4872,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4658
4872
|
x: number;
|
|
4659
4873
|
y: number;
|
|
4660
4874
|
type: "pcb_smtpad";
|
|
4661
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4662
4875
|
shape: "circle";
|
|
4876
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4663
4877
|
pcb_smtpad_id: string;
|
|
4664
4878
|
radius: number;
|
|
4665
4879
|
port_hints?: string[] | undefined;
|
|
@@ -4669,10 +4883,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4669
4883
|
x: string | number;
|
|
4670
4884
|
y: string | number;
|
|
4671
4885
|
type: "pcb_smtpad";
|
|
4886
|
+
shape: "circle";
|
|
4672
4887
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4673
4888
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4674
4889
|
};
|
|
4675
|
-
shape: "circle";
|
|
4676
4890
|
radius: number;
|
|
4677
4891
|
port_hints?: string[] | undefined;
|
|
4678
4892
|
pcb_component_id?: string | undefined;
|
|
@@ -4704,8 +4918,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4704
4918
|
type: "pcb_smtpad";
|
|
4705
4919
|
width: number;
|
|
4706
4920
|
height: number;
|
|
4707
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4708
4921
|
shape: "rect";
|
|
4922
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4709
4923
|
pcb_smtpad_id: string;
|
|
4710
4924
|
port_hints?: string[] | undefined;
|
|
4711
4925
|
pcb_component_id?: string | undefined;
|
|
@@ -4716,10 +4930,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4716
4930
|
type: "pcb_smtpad";
|
|
4717
4931
|
width: number;
|
|
4718
4932
|
height: number;
|
|
4933
|
+
shape: "rect";
|
|
4719
4934
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4720
4935
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4721
4936
|
};
|
|
4722
|
-
shape: "rect";
|
|
4723
4937
|
port_hints?: string[] | undefined;
|
|
4724
4938
|
pcb_component_id?: string | undefined;
|
|
4725
4939
|
pcb_port_id?: string | undefined;
|
|
@@ -4746,8 +4960,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4746
4960
|
x: number;
|
|
4747
4961
|
y: number;
|
|
4748
4962
|
type: "pcb_solder_paste";
|
|
4749
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4750
4963
|
shape: "circle";
|
|
4964
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4751
4965
|
radius: number;
|
|
4752
4966
|
pcb_solder_paste_id: string;
|
|
4753
4967
|
pcb_component_id?: string | undefined;
|
|
@@ -4756,10 +4970,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4756
4970
|
x: string | number;
|
|
4757
4971
|
y: string | number;
|
|
4758
4972
|
type: "pcb_solder_paste";
|
|
4973
|
+
shape: "circle";
|
|
4759
4974
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4760
4975
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4761
4976
|
};
|
|
4762
|
-
shape: "circle";
|
|
4763
4977
|
radius: number;
|
|
4764
4978
|
pcb_component_id?: string | undefined;
|
|
4765
4979
|
pcb_smtpad_id?: string | undefined;
|
|
@@ -4789,8 +5003,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4789
5003
|
type: "pcb_solder_paste";
|
|
4790
5004
|
width: number;
|
|
4791
5005
|
height: number;
|
|
4792
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4793
5006
|
shape: "rect";
|
|
5007
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4794
5008
|
pcb_solder_paste_id: string;
|
|
4795
5009
|
pcb_component_id?: string | undefined;
|
|
4796
5010
|
pcb_smtpad_id?: string | undefined;
|
|
@@ -4800,10 +5014,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
4800
5014
|
type: "pcb_solder_paste";
|
|
4801
5015
|
width: number;
|
|
4802
5016
|
height: number;
|
|
5017
|
+
shape: "rect";
|
|
4803
5018
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
4804
5019
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
4805
5020
|
};
|
|
4806
|
-
shape: "rect";
|
|
4807
5021
|
pcb_component_id?: string | undefined;
|
|
4808
5022
|
pcb_smtpad_id?: string | undefined;
|
|
4809
5023
|
pcb_solder_paste_id?: string | undefined;
|
|
@@ -5849,7 +6063,105 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
5849
6063
|
};
|
|
5850
6064
|
text: string;
|
|
5851
6065
|
anchor_side: "left" | "right" | "top" | "bottom";
|
|
5852
|
-
}>, z.ZodObject<{
|
|
6066
|
+
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
|
|
6067
|
+
type: z.ZodLiteral<"schematic_debug_object">;
|
|
6068
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6069
|
+
}, {
|
|
6070
|
+
shape: z.ZodLiteral<"rect">;
|
|
6071
|
+
center: z.ZodObject<{
|
|
6072
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6073
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6074
|
+
}, "strip", z.ZodTypeAny, {
|
|
6075
|
+
x: number;
|
|
6076
|
+
y: number;
|
|
6077
|
+
}, {
|
|
6078
|
+
x: string | number;
|
|
6079
|
+
y: string | number;
|
|
6080
|
+
}>;
|
|
6081
|
+
size: z.ZodObject<{
|
|
6082
|
+
width: z.ZodNumber;
|
|
6083
|
+
height: z.ZodNumber;
|
|
6084
|
+
}, "strip", z.ZodTypeAny, {
|
|
6085
|
+
width: number;
|
|
6086
|
+
height: number;
|
|
6087
|
+
}, {
|
|
6088
|
+
width: number;
|
|
6089
|
+
height: number;
|
|
6090
|
+
}>;
|
|
6091
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6092
|
+
type: "schematic_debug_object";
|
|
6093
|
+
size: {
|
|
6094
|
+
width: number;
|
|
6095
|
+
height: number;
|
|
6096
|
+
};
|
|
6097
|
+
center: {
|
|
6098
|
+
x: number;
|
|
6099
|
+
y: number;
|
|
6100
|
+
};
|
|
6101
|
+
shape: "rect";
|
|
6102
|
+
label?: string | undefined;
|
|
6103
|
+
}, {
|
|
6104
|
+
type: "schematic_debug_object";
|
|
6105
|
+
size: {
|
|
6106
|
+
width: number;
|
|
6107
|
+
height: number;
|
|
6108
|
+
};
|
|
6109
|
+
center: {
|
|
6110
|
+
x: string | number;
|
|
6111
|
+
y: string | number;
|
|
6112
|
+
};
|
|
6113
|
+
shape: "rect";
|
|
6114
|
+
label?: string | undefined;
|
|
6115
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
6116
|
+
type: z.ZodLiteral<"schematic_debug_object">;
|
|
6117
|
+
label: z.ZodOptional<z.ZodString>;
|
|
6118
|
+
}, {
|
|
6119
|
+
shape: z.ZodLiteral<"line">;
|
|
6120
|
+
start: z.ZodObject<{
|
|
6121
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6122
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6123
|
+
}, "strip", z.ZodTypeAny, {
|
|
6124
|
+
x: number;
|
|
6125
|
+
y: number;
|
|
6126
|
+
}, {
|
|
6127
|
+
x: string | number;
|
|
6128
|
+
y: string | number;
|
|
6129
|
+
}>;
|
|
6130
|
+
end: z.ZodObject<{
|
|
6131
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6132
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
6133
|
+
}, "strip", z.ZodTypeAny, {
|
|
6134
|
+
x: number;
|
|
6135
|
+
y: number;
|
|
6136
|
+
}, {
|
|
6137
|
+
x: string | number;
|
|
6138
|
+
y: string | number;
|
|
6139
|
+
}>;
|
|
6140
|
+
}>, "strip", z.ZodTypeAny, {
|
|
6141
|
+
type: "schematic_debug_object";
|
|
6142
|
+
shape: "line";
|
|
6143
|
+
start: {
|
|
6144
|
+
x: number;
|
|
6145
|
+
y: number;
|
|
6146
|
+
};
|
|
6147
|
+
end: {
|
|
6148
|
+
x: number;
|
|
6149
|
+
y: number;
|
|
6150
|
+
};
|
|
6151
|
+
label?: string | undefined;
|
|
6152
|
+
}, {
|
|
6153
|
+
type: "schematic_debug_object";
|
|
6154
|
+
shape: "line";
|
|
6155
|
+
start: {
|
|
6156
|
+
x: string | number;
|
|
6157
|
+
y: string | number;
|
|
6158
|
+
};
|
|
6159
|
+
end: {
|
|
6160
|
+
x: string | number;
|
|
6161
|
+
y: string | number;
|
|
6162
|
+
};
|
|
6163
|
+
label?: string | undefined;
|
|
6164
|
+
}>]>, z.ZodObject<{
|
|
5853
6165
|
type: z.ZodLiteral<"cad_component">;
|
|
5854
6166
|
cad_component_id: z.ZodString;
|
|
5855
6167
|
pcb_component_id: z.ZodString;
|
|
@@ -6634,8 +6946,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6634
6946
|
x: number;
|
|
6635
6947
|
y: number;
|
|
6636
6948
|
type: "pcb_plated_hole";
|
|
6637
|
-
hole_diameter: number;
|
|
6638
6949
|
shape: "circle";
|
|
6950
|
+
hole_diameter: number;
|
|
6639
6951
|
outer_diameter: number;
|
|
6640
6952
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
6641
6953
|
pcb_plated_hole_id: string;
|
|
@@ -6646,8 +6958,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6646
6958
|
x: string | number;
|
|
6647
6959
|
y: string | number;
|
|
6648
6960
|
type: "pcb_plated_hole";
|
|
6649
|
-
hole_diameter: number;
|
|
6650
6961
|
shape: "circle";
|
|
6962
|
+
hole_diameter: number;
|
|
6651
6963
|
outer_diameter: number;
|
|
6652
6964
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6653
6965
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
@@ -6682,9 +6994,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6682
6994
|
x: number;
|
|
6683
6995
|
y: number;
|
|
6684
6996
|
type: "pcb_plated_hole";
|
|
6997
|
+
shape: "oval" | "pill";
|
|
6685
6998
|
hole_width: number;
|
|
6686
6999
|
hole_height: number;
|
|
6687
|
-
shape: "oval" | "pill";
|
|
6688
7000
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
6689
7001
|
pcb_plated_hole_id: string;
|
|
6690
7002
|
outer_width: number;
|
|
@@ -6696,9 +7008,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
6696
7008
|
x: string | number;
|
|
6697
7009
|
y: string | number;
|
|
6698
7010
|
type: "pcb_plated_hole";
|
|
7011
|
+
shape: "oval" | "pill";
|
|
6699
7012
|
hole_width: number;
|
|
6700
7013
|
hole_height: number;
|
|
6701
|
-
shape: "oval" | "pill";
|
|
6702
7014
|
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
6703
7015
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6704
7016
|
})[];
|
|
@@ -7073,8 +7385,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7073
7385
|
x: number;
|
|
7074
7386
|
y: number;
|
|
7075
7387
|
type: "pcb_smtpad";
|
|
7076
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7077
7388
|
shape: "circle";
|
|
7389
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7078
7390
|
pcb_smtpad_id: string;
|
|
7079
7391
|
radius: number;
|
|
7080
7392
|
port_hints?: string[] | undefined;
|
|
@@ -7084,10 +7396,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7084
7396
|
x: string | number;
|
|
7085
7397
|
y: string | number;
|
|
7086
7398
|
type: "pcb_smtpad";
|
|
7399
|
+
shape: "circle";
|
|
7087
7400
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7088
7401
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7089
7402
|
};
|
|
7090
|
-
shape: "circle";
|
|
7091
7403
|
radius: number;
|
|
7092
7404
|
port_hints?: string[] | undefined;
|
|
7093
7405
|
pcb_component_id?: string | undefined;
|
|
@@ -7119,8 +7431,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7119
7431
|
type: "pcb_smtpad";
|
|
7120
7432
|
width: number;
|
|
7121
7433
|
height: number;
|
|
7122
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7123
7434
|
shape: "rect";
|
|
7435
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7124
7436
|
pcb_smtpad_id: string;
|
|
7125
7437
|
port_hints?: string[] | undefined;
|
|
7126
7438
|
pcb_component_id?: string | undefined;
|
|
@@ -7131,10 +7443,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7131
7443
|
type: "pcb_smtpad";
|
|
7132
7444
|
width: number;
|
|
7133
7445
|
height: number;
|
|
7446
|
+
shape: "rect";
|
|
7134
7447
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7135
7448
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7136
7449
|
};
|
|
7137
|
-
shape: "rect";
|
|
7138
7450
|
port_hints?: string[] | undefined;
|
|
7139
7451
|
pcb_component_id?: string | undefined;
|
|
7140
7452
|
pcb_port_id?: string | undefined;
|
|
@@ -7161,8 +7473,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7161
7473
|
x: number;
|
|
7162
7474
|
y: number;
|
|
7163
7475
|
type: "pcb_solder_paste";
|
|
7164
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7165
7476
|
shape: "circle";
|
|
7477
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7166
7478
|
radius: number;
|
|
7167
7479
|
pcb_solder_paste_id: string;
|
|
7168
7480
|
pcb_component_id?: string | undefined;
|
|
@@ -7171,10 +7483,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7171
7483
|
x: string | number;
|
|
7172
7484
|
y: string | number;
|
|
7173
7485
|
type: "pcb_solder_paste";
|
|
7486
|
+
shape: "circle";
|
|
7174
7487
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7175
7488
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7176
7489
|
};
|
|
7177
|
-
shape: "circle";
|
|
7178
7490
|
radius: number;
|
|
7179
7491
|
pcb_component_id?: string | undefined;
|
|
7180
7492
|
pcb_smtpad_id?: string | undefined;
|
|
@@ -7204,8 +7516,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7204
7516
|
type: "pcb_solder_paste";
|
|
7205
7517
|
width: number;
|
|
7206
7518
|
height: number;
|
|
7207
|
-
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7208
7519
|
shape: "rect";
|
|
7520
|
+
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7209
7521
|
pcb_solder_paste_id: string;
|
|
7210
7522
|
pcb_component_id?: string | undefined;
|
|
7211
7523
|
pcb_smtpad_id?: string | undefined;
|
|
@@ -7215,10 +7527,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
7215
7527
|
type: "pcb_solder_paste";
|
|
7216
7528
|
width: number;
|
|
7217
7529
|
height: number;
|
|
7530
|
+
shape: "rect";
|
|
7218
7531
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
7219
7532
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
7220
7533
|
};
|
|
7221
|
-
shape: "rect";
|
|
7222
7534
|
pcb_component_id?: string | undefined;
|
|
7223
7535
|
pcb_smtpad_id?: string | undefined;
|
|
7224
7536
|
pcb_solder_paste_id?: string | undefined;
|
|
@@ -8264,7 +8576,105 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
8264
8576
|
};
|
|
8265
8577
|
text: string;
|
|
8266
8578
|
anchor_side: "left" | "right" | "top" | "bottom";
|
|
8267
|
-
}>, z.ZodObject<{
|
|
8579
|
+
}>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
|
|
8580
|
+
type: z.ZodLiteral<"schematic_debug_object">;
|
|
8581
|
+
label: z.ZodOptional<z.ZodString>;
|
|
8582
|
+
}, {
|
|
8583
|
+
shape: z.ZodLiteral<"rect">;
|
|
8584
|
+
center: z.ZodObject<{
|
|
8585
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8586
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8587
|
+
}, "strip", z.ZodTypeAny, {
|
|
8588
|
+
x: number;
|
|
8589
|
+
y: number;
|
|
8590
|
+
}, {
|
|
8591
|
+
x: string | number;
|
|
8592
|
+
y: string | number;
|
|
8593
|
+
}>;
|
|
8594
|
+
size: z.ZodObject<{
|
|
8595
|
+
width: z.ZodNumber;
|
|
8596
|
+
height: z.ZodNumber;
|
|
8597
|
+
}, "strip", z.ZodTypeAny, {
|
|
8598
|
+
width: number;
|
|
8599
|
+
height: number;
|
|
8600
|
+
}, {
|
|
8601
|
+
width: number;
|
|
8602
|
+
height: number;
|
|
8603
|
+
}>;
|
|
8604
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8605
|
+
type: "schematic_debug_object";
|
|
8606
|
+
size: {
|
|
8607
|
+
width: number;
|
|
8608
|
+
height: number;
|
|
8609
|
+
};
|
|
8610
|
+
center: {
|
|
8611
|
+
x: number;
|
|
8612
|
+
y: number;
|
|
8613
|
+
};
|
|
8614
|
+
shape: "rect";
|
|
8615
|
+
label?: string | undefined;
|
|
8616
|
+
}, {
|
|
8617
|
+
type: "schematic_debug_object";
|
|
8618
|
+
size: {
|
|
8619
|
+
width: number;
|
|
8620
|
+
height: number;
|
|
8621
|
+
};
|
|
8622
|
+
center: {
|
|
8623
|
+
x: string | number;
|
|
8624
|
+
y: string | number;
|
|
8625
|
+
};
|
|
8626
|
+
shape: "rect";
|
|
8627
|
+
label?: string | undefined;
|
|
8628
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
8629
|
+
type: z.ZodLiteral<"schematic_debug_object">;
|
|
8630
|
+
label: z.ZodOptional<z.ZodString>;
|
|
8631
|
+
}, {
|
|
8632
|
+
shape: z.ZodLiteral<"line">;
|
|
8633
|
+
start: z.ZodObject<{
|
|
8634
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8635
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8636
|
+
}, "strip", z.ZodTypeAny, {
|
|
8637
|
+
x: number;
|
|
8638
|
+
y: number;
|
|
8639
|
+
}, {
|
|
8640
|
+
x: string | number;
|
|
8641
|
+
y: string | number;
|
|
8642
|
+
}>;
|
|
8643
|
+
end: z.ZodObject<{
|
|
8644
|
+
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8645
|
+
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
8646
|
+
}, "strip", z.ZodTypeAny, {
|
|
8647
|
+
x: number;
|
|
8648
|
+
y: number;
|
|
8649
|
+
}, {
|
|
8650
|
+
x: string | number;
|
|
8651
|
+
y: string | number;
|
|
8652
|
+
}>;
|
|
8653
|
+
}>, "strip", z.ZodTypeAny, {
|
|
8654
|
+
type: "schematic_debug_object";
|
|
8655
|
+
shape: "line";
|
|
8656
|
+
start: {
|
|
8657
|
+
x: number;
|
|
8658
|
+
y: number;
|
|
8659
|
+
};
|
|
8660
|
+
end: {
|
|
8661
|
+
x: number;
|
|
8662
|
+
y: number;
|
|
8663
|
+
};
|
|
8664
|
+
label?: string | undefined;
|
|
8665
|
+
}, {
|
|
8666
|
+
type: "schematic_debug_object";
|
|
8667
|
+
shape: "line";
|
|
8668
|
+
start: {
|
|
8669
|
+
x: string | number;
|
|
8670
|
+
y: string | number;
|
|
8671
|
+
};
|
|
8672
|
+
end: {
|
|
8673
|
+
x: string | number;
|
|
8674
|
+
y: string | number;
|
|
8675
|
+
};
|
|
8676
|
+
label?: string | undefined;
|
|
8677
|
+
}>]>, z.ZodObject<{
|
|
8268
8678
|
type: z.ZodLiteral<"cad_component">;
|
|
8269
8679
|
cad_component_id: z.ZodString;
|
|
8270
8680
|
pcb_component_id: z.ZodString;
|
|
@@ -8388,4 +8798,4 @@ type AnySoupElement = AnyCircuitElement;
|
|
|
8388
8798
|
*/
|
|
8389
8799
|
type AnySoupElementInput = AnyCircuitElementInput;
|
|
8390
8800
|
|
|
8391
|
-
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type Distance, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleOval, type PcbHoleOvalInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicError, type SchematicErrorInput, type SchematicLine, type SchematicLineInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceInput, type Size, type SourceComponentBase, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_board, pcb_component, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_error, schematic_line, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, size, source_component_base, source_group, source_led, source_net, source_port, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_diode, source_simple_ground, source_simple_power_source, source_simple_resistor, source_trace, supplier_name, time, visible_layer, voltage };
|
|
8801
|
+
export { type AnyCircuitElement, type AnyCircuitElementInput, type AnySoupElement, type AnySoupElementInput, type AnySourceComponent, type CadComponent, type CadComponentInput, type Distance, type InputPoint, type InputPosition, type InputRotation, type LayerRef, type LayerRefInput, type Length, type PCBBoard, type PCBComponent, type PCBFabricationNotePath, type PCBFabricationNoteText, type PCBHole, type PCBHoleInput, type PCBKeepout, type PCBKeepoutInput, type PCBPlacementError, type PCBPlatedHole, type PCBPlatedHoleInput, type PCBPort, type PCBPortInput, type PCBPortNotMatchedError, type PCBSMTPad, type PCBSMTPadInput, type PCBSilkscreenLine, type PCBSilkscreenText, type PCBSolderPasteInput, type PCBText, type PCBTrace, type PCBTraceError, type PCBTraceHint, type PCBTraceInput, type PCBVia, type PcbBoard, type PcbBoardInput, type PcbCircuitElement, type PcbComponent, type PcbComponentInput, type PcbFabricationNotePath, type PcbFabricationNotePathInput, type PcbFabricationNoteText, type PcbFabricationNoteTextInput, type PcbHole, type PcbHoleCircleOrSquare, type PcbHoleCircleOrSquareInput, type PcbHoleOval, type PcbHoleOvalInput, type PcbPlacementError, type PcbPlacementErrorInput, type PcbPlatedHole, type PcbPlatedHoleCircle, type PcbPlatedHoleInput, type PcbPlatedHoleOval, type PcbPort, type PcbPortInput, type PcbPortNotMatchedError, type PcbPortNotMatchedErrorInput, type PcbRouteHint, type PcbRouteHintInput, type PcbRouteHints, type PcbRouteHintsInput, type PcbSilkscreenCircle, type PcbSilkscreenCircleInput, type PcbSilkscreenLine, type PcbSilkscreenLineInput, type PcbSilkscreenOval, type PcbSilkscreenOvalDeprecated, type PcbSilkscreenOvalInput, type PcbSilkscreenPath, type PcbSilkscreenPathDeprecated, type PcbSilkscreenPathInput, type PcbSilkscreenRect, type PcbSilkscreenRectInput, type PcbSilkscreenRectOld, type PcbSilkscreenText, type PcbSilkscreenTextInput, type PcbSmtPad, type PcbSmtPadCircle, type PcbSmtPadRect, type PcbSolderPaste, type PcbSolderPasteCircle, type PcbSolderPasteRect, type PcbText, type PcbTextInput, type PcbTrace, type PcbTraceError, type PcbTraceErrorInput, type PcbTraceHint, type PcbTraceHintInput, type PcbTraceInput, type PcbTraceRoutePoint, type PcbTraceRoutePointVia, type PcbTraceRoutePointWire, type PcbVia, type PcbViaInput, type Point, type Point3, type Position, type Rotation, type RouteHintPoint, type RouteHintPointInput, type SchematicBox, type SchematicBoxInput, type SchematicComponent, type SchematicComponentInput, type SchematicDebugLine, type SchematicDebugObject, type SchematicDebugObjectInput, type SchematicDebugRect, type SchematicError, type SchematicErrorInput, type SchematicLine, type SchematicLineInput, type SchematicNetLabel, type SchematicNetLabelInput, type SchematicPath, type SchematicPathInput, type SchematicPort, type SchematicPortInput, type SchematicText, type SchematicTextInput, type SchematicTrace, type SchematicTraceInput, type Size, type SourceComponentBase, type SourceGroup, type SourceGroupInput, type SourceLed, type SourceLedInput, type SourceNet, type SourceNetInput, type SourcePort, type SourceSimpleBattery, type SourceSimpleBatteryInput, type SourceSimpleBugInput, type SourceSimpleCapacitor, type SourceSimpleCapacitorInput, type SourceSimpleChip, type SourceSimpleChipInput, type SourceSimpleDiode, type SourceSimpleDiodeInput, type SourceSimpleGround, type SourceSimpleGroundInput, type SourceSimpleInductor, type SourceSimpleInductorInput, type SourceSimplePowerSource, type SourceSimplePowerSourceInput, type SourceSimpleResistor, type SourceSimpleResistorInput, type SourceTrace, type SupplierName, type VisibleLayer, type VisibleLayerRef, all_layers, any_circuit_element, any_soup_element, any_source_component, battery_capacity, cad_component, capacitance, current, distance, getZodPrefixedIdWithDefault, inductance, layer_ref, layer_string, length, pcb_board, pcb_component, pcb_fabrication_note_path, pcb_fabrication_note_text, pcb_hole, pcb_hole_circle_or_square_shape, pcb_hole_oval_shape, pcb_keepout, pcb_placement_error, pcb_plated_hole, pcb_port, pcb_port_not_matched_error, pcb_route_hint, pcb_route_hints, pcb_silkscreen_circle, pcb_silkscreen_line, pcb_silkscreen_oval, pcb_silkscreen_path, pcb_silkscreen_rect, pcb_silkscreen_text, pcb_smtpad, pcb_solder_paste, pcb_text, pcb_trace, pcb_trace_error, pcb_trace_hint, pcb_trace_route_point, pcb_trace_route_point_via, pcb_trace_route_point_wire, pcb_via, point, point3, position, position3, resistance, rotation, route_hint_point, schematic_box, schematic_component, schematic_debug_line, schematic_debug_object, schematic_debug_object_base, schematic_debug_rect, schematic_error, schematic_line, schematic_net_label, schematic_path, schematic_pin_styles, schematic_port, schematic_text, schematic_trace, size, source_component_base, source_group, source_led, source_net, source_port, source_simple_battery, source_simple_bug, source_simple_capacitor, source_simple_chip, source_simple_diode, source_simple_ground, source_simple_power_source, source_simple_resistor, source_trace, supplier_name, time, visible_layer, voltage };
|