@tscircuit/eval 0.0.616 → 0.0.618
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/blob-url.js +1 -1
- package/dist/eval/index.d.ts +140 -12
- package/dist/lib/index.d.ts +140 -12
- package/dist/webworker/entrypoint.js +6 -6
- package/package.json +4 -4
package/dist/lib/index.d.ts
CHANGED
|
@@ -550,6 +550,25 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
550
550
|
display_name?: string | undefined;
|
|
551
551
|
are_pins_interchangeable?: boolean | undefined;
|
|
552
552
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
553
|
+
} | {
|
|
554
|
+
type: "source_component";
|
|
555
|
+
name: string;
|
|
556
|
+
source_component_id: string;
|
|
557
|
+
voltage: number;
|
|
558
|
+
ftype: "simple_voltage_source";
|
|
559
|
+
subcircuit_id?: string | undefined;
|
|
560
|
+
source_group_id?: string | undefined;
|
|
561
|
+
frequency?: number | undefined;
|
|
562
|
+
peak_to_peak_voltage?: number | undefined;
|
|
563
|
+
wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
564
|
+
phase?: number | undefined;
|
|
565
|
+
duty_cycle?: number | undefined;
|
|
566
|
+
manufacturer_part_number?: string | undefined;
|
|
567
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
568
|
+
display_value?: string | undefined;
|
|
569
|
+
display_name?: string | undefined;
|
|
570
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
571
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
553
572
|
} | {
|
|
554
573
|
type: "source_project_metadata";
|
|
555
574
|
name?: string | undefined;
|
|
@@ -564,12 +583,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
564
583
|
source_missing_property_error_id: string;
|
|
565
584
|
property_name: string;
|
|
566
585
|
subcircuit_id?: string | undefined;
|
|
586
|
+
is_fatal?: boolean | undefined;
|
|
567
587
|
} | {
|
|
568
588
|
message: string;
|
|
569
589
|
type: "source_failed_to_create_component_error";
|
|
570
590
|
error_type: "source_failed_to_create_component_error";
|
|
571
591
|
source_failed_to_create_component_error_id: string;
|
|
572
592
|
subcircuit_id?: string | undefined;
|
|
593
|
+
is_fatal?: boolean | undefined;
|
|
573
594
|
pcb_center?: {
|
|
574
595
|
x?: number | undefined;
|
|
575
596
|
y?: number | undefined;
|
|
@@ -587,6 +608,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
587
608
|
source_trace_not_connected_error_id: string;
|
|
588
609
|
subcircuit_id?: string | undefined;
|
|
589
610
|
source_trace_id?: string | undefined;
|
|
611
|
+
is_fatal?: boolean | undefined;
|
|
590
612
|
source_group_id?: string | undefined;
|
|
591
613
|
connected_source_port_ids?: string[] | undefined;
|
|
592
614
|
selectors_not_found?: string[] | undefined;
|
|
@@ -921,6 +943,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
921
943
|
source_trace_not_connected_error_id: string;
|
|
922
944
|
subcircuit_id?: string | undefined;
|
|
923
945
|
source_trace_id?: string | undefined;
|
|
946
|
+
is_fatal?: boolean | undefined;
|
|
924
947
|
source_group_id?: string | undefined;
|
|
925
948
|
connected_source_port_ids?: string[] | undefined;
|
|
926
949
|
selectors_not_found?: string[] | undefined;
|
|
@@ -940,6 +963,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
940
963
|
error_type: "source_pin_must_be_connected_error";
|
|
941
964
|
source_pin_must_be_connected_error_id: string;
|
|
942
965
|
subcircuit_id?: string | undefined;
|
|
966
|
+
is_fatal?: boolean | undefined;
|
|
943
967
|
} | {
|
|
944
968
|
message: string;
|
|
945
969
|
type: "unknown_error_finding_part";
|
|
@@ -947,6 +971,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
947
971
|
unknown_error_finding_part_id: string;
|
|
948
972
|
source_component_id?: string | undefined;
|
|
949
973
|
subcircuit_id?: string | undefined;
|
|
974
|
+
is_fatal?: boolean | undefined;
|
|
950
975
|
} | {
|
|
951
976
|
type: "pcb_component";
|
|
952
977
|
width: number;
|
|
@@ -1053,6 +1078,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1053
1078
|
pcb_missing_footprint_error_id: string;
|
|
1054
1079
|
subcircuit_id?: string | undefined;
|
|
1055
1080
|
pcb_group_id?: string | undefined;
|
|
1081
|
+
is_fatal?: boolean | undefined;
|
|
1056
1082
|
} | {
|
|
1057
1083
|
message: string;
|
|
1058
1084
|
type: "external_footprint_load_error";
|
|
@@ -1062,6 +1088,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1062
1088
|
external_footprint_load_error_id: string;
|
|
1063
1089
|
subcircuit_id?: string | undefined;
|
|
1064
1090
|
pcb_group_id?: string | undefined;
|
|
1091
|
+
is_fatal?: boolean | undefined;
|
|
1065
1092
|
footprinter_string?: string | undefined;
|
|
1066
1093
|
} | {
|
|
1067
1094
|
message: string;
|
|
@@ -1072,6 +1099,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1072
1099
|
circuit_json_footprint_load_error_id: string;
|
|
1073
1100
|
subcircuit_id?: string | undefined;
|
|
1074
1101
|
pcb_group_id?: string | undefined;
|
|
1102
|
+
is_fatal?: boolean | undefined;
|
|
1075
1103
|
circuit_json?: any[] | undefined;
|
|
1076
1104
|
} | {
|
|
1077
1105
|
message: string;
|
|
@@ -1716,8 +1744,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1716
1744
|
type: "pcb_trace_error";
|
|
1717
1745
|
source_trace_id: string;
|
|
1718
1746
|
pcb_trace_id: string;
|
|
1719
|
-
pcb_trace_error_id: string;
|
|
1720
1747
|
error_type: "pcb_trace_error";
|
|
1748
|
+
pcb_trace_error_id: string;
|
|
1721
1749
|
pcb_component_ids: string[];
|
|
1722
1750
|
pcb_port_ids: string[];
|
|
1723
1751
|
center?: {
|
|
@@ -1725,6 +1753,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1725
1753
|
y: number;
|
|
1726
1754
|
} | undefined;
|
|
1727
1755
|
subcircuit_id?: string | undefined;
|
|
1756
|
+
is_fatal?: boolean | undefined;
|
|
1728
1757
|
} | {
|
|
1729
1758
|
message: string;
|
|
1730
1759
|
type: "pcb_trace_missing_error";
|
|
@@ -1738,12 +1767,23 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1738
1767
|
y: number;
|
|
1739
1768
|
} | undefined;
|
|
1740
1769
|
subcircuit_id?: string | undefined;
|
|
1770
|
+
is_fatal?: boolean | undefined;
|
|
1741
1771
|
} | {
|
|
1742
1772
|
message: string;
|
|
1743
1773
|
type: "pcb_placement_error";
|
|
1744
1774
|
error_type: "pcb_placement_error";
|
|
1745
1775
|
pcb_placement_error_id: string;
|
|
1746
1776
|
subcircuit_id?: string | undefined;
|
|
1777
|
+
is_fatal?: boolean | undefined;
|
|
1778
|
+
} | {
|
|
1779
|
+
message: string;
|
|
1780
|
+
type: "pcb_panelization_placement_error";
|
|
1781
|
+
error_type: "pcb_panelization_placement_error";
|
|
1782
|
+
pcb_panelization_placement_error_id: string;
|
|
1783
|
+
subcircuit_id?: string | undefined;
|
|
1784
|
+
is_fatal?: boolean | undefined;
|
|
1785
|
+
pcb_board_id?: string | undefined;
|
|
1786
|
+
pcb_panel_id?: string | undefined;
|
|
1747
1787
|
} | {
|
|
1748
1788
|
message: string;
|
|
1749
1789
|
type: "pcb_port_not_matched_error";
|
|
@@ -1751,6 +1791,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1751
1791
|
pcb_component_ids: string[];
|
|
1752
1792
|
pcb_error_id: string;
|
|
1753
1793
|
subcircuit_id?: string | undefined;
|
|
1794
|
+
is_fatal?: boolean | undefined;
|
|
1754
1795
|
} | {
|
|
1755
1796
|
message: string;
|
|
1756
1797
|
type: "pcb_port_not_connected_error";
|
|
@@ -1759,6 +1800,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1759
1800
|
pcb_port_ids: string[];
|
|
1760
1801
|
pcb_port_not_connected_error_id: string;
|
|
1761
1802
|
subcircuit_id?: string | undefined;
|
|
1803
|
+
is_fatal?: boolean | undefined;
|
|
1762
1804
|
} | {
|
|
1763
1805
|
message: string;
|
|
1764
1806
|
type: "pcb_via_clearance_error";
|
|
@@ -1766,6 +1808,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1766
1808
|
pcb_error_id: string;
|
|
1767
1809
|
pcb_via_ids: string[];
|
|
1768
1810
|
subcircuit_id?: string | undefined;
|
|
1811
|
+
is_fatal?: boolean | undefined;
|
|
1769
1812
|
minimum_clearance?: number | undefined;
|
|
1770
1813
|
actual_clearance?: number | undefined;
|
|
1771
1814
|
pcb_center?: {
|
|
@@ -1943,11 +1986,13 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1943
1986
|
error_type: "pcb_autorouting_error";
|
|
1944
1987
|
pcb_error_id: string;
|
|
1945
1988
|
subcircuit_id?: string | undefined;
|
|
1989
|
+
is_fatal?: boolean | undefined;
|
|
1946
1990
|
} | {
|
|
1947
1991
|
message: string;
|
|
1948
1992
|
type: "pcb_footprint_overlap_error";
|
|
1949
1993
|
error_type: "pcb_footprint_overlap_error";
|
|
1950
1994
|
pcb_error_id: string;
|
|
1995
|
+
is_fatal?: boolean | undefined;
|
|
1951
1996
|
pcb_smtpad_ids?: string[] | undefined;
|
|
1952
1997
|
pcb_plated_hole_ids?: string[] | undefined;
|
|
1953
1998
|
pcb_hole_ids?: string[] | undefined;
|
|
@@ -2121,6 +2166,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2121
2166
|
};
|
|
2122
2167
|
source_component_id?: string | undefined;
|
|
2123
2168
|
subcircuit_id?: string | undefined;
|
|
2169
|
+
is_fatal?: boolean | undefined;
|
|
2124
2170
|
} | {
|
|
2125
2171
|
message: string;
|
|
2126
2172
|
type: "pcb_component_invalid_layer_error";
|
|
@@ -2130,6 +2176,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2130
2176
|
pcb_component_invalid_layer_error_id: string;
|
|
2131
2177
|
pcb_component_id?: string | undefined;
|
|
2132
2178
|
subcircuit_id?: string | undefined;
|
|
2179
|
+
is_fatal?: boolean | undefined;
|
|
2133
2180
|
} | {
|
|
2134
2181
|
type: "pcb_courtyard_rect";
|
|
2135
2182
|
width: number;
|
|
@@ -2180,6 +2227,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2180
2227
|
is_dashed: boolean;
|
|
2181
2228
|
subcircuit_id?: string | undefined;
|
|
2182
2229
|
schematic_component_id?: string | undefined;
|
|
2230
|
+
schematic_symbol_id?: string | undefined;
|
|
2183
2231
|
} | {
|
|
2184
2232
|
type: "schematic_text";
|
|
2185
2233
|
anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
|
|
@@ -2194,6 +2242,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2194
2242
|
};
|
|
2195
2243
|
subcircuit_id?: string | undefined;
|
|
2196
2244
|
schematic_component_id?: string | undefined;
|
|
2245
|
+
schematic_symbol_id?: string | undefined;
|
|
2197
2246
|
} | {
|
|
2198
2247
|
type: "schematic_line";
|
|
2199
2248
|
x1: number;
|
|
@@ -2202,10 +2251,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2202
2251
|
y2: number;
|
|
2203
2252
|
color: string;
|
|
2204
2253
|
is_dashed: boolean;
|
|
2205
|
-
schematic_component_id: string;
|
|
2206
2254
|
schematic_line_id: string;
|
|
2207
2255
|
subcircuit_id?: string | undefined;
|
|
2208
2256
|
stroke_width?: number | null | undefined;
|
|
2257
|
+
schematic_component_id?: string | undefined;
|
|
2258
|
+
schematic_symbol_id?: string | undefined;
|
|
2209
2259
|
} | {
|
|
2210
2260
|
type: "schematic_rect";
|
|
2211
2261
|
width: number;
|
|
@@ -2218,10 +2268,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2218
2268
|
is_filled: boolean;
|
|
2219
2269
|
color: string;
|
|
2220
2270
|
is_dashed: boolean;
|
|
2221
|
-
schematic_component_id: string;
|
|
2222
2271
|
schematic_rect_id: string;
|
|
2223
2272
|
subcircuit_id?: string | undefined;
|
|
2224
2273
|
stroke_width?: number | null | undefined;
|
|
2274
|
+
schematic_component_id?: string | undefined;
|
|
2275
|
+
schematic_symbol_id?: string | undefined;
|
|
2225
2276
|
fill_color?: string | undefined;
|
|
2226
2277
|
} | {
|
|
2227
2278
|
type: "schematic_circle";
|
|
@@ -2233,10 +2284,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2233
2284
|
is_filled: boolean;
|
|
2234
2285
|
color: string;
|
|
2235
2286
|
is_dashed: boolean;
|
|
2236
|
-
schematic_component_id: string;
|
|
2237
2287
|
schematic_circle_id: string;
|
|
2238
2288
|
subcircuit_id?: string | undefined;
|
|
2239
2289
|
stroke_width?: number | null | undefined;
|
|
2290
|
+
schematic_component_id?: string | undefined;
|
|
2291
|
+
schematic_symbol_id?: string | undefined;
|
|
2240
2292
|
fill_color?: string | undefined;
|
|
2241
2293
|
} | {
|
|
2242
2294
|
type: "schematic_arc";
|
|
@@ -2247,13 +2299,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2247
2299
|
radius: number;
|
|
2248
2300
|
color: string;
|
|
2249
2301
|
is_dashed: boolean;
|
|
2250
|
-
schematic_component_id: string;
|
|
2251
2302
|
direction: "clockwise" | "counterclockwise";
|
|
2252
2303
|
schematic_arc_id: string;
|
|
2253
2304
|
start_angle_degrees: number;
|
|
2254
2305
|
end_angle_degrees: number;
|
|
2255
2306
|
subcircuit_id?: string | undefined;
|
|
2256
2307
|
stroke_width?: number | null | undefined;
|
|
2308
|
+
schematic_component_id?: string | undefined;
|
|
2309
|
+
schematic_symbol_id?: string | undefined;
|
|
2257
2310
|
} | {
|
|
2258
2311
|
type: "schematic_component";
|
|
2259
2312
|
center: {
|
|
@@ -2269,6 +2322,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2269
2322
|
source_component_id?: string | undefined;
|
|
2270
2323
|
subcircuit_id?: string | undefined;
|
|
2271
2324
|
source_group_id?: string | undefined;
|
|
2325
|
+
schematic_symbol_id?: string | undefined;
|
|
2272
2326
|
pin_spacing?: number | undefined;
|
|
2273
2327
|
pin_styles?: Record<string, {
|
|
2274
2328
|
left_margin?: number | undefined;
|
|
@@ -2305,6 +2359,10 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2305
2359
|
symbol_display_value?: string | undefined;
|
|
2306
2360
|
schematic_group_id?: string | undefined;
|
|
2307
2361
|
is_schematic_group?: boolean | undefined;
|
|
2362
|
+
} | {
|
|
2363
|
+
type: "schematic_symbol";
|
|
2364
|
+
schematic_symbol_id: string;
|
|
2365
|
+
name?: string | undefined;
|
|
2308
2366
|
} | {
|
|
2309
2367
|
type: "schematic_port";
|
|
2310
2368
|
center: {
|
|
@@ -2354,10 +2412,12 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2354
2412
|
x: number;
|
|
2355
2413
|
y: number;
|
|
2356
2414
|
}[];
|
|
2357
|
-
|
|
2415
|
+
schematic_path_id: string;
|
|
2358
2416
|
subcircuit_id?: string | undefined;
|
|
2359
2417
|
stroke_width?: number | null | undefined;
|
|
2360
2418
|
is_filled?: boolean | undefined;
|
|
2419
|
+
schematic_component_id?: string | undefined;
|
|
2420
|
+
schematic_symbol_id?: string | undefined;
|
|
2361
2421
|
fill_color?: "red" | "blue" | undefined;
|
|
2362
2422
|
stroke_color?: string | undefined;
|
|
2363
2423
|
} | {
|
|
@@ -2366,6 +2426,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2366
2426
|
error_type: "schematic_port_not_found";
|
|
2367
2427
|
schematic_error_id: string;
|
|
2368
2428
|
subcircuit_id?: string | undefined;
|
|
2429
|
+
is_fatal?: boolean | undefined;
|
|
2369
2430
|
} | {
|
|
2370
2431
|
message: string;
|
|
2371
2432
|
type: "schematic_layout_error";
|
|
@@ -2374,6 +2435,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2374
2435
|
schematic_group_id: string;
|
|
2375
2436
|
schematic_layout_error_id: string;
|
|
2376
2437
|
subcircuit_id?: string | undefined;
|
|
2438
|
+
is_fatal?: boolean | undefined;
|
|
2377
2439
|
} | {
|
|
2378
2440
|
type: "schematic_net_label";
|
|
2379
2441
|
center: {
|
|
@@ -2509,6 +2571,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2509
2571
|
type: "cad_component";
|
|
2510
2572
|
pcb_component_id: string;
|
|
2511
2573
|
source_component_id: string;
|
|
2574
|
+
anchor_alignment: "center" | "xy_center_z_board";
|
|
2512
2575
|
position: {
|
|
2513
2576
|
x: number;
|
|
2514
2577
|
y: number;
|
|
@@ -2630,6 +2693,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2630
2693
|
error_type: "simulation_unknown_experiment_error";
|
|
2631
2694
|
simulation_unknown_experiment_error_id: string;
|
|
2632
2695
|
subcircuit_id?: string | undefined;
|
|
2696
|
+
is_fatal?: boolean | undefined;
|
|
2633
2697
|
simulation_experiment_id?: string | undefined;
|
|
2634
2698
|
} | {
|
|
2635
2699
|
type: "simulation_op_amp";
|
|
@@ -3037,6 +3101,25 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3037
3101
|
display_name?: string | undefined;
|
|
3038
3102
|
are_pins_interchangeable?: boolean | undefined;
|
|
3039
3103
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
3104
|
+
} | {
|
|
3105
|
+
type: "source_component";
|
|
3106
|
+
name: string;
|
|
3107
|
+
source_component_id: string;
|
|
3108
|
+
voltage: number;
|
|
3109
|
+
ftype: "simple_voltage_source";
|
|
3110
|
+
subcircuit_id?: string | undefined;
|
|
3111
|
+
source_group_id?: string | undefined;
|
|
3112
|
+
frequency?: number | undefined;
|
|
3113
|
+
peak_to_peak_voltage?: number | undefined;
|
|
3114
|
+
wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
3115
|
+
phase?: number | undefined;
|
|
3116
|
+
duty_cycle?: number | undefined;
|
|
3117
|
+
manufacturer_part_number?: string | undefined;
|
|
3118
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3119
|
+
display_value?: string | undefined;
|
|
3120
|
+
display_name?: string | undefined;
|
|
3121
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
3122
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
3040
3123
|
} | {
|
|
3041
3124
|
type: "source_project_metadata";
|
|
3042
3125
|
name?: string | undefined;
|
|
@@ -3051,12 +3134,14 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3051
3134
|
source_missing_property_error_id: string;
|
|
3052
3135
|
property_name: string;
|
|
3053
3136
|
subcircuit_id?: string | undefined;
|
|
3137
|
+
is_fatal?: boolean | undefined;
|
|
3054
3138
|
} | {
|
|
3055
3139
|
message: string;
|
|
3056
3140
|
type: "source_failed_to_create_component_error";
|
|
3057
3141
|
error_type: "source_failed_to_create_component_error";
|
|
3058
3142
|
source_failed_to_create_component_error_id: string;
|
|
3059
3143
|
subcircuit_id?: string | undefined;
|
|
3144
|
+
is_fatal?: boolean | undefined;
|
|
3060
3145
|
pcb_center?: {
|
|
3061
3146
|
x?: number | undefined;
|
|
3062
3147
|
y?: number | undefined;
|
|
@@ -3074,6 +3159,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3074
3159
|
source_trace_not_connected_error_id: string;
|
|
3075
3160
|
subcircuit_id?: string | undefined;
|
|
3076
3161
|
source_trace_id?: string | undefined;
|
|
3162
|
+
is_fatal?: boolean | undefined;
|
|
3077
3163
|
source_group_id?: string | undefined;
|
|
3078
3164
|
connected_source_port_ids?: string[] | undefined;
|
|
3079
3165
|
selectors_not_found?: string[] | undefined;
|
|
@@ -3408,6 +3494,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3408
3494
|
source_trace_not_connected_error_id: string;
|
|
3409
3495
|
subcircuit_id?: string | undefined;
|
|
3410
3496
|
source_trace_id?: string | undefined;
|
|
3497
|
+
is_fatal?: boolean | undefined;
|
|
3411
3498
|
source_group_id?: string | undefined;
|
|
3412
3499
|
connected_source_port_ids?: string[] | undefined;
|
|
3413
3500
|
selectors_not_found?: string[] | undefined;
|
|
@@ -3427,6 +3514,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3427
3514
|
error_type: "source_pin_must_be_connected_error";
|
|
3428
3515
|
source_pin_must_be_connected_error_id: string;
|
|
3429
3516
|
subcircuit_id?: string | undefined;
|
|
3517
|
+
is_fatal?: boolean | undefined;
|
|
3430
3518
|
} | {
|
|
3431
3519
|
message: string;
|
|
3432
3520
|
type: "unknown_error_finding_part";
|
|
@@ -3434,6 +3522,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3434
3522
|
unknown_error_finding_part_id: string;
|
|
3435
3523
|
source_component_id?: string | undefined;
|
|
3436
3524
|
subcircuit_id?: string | undefined;
|
|
3525
|
+
is_fatal?: boolean | undefined;
|
|
3437
3526
|
} | {
|
|
3438
3527
|
type: "pcb_component";
|
|
3439
3528
|
width: number;
|
|
@@ -3540,6 +3629,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3540
3629
|
pcb_missing_footprint_error_id: string;
|
|
3541
3630
|
subcircuit_id?: string | undefined;
|
|
3542
3631
|
pcb_group_id?: string | undefined;
|
|
3632
|
+
is_fatal?: boolean | undefined;
|
|
3543
3633
|
} | {
|
|
3544
3634
|
message: string;
|
|
3545
3635
|
type: "external_footprint_load_error";
|
|
@@ -3549,6 +3639,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3549
3639
|
external_footprint_load_error_id: string;
|
|
3550
3640
|
subcircuit_id?: string | undefined;
|
|
3551
3641
|
pcb_group_id?: string | undefined;
|
|
3642
|
+
is_fatal?: boolean | undefined;
|
|
3552
3643
|
footprinter_string?: string | undefined;
|
|
3553
3644
|
} | {
|
|
3554
3645
|
message: string;
|
|
@@ -3559,6 +3650,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3559
3650
|
circuit_json_footprint_load_error_id: string;
|
|
3560
3651
|
subcircuit_id?: string | undefined;
|
|
3561
3652
|
pcb_group_id?: string | undefined;
|
|
3653
|
+
is_fatal?: boolean | undefined;
|
|
3562
3654
|
circuit_json?: any[] | undefined;
|
|
3563
3655
|
} | {
|
|
3564
3656
|
message: string;
|
|
@@ -4203,8 +4295,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4203
4295
|
type: "pcb_trace_error";
|
|
4204
4296
|
source_trace_id: string;
|
|
4205
4297
|
pcb_trace_id: string;
|
|
4206
|
-
pcb_trace_error_id: string;
|
|
4207
4298
|
error_type: "pcb_trace_error";
|
|
4299
|
+
pcb_trace_error_id: string;
|
|
4208
4300
|
pcb_component_ids: string[];
|
|
4209
4301
|
pcb_port_ids: string[];
|
|
4210
4302
|
center?: {
|
|
@@ -4212,6 +4304,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4212
4304
|
y: number;
|
|
4213
4305
|
} | undefined;
|
|
4214
4306
|
subcircuit_id?: string | undefined;
|
|
4307
|
+
is_fatal?: boolean | undefined;
|
|
4215
4308
|
} | {
|
|
4216
4309
|
message: string;
|
|
4217
4310
|
type: "pcb_trace_missing_error";
|
|
@@ -4225,12 +4318,23 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4225
4318
|
y: number;
|
|
4226
4319
|
} | undefined;
|
|
4227
4320
|
subcircuit_id?: string | undefined;
|
|
4321
|
+
is_fatal?: boolean | undefined;
|
|
4228
4322
|
} | {
|
|
4229
4323
|
message: string;
|
|
4230
4324
|
type: "pcb_placement_error";
|
|
4231
4325
|
error_type: "pcb_placement_error";
|
|
4232
4326
|
pcb_placement_error_id: string;
|
|
4233
4327
|
subcircuit_id?: string | undefined;
|
|
4328
|
+
is_fatal?: boolean | undefined;
|
|
4329
|
+
} | {
|
|
4330
|
+
message: string;
|
|
4331
|
+
type: "pcb_panelization_placement_error";
|
|
4332
|
+
error_type: "pcb_panelization_placement_error";
|
|
4333
|
+
pcb_panelization_placement_error_id: string;
|
|
4334
|
+
subcircuit_id?: string | undefined;
|
|
4335
|
+
is_fatal?: boolean | undefined;
|
|
4336
|
+
pcb_board_id?: string | undefined;
|
|
4337
|
+
pcb_panel_id?: string | undefined;
|
|
4234
4338
|
} | {
|
|
4235
4339
|
message: string;
|
|
4236
4340
|
type: "pcb_port_not_matched_error";
|
|
@@ -4238,6 +4342,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4238
4342
|
pcb_component_ids: string[];
|
|
4239
4343
|
pcb_error_id: string;
|
|
4240
4344
|
subcircuit_id?: string | undefined;
|
|
4345
|
+
is_fatal?: boolean | undefined;
|
|
4241
4346
|
} | {
|
|
4242
4347
|
message: string;
|
|
4243
4348
|
type: "pcb_port_not_connected_error";
|
|
@@ -4246,6 +4351,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4246
4351
|
pcb_port_ids: string[];
|
|
4247
4352
|
pcb_port_not_connected_error_id: string;
|
|
4248
4353
|
subcircuit_id?: string | undefined;
|
|
4354
|
+
is_fatal?: boolean | undefined;
|
|
4249
4355
|
} | {
|
|
4250
4356
|
message: string;
|
|
4251
4357
|
type: "pcb_via_clearance_error";
|
|
@@ -4253,6 +4359,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4253
4359
|
pcb_error_id: string;
|
|
4254
4360
|
pcb_via_ids: string[];
|
|
4255
4361
|
subcircuit_id?: string | undefined;
|
|
4362
|
+
is_fatal?: boolean | undefined;
|
|
4256
4363
|
minimum_clearance?: number | undefined;
|
|
4257
4364
|
actual_clearance?: number | undefined;
|
|
4258
4365
|
pcb_center?: {
|
|
@@ -4430,11 +4537,13 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4430
4537
|
error_type: "pcb_autorouting_error";
|
|
4431
4538
|
pcb_error_id: string;
|
|
4432
4539
|
subcircuit_id?: string | undefined;
|
|
4540
|
+
is_fatal?: boolean | undefined;
|
|
4433
4541
|
} | {
|
|
4434
4542
|
message: string;
|
|
4435
4543
|
type: "pcb_footprint_overlap_error";
|
|
4436
4544
|
error_type: "pcb_footprint_overlap_error";
|
|
4437
4545
|
pcb_error_id: string;
|
|
4546
|
+
is_fatal?: boolean | undefined;
|
|
4438
4547
|
pcb_smtpad_ids?: string[] | undefined;
|
|
4439
4548
|
pcb_plated_hole_ids?: string[] | undefined;
|
|
4440
4549
|
pcb_hole_ids?: string[] | undefined;
|
|
@@ -4608,6 +4717,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4608
4717
|
};
|
|
4609
4718
|
source_component_id?: string | undefined;
|
|
4610
4719
|
subcircuit_id?: string | undefined;
|
|
4720
|
+
is_fatal?: boolean | undefined;
|
|
4611
4721
|
} | {
|
|
4612
4722
|
message: string;
|
|
4613
4723
|
type: "pcb_component_invalid_layer_error";
|
|
@@ -4617,6 +4727,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4617
4727
|
pcb_component_invalid_layer_error_id: string;
|
|
4618
4728
|
pcb_component_id?: string | undefined;
|
|
4619
4729
|
subcircuit_id?: string | undefined;
|
|
4730
|
+
is_fatal?: boolean | undefined;
|
|
4620
4731
|
} | {
|
|
4621
4732
|
type: "pcb_courtyard_rect";
|
|
4622
4733
|
width: number;
|
|
@@ -4667,6 +4778,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4667
4778
|
is_dashed: boolean;
|
|
4668
4779
|
subcircuit_id?: string | undefined;
|
|
4669
4780
|
schematic_component_id?: string | undefined;
|
|
4781
|
+
schematic_symbol_id?: string | undefined;
|
|
4670
4782
|
} | {
|
|
4671
4783
|
type: "schematic_text";
|
|
4672
4784
|
anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
|
|
@@ -4681,6 +4793,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4681
4793
|
};
|
|
4682
4794
|
subcircuit_id?: string | undefined;
|
|
4683
4795
|
schematic_component_id?: string | undefined;
|
|
4796
|
+
schematic_symbol_id?: string | undefined;
|
|
4684
4797
|
} | {
|
|
4685
4798
|
type: "schematic_line";
|
|
4686
4799
|
x1: number;
|
|
@@ -4689,10 +4802,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4689
4802
|
y2: number;
|
|
4690
4803
|
color: string;
|
|
4691
4804
|
is_dashed: boolean;
|
|
4692
|
-
schematic_component_id: string;
|
|
4693
4805
|
schematic_line_id: string;
|
|
4694
4806
|
subcircuit_id?: string | undefined;
|
|
4695
4807
|
stroke_width?: number | null | undefined;
|
|
4808
|
+
schematic_component_id?: string | undefined;
|
|
4809
|
+
schematic_symbol_id?: string | undefined;
|
|
4696
4810
|
} | {
|
|
4697
4811
|
type: "schematic_rect";
|
|
4698
4812
|
width: number;
|
|
@@ -4705,10 +4819,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4705
4819
|
is_filled: boolean;
|
|
4706
4820
|
color: string;
|
|
4707
4821
|
is_dashed: boolean;
|
|
4708
|
-
schematic_component_id: string;
|
|
4709
4822
|
schematic_rect_id: string;
|
|
4710
4823
|
subcircuit_id?: string | undefined;
|
|
4711
4824
|
stroke_width?: number | null | undefined;
|
|
4825
|
+
schematic_component_id?: string | undefined;
|
|
4826
|
+
schematic_symbol_id?: string | undefined;
|
|
4712
4827
|
fill_color?: string | undefined;
|
|
4713
4828
|
} | {
|
|
4714
4829
|
type: "schematic_circle";
|
|
@@ -4720,10 +4835,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4720
4835
|
is_filled: boolean;
|
|
4721
4836
|
color: string;
|
|
4722
4837
|
is_dashed: boolean;
|
|
4723
|
-
schematic_component_id: string;
|
|
4724
4838
|
schematic_circle_id: string;
|
|
4725
4839
|
subcircuit_id?: string | undefined;
|
|
4726
4840
|
stroke_width?: number | null | undefined;
|
|
4841
|
+
schematic_component_id?: string | undefined;
|
|
4842
|
+
schematic_symbol_id?: string | undefined;
|
|
4727
4843
|
fill_color?: string | undefined;
|
|
4728
4844
|
} | {
|
|
4729
4845
|
type: "schematic_arc";
|
|
@@ -4734,13 +4850,14 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4734
4850
|
radius: number;
|
|
4735
4851
|
color: string;
|
|
4736
4852
|
is_dashed: boolean;
|
|
4737
|
-
schematic_component_id: string;
|
|
4738
4853
|
direction: "clockwise" | "counterclockwise";
|
|
4739
4854
|
schematic_arc_id: string;
|
|
4740
4855
|
start_angle_degrees: number;
|
|
4741
4856
|
end_angle_degrees: number;
|
|
4742
4857
|
subcircuit_id?: string | undefined;
|
|
4743
4858
|
stroke_width?: number | null | undefined;
|
|
4859
|
+
schematic_component_id?: string | undefined;
|
|
4860
|
+
schematic_symbol_id?: string | undefined;
|
|
4744
4861
|
} | {
|
|
4745
4862
|
type: "schematic_component";
|
|
4746
4863
|
center: {
|
|
@@ -4756,6 +4873,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4756
4873
|
source_component_id?: string | undefined;
|
|
4757
4874
|
subcircuit_id?: string | undefined;
|
|
4758
4875
|
source_group_id?: string | undefined;
|
|
4876
|
+
schematic_symbol_id?: string | undefined;
|
|
4759
4877
|
pin_spacing?: number | undefined;
|
|
4760
4878
|
pin_styles?: Record<string, {
|
|
4761
4879
|
left_margin?: number | undefined;
|
|
@@ -4792,6 +4910,10 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4792
4910
|
symbol_display_value?: string | undefined;
|
|
4793
4911
|
schematic_group_id?: string | undefined;
|
|
4794
4912
|
is_schematic_group?: boolean | undefined;
|
|
4913
|
+
} | {
|
|
4914
|
+
type: "schematic_symbol";
|
|
4915
|
+
schematic_symbol_id: string;
|
|
4916
|
+
name?: string | undefined;
|
|
4795
4917
|
} | {
|
|
4796
4918
|
type: "schematic_port";
|
|
4797
4919
|
center: {
|
|
@@ -4841,10 +4963,12 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4841
4963
|
x: number;
|
|
4842
4964
|
y: number;
|
|
4843
4965
|
}[];
|
|
4844
|
-
|
|
4966
|
+
schematic_path_id: string;
|
|
4845
4967
|
subcircuit_id?: string | undefined;
|
|
4846
4968
|
stroke_width?: number | null | undefined;
|
|
4847
4969
|
is_filled?: boolean | undefined;
|
|
4970
|
+
schematic_component_id?: string | undefined;
|
|
4971
|
+
schematic_symbol_id?: string | undefined;
|
|
4848
4972
|
fill_color?: "red" | "blue" | undefined;
|
|
4849
4973
|
stroke_color?: string | undefined;
|
|
4850
4974
|
} | {
|
|
@@ -4853,6 +4977,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4853
4977
|
error_type: "schematic_port_not_found";
|
|
4854
4978
|
schematic_error_id: string;
|
|
4855
4979
|
subcircuit_id?: string | undefined;
|
|
4980
|
+
is_fatal?: boolean | undefined;
|
|
4856
4981
|
} | {
|
|
4857
4982
|
message: string;
|
|
4858
4983
|
type: "schematic_layout_error";
|
|
@@ -4861,6 +4986,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4861
4986
|
schematic_group_id: string;
|
|
4862
4987
|
schematic_layout_error_id: string;
|
|
4863
4988
|
subcircuit_id?: string | undefined;
|
|
4989
|
+
is_fatal?: boolean | undefined;
|
|
4864
4990
|
} | {
|
|
4865
4991
|
type: "schematic_net_label";
|
|
4866
4992
|
center: {
|
|
@@ -4996,6 +5122,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4996
5122
|
type: "cad_component";
|
|
4997
5123
|
pcb_component_id: string;
|
|
4998
5124
|
source_component_id: string;
|
|
5125
|
+
anchor_alignment: "center" | "xy_center_z_board";
|
|
4999
5126
|
position: {
|
|
5000
5127
|
x: number;
|
|
5001
5128
|
y: number;
|
|
@@ -5117,6 +5244,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
5117
5244
|
error_type: "simulation_unknown_experiment_error";
|
|
5118
5245
|
simulation_unknown_experiment_error_id: string;
|
|
5119
5246
|
subcircuit_id?: string | undefined;
|
|
5247
|
+
is_fatal?: boolean | undefined;
|
|
5120
5248
|
simulation_experiment_id?: string | undefined;
|
|
5121
5249
|
} | {
|
|
5122
5250
|
type: "simulation_op_amp";
|