@tscircuit/eval 0.0.313 → 0.0.315
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 +62 -2
- package/dist/eval/index.js +2 -2
- package/dist/lib/index.d.ts +62 -2
- package/dist/lib/index.js +2 -2
- package/dist/webworker/entrypoint.js +303 -303
- package/lib/getPlatformConfig.ts +1 -1
- package/package.json +5 -5
package/dist/lib/index.d.ts
CHANGED
|
@@ -784,6 +784,16 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
784
784
|
pcb_missing_footprint_error_id: string;
|
|
785
785
|
subcircuit_id?: string | undefined;
|
|
786
786
|
pcb_group_id?: string | undefined;
|
|
787
|
+
} | {
|
|
788
|
+
message: string;
|
|
789
|
+
type: "external_footprint_load_error";
|
|
790
|
+
pcb_component_id: string;
|
|
791
|
+
source_component_id: string;
|
|
792
|
+
error_type: "external_footprint_load_error";
|
|
793
|
+
external_footprint_load_error_id: string;
|
|
794
|
+
subcircuit_id?: string | undefined;
|
|
795
|
+
pcb_group_id?: string | undefined;
|
|
796
|
+
footprinter_string?: string | undefined;
|
|
787
797
|
} | {
|
|
788
798
|
message: string;
|
|
789
799
|
type: "pcb_manual_edit_conflict_warning";
|
|
@@ -1474,6 +1484,25 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1474
1484
|
subcircuit_id?: string | undefined;
|
|
1475
1485
|
pcb_group_id?: string | undefined;
|
|
1476
1486
|
source_net_id?: string | undefined;
|
|
1487
|
+
} | {
|
|
1488
|
+
message: string;
|
|
1489
|
+
type: "pcb_component_outside_board_error";
|
|
1490
|
+
pcb_component_id: string;
|
|
1491
|
+
error_type: "pcb_component_outside_board_error";
|
|
1492
|
+
pcb_board_id: string;
|
|
1493
|
+
pcb_component_outside_board_error_id: string;
|
|
1494
|
+
component_center: {
|
|
1495
|
+
x: number;
|
|
1496
|
+
y: number;
|
|
1497
|
+
};
|
|
1498
|
+
component_bounds: {
|
|
1499
|
+
min_x: number;
|
|
1500
|
+
max_x: number;
|
|
1501
|
+
min_y: number;
|
|
1502
|
+
max_y: number;
|
|
1503
|
+
};
|
|
1504
|
+
source_component_id?: string | undefined;
|
|
1505
|
+
subcircuit_id?: string | undefined;
|
|
1477
1506
|
} | {
|
|
1478
1507
|
x: number;
|
|
1479
1508
|
y: number;
|
|
@@ -1757,12 +1786,12 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1757
1786
|
z: number;
|
|
1758
1787
|
} | undefined;
|
|
1759
1788
|
subcircuit_id?: string | undefined;
|
|
1789
|
+
footprinter_string?: string | undefined;
|
|
1760
1790
|
size?: {
|
|
1761
1791
|
x: number;
|
|
1762
1792
|
y: number;
|
|
1763
1793
|
z: number;
|
|
1764
1794
|
} | undefined;
|
|
1765
|
-
footprinter_string?: string | undefined;
|
|
1766
1795
|
model_obj_url?: string | undefined;
|
|
1767
1796
|
model_stl_url?: string | undefined;
|
|
1768
1797
|
model_3mf_url?: string | undefined;
|
|
@@ -1770,6 +1799,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1770
1799
|
model_glb_url?: string | undefined;
|
|
1771
1800
|
model_step_url?: string | undefined;
|
|
1772
1801
|
model_wrl_url?: string | undefined;
|
|
1802
|
+
model_unit_to_mm_scale_factor?: number | undefined;
|
|
1773
1803
|
model_jscad?: any;
|
|
1774
1804
|
} | {
|
|
1775
1805
|
type: "simulation_voltage_source";
|
|
@@ -2475,6 +2505,16 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2475
2505
|
pcb_missing_footprint_error_id: string;
|
|
2476
2506
|
subcircuit_id?: string | undefined;
|
|
2477
2507
|
pcb_group_id?: string | undefined;
|
|
2508
|
+
} | {
|
|
2509
|
+
message: string;
|
|
2510
|
+
type: "external_footprint_load_error";
|
|
2511
|
+
pcb_component_id: string;
|
|
2512
|
+
source_component_id: string;
|
|
2513
|
+
error_type: "external_footprint_load_error";
|
|
2514
|
+
external_footprint_load_error_id: string;
|
|
2515
|
+
subcircuit_id?: string | undefined;
|
|
2516
|
+
pcb_group_id?: string | undefined;
|
|
2517
|
+
footprinter_string?: string | undefined;
|
|
2478
2518
|
} | {
|
|
2479
2519
|
message: string;
|
|
2480
2520
|
type: "pcb_manual_edit_conflict_warning";
|
|
@@ -3165,6 +3205,25 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3165
3205
|
subcircuit_id?: string | undefined;
|
|
3166
3206
|
pcb_group_id?: string | undefined;
|
|
3167
3207
|
source_net_id?: string | undefined;
|
|
3208
|
+
} | {
|
|
3209
|
+
message: string;
|
|
3210
|
+
type: "pcb_component_outside_board_error";
|
|
3211
|
+
pcb_component_id: string;
|
|
3212
|
+
error_type: "pcb_component_outside_board_error";
|
|
3213
|
+
pcb_board_id: string;
|
|
3214
|
+
pcb_component_outside_board_error_id: string;
|
|
3215
|
+
component_center: {
|
|
3216
|
+
x: number;
|
|
3217
|
+
y: number;
|
|
3218
|
+
};
|
|
3219
|
+
component_bounds: {
|
|
3220
|
+
min_x: number;
|
|
3221
|
+
max_x: number;
|
|
3222
|
+
min_y: number;
|
|
3223
|
+
max_y: number;
|
|
3224
|
+
};
|
|
3225
|
+
source_component_id?: string | undefined;
|
|
3226
|
+
subcircuit_id?: string | undefined;
|
|
3168
3227
|
} | {
|
|
3169
3228
|
x: number;
|
|
3170
3229
|
y: number;
|
|
@@ -3448,12 +3507,12 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3448
3507
|
z: number;
|
|
3449
3508
|
} | undefined;
|
|
3450
3509
|
subcircuit_id?: string | undefined;
|
|
3510
|
+
footprinter_string?: string | undefined;
|
|
3451
3511
|
size?: {
|
|
3452
3512
|
x: number;
|
|
3453
3513
|
y: number;
|
|
3454
3514
|
z: number;
|
|
3455
3515
|
} | undefined;
|
|
3456
|
-
footprinter_string?: string | undefined;
|
|
3457
3516
|
model_obj_url?: string | undefined;
|
|
3458
3517
|
model_stl_url?: string | undefined;
|
|
3459
3518
|
model_3mf_url?: string | undefined;
|
|
@@ -3461,6 +3520,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3461
3520
|
model_glb_url?: string | undefined;
|
|
3462
3521
|
model_step_url?: string | undefined;
|
|
3463
3522
|
model_wrl_url?: string | undefined;
|
|
3523
|
+
model_unit_to_mm_scale_factor?: number | undefined;
|
|
3464
3524
|
model_jscad?: any;
|
|
3465
3525
|
} | {
|
|
3466
3526
|
type: "simulation_voltage_source";
|