@tscircuit/eval 0.0.615 → 0.0.617
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 +102 -12
- package/dist/lib/index.d.ts +102 -12
- package/dist/webworker/entrypoint.js +6 -6
- package/package.json +4 -4
package/dist/eval/index.d.ts
CHANGED
|
@@ -548,12 +548,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
548
548
|
source_missing_property_error_id: string;
|
|
549
549
|
property_name: string;
|
|
550
550
|
subcircuit_id?: string | undefined;
|
|
551
|
+
is_fatal?: boolean | undefined;
|
|
551
552
|
} | {
|
|
552
553
|
message: string;
|
|
553
554
|
type: "source_failed_to_create_component_error";
|
|
554
555
|
error_type: "source_failed_to_create_component_error";
|
|
555
556
|
source_failed_to_create_component_error_id: string;
|
|
556
557
|
subcircuit_id?: string | undefined;
|
|
558
|
+
is_fatal?: boolean | undefined;
|
|
557
559
|
pcb_center?: {
|
|
558
560
|
x?: number | undefined;
|
|
559
561
|
y?: number | undefined;
|
|
@@ -571,6 +573,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
571
573
|
source_trace_not_connected_error_id: string;
|
|
572
574
|
subcircuit_id?: string | undefined;
|
|
573
575
|
source_trace_id?: string | undefined;
|
|
576
|
+
is_fatal?: boolean | undefined;
|
|
574
577
|
source_group_id?: string | undefined;
|
|
575
578
|
connected_source_port_ids?: string[] | undefined;
|
|
576
579
|
selectors_not_found?: string[] | undefined;
|
|
@@ -905,6 +908,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
905
908
|
source_trace_not_connected_error_id: string;
|
|
906
909
|
subcircuit_id?: string | undefined;
|
|
907
910
|
source_trace_id?: string | undefined;
|
|
911
|
+
is_fatal?: boolean | undefined;
|
|
908
912
|
source_group_id?: string | undefined;
|
|
909
913
|
connected_source_port_ids?: string[] | undefined;
|
|
910
914
|
selectors_not_found?: string[] | undefined;
|
|
@@ -924,6 +928,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
924
928
|
error_type: "source_pin_must_be_connected_error";
|
|
925
929
|
source_pin_must_be_connected_error_id: string;
|
|
926
930
|
subcircuit_id?: string | undefined;
|
|
931
|
+
is_fatal?: boolean | undefined;
|
|
927
932
|
} | {
|
|
928
933
|
message: string;
|
|
929
934
|
type: "unknown_error_finding_part";
|
|
@@ -931,6 +936,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
931
936
|
unknown_error_finding_part_id: string;
|
|
932
937
|
source_component_id?: string | undefined;
|
|
933
938
|
subcircuit_id?: string | undefined;
|
|
939
|
+
is_fatal?: boolean | undefined;
|
|
934
940
|
} | {
|
|
935
941
|
type: "pcb_component";
|
|
936
942
|
width: number;
|
|
@@ -1037,6 +1043,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1037
1043
|
pcb_missing_footprint_error_id: string;
|
|
1038
1044
|
subcircuit_id?: string | undefined;
|
|
1039
1045
|
pcb_group_id?: string | undefined;
|
|
1046
|
+
is_fatal?: boolean | undefined;
|
|
1040
1047
|
} | {
|
|
1041
1048
|
message: string;
|
|
1042
1049
|
type: "external_footprint_load_error";
|
|
@@ -1046,6 +1053,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1046
1053
|
external_footprint_load_error_id: string;
|
|
1047
1054
|
subcircuit_id?: string | undefined;
|
|
1048
1055
|
pcb_group_id?: string | undefined;
|
|
1056
|
+
is_fatal?: boolean | undefined;
|
|
1049
1057
|
footprinter_string?: string | undefined;
|
|
1050
1058
|
} | {
|
|
1051
1059
|
message: string;
|
|
@@ -1056,6 +1064,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1056
1064
|
circuit_json_footprint_load_error_id: string;
|
|
1057
1065
|
subcircuit_id?: string | undefined;
|
|
1058
1066
|
pcb_group_id?: string | undefined;
|
|
1067
|
+
is_fatal?: boolean | undefined;
|
|
1059
1068
|
circuit_json?: any[] | undefined;
|
|
1060
1069
|
} | {
|
|
1061
1070
|
message: string;
|
|
@@ -1700,8 +1709,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1700
1709
|
type: "pcb_trace_error";
|
|
1701
1710
|
source_trace_id: string;
|
|
1702
1711
|
pcb_trace_id: string;
|
|
1703
|
-
pcb_trace_error_id: string;
|
|
1704
1712
|
error_type: "pcb_trace_error";
|
|
1713
|
+
pcb_trace_error_id: string;
|
|
1705
1714
|
pcb_component_ids: string[];
|
|
1706
1715
|
pcb_port_ids: string[];
|
|
1707
1716
|
center?: {
|
|
@@ -1709,6 +1718,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1709
1718
|
y: number;
|
|
1710
1719
|
} | undefined;
|
|
1711
1720
|
subcircuit_id?: string | undefined;
|
|
1721
|
+
is_fatal?: boolean | undefined;
|
|
1712
1722
|
} | {
|
|
1713
1723
|
message: string;
|
|
1714
1724
|
type: "pcb_trace_missing_error";
|
|
@@ -1722,12 +1732,23 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1722
1732
|
y: number;
|
|
1723
1733
|
} | undefined;
|
|
1724
1734
|
subcircuit_id?: string | undefined;
|
|
1735
|
+
is_fatal?: boolean | undefined;
|
|
1725
1736
|
} | {
|
|
1726
1737
|
message: string;
|
|
1727
1738
|
type: "pcb_placement_error";
|
|
1728
1739
|
error_type: "pcb_placement_error";
|
|
1729
1740
|
pcb_placement_error_id: string;
|
|
1730
1741
|
subcircuit_id?: string | undefined;
|
|
1742
|
+
is_fatal?: boolean | undefined;
|
|
1743
|
+
} | {
|
|
1744
|
+
message: string;
|
|
1745
|
+
type: "pcb_panelization_placement_error";
|
|
1746
|
+
error_type: "pcb_panelization_placement_error";
|
|
1747
|
+
pcb_panelization_placement_error_id: string;
|
|
1748
|
+
subcircuit_id?: string | undefined;
|
|
1749
|
+
is_fatal?: boolean | undefined;
|
|
1750
|
+
pcb_board_id?: string | undefined;
|
|
1751
|
+
pcb_panel_id?: string | undefined;
|
|
1731
1752
|
} | {
|
|
1732
1753
|
message: string;
|
|
1733
1754
|
type: "pcb_port_not_matched_error";
|
|
@@ -1735,6 +1756,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1735
1756
|
pcb_component_ids: string[];
|
|
1736
1757
|
pcb_error_id: string;
|
|
1737
1758
|
subcircuit_id?: string | undefined;
|
|
1759
|
+
is_fatal?: boolean | undefined;
|
|
1738
1760
|
} | {
|
|
1739
1761
|
message: string;
|
|
1740
1762
|
type: "pcb_port_not_connected_error";
|
|
@@ -1743,6 +1765,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1743
1765
|
pcb_port_ids: string[];
|
|
1744
1766
|
pcb_port_not_connected_error_id: string;
|
|
1745
1767
|
subcircuit_id?: string | undefined;
|
|
1768
|
+
is_fatal?: boolean | undefined;
|
|
1746
1769
|
} | {
|
|
1747
1770
|
message: string;
|
|
1748
1771
|
type: "pcb_via_clearance_error";
|
|
@@ -1750,6 +1773,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1750
1773
|
pcb_error_id: string;
|
|
1751
1774
|
pcb_via_ids: string[];
|
|
1752
1775
|
subcircuit_id?: string | undefined;
|
|
1776
|
+
is_fatal?: boolean | undefined;
|
|
1753
1777
|
minimum_clearance?: number | undefined;
|
|
1754
1778
|
actual_clearance?: number | undefined;
|
|
1755
1779
|
pcb_center?: {
|
|
@@ -1927,11 +1951,13 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1927
1951
|
error_type: "pcb_autorouting_error";
|
|
1928
1952
|
pcb_error_id: string;
|
|
1929
1953
|
subcircuit_id?: string | undefined;
|
|
1954
|
+
is_fatal?: boolean | undefined;
|
|
1930
1955
|
} | {
|
|
1931
1956
|
message: string;
|
|
1932
1957
|
type: "pcb_footprint_overlap_error";
|
|
1933
1958
|
error_type: "pcb_footprint_overlap_error";
|
|
1934
1959
|
pcb_error_id: string;
|
|
1960
|
+
is_fatal?: boolean | undefined;
|
|
1935
1961
|
pcb_smtpad_ids?: string[] | undefined;
|
|
1936
1962
|
pcb_plated_hole_ids?: string[] | undefined;
|
|
1937
1963
|
pcb_hole_ids?: string[] | undefined;
|
|
@@ -2105,6 +2131,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2105
2131
|
};
|
|
2106
2132
|
source_component_id?: string | undefined;
|
|
2107
2133
|
subcircuit_id?: string | undefined;
|
|
2134
|
+
is_fatal?: boolean | undefined;
|
|
2108
2135
|
} | {
|
|
2109
2136
|
message: string;
|
|
2110
2137
|
type: "pcb_component_invalid_layer_error";
|
|
@@ -2114,6 +2141,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2114
2141
|
pcb_component_invalid_layer_error_id: string;
|
|
2115
2142
|
pcb_component_id?: string | undefined;
|
|
2116
2143
|
subcircuit_id?: string | undefined;
|
|
2144
|
+
is_fatal?: boolean | undefined;
|
|
2117
2145
|
} | {
|
|
2118
2146
|
type: "pcb_courtyard_rect";
|
|
2119
2147
|
width: number;
|
|
@@ -2164,6 +2192,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2164
2192
|
is_dashed: boolean;
|
|
2165
2193
|
subcircuit_id?: string | undefined;
|
|
2166
2194
|
schematic_component_id?: string | undefined;
|
|
2195
|
+
schematic_symbol_id?: string | undefined;
|
|
2167
2196
|
} | {
|
|
2168
2197
|
type: "schematic_text";
|
|
2169
2198
|
anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
|
|
@@ -2178,6 +2207,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2178
2207
|
};
|
|
2179
2208
|
subcircuit_id?: string | undefined;
|
|
2180
2209
|
schematic_component_id?: string | undefined;
|
|
2210
|
+
schematic_symbol_id?: string | undefined;
|
|
2181
2211
|
} | {
|
|
2182
2212
|
type: "schematic_line";
|
|
2183
2213
|
x1: number;
|
|
@@ -2186,10 +2216,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2186
2216
|
y2: number;
|
|
2187
2217
|
color: string;
|
|
2188
2218
|
is_dashed: boolean;
|
|
2189
|
-
schematic_component_id: string;
|
|
2190
2219
|
schematic_line_id: string;
|
|
2191
2220
|
subcircuit_id?: string | undefined;
|
|
2192
2221
|
stroke_width?: number | null | undefined;
|
|
2222
|
+
schematic_component_id?: string | undefined;
|
|
2223
|
+
schematic_symbol_id?: string | undefined;
|
|
2193
2224
|
} | {
|
|
2194
2225
|
type: "schematic_rect";
|
|
2195
2226
|
width: number;
|
|
@@ -2202,10 +2233,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2202
2233
|
is_filled: boolean;
|
|
2203
2234
|
color: string;
|
|
2204
2235
|
is_dashed: boolean;
|
|
2205
|
-
schematic_component_id: string;
|
|
2206
2236
|
schematic_rect_id: string;
|
|
2207
2237
|
subcircuit_id?: string | undefined;
|
|
2208
2238
|
stroke_width?: number | null | undefined;
|
|
2239
|
+
schematic_component_id?: string | undefined;
|
|
2240
|
+
schematic_symbol_id?: string | undefined;
|
|
2209
2241
|
fill_color?: string | undefined;
|
|
2210
2242
|
} | {
|
|
2211
2243
|
type: "schematic_circle";
|
|
@@ -2217,10 +2249,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2217
2249
|
is_filled: boolean;
|
|
2218
2250
|
color: string;
|
|
2219
2251
|
is_dashed: boolean;
|
|
2220
|
-
schematic_component_id: string;
|
|
2221
2252
|
schematic_circle_id: string;
|
|
2222
2253
|
subcircuit_id?: string | undefined;
|
|
2223
2254
|
stroke_width?: number | null | undefined;
|
|
2255
|
+
schematic_component_id?: string | undefined;
|
|
2256
|
+
schematic_symbol_id?: string | undefined;
|
|
2224
2257
|
fill_color?: string | undefined;
|
|
2225
2258
|
} | {
|
|
2226
2259
|
type: "schematic_arc";
|
|
@@ -2231,13 +2264,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2231
2264
|
radius: number;
|
|
2232
2265
|
color: string;
|
|
2233
2266
|
is_dashed: boolean;
|
|
2234
|
-
schematic_component_id: string;
|
|
2235
2267
|
direction: "clockwise" | "counterclockwise";
|
|
2236
2268
|
schematic_arc_id: string;
|
|
2237
2269
|
start_angle_degrees: number;
|
|
2238
2270
|
end_angle_degrees: number;
|
|
2239
2271
|
subcircuit_id?: string | undefined;
|
|
2240
2272
|
stroke_width?: number | null | undefined;
|
|
2273
|
+
schematic_component_id?: string | undefined;
|
|
2274
|
+
schematic_symbol_id?: string | undefined;
|
|
2241
2275
|
} | {
|
|
2242
2276
|
type: "schematic_component";
|
|
2243
2277
|
center: {
|
|
@@ -2253,6 +2287,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2253
2287
|
source_component_id?: string | undefined;
|
|
2254
2288
|
subcircuit_id?: string | undefined;
|
|
2255
2289
|
source_group_id?: string | undefined;
|
|
2290
|
+
schematic_symbol_id?: string | undefined;
|
|
2256
2291
|
pin_spacing?: number | undefined;
|
|
2257
2292
|
pin_styles?: Record<string, {
|
|
2258
2293
|
left_margin?: number | undefined;
|
|
@@ -2289,6 +2324,10 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2289
2324
|
symbol_display_value?: string | undefined;
|
|
2290
2325
|
schematic_group_id?: string | undefined;
|
|
2291
2326
|
is_schematic_group?: boolean | undefined;
|
|
2327
|
+
} | {
|
|
2328
|
+
type: "schematic_symbol";
|
|
2329
|
+
schematic_symbol_id: string;
|
|
2330
|
+
name?: string | undefined;
|
|
2292
2331
|
} | {
|
|
2293
2332
|
type: "schematic_port";
|
|
2294
2333
|
center: {
|
|
@@ -2338,10 +2377,12 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2338
2377
|
x: number;
|
|
2339
2378
|
y: number;
|
|
2340
2379
|
}[];
|
|
2341
|
-
|
|
2380
|
+
schematic_path_id: string;
|
|
2342
2381
|
subcircuit_id?: string | undefined;
|
|
2343
2382
|
stroke_width?: number | null | undefined;
|
|
2344
2383
|
is_filled?: boolean | undefined;
|
|
2384
|
+
schematic_component_id?: string | undefined;
|
|
2385
|
+
schematic_symbol_id?: string | undefined;
|
|
2345
2386
|
fill_color?: "red" | "blue" | undefined;
|
|
2346
2387
|
stroke_color?: string | undefined;
|
|
2347
2388
|
} | {
|
|
@@ -2350,6 +2391,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2350
2391
|
error_type: "schematic_port_not_found";
|
|
2351
2392
|
schematic_error_id: string;
|
|
2352
2393
|
subcircuit_id?: string | undefined;
|
|
2394
|
+
is_fatal?: boolean | undefined;
|
|
2353
2395
|
} | {
|
|
2354
2396
|
message: string;
|
|
2355
2397
|
type: "schematic_layout_error";
|
|
@@ -2358,6 +2400,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2358
2400
|
schematic_group_id: string;
|
|
2359
2401
|
schematic_layout_error_id: string;
|
|
2360
2402
|
subcircuit_id?: string | undefined;
|
|
2403
|
+
is_fatal?: boolean | undefined;
|
|
2361
2404
|
} | {
|
|
2362
2405
|
type: "schematic_net_label";
|
|
2363
2406
|
center: {
|
|
@@ -2493,6 +2536,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2493
2536
|
type: "cad_component";
|
|
2494
2537
|
pcb_component_id: string;
|
|
2495
2538
|
source_component_id: string;
|
|
2539
|
+
anchor_alignment: "center" | "xy_center_z_board";
|
|
2496
2540
|
position: {
|
|
2497
2541
|
x: number;
|
|
2498
2542
|
y: number;
|
|
@@ -2614,6 +2658,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2614
2658
|
error_type: "simulation_unknown_experiment_error";
|
|
2615
2659
|
simulation_unknown_experiment_error_id: string;
|
|
2616
2660
|
subcircuit_id?: string | undefined;
|
|
2661
|
+
is_fatal?: boolean | undefined;
|
|
2617
2662
|
simulation_experiment_id?: string | undefined;
|
|
2618
2663
|
} | {
|
|
2619
2664
|
type: "simulation_op_amp";
|
|
@@ -3035,12 +3080,14 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3035
3080
|
source_missing_property_error_id: string;
|
|
3036
3081
|
property_name: string;
|
|
3037
3082
|
subcircuit_id?: string | undefined;
|
|
3083
|
+
is_fatal?: boolean | undefined;
|
|
3038
3084
|
} | {
|
|
3039
3085
|
message: string;
|
|
3040
3086
|
type: "source_failed_to_create_component_error";
|
|
3041
3087
|
error_type: "source_failed_to_create_component_error";
|
|
3042
3088
|
source_failed_to_create_component_error_id: string;
|
|
3043
3089
|
subcircuit_id?: string | undefined;
|
|
3090
|
+
is_fatal?: boolean | undefined;
|
|
3044
3091
|
pcb_center?: {
|
|
3045
3092
|
x?: number | undefined;
|
|
3046
3093
|
y?: number | undefined;
|
|
@@ -3058,6 +3105,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3058
3105
|
source_trace_not_connected_error_id: string;
|
|
3059
3106
|
subcircuit_id?: string | undefined;
|
|
3060
3107
|
source_trace_id?: string | undefined;
|
|
3108
|
+
is_fatal?: boolean | undefined;
|
|
3061
3109
|
source_group_id?: string | undefined;
|
|
3062
3110
|
connected_source_port_ids?: string[] | undefined;
|
|
3063
3111
|
selectors_not_found?: string[] | undefined;
|
|
@@ -3392,6 +3440,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3392
3440
|
source_trace_not_connected_error_id: string;
|
|
3393
3441
|
subcircuit_id?: string | undefined;
|
|
3394
3442
|
source_trace_id?: string | undefined;
|
|
3443
|
+
is_fatal?: boolean | undefined;
|
|
3395
3444
|
source_group_id?: string | undefined;
|
|
3396
3445
|
connected_source_port_ids?: string[] | undefined;
|
|
3397
3446
|
selectors_not_found?: string[] | undefined;
|
|
@@ -3411,6 +3460,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3411
3460
|
error_type: "source_pin_must_be_connected_error";
|
|
3412
3461
|
source_pin_must_be_connected_error_id: string;
|
|
3413
3462
|
subcircuit_id?: string | undefined;
|
|
3463
|
+
is_fatal?: boolean | undefined;
|
|
3414
3464
|
} | {
|
|
3415
3465
|
message: string;
|
|
3416
3466
|
type: "unknown_error_finding_part";
|
|
@@ -3418,6 +3468,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3418
3468
|
unknown_error_finding_part_id: string;
|
|
3419
3469
|
source_component_id?: string | undefined;
|
|
3420
3470
|
subcircuit_id?: string | undefined;
|
|
3471
|
+
is_fatal?: boolean | undefined;
|
|
3421
3472
|
} | {
|
|
3422
3473
|
type: "pcb_component";
|
|
3423
3474
|
width: number;
|
|
@@ -3524,6 +3575,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3524
3575
|
pcb_missing_footprint_error_id: string;
|
|
3525
3576
|
subcircuit_id?: string | undefined;
|
|
3526
3577
|
pcb_group_id?: string | undefined;
|
|
3578
|
+
is_fatal?: boolean | undefined;
|
|
3527
3579
|
} | {
|
|
3528
3580
|
message: string;
|
|
3529
3581
|
type: "external_footprint_load_error";
|
|
@@ -3533,6 +3585,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3533
3585
|
external_footprint_load_error_id: string;
|
|
3534
3586
|
subcircuit_id?: string | undefined;
|
|
3535
3587
|
pcb_group_id?: string | undefined;
|
|
3588
|
+
is_fatal?: boolean | undefined;
|
|
3536
3589
|
footprinter_string?: string | undefined;
|
|
3537
3590
|
} | {
|
|
3538
3591
|
message: string;
|
|
@@ -3543,6 +3596,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3543
3596
|
circuit_json_footprint_load_error_id: string;
|
|
3544
3597
|
subcircuit_id?: string | undefined;
|
|
3545
3598
|
pcb_group_id?: string | undefined;
|
|
3599
|
+
is_fatal?: boolean | undefined;
|
|
3546
3600
|
circuit_json?: any[] | undefined;
|
|
3547
3601
|
} | {
|
|
3548
3602
|
message: string;
|
|
@@ -4187,8 +4241,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4187
4241
|
type: "pcb_trace_error";
|
|
4188
4242
|
source_trace_id: string;
|
|
4189
4243
|
pcb_trace_id: string;
|
|
4190
|
-
pcb_trace_error_id: string;
|
|
4191
4244
|
error_type: "pcb_trace_error";
|
|
4245
|
+
pcb_trace_error_id: string;
|
|
4192
4246
|
pcb_component_ids: string[];
|
|
4193
4247
|
pcb_port_ids: string[];
|
|
4194
4248
|
center?: {
|
|
@@ -4196,6 +4250,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4196
4250
|
y: number;
|
|
4197
4251
|
} | undefined;
|
|
4198
4252
|
subcircuit_id?: string | undefined;
|
|
4253
|
+
is_fatal?: boolean | undefined;
|
|
4199
4254
|
} | {
|
|
4200
4255
|
message: string;
|
|
4201
4256
|
type: "pcb_trace_missing_error";
|
|
@@ -4209,12 +4264,23 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4209
4264
|
y: number;
|
|
4210
4265
|
} | undefined;
|
|
4211
4266
|
subcircuit_id?: string | undefined;
|
|
4267
|
+
is_fatal?: boolean | undefined;
|
|
4212
4268
|
} | {
|
|
4213
4269
|
message: string;
|
|
4214
4270
|
type: "pcb_placement_error";
|
|
4215
4271
|
error_type: "pcb_placement_error";
|
|
4216
4272
|
pcb_placement_error_id: string;
|
|
4217
4273
|
subcircuit_id?: string | undefined;
|
|
4274
|
+
is_fatal?: boolean | undefined;
|
|
4275
|
+
} | {
|
|
4276
|
+
message: string;
|
|
4277
|
+
type: "pcb_panelization_placement_error";
|
|
4278
|
+
error_type: "pcb_panelization_placement_error";
|
|
4279
|
+
pcb_panelization_placement_error_id: string;
|
|
4280
|
+
subcircuit_id?: string | undefined;
|
|
4281
|
+
is_fatal?: boolean | undefined;
|
|
4282
|
+
pcb_board_id?: string | undefined;
|
|
4283
|
+
pcb_panel_id?: string | undefined;
|
|
4218
4284
|
} | {
|
|
4219
4285
|
message: string;
|
|
4220
4286
|
type: "pcb_port_not_matched_error";
|
|
@@ -4222,6 +4288,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4222
4288
|
pcb_component_ids: string[];
|
|
4223
4289
|
pcb_error_id: string;
|
|
4224
4290
|
subcircuit_id?: string | undefined;
|
|
4291
|
+
is_fatal?: boolean | undefined;
|
|
4225
4292
|
} | {
|
|
4226
4293
|
message: string;
|
|
4227
4294
|
type: "pcb_port_not_connected_error";
|
|
@@ -4230,6 +4297,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4230
4297
|
pcb_port_ids: string[];
|
|
4231
4298
|
pcb_port_not_connected_error_id: string;
|
|
4232
4299
|
subcircuit_id?: string | undefined;
|
|
4300
|
+
is_fatal?: boolean | undefined;
|
|
4233
4301
|
} | {
|
|
4234
4302
|
message: string;
|
|
4235
4303
|
type: "pcb_via_clearance_error";
|
|
@@ -4237,6 +4305,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4237
4305
|
pcb_error_id: string;
|
|
4238
4306
|
pcb_via_ids: string[];
|
|
4239
4307
|
subcircuit_id?: string | undefined;
|
|
4308
|
+
is_fatal?: boolean | undefined;
|
|
4240
4309
|
minimum_clearance?: number | undefined;
|
|
4241
4310
|
actual_clearance?: number | undefined;
|
|
4242
4311
|
pcb_center?: {
|
|
@@ -4414,11 +4483,13 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4414
4483
|
error_type: "pcb_autorouting_error";
|
|
4415
4484
|
pcb_error_id: string;
|
|
4416
4485
|
subcircuit_id?: string | undefined;
|
|
4486
|
+
is_fatal?: boolean | undefined;
|
|
4417
4487
|
} | {
|
|
4418
4488
|
message: string;
|
|
4419
4489
|
type: "pcb_footprint_overlap_error";
|
|
4420
4490
|
error_type: "pcb_footprint_overlap_error";
|
|
4421
4491
|
pcb_error_id: string;
|
|
4492
|
+
is_fatal?: boolean | undefined;
|
|
4422
4493
|
pcb_smtpad_ids?: string[] | undefined;
|
|
4423
4494
|
pcb_plated_hole_ids?: string[] | undefined;
|
|
4424
4495
|
pcb_hole_ids?: string[] | undefined;
|
|
@@ -4592,6 +4663,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4592
4663
|
};
|
|
4593
4664
|
source_component_id?: string | undefined;
|
|
4594
4665
|
subcircuit_id?: string | undefined;
|
|
4666
|
+
is_fatal?: boolean | undefined;
|
|
4595
4667
|
} | {
|
|
4596
4668
|
message: string;
|
|
4597
4669
|
type: "pcb_component_invalid_layer_error";
|
|
@@ -4601,6 +4673,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4601
4673
|
pcb_component_invalid_layer_error_id: string;
|
|
4602
4674
|
pcb_component_id?: string | undefined;
|
|
4603
4675
|
subcircuit_id?: string | undefined;
|
|
4676
|
+
is_fatal?: boolean | undefined;
|
|
4604
4677
|
} | {
|
|
4605
4678
|
type: "pcb_courtyard_rect";
|
|
4606
4679
|
width: number;
|
|
@@ -4651,6 +4724,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4651
4724
|
is_dashed: boolean;
|
|
4652
4725
|
subcircuit_id?: string | undefined;
|
|
4653
4726
|
schematic_component_id?: string | undefined;
|
|
4727
|
+
schematic_symbol_id?: string | undefined;
|
|
4654
4728
|
} | {
|
|
4655
4729
|
type: "schematic_text";
|
|
4656
4730
|
anchor: "top" | "bottom" | "center" | "top_left" | "top_center" | "top_right" | "center_left" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | "left" | "right";
|
|
@@ -4665,6 +4739,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4665
4739
|
};
|
|
4666
4740
|
subcircuit_id?: string | undefined;
|
|
4667
4741
|
schematic_component_id?: string | undefined;
|
|
4742
|
+
schematic_symbol_id?: string | undefined;
|
|
4668
4743
|
} | {
|
|
4669
4744
|
type: "schematic_line";
|
|
4670
4745
|
x1: number;
|
|
@@ -4673,10 +4748,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4673
4748
|
y2: number;
|
|
4674
4749
|
color: string;
|
|
4675
4750
|
is_dashed: boolean;
|
|
4676
|
-
schematic_component_id: string;
|
|
4677
4751
|
schematic_line_id: string;
|
|
4678
4752
|
subcircuit_id?: string | undefined;
|
|
4679
4753
|
stroke_width?: number | null | undefined;
|
|
4754
|
+
schematic_component_id?: string | undefined;
|
|
4755
|
+
schematic_symbol_id?: string | undefined;
|
|
4680
4756
|
} | {
|
|
4681
4757
|
type: "schematic_rect";
|
|
4682
4758
|
width: number;
|
|
@@ -4689,10 +4765,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4689
4765
|
is_filled: boolean;
|
|
4690
4766
|
color: string;
|
|
4691
4767
|
is_dashed: boolean;
|
|
4692
|
-
schematic_component_id: string;
|
|
4693
4768
|
schematic_rect_id: string;
|
|
4694
4769
|
subcircuit_id?: string | undefined;
|
|
4695
4770
|
stroke_width?: number | null | undefined;
|
|
4771
|
+
schematic_component_id?: string | undefined;
|
|
4772
|
+
schematic_symbol_id?: string | undefined;
|
|
4696
4773
|
fill_color?: string | undefined;
|
|
4697
4774
|
} | {
|
|
4698
4775
|
type: "schematic_circle";
|
|
@@ -4704,10 +4781,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4704
4781
|
is_filled: boolean;
|
|
4705
4782
|
color: string;
|
|
4706
4783
|
is_dashed: boolean;
|
|
4707
|
-
schematic_component_id: string;
|
|
4708
4784
|
schematic_circle_id: string;
|
|
4709
4785
|
subcircuit_id?: string | undefined;
|
|
4710
4786
|
stroke_width?: number | null | undefined;
|
|
4787
|
+
schematic_component_id?: string | undefined;
|
|
4788
|
+
schematic_symbol_id?: string | undefined;
|
|
4711
4789
|
fill_color?: string | undefined;
|
|
4712
4790
|
} | {
|
|
4713
4791
|
type: "schematic_arc";
|
|
@@ -4718,13 +4796,14 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4718
4796
|
radius: number;
|
|
4719
4797
|
color: string;
|
|
4720
4798
|
is_dashed: boolean;
|
|
4721
|
-
schematic_component_id: string;
|
|
4722
4799
|
direction: "clockwise" | "counterclockwise";
|
|
4723
4800
|
schematic_arc_id: string;
|
|
4724
4801
|
start_angle_degrees: number;
|
|
4725
4802
|
end_angle_degrees: number;
|
|
4726
4803
|
subcircuit_id?: string | undefined;
|
|
4727
4804
|
stroke_width?: number | null | undefined;
|
|
4805
|
+
schematic_component_id?: string | undefined;
|
|
4806
|
+
schematic_symbol_id?: string | undefined;
|
|
4728
4807
|
} | {
|
|
4729
4808
|
type: "schematic_component";
|
|
4730
4809
|
center: {
|
|
@@ -4740,6 +4819,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4740
4819
|
source_component_id?: string | undefined;
|
|
4741
4820
|
subcircuit_id?: string | undefined;
|
|
4742
4821
|
source_group_id?: string | undefined;
|
|
4822
|
+
schematic_symbol_id?: string | undefined;
|
|
4743
4823
|
pin_spacing?: number | undefined;
|
|
4744
4824
|
pin_styles?: Record<string, {
|
|
4745
4825
|
left_margin?: number | undefined;
|
|
@@ -4776,6 +4856,10 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4776
4856
|
symbol_display_value?: string | undefined;
|
|
4777
4857
|
schematic_group_id?: string | undefined;
|
|
4778
4858
|
is_schematic_group?: boolean | undefined;
|
|
4859
|
+
} | {
|
|
4860
|
+
type: "schematic_symbol";
|
|
4861
|
+
schematic_symbol_id: string;
|
|
4862
|
+
name?: string | undefined;
|
|
4779
4863
|
} | {
|
|
4780
4864
|
type: "schematic_port";
|
|
4781
4865
|
center: {
|
|
@@ -4825,10 +4909,12 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4825
4909
|
x: number;
|
|
4826
4910
|
y: number;
|
|
4827
4911
|
}[];
|
|
4828
|
-
|
|
4912
|
+
schematic_path_id: string;
|
|
4829
4913
|
subcircuit_id?: string | undefined;
|
|
4830
4914
|
stroke_width?: number | null | undefined;
|
|
4831
4915
|
is_filled?: boolean | undefined;
|
|
4916
|
+
schematic_component_id?: string | undefined;
|
|
4917
|
+
schematic_symbol_id?: string | undefined;
|
|
4832
4918
|
fill_color?: "red" | "blue" | undefined;
|
|
4833
4919
|
stroke_color?: string | undefined;
|
|
4834
4920
|
} | {
|
|
@@ -4837,6 +4923,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4837
4923
|
error_type: "schematic_port_not_found";
|
|
4838
4924
|
schematic_error_id: string;
|
|
4839
4925
|
subcircuit_id?: string | undefined;
|
|
4926
|
+
is_fatal?: boolean | undefined;
|
|
4840
4927
|
} | {
|
|
4841
4928
|
message: string;
|
|
4842
4929
|
type: "schematic_layout_error";
|
|
@@ -4845,6 +4932,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4845
4932
|
schematic_group_id: string;
|
|
4846
4933
|
schematic_layout_error_id: string;
|
|
4847
4934
|
subcircuit_id?: string | undefined;
|
|
4935
|
+
is_fatal?: boolean | undefined;
|
|
4848
4936
|
} | {
|
|
4849
4937
|
type: "schematic_net_label";
|
|
4850
4938
|
center: {
|
|
@@ -4980,6 +5068,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4980
5068
|
type: "cad_component";
|
|
4981
5069
|
pcb_component_id: string;
|
|
4982
5070
|
source_component_id: string;
|
|
5071
|
+
anchor_alignment: "center" | "xy_center_z_board";
|
|
4983
5072
|
position: {
|
|
4984
5073
|
x: number;
|
|
4985
5074
|
y: number;
|
|
@@ -5101,6 +5190,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
5101
5190
|
error_type: "simulation_unknown_experiment_error";
|
|
5102
5191
|
simulation_unknown_experiment_error_id: string;
|
|
5103
5192
|
subcircuit_id?: string | undefined;
|
|
5193
|
+
is_fatal?: boolean | undefined;
|
|
5104
5194
|
simulation_experiment_id?: string | undefined;
|
|
5105
5195
|
} | {
|
|
5106
5196
|
type: "simulation_op_amp";
|