@tscircuit/eval 0.0.386 → 0.0.388
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 +44 -2
- package/dist/eval/index.js +27 -3
- package/dist/lib/index.d.ts +44 -2
- package/dist/lib/index.js +27 -3
- package/dist/webworker/entrypoint.js +123 -123
- package/package.json +7 -7
package/dist/lib/index.d.ts
CHANGED
|
@@ -1452,6 +1452,27 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1452
1452
|
has_stroke?: boolean | undefined;
|
|
1453
1453
|
is_stroke_dashed?: boolean | undefined;
|
|
1454
1454
|
color?: string | undefined;
|
|
1455
|
+
} | {
|
|
1456
|
+
type: "pcb_fabrication_note_dimension";
|
|
1457
|
+
pcb_component_id: string;
|
|
1458
|
+
layer: "top" | "bottom";
|
|
1459
|
+
font: "tscircuit2024";
|
|
1460
|
+
font_size: number;
|
|
1461
|
+
pcb_fabrication_note_dimension_id: string;
|
|
1462
|
+
from: string | {
|
|
1463
|
+
x: number;
|
|
1464
|
+
y: number;
|
|
1465
|
+
};
|
|
1466
|
+
to: string | {
|
|
1467
|
+
x: number;
|
|
1468
|
+
y: number;
|
|
1469
|
+
};
|
|
1470
|
+
arrow_size: number;
|
|
1471
|
+
subcircuit_id?: string | undefined;
|
|
1472
|
+
pcb_group_id?: string | undefined;
|
|
1473
|
+
text?: string | undefined;
|
|
1474
|
+
color?: string | undefined;
|
|
1475
|
+
offset?: number | undefined;
|
|
1455
1476
|
} | {
|
|
1456
1477
|
type: "pcb_note_text";
|
|
1457
1478
|
text: string;
|
|
@@ -1513,7 +1534,6 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1513
1534
|
type: "pcb_note_dimension";
|
|
1514
1535
|
font: "tscircuit2024";
|
|
1515
1536
|
font_size: number;
|
|
1516
|
-
pcb_note_dimension_id: string;
|
|
1517
1537
|
from: {
|
|
1518
1538
|
x: number;
|
|
1519
1539
|
y: number;
|
|
@@ -1523,6 +1543,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1523
1543
|
y: number;
|
|
1524
1544
|
};
|
|
1525
1545
|
arrow_size: number;
|
|
1546
|
+
pcb_note_dimension_id: string;
|
|
1526
1547
|
pcb_component_id?: string | undefined;
|
|
1527
1548
|
subcircuit_id?: string | undefined;
|
|
1528
1549
|
pcb_group_id?: string | undefined;
|
|
@@ -3475,6 +3496,27 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3475
3496
|
has_stroke?: boolean | undefined;
|
|
3476
3497
|
is_stroke_dashed?: boolean | undefined;
|
|
3477
3498
|
color?: string | undefined;
|
|
3499
|
+
} | {
|
|
3500
|
+
type: "pcb_fabrication_note_dimension";
|
|
3501
|
+
pcb_component_id: string;
|
|
3502
|
+
layer: "top" | "bottom";
|
|
3503
|
+
font: "tscircuit2024";
|
|
3504
|
+
font_size: number;
|
|
3505
|
+
pcb_fabrication_note_dimension_id: string;
|
|
3506
|
+
from: string | {
|
|
3507
|
+
x: number;
|
|
3508
|
+
y: number;
|
|
3509
|
+
};
|
|
3510
|
+
to: string | {
|
|
3511
|
+
x: number;
|
|
3512
|
+
y: number;
|
|
3513
|
+
};
|
|
3514
|
+
arrow_size: number;
|
|
3515
|
+
subcircuit_id?: string | undefined;
|
|
3516
|
+
pcb_group_id?: string | undefined;
|
|
3517
|
+
text?: string | undefined;
|
|
3518
|
+
color?: string | undefined;
|
|
3519
|
+
offset?: number | undefined;
|
|
3478
3520
|
} | {
|
|
3479
3521
|
type: "pcb_note_text";
|
|
3480
3522
|
text: string;
|
|
@@ -3536,7 +3578,6 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3536
3578
|
type: "pcb_note_dimension";
|
|
3537
3579
|
font: "tscircuit2024";
|
|
3538
3580
|
font_size: number;
|
|
3539
|
-
pcb_note_dimension_id: string;
|
|
3540
3581
|
from: {
|
|
3541
3582
|
x: number;
|
|
3542
3583
|
y: number;
|
|
@@ -3546,6 +3587,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3546
3587
|
y: number;
|
|
3547
3588
|
};
|
|
3548
3589
|
arrow_size: number;
|
|
3590
|
+
pcb_note_dimension_id: string;
|
|
3549
3591
|
pcb_component_id?: string | undefined;
|
|
3550
3592
|
subcircuit_id?: string | undefined;
|
|
3551
3593
|
pcb_group_id?: string | undefined;
|