circuit-json 0.0.86 → 0.0.88

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 CHANGED
@@ -626,6 +626,35 @@ declare const any_source_component: z.ZodUnion<[z.ZodObject<z.objectUtil.extendS
626
626
  manufacturer_part_number?: string | undefined;
627
627
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
628
628
  display_value?: string | undefined;
629
+ }>, z.ZodObject<z.objectUtil.extendShape<{
630
+ type: z.ZodLiteral<"source_component">;
631
+ ftype: z.ZodOptional<z.ZodString>;
632
+ source_component_id: z.ZodString;
633
+ name: z.ZodString;
634
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
635
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
636
+ display_value: z.ZodOptional<z.ZodString>;
637
+ }, {
638
+ ftype: z.ZodLiteral<"simple_inductor">;
639
+ inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
640
+ }>, "strip", z.ZodTypeAny, {
641
+ type: "source_component";
642
+ ftype: "simple_inductor";
643
+ source_component_id: string;
644
+ name: string;
645
+ inductance: number;
646
+ manufacturer_part_number?: string | undefined;
647
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
648
+ display_value?: string | undefined;
649
+ }, {
650
+ type: "source_component";
651
+ ftype: "simple_inductor";
652
+ source_component_id: string;
653
+ name: string;
654
+ inductance: string | number;
655
+ manufacturer_part_number?: string | undefined;
656
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
657
+ display_value?: string | undefined;
629
658
  }>]>;
630
659
  type AnySourceComponent = z.infer<typeof any_source_component>;
631
660
 
@@ -1341,6 +1370,220 @@ declare const schematic_error: z.ZodObject<{
1341
1370
  type SchematicErrorInput = z.input<typeof schematic_error>;
1342
1371
  type SchematicError = z.infer<typeof schematic_error>;
1343
1372
 
1373
+ declare const schematic_debug_object_base: z.ZodObject<{
1374
+ type: z.ZodLiteral<"schematic_debug_object">;
1375
+ label: z.ZodOptional<z.ZodString>;
1376
+ }, "strip", z.ZodTypeAny, {
1377
+ type: "schematic_debug_object";
1378
+ label?: string | undefined;
1379
+ }, {
1380
+ type: "schematic_debug_object";
1381
+ label?: string | undefined;
1382
+ }>;
1383
+ declare const schematic_debug_rect: z.ZodObject<z.objectUtil.extendShape<{
1384
+ type: z.ZodLiteral<"schematic_debug_object">;
1385
+ label: z.ZodOptional<z.ZodString>;
1386
+ }, {
1387
+ shape: z.ZodLiteral<"rect">;
1388
+ center: z.ZodObject<{
1389
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1390
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1391
+ }, "strip", z.ZodTypeAny, {
1392
+ x: number;
1393
+ y: number;
1394
+ }, {
1395
+ x: string | number;
1396
+ y: string | number;
1397
+ }>;
1398
+ size: z.ZodObject<{
1399
+ width: z.ZodNumber;
1400
+ height: z.ZodNumber;
1401
+ }, "strip", z.ZodTypeAny, {
1402
+ width: number;
1403
+ height: number;
1404
+ }, {
1405
+ width: number;
1406
+ height: number;
1407
+ }>;
1408
+ }>, "strip", z.ZodTypeAny, {
1409
+ type: "schematic_debug_object";
1410
+ size: {
1411
+ width: number;
1412
+ height: number;
1413
+ };
1414
+ center: {
1415
+ x: number;
1416
+ y: number;
1417
+ };
1418
+ shape: "rect";
1419
+ label?: string | undefined;
1420
+ }, {
1421
+ type: "schematic_debug_object";
1422
+ size: {
1423
+ width: number;
1424
+ height: number;
1425
+ };
1426
+ center: {
1427
+ x: string | number;
1428
+ y: string | number;
1429
+ };
1430
+ shape: "rect";
1431
+ label?: string | undefined;
1432
+ }>;
1433
+ declare const schematic_debug_line: z.ZodObject<z.objectUtil.extendShape<{
1434
+ type: z.ZodLiteral<"schematic_debug_object">;
1435
+ label: z.ZodOptional<z.ZodString>;
1436
+ }, {
1437
+ shape: z.ZodLiteral<"line">;
1438
+ start: z.ZodObject<{
1439
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1440
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1441
+ }, "strip", z.ZodTypeAny, {
1442
+ x: number;
1443
+ y: number;
1444
+ }, {
1445
+ x: string | number;
1446
+ y: string | number;
1447
+ }>;
1448
+ end: z.ZodObject<{
1449
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1450
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1451
+ }, "strip", z.ZodTypeAny, {
1452
+ x: number;
1453
+ y: number;
1454
+ }, {
1455
+ x: string | number;
1456
+ y: string | number;
1457
+ }>;
1458
+ }>, "strip", z.ZodTypeAny, {
1459
+ type: "schematic_debug_object";
1460
+ shape: "line";
1461
+ start: {
1462
+ x: number;
1463
+ y: number;
1464
+ };
1465
+ end: {
1466
+ x: number;
1467
+ y: number;
1468
+ };
1469
+ label?: string | undefined;
1470
+ }, {
1471
+ type: "schematic_debug_object";
1472
+ shape: "line";
1473
+ start: {
1474
+ x: string | number;
1475
+ y: string | number;
1476
+ };
1477
+ end: {
1478
+ x: string | number;
1479
+ y: string | number;
1480
+ };
1481
+ label?: string | undefined;
1482
+ }>;
1483
+ declare const schematic_debug_object: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
1484
+ type: z.ZodLiteral<"schematic_debug_object">;
1485
+ label: z.ZodOptional<z.ZodString>;
1486
+ }, {
1487
+ shape: z.ZodLiteral<"rect">;
1488
+ center: z.ZodObject<{
1489
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1490
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1491
+ }, "strip", z.ZodTypeAny, {
1492
+ x: number;
1493
+ y: number;
1494
+ }, {
1495
+ x: string | number;
1496
+ y: string | number;
1497
+ }>;
1498
+ size: z.ZodObject<{
1499
+ width: z.ZodNumber;
1500
+ height: z.ZodNumber;
1501
+ }, "strip", z.ZodTypeAny, {
1502
+ width: number;
1503
+ height: number;
1504
+ }, {
1505
+ width: number;
1506
+ height: number;
1507
+ }>;
1508
+ }>, "strip", z.ZodTypeAny, {
1509
+ type: "schematic_debug_object";
1510
+ size: {
1511
+ width: number;
1512
+ height: number;
1513
+ };
1514
+ center: {
1515
+ x: number;
1516
+ y: number;
1517
+ };
1518
+ shape: "rect";
1519
+ label?: string | undefined;
1520
+ }, {
1521
+ type: "schematic_debug_object";
1522
+ size: {
1523
+ width: number;
1524
+ height: number;
1525
+ };
1526
+ center: {
1527
+ x: string | number;
1528
+ y: string | number;
1529
+ };
1530
+ shape: "rect";
1531
+ label?: string | undefined;
1532
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1533
+ type: z.ZodLiteral<"schematic_debug_object">;
1534
+ label: z.ZodOptional<z.ZodString>;
1535
+ }, {
1536
+ shape: z.ZodLiteral<"line">;
1537
+ start: z.ZodObject<{
1538
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1539
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1540
+ }, "strip", z.ZodTypeAny, {
1541
+ x: number;
1542
+ y: number;
1543
+ }, {
1544
+ x: string | number;
1545
+ y: string | number;
1546
+ }>;
1547
+ end: z.ZodObject<{
1548
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1549
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
1550
+ }, "strip", z.ZodTypeAny, {
1551
+ x: number;
1552
+ y: number;
1553
+ }, {
1554
+ x: string | number;
1555
+ y: string | number;
1556
+ }>;
1557
+ }>, "strip", z.ZodTypeAny, {
1558
+ type: "schematic_debug_object";
1559
+ shape: "line";
1560
+ start: {
1561
+ x: number;
1562
+ y: number;
1563
+ };
1564
+ end: {
1565
+ x: number;
1566
+ y: number;
1567
+ };
1568
+ label?: string | undefined;
1569
+ }, {
1570
+ type: "schematic_debug_object";
1571
+ shape: "line";
1572
+ start: {
1573
+ x: string | number;
1574
+ y: string | number;
1575
+ };
1576
+ end: {
1577
+ x: string | number;
1578
+ y: string | number;
1579
+ };
1580
+ label?: string | undefined;
1581
+ }>]>;
1582
+ type SchematicDebugObject = z.infer<typeof schematic_debug_object>;
1583
+ type SchematicDebugRect = z.infer<typeof schematic_debug_rect>;
1584
+ type SchematicDebugLine = z.infer<typeof schematic_debug_line>;
1585
+ type SchematicDebugObjectInput = z.input<typeof schematic_debug_object>;
1586
+
1344
1587
  declare const all_layers: readonly ["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"];
1345
1588
  declare const layer_string: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
1346
1589
  declare const layer_ref: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
@@ -1755,8 +1998,8 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
1755
1998
  x: number;
1756
1999
  y: number;
1757
2000
  type: "pcb_plated_hole";
1758
- hole_diameter: number;
1759
2001
  shape: "circle";
2002
+ hole_diameter: number;
1760
2003
  outer_diameter: number;
1761
2004
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
1762
2005
  pcb_plated_hole_id: string;
@@ -1767,8 +2010,8 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
1767
2010
  x: string | number;
1768
2011
  y: string | number;
1769
2012
  type: "pcb_plated_hole";
1770
- hole_diameter: number;
1771
2013
  shape: "circle";
2014
+ hole_diameter: number;
1772
2015
  outer_diameter: number;
1773
2016
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1774
2017
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
@@ -1803,9 +2046,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
1803
2046
  x: number;
1804
2047
  y: number;
1805
2048
  type: "pcb_plated_hole";
2049
+ shape: "oval" | "pill";
1806
2050
  hole_width: number;
1807
2051
  hole_height: number;
1808
- shape: "oval" | "pill";
1809
2052
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
1810
2053
  pcb_plated_hole_id: string;
1811
2054
  outer_width: number;
@@ -1817,9 +2060,9 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
1817
2060
  x: string | number;
1818
2061
  y: string | number;
1819
2062
  type: "pcb_plated_hole";
2063
+ shape: "oval" | "pill";
1820
2064
  hole_width: number;
1821
2065
  hole_height: number;
1822
- shape: "oval" | "pill";
1823
2066
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1824
2067
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1825
2068
  })[];
@@ -1921,8 +2164,8 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
1921
2164
  x: number;
1922
2165
  y: number;
1923
2166
  type: "pcb_smtpad";
1924
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1925
2167
  shape: "circle";
2168
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1926
2169
  pcb_smtpad_id: string;
1927
2170
  radius: number;
1928
2171
  port_hints?: string[] | undefined;
@@ -1932,10 +2175,10 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
1932
2175
  x: string | number;
1933
2176
  y: string | number;
1934
2177
  type: "pcb_smtpad";
2178
+ shape: "circle";
1935
2179
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1936
2180
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1937
2181
  };
1938
- shape: "circle";
1939
2182
  radius: number;
1940
2183
  port_hints?: string[] | undefined;
1941
2184
  pcb_component_id?: string | undefined;
@@ -1967,8 +2210,8 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
1967
2210
  type: "pcb_smtpad";
1968
2211
  width: number;
1969
2212
  height: number;
1970
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1971
2213
  shape: "rect";
2214
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1972
2215
  pcb_smtpad_id: string;
1973
2216
  port_hints?: string[] | undefined;
1974
2217
  pcb_component_id?: string | undefined;
@@ -1979,10 +2222,10 @@ declare const pcb_smtpad: z.ZodUnion<[z.ZodObject<{
1979
2222
  type: "pcb_smtpad";
1980
2223
  width: number;
1981
2224
  height: number;
2225
+ shape: "rect";
1982
2226
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
1983
2227
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
1984
2228
  };
1985
- shape: "rect";
1986
2229
  port_hints?: string[] | undefined;
1987
2230
  pcb_component_id?: string | undefined;
1988
2231
  pcb_port_id?: string | undefined;
@@ -2048,8 +2291,8 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
2048
2291
  x: number;
2049
2292
  y: number;
2050
2293
  type: "pcb_solder_paste";
2051
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
2052
2294
  shape: "circle";
2295
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
2053
2296
  radius: number;
2054
2297
  pcb_solder_paste_id: string;
2055
2298
  pcb_component_id?: string | undefined;
@@ -2058,10 +2301,10 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
2058
2301
  x: string | number;
2059
2302
  y: string | number;
2060
2303
  type: "pcb_solder_paste";
2304
+ shape: "circle";
2061
2305
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
2062
2306
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
2063
2307
  };
2064
- shape: "circle";
2065
2308
  radius: number;
2066
2309
  pcb_component_id?: string | undefined;
2067
2310
  pcb_smtpad_id?: string | undefined;
@@ -2091,8 +2334,8 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
2091
2334
  type: "pcb_solder_paste";
2092
2335
  width: number;
2093
2336
  height: number;
2094
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
2095
2337
  shape: "rect";
2338
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
2096
2339
  pcb_solder_paste_id: string;
2097
2340
  pcb_component_id?: string | undefined;
2098
2341
  pcb_smtpad_id?: string | undefined;
@@ -2102,10 +2345,10 @@ declare const pcb_solder_paste: z.ZodUnion<[z.ZodObject<{
2102
2345
  type: "pcb_solder_paste";
2103
2346
  width: number;
2104
2347
  height: number;
2348
+ shape: "rect";
2105
2349
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
2106
2350
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
2107
2351
  };
2108
- shape: "rect";
2109
2352
  pcb_component_id?: string | undefined;
2110
2353
  pcb_smtpad_id?: string | undefined;
2111
2354
  pcb_solder_paste_id?: string | undefined;
@@ -3834,6 +4077,35 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
3834
4077
  manufacturer_part_number?: string | undefined;
3835
4078
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
3836
4079
  display_value?: string | undefined;
4080
+ }>, z.ZodObject<z.objectUtil.extendShape<{
4081
+ type: z.ZodLiteral<"source_component">;
4082
+ ftype: z.ZodOptional<z.ZodString>;
4083
+ source_component_id: z.ZodString;
4084
+ name: z.ZodString;
4085
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
4086
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
4087
+ display_value: z.ZodOptional<z.ZodString>;
4088
+ }, {
4089
+ ftype: z.ZodLiteral<"simple_inductor">;
4090
+ inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
4091
+ }>, "strip", z.ZodTypeAny, {
4092
+ type: "source_component";
4093
+ ftype: "simple_inductor";
4094
+ source_component_id: string;
4095
+ name: string;
4096
+ inductance: number;
4097
+ manufacturer_part_number?: string | undefined;
4098
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
4099
+ display_value?: string | undefined;
4100
+ }, {
4101
+ type: "source_component";
4102
+ ftype: "simple_inductor";
4103
+ source_component_id: string;
4104
+ name: string;
4105
+ inductance: string | number;
4106
+ manufacturer_part_number?: string | undefined;
4107
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
4108
+ display_value?: string | undefined;
3837
4109
  }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
3838
4110
  type: z.ZodLiteral<"source_component">;
3839
4111
  ftype: z.ZodOptional<z.ZodString>;
@@ -4219,8 +4491,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4219
4491
  x: number;
4220
4492
  y: number;
4221
4493
  type: "pcb_plated_hole";
4222
- hole_diameter: number;
4223
4494
  shape: "circle";
4495
+ hole_diameter: number;
4224
4496
  outer_diameter: number;
4225
4497
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
4226
4498
  pcb_plated_hole_id: string;
@@ -4231,8 +4503,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4231
4503
  x: string | number;
4232
4504
  y: string | number;
4233
4505
  type: "pcb_plated_hole";
4234
- hole_diameter: number;
4235
4506
  shape: "circle";
4507
+ hole_diameter: number;
4236
4508
  outer_diameter: number;
4237
4509
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4238
4510
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
@@ -4267,9 +4539,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4267
4539
  x: number;
4268
4540
  y: number;
4269
4541
  type: "pcb_plated_hole";
4542
+ shape: "oval" | "pill";
4270
4543
  hole_width: number;
4271
4544
  hole_height: number;
4272
- shape: "oval" | "pill";
4273
4545
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
4274
4546
  pcb_plated_hole_id: string;
4275
4547
  outer_width: number;
@@ -4281,9 +4553,9 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4281
4553
  x: string | number;
4282
4554
  y: string | number;
4283
4555
  type: "pcb_plated_hole";
4556
+ shape: "oval" | "pill";
4284
4557
  hole_width: number;
4285
4558
  hole_height: number;
4286
- shape: "oval" | "pill";
4287
4559
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4288
4560
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4289
4561
  })[];
@@ -4658,8 +4930,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4658
4930
  x: number;
4659
4931
  y: number;
4660
4932
  type: "pcb_smtpad";
4661
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4662
4933
  shape: "circle";
4934
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4663
4935
  pcb_smtpad_id: string;
4664
4936
  radius: number;
4665
4937
  port_hints?: string[] | undefined;
@@ -4669,10 +4941,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4669
4941
  x: string | number;
4670
4942
  y: string | number;
4671
4943
  type: "pcb_smtpad";
4944
+ shape: "circle";
4672
4945
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4673
4946
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4674
4947
  };
4675
- shape: "circle";
4676
4948
  radius: number;
4677
4949
  port_hints?: string[] | undefined;
4678
4950
  pcb_component_id?: string | undefined;
@@ -4704,8 +4976,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4704
4976
  type: "pcb_smtpad";
4705
4977
  width: number;
4706
4978
  height: number;
4707
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4708
4979
  shape: "rect";
4980
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4709
4981
  pcb_smtpad_id: string;
4710
4982
  port_hints?: string[] | undefined;
4711
4983
  pcb_component_id?: string | undefined;
@@ -4716,10 +4988,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4716
4988
  type: "pcb_smtpad";
4717
4989
  width: number;
4718
4990
  height: number;
4991
+ shape: "rect";
4719
4992
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4720
4993
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4721
4994
  };
4722
- shape: "rect";
4723
4995
  port_hints?: string[] | undefined;
4724
4996
  pcb_component_id?: string | undefined;
4725
4997
  pcb_port_id?: string | undefined;
@@ -4746,8 +5018,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4746
5018
  x: number;
4747
5019
  y: number;
4748
5020
  type: "pcb_solder_paste";
4749
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4750
5021
  shape: "circle";
5022
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4751
5023
  radius: number;
4752
5024
  pcb_solder_paste_id: string;
4753
5025
  pcb_component_id?: string | undefined;
@@ -4756,10 +5028,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4756
5028
  x: string | number;
4757
5029
  y: string | number;
4758
5030
  type: "pcb_solder_paste";
5031
+ shape: "circle";
4759
5032
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4760
5033
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4761
5034
  };
4762
- shape: "circle";
4763
5035
  radius: number;
4764
5036
  pcb_component_id?: string | undefined;
4765
5037
  pcb_smtpad_id?: string | undefined;
@@ -4789,8 +5061,8 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4789
5061
  type: "pcb_solder_paste";
4790
5062
  width: number;
4791
5063
  height: number;
4792
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4793
5064
  shape: "rect";
5065
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4794
5066
  pcb_solder_paste_id: string;
4795
5067
  pcb_component_id?: string | undefined;
4796
5068
  pcb_smtpad_id?: string | undefined;
@@ -4800,10 +5072,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
4800
5072
  type: "pcb_solder_paste";
4801
5073
  width: number;
4802
5074
  height: number;
5075
+ shape: "rect";
4803
5076
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
4804
5077
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
4805
5078
  };
4806
- shape: "rect";
4807
5079
  pcb_component_id?: string | undefined;
4808
5080
  pcb_smtpad_id?: string | undefined;
4809
5081
  pcb_solder_paste_id?: string | undefined;
@@ -5849,7 +6121,105 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
5849
6121
  };
5850
6122
  text: string;
5851
6123
  anchor_side: "left" | "right" | "top" | "bottom";
5852
- }>, z.ZodObject<{
6124
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
6125
+ type: z.ZodLiteral<"schematic_debug_object">;
6126
+ label: z.ZodOptional<z.ZodString>;
6127
+ }, {
6128
+ shape: z.ZodLiteral<"rect">;
6129
+ center: z.ZodObject<{
6130
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6131
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6132
+ }, "strip", z.ZodTypeAny, {
6133
+ x: number;
6134
+ y: number;
6135
+ }, {
6136
+ x: string | number;
6137
+ y: string | number;
6138
+ }>;
6139
+ size: z.ZodObject<{
6140
+ width: z.ZodNumber;
6141
+ height: z.ZodNumber;
6142
+ }, "strip", z.ZodTypeAny, {
6143
+ width: number;
6144
+ height: number;
6145
+ }, {
6146
+ width: number;
6147
+ height: number;
6148
+ }>;
6149
+ }>, "strip", z.ZodTypeAny, {
6150
+ type: "schematic_debug_object";
6151
+ size: {
6152
+ width: number;
6153
+ height: number;
6154
+ };
6155
+ center: {
6156
+ x: number;
6157
+ y: number;
6158
+ };
6159
+ shape: "rect";
6160
+ label?: string | undefined;
6161
+ }, {
6162
+ type: "schematic_debug_object";
6163
+ size: {
6164
+ width: number;
6165
+ height: number;
6166
+ };
6167
+ center: {
6168
+ x: string | number;
6169
+ y: string | number;
6170
+ };
6171
+ shape: "rect";
6172
+ label?: string | undefined;
6173
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6174
+ type: z.ZodLiteral<"schematic_debug_object">;
6175
+ label: z.ZodOptional<z.ZodString>;
6176
+ }, {
6177
+ shape: z.ZodLiteral<"line">;
6178
+ start: z.ZodObject<{
6179
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6180
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6181
+ }, "strip", z.ZodTypeAny, {
6182
+ x: number;
6183
+ y: number;
6184
+ }, {
6185
+ x: string | number;
6186
+ y: string | number;
6187
+ }>;
6188
+ end: z.ZodObject<{
6189
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6190
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6191
+ }, "strip", z.ZodTypeAny, {
6192
+ x: number;
6193
+ y: number;
6194
+ }, {
6195
+ x: string | number;
6196
+ y: string | number;
6197
+ }>;
6198
+ }>, "strip", z.ZodTypeAny, {
6199
+ type: "schematic_debug_object";
6200
+ shape: "line";
6201
+ start: {
6202
+ x: number;
6203
+ y: number;
6204
+ };
6205
+ end: {
6206
+ x: number;
6207
+ y: number;
6208
+ };
6209
+ label?: string | undefined;
6210
+ }, {
6211
+ type: "schematic_debug_object";
6212
+ shape: "line";
6213
+ start: {
6214
+ x: string | number;
6215
+ y: string | number;
6216
+ };
6217
+ end: {
6218
+ x: string | number;
6219
+ y: string | number;
6220
+ };
6221
+ label?: string | undefined;
6222
+ }>]>, z.ZodObject<{
5853
6223
  type: z.ZodLiteral<"cad_component">;
5854
6224
  cad_component_id: z.ZodString;
5855
6225
  pcb_component_id: z.ZodString;
@@ -6249,6 +6619,35 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
6249
6619
  manufacturer_part_number?: string | undefined;
6250
6620
  supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6251
6621
  display_value?: string | undefined;
6622
+ }>, z.ZodObject<z.objectUtil.extendShape<{
6623
+ type: z.ZodLiteral<"source_component">;
6624
+ ftype: z.ZodOptional<z.ZodString>;
6625
+ source_component_id: z.ZodString;
6626
+ name: z.ZodString;
6627
+ manufacturer_part_number: z.ZodOptional<z.ZodString>;
6628
+ supplier_part_numbers: z.ZodOptional<z.ZodRecord<z.ZodEnum<["jlcpcb", "macrofab", "pcbway", "digikey", "mouser", "lcsc"]>, z.ZodArray<z.ZodString, "many">>>;
6629
+ display_value: z.ZodOptional<z.ZodString>;
6630
+ }, {
6631
+ ftype: z.ZodLiteral<"simple_inductor">;
6632
+ inductance: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
6633
+ }>, "strip", z.ZodTypeAny, {
6634
+ type: "source_component";
6635
+ ftype: "simple_inductor";
6636
+ source_component_id: string;
6637
+ name: string;
6638
+ inductance: number;
6639
+ manufacturer_part_number?: string | undefined;
6640
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6641
+ display_value?: string | undefined;
6642
+ }, {
6643
+ type: "source_component";
6644
+ ftype: "simple_inductor";
6645
+ source_component_id: string;
6646
+ name: string;
6647
+ inductance: string | number;
6648
+ manufacturer_part_number?: string | undefined;
6649
+ supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
6650
+ display_value?: string | undefined;
6252
6651
  }>]>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
6253
6652
  type: z.ZodLiteral<"source_component">;
6254
6653
  ftype: z.ZodOptional<z.ZodString>;
@@ -6634,8 +7033,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
6634
7033
  x: number;
6635
7034
  y: number;
6636
7035
  type: "pcb_plated_hole";
6637
- hole_diameter: number;
6638
7036
  shape: "circle";
7037
+ hole_diameter: number;
6639
7038
  outer_diameter: number;
6640
7039
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
6641
7040
  pcb_plated_hole_id: string;
@@ -6646,8 +7045,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
6646
7045
  x: string | number;
6647
7046
  y: string | number;
6648
7047
  type: "pcb_plated_hole";
6649
- hole_diameter: number;
6650
7048
  shape: "circle";
7049
+ hole_diameter: number;
6651
7050
  outer_diameter: number;
6652
7051
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6653
7052
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
@@ -6682,9 +7081,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
6682
7081
  x: number;
6683
7082
  y: number;
6684
7083
  type: "pcb_plated_hole";
7084
+ shape: "oval" | "pill";
6685
7085
  hole_width: number;
6686
7086
  hole_height: number;
6687
- shape: "oval" | "pill";
6688
7087
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
6689
7088
  pcb_plated_hole_id: string;
6690
7089
  outer_width: number;
@@ -6696,9 +7095,9 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
6696
7095
  x: string | number;
6697
7096
  y: string | number;
6698
7097
  type: "pcb_plated_hole";
7098
+ shape: "oval" | "pill";
6699
7099
  hole_width: number;
6700
7100
  hole_height: number;
6701
- shape: "oval" | "pill";
6702
7101
  layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
6703
7102
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
6704
7103
  })[];
@@ -7073,8 +7472,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
7073
7472
  x: number;
7074
7473
  y: number;
7075
7474
  type: "pcb_smtpad";
7076
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7077
7475
  shape: "circle";
7476
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7078
7477
  pcb_smtpad_id: string;
7079
7478
  radius: number;
7080
7479
  port_hints?: string[] | undefined;
@@ -7084,10 +7483,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
7084
7483
  x: string | number;
7085
7484
  y: string | number;
7086
7485
  type: "pcb_smtpad";
7486
+ shape: "circle";
7087
7487
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7088
7488
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7089
7489
  };
7090
- shape: "circle";
7091
7490
  radius: number;
7092
7491
  port_hints?: string[] | undefined;
7093
7492
  pcb_component_id?: string | undefined;
@@ -7119,8 +7518,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
7119
7518
  type: "pcb_smtpad";
7120
7519
  width: number;
7121
7520
  height: number;
7122
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7123
7521
  shape: "rect";
7522
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7124
7523
  pcb_smtpad_id: string;
7125
7524
  port_hints?: string[] | undefined;
7126
7525
  pcb_component_id?: string | undefined;
@@ -7131,10 +7530,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
7131
7530
  type: "pcb_smtpad";
7132
7531
  width: number;
7133
7532
  height: number;
7533
+ shape: "rect";
7134
7534
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7135
7535
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7136
7536
  };
7137
- shape: "rect";
7138
7537
  port_hints?: string[] | undefined;
7139
7538
  pcb_component_id?: string | undefined;
7140
7539
  pcb_port_id?: string | undefined;
@@ -7161,8 +7560,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
7161
7560
  x: number;
7162
7561
  y: number;
7163
7562
  type: "pcb_solder_paste";
7164
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7165
7563
  shape: "circle";
7564
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7166
7565
  radius: number;
7167
7566
  pcb_solder_paste_id: string;
7168
7567
  pcb_component_id?: string | undefined;
@@ -7171,10 +7570,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
7171
7570
  x: string | number;
7172
7571
  y: string | number;
7173
7572
  type: "pcb_solder_paste";
7573
+ shape: "circle";
7174
7574
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7175
7575
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7176
7576
  };
7177
- shape: "circle";
7178
7577
  radius: number;
7179
7578
  pcb_component_id?: string | undefined;
7180
7579
  pcb_smtpad_id?: string | undefined;
@@ -7204,8 +7603,8 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
7204
7603
  type: "pcb_solder_paste";
7205
7604
  width: number;
7206
7605
  height: number;
7207
- layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7208
7606
  shape: "rect";
7607
+ layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7209
7608
  pcb_solder_paste_id: string;
7210
7609
  pcb_component_id?: string | undefined;
7211
7610
  pcb_smtpad_id?: string | undefined;
@@ -7215,10 +7614,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
7215
7614
  type: "pcb_solder_paste";
7216
7615
  width: number;
7217
7616
  height: number;
7617
+ shape: "rect";
7218
7618
  layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
7219
7619
  name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
7220
7620
  };
7221
- shape: "rect";
7222
7621
  pcb_component_id?: string | undefined;
7223
7622
  pcb_smtpad_id?: string | undefined;
7224
7623
  pcb_solder_paste_id?: string | undefined;
@@ -8264,7 +8663,105 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
8264
8663
  };
8265
8664
  text: string;
8266
8665
  anchor_side: "left" | "right" | "top" | "bottom";
8267
- }>, z.ZodObject<{
8666
+ }>, z.ZodDiscriminatedUnion<"shape", [z.ZodObject<z.objectUtil.extendShape<{
8667
+ type: z.ZodLiteral<"schematic_debug_object">;
8668
+ label: z.ZodOptional<z.ZodString>;
8669
+ }, {
8670
+ shape: z.ZodLiteral<"rect">;
8671
+ center: z.ZodObject<{
8672
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8673
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8674
+ }, "strip", z.ZodTypeAny, {
8675
+ x: number;
8676
+ y: number;
8677
+ }, {
8678
+ x: string | number;
8679
+ y: string | number;
8680
+ }>;
8681
+ size: z.ZodObject<{
8682
+ width: z.ZodNumber;
8683
+ height: z.ZodNumber;
8684
+ }, "strip", z.ZodTypeAny, {
8685
+ width: number;
8686
+ height: number;
8687
+ }, {
8688
+ width: number;
8689
+ height: number;
8690
+ }>;
8691
+ }>, "strip", z.ZodTypeAny, {
8692
+ type: "schematic_debug_object";
8693
+ size: {
8694
+ width: number;
8695
+ height: number;
8696
+ };
8697
+ center: {
8698
+ x: number;
8699
+ y: number;
8700
+ };
8701
+ shape: "rect";
8702
+ label?: string | undefined;
8703
+ }, {
8704
+ type: "schematic_debug_object";
8705
+ size: {
8706
+ width: number;
8707
+ height: number;
8708
+ };
8709
+ center: {
8710
+ x: string | number;
8711
+ y: string | number;
8712
+ };
8713
+ shape: "rect";
8714
+ label?: string | undefined;
8715
+ }>, z.ZodObject<z.objectUtil.extendShape<{
8716
+ type: z.ZodLiteral<"schematic_debug_object">;
8717
+ label: z.ZodOptional<z.ZodString>;
8718
+ }, {
8719
+ shape: z.ZodLiteral<"line">;
8720
+ start: z.ZodObject<{
8721
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8722
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8723
+ }, "strip", z.ZodTypeAny, {
8724
+ x: number;
8725
+ y: number;
8726
+ }, {
8727
+ x: string | number;
8728
+ y: string | number;
8729
+ }>;
8730
+ end: z.ZodObject<{
8731
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8732
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
8733
+ }, "strip", z.ZodTypeAny, {
8734
+ x: number;
8735
+ y: number;
8736
+ }, {
8737
+ x: string | number;
8738
+ y: string | number;
8739
+ }>;
8740
+ }>, "strip", z.ZodTypeAny, {
8741
+ type: "schematic_debug_object";
8742
+ shape: "line";
8743
+ start: {
8744
+ x: number;
8745
+ y: number;
8746
+ };
8747
+ end: {
8748
+ x: number;
8749
+ y: number;
8750
+ };
8751
+ label?: string | undefined;
8752
+ }, {
8753
+ type: "schematic_debug_object";
8754
+ shape: "line";
8755
+ start: {
8756
+ x: string | number;
8757
+ y: string | number;
8758
+ };
8759
+ end: {
8760
+ x: string | number;
8761
+ y: string | number;
8762
+ };
8763
+ label?: string | undefined;
8764
+ }>]>, z.ZodObject<{
8268
8765
  type: z.ZodLiteral<"cad_component">;
8269
8766
  cad_component_id: z.ZodString;
8270
8767
  pcb_component_id: z.ZodString;
@@ -8388,4 +8885,4 @@ type AnySoupElement = AnyCircuitElement;
8388
8885
  */
8389
8886
  type AnySoupElementInput = AnyCircuitElementInput;
8390
8887
 
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 };
8888
+ 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_inductor, source_simple_power_source, source_simple_resistor, source_trace, supplier_name, time, visible_layer, voltage };