@tscircuit/eval 0.0.378 → 0.0.380
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 +112 -0
- package/dist/lib/index.d.ts +112 -0
- package/dist/webworker/entrypoint.js +119 -119
- package/package.json +4 -4
package/dist/eval/index.d.ts
CHANGED
|
@@ -709,6 +709,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
709
709
|
source_manually_placed_via_id: string;
|
|
710
710
|
subcircuit_id?: string | undefined;
|
|
711
711
|
source_trace_id?: string | undefined;
|
|
712
|
+
} | {
|
|
713
|
+
type: "source_board";
|
|
714
|
+
source_group_id: string;
|
|
715
|
+
source_board_id: string;
|
|
716
|
+
title?: string | undefined;
|
|
712
717
|
} | {
|
|
713
718
|
type: "source_project_metadata";
|
|
714
719
|
name?: string | undefined;
|
|
@@ -1392,6 +1397,24 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1392
1397
|
subcircuit_id?: string | undefined;
|
|
1393
1398
|
pcb_group_id?: string | undefined;
|
|
1394
1399
|
color?: string | undefined;
|
|
1400
|
+
} | {
|
|
1401
|
+
type: "pcb_fabrication_note_rect";
|
|
1402
|
+
width: number;
|
|
1403
|
+
height: number;
|
|
1404
|
+
pcb_component_id: string;
|
|
1405
|
+
center: {
|
|
1406
|
+
x: number;
|
|
1407
|
+
y: number;
|
|
1408
|
+
};
|
|
1409
|
+
layer: "top" | "bottom";
|
|
1410
|
+
stroke_width: number;
|
|
1411
|
+
pcb_fabrication_note_rect_id: string;
|
|
1412
|
+
subcircuit_id?: string | undefined;
|
|
1413
|
+
pcb_group_id?: string | undefined;
|
|
1414
|
+
is_filled?: boolean | undefined;
|
|
1415
|
+
has_stroke?: boolean | undefined;
|
|
1416
|
+
is_stroke_dashed?: boolean | undefined;
|
|
1417
|
+
color?: string | undefined;
|
|
1395
1418
|
} | {
|
|
1396
1419
|
message: string;
|
|
1397
1420
|
type: "pcb_autorouting_error";
|
|
@@ -1550,6 +1573,39 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1550
1573
|
};
|
|
1551
1574
|
source_component_id?: string | undefined;
|
|
1552
1575
|
subcircuit_id?: string | undefined;
|
|
1576
|
+
} | {
|
|
1577
|
+
type: "pcb_courtyard_rect";
|
|
1578
|
+
width: number;
|
|
1579
|
+
height: number;
|
|
1580
|
+
pcb_component_id: string;
|
|
1581
|
+
center: {
|
|
1582
|
+
x: number;
|
|
1583
|
+
y: number;
|
|
1584
|
+
};
|
|
1585
|
+
layer: "top" | "bottom";
|
|
1586
|
+
stroke_width: number;
|
|
1587
|
+
pcb_courtyard_rect_id: string;
|
|
1588
|
+
subcircuit_id?: string | undefined;
|
|
1589
|
+
pcb_group_id?: string | undefined;
|
|
1590
|
+
is_filled?: boolean | undefined;
|
|
1591
|
+
has_stroke?: boolean | undefined;
|
|
1592
|
+
is_stroke_dashed?: boolean | undefined;
|
|
1593
|
+
color?: string | undefined;
|
|
1594
|
+
} | {
|
|
1595
|
+
type: "pcb_courtyard_outline";
|
|
1596
|
+
pcb_component_id: string;
|
|
1597
|
+
layer: "top" | "bottom";
|
|
1598
|
+
outline: {
|
|
1599
|
+
x: number;
|
|
1600
|
+
y: number;
|
|
1601
|
+
}[];
|
|
1602
|
+
stroke_width: number;
|
|
1603
|
+
pcb_courtyard_outline_id: string;
|
|
1604
|
+
subcircuit_id?: string | undefined;
|
|
1605
|
+
pcb_group_id?: string | undefined;
|
|
1606
|
+
is_stroke_dashed?: boolean | undefined;
|
|
1607
|
+
color?: string | undefined;
|
|
1608
|
+
is_closed?: boolean | undefined;
|
|
1553
1609
|
} | {
|
|
1554
1610
|
x: number;
|
|
1555
1611
|
y: number;
|
|
@@ -2579,6 +2635,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2579
2635
|
source_manually_placed_via_id: string;
|
|
2580
2636
|
subcircuit_id?: string | undefined;
|
|
2581
2637
|
source_trace_id?: string | undefined;
|
|
2638
|
+
} | {
|
|
2639
|
+
type: "source_board";
|
|
2640
|
+
source_group_id: string;
|
|
2641
|
+
source_board_id: string;
|
|
2642
|
+
title?: string | undefined;
|
|
2582
2643
|
} | {
|
|
2583
2644
|
type: "source_project_metadata";
|
|
2584
2645
|
name?: string | undefined;
|
|
@@ -3262,6 +3323,24 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3262
3323
|
subcircuit_id?: string | undefined;
|
|
3263
3324
|
pcb_group_id?: string | undefined;
|
|
3264
3325
|
color?: string | undefined;
|
|
3326
|
+
} | {
|
|
3327
|
+
type: "pcb_fabrication_note_rect";
|
|
3328
|
+
width: number;
|
|
3329
|
+
height: number;
|
|
3330
|
+
pcb_component_id: string;
|
|
3331
|
+
center: {
|
|
3332
|
+
x: number;
|
|
3333
|
+
y: number;
|
|
3334
|
+
};
|
|
3335
|
+
layer: "top" | "bottom";
|
|
3336
|
+
stroke_width: number;
|
|
3337
|
+
pcb_fabrication_note_rect_id: string;
|
|
3338
|
+
subcircuit_id?: string | undefined;
|
|
3339
|
+
pcb_group_id?: string | undefined;
|
|
3340
|
+
is_filled?: boolean | undefined;
|
|
3341
|
+
has_stroke?: boolean | undefined;
|
|
3342
|
+
is_stroke_dashed?: boolean | undefined;
|
|
3343
|
+
color?: string | undefined;
|
|
3265
3344
|
} | {
|
|
3266
3345
|
message: string;
|
|
3267
3346
|
type: "pcb_autorouting_error";
|
|
@@ -3420,6 +3499,39 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3420
3499
|
};
|
|
3421
3500
|
source_component_id?: string | undefined;
|
|
3422
3501
|
subcircuit_id?: string | undefined;
|
|
3502
|
+
} | {
|
|
3503
|
+
type: "pcb_courtyard_rect";
|
|
3504
|
+
width: number;
|
|
3505
|
+
height: number;
|
|
3506
|
+
pcb_component_id: string;
|
|
3507
|
+
center: {
|
|
3508
|
+
x: number;
|
|
3509
|
+
y: number;
|
|
3510
|
+
};
|
|
3511
|
+
layer: "top" | "bottom";
|
|
3512
|
+
stroke_width: number;
|
|
3513
|
+
pcb_courtyard_rect_id: string;
|
|
3514
|
+
subcircuit_id?: string | undefined;
|
|
3515
|
+
pcb_group_id?: string | undefined;
|
|
3516
|
+
is_filled?: boolean | undefined;
|
|
3517
|
+
has_stroke?: boolean | undefined;
|
|
3518
|
+
is_stroke_dashed?: boolean | undefined;
|
|
3519
|
+
color?: string | undefined;
|
|
3520
|
+
} | {
|
|
3521
|
+
type: "pcb_courtyard_outline";
|
|
3522
|
+
pcb_component_id: string;
|
|
3523
|
+
layer: "top" | "bottom";
|
|
3524
|
+
outline: {
|
|
3525
|
+
x: number;
|
|
3526
|
+
y: number;
|
|
3527
|
+
}[];
|
|
3528
|
+
stroke_width: number;
|
|
3529
|
+
pcb_courtyard_outline_id: string;
|
|
3530
|
+
subcircuit_id?: string | undefined;
|
|
3531
|
+
pcb_group_id?: string | undefined;
|
|
3532
|
+
is_stroke_dashed?: boolean | undefined;
|
|
3533
|
+
color?: string | undefined;
|
|
3534
|
+
is_closed?: boolean | undefined;
|
|
3423
3535
|
} | {
|
|
3424
3536
|
x: number;
|
|
3425
3537
|
y: number;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -725,6 +725,11 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
725
725
|
source_manually_placed_via_id: string;
|
|
726
726
|
subcircuit_id?: string | undefined;
|
|
727
727
|
source_trace_id?: string | undefined;
|
|
728
|
+
} | {
|
|
729
|
+
type: "source_board";
|
|
730
|
+
source_group_id: string;
|
|
731
|
+
source_board_id: string;
|
|
732
|
+
title?: string | undefined;
|
|
728
733
|
} | {
|
|
729
734
|
type: "source_project_metadata";
|
|
730
735
|
name?: string | undefined;
|
|
@@ -1408,6 +1413,24 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1408
1413
|
subcircuit_id?: string | undefined;
|
|
1409
1414
|
pcb_group_id?: string | undefined;
|
|
1410
1415
|
color?: string | undefined;
|
|
1416
|
+
} | {
|
|
1417
|
+
type: "pcb_fabrication_note_rect";
|
|
1418
|
+
width: number;
|
|
1419
|
+
height: number;
|
|
1420
|
+
pcb_component_id: string;
|
|
1421
|
+
center: {
|
|
1422
|
+
x: number;
|
|
1423
|
+
y: number;
|
|
1424
|
+
};
|
|
1425
|
+
layer: "top" | "bottom";
|
|
1426
|
+
stroke_width: number;
|
|
1427
|
+
pcb_fabrication_note_rect_id: string;
|
|
1428
|
+
subcircuit_id?: string | undefined;
|
|
1429
|
+
pcb_group_id?: string | undefined;
|
|
1430
|
+
is_filled?: boolean | undefined;
|
|
1431
|
+
has_stroke?: boolean | undefined;
|
|
1432
|
+
is_stroke_dashed?: boolean | undefined;
|
|
1433
|
+
color?: string | undefined;
|
|
1411
1434
|
} | {
|
|
1412
1435
|
message: string;
|
|
1413
1436
|
type: "pcb_autorouting_error";
|
|
@@ -1566,6 +1589,39 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1566
1589
|
};
|
|
1567
1590
|
source_component_id?: string | undefined;
|
|
1568
1591
|
subcircuit_id?: string | undefined;
|
|
1592
|
+
} | {
|
|
1593
|
+
type: "pcb_courtyard_rect";
|
|
1594
|
+
width: number;
|
|
1595
|
+
height: number;
|
|
1596
|
+
pcb_component_id: string;
|
|
1597
|
+
center: {
|
|
1598
|
+
x: number;
|
|
1599
|
+
y: number;
|
|
1600
|
+
};
|
|
1601
|
+
layer: "top" | "bottom";
|
|
1602
|
+
stroke_width: number;
|
|
1603
|
+
pcb_courtyard_rect_id: string;
|
|
1604
|
+
subcircuit_id?: string | undefined;
|
|
1605
|
+
pcb_group_id?: string | undefined;
|
|
1606
|
+
is_filled?: boolean | undefined;
|
|
1607
|
+
has_stroke?: boolean | undefined;
|
|
1608
|
+
is_stroke_dashed?: boolean | undefined;
|
|
1609
|
+
color?: string | undefined;
|
|
1610
|
+
} | {
|
|
1611
|
+
type: "pcb_courtyard_outline";
|
|
1612
|
+
pcb_component_id: string;
|
|
1613
|
+
layer: "top" | "bottom";
|
|
1614
|
+
outline: {
|
|
1615
|
+
x: number;
|
|
1616
|
+
y: number;
|
|
1617
|
+
}[];
|
|
1618
|
+
stroke_width: number;
|
|
1619
|
+
pcb_courtyard_outline_id: string;
|
|
1620
|
+
subcircuit_id?: string | undefined;
|
|
1621
|
+
pcb_group_id?: string | undefined;
|
|
1622
|
+
is_stroke_dashed?: boolean | undefined;
|
|
1623
|
+
color?: string | undefined;
|
|
1624
|
+
is_closed?: boolean | undefined;
|
|
1569
1625
|
} | {
|
|
1570
1626
|
x: number;
|
|
1571
1627
|
y: number;
|
|
@@ -2595,6 +2651,11 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2595
2651
|
source_manually_placed_via_id: string;
|
|
2596
2652
|
subcircuit_id?: string | undefined;
|
|
2597
2653
|
source_trace_id?: string | undefined;
|
|
2654
|
+
} | {
|
|
2655
|
+
type: "source_board";
|
|
2656
|
+
source_group_id: string;
|
|
2657
|
+
source_board_id: string;
|
|
2658
|
+
title?: string | undefined;
|
|
2598
2659
|
} | {
|
|
2599
2660
|
type: "source_project_metadata";
|
|
2600
2661
|
name?: string | undefined;
|
|
@@ -3278,6 +3339,24 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3278
3339
|
subcircuit_id?: string | undefined;
|
|
3279
3340
|
pcb_group_id?: string | undefined;
|
|
3280
3341
|
color?: string | undefined;
|
|
3342
|
+
} | {
|
|
3343
|
+
type: "pcb_fabrication_note_rect";
|
|
3344
|
+
width: number;
|
|
3345
|
+
height: number;
|
|
3346
|
+
pcb_component_id: string;
|
|
3347
|
+
center: {
|
|
3348
|
+
x: number;
|
|
3349
|
+
y: number;
|
|
3350
|
+
};
|
|
3351
|
+
layer: "top" | "bottom";
|
|
3352
|
+
stroke_width: number;
|
|
3353
|
+
pcb_fabrication_note_rect_id: string;
|
|
3354
|
+
subcircuit_id?: string | undefined;
|
|
3355
|
+
pcb_group_id?: string | undefined;
|
|
3356
|
+
is_filled?: boolean | undefined;
|
|
3357
|
+
has_stroke?: boolean | undefined;
|
|
3358
|
+
is_stroke_dashed?: boolean | undefined;
|
|
3359
|
+
color?: string | undefined;
|
|
3281
3360
|
} | {
|
|
3282
3361
|
message: string;
|
|
3283
3362
|
type: "pcb_autorouting_error";
|
|
@@ -3436,6 +3515,39 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3436
3515
|
};
|
|
3437
3516
|
source_component_id?: string | undefined;
|
|
3438
3517
|
subcircuit_id?: string | undefined;
|
|
3518
|
+
} | {
|
|
3519
|
+
type: "pcb_courtyard_rect";
|
|
3520
|
+
width: number;
|
|
3521
|
+
height: number;
|
|
3522
|
+
pcb_component_id: string;
|
|
3523
|
+
center: {
|
|
3524
|
+
x: number;
|
|
3525
|
+
y: number;
|
|
3526
|
+
};
|
|
3527
|
+
layer: "top" | "bottom";
|
|
3528
|
+
stroke_width: number;
|
|
3529
|
+
pcb_courtyard_rect_id: string;
|
|
3530
|
+
subcircuit_id?: string | undefined;
|
|
3531
|
+
pcb_group_id?: string | undefined;
|
|
3532
|
+
is_filled?: boolean | undefined;
|
|
3533
|
+
has_stroke?: boolean | undefined;
|
|
3534
|
+
is_stroke_dashed?: boolean | undefined;
|
|
3535
|
+
color?: string | undefined;
|
|
3536
|
+
} | {
|
|
3537
|
+
type: "pcb_courtyard_outline";
|
|
3538
|
+
pcb_component_id: string;
|
|
3539
|
+
layer: "top" | "bottom";
|
|
3540
|
+
outline: {
|
|
3541
|
+
x: number;
|
|
3542
|
+
y: number;
|
|
3543
|
+
}[];
|
|
3544
|
+
stroke_width: number;
|
|
3545
|
+
pcb_courtyard_outline_id: string;
|
|
3546
|
+
subcircuit_id?: string | undefined;
|
|
3547
|
+
pcb_group_id?: string | undefined;
|
|
3548
|
+
is_stroke_dashed?: boolean | undefined;
|
|
3549
|
+
color?: string | undefined;
|
|
3550
|
+
is_closed?: boolean | undefined;
|
|
3439
3551
|
} | {
|
|
3440
3552
|
x: number;
|
|
3441
3553
|
y: number;
|