@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/eval/index.d.ts
CHANGED
|
@@ -1436,6 +1436,27 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1436
1436
|
has_stroke?: boolean | undefined;
|
|
1437
1437
|
is_stroke_dashed?: boolean | undefined;
|
|
1438
1438
|
color?: string | undefined;
|
|
1439
|
+
} | {
|
|
1440
|
+
type: "pcb_fabrication_note_dimension";
|
|
1441
|
+
pcb_component_id: string;
|
|
1442
|
+
layer: "top" | "bottom";
|
|
1443
|
+
font: "tscircuit2024";
|
|
1444
|
+
font_size: number;
|
|
1445
|
+
pcb_fabrication_note_dimension_id: string;
|
|
1446
|
+
from: string | {
|
|
1447
|
+
x: number;
|
|
1448
|
+
y: number;
|
|
1449
|
+
};
|
|
1450
|
+
to: string | {
|
|
1451
|
+
x: number;
|
|
1452
|
+
y: number;
|
|
1453
|
+
};
|
|
1454
|
+
arrow_size: number;
|
|
1455
|
+
subcircuit_id?: string | undefined;
|
|
1456
|
+
pcb_group_id?: string | undefined;
|
|
1457
|
+
text?: string | undefined;
|
|
1458
|
+
color?: string | undefined;
|
|
1459
|
+
offset?: number | undefined;
|
|
1439
1460
|
} | {
|
|
1440
1461
|
type: "pcb_note_text";
|
|
1441
1462
|
text: string;
|
|
@@ -1497,7 +1518,6 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1497
1518
|
type: "pcb_note_dimension";
|
|
1498
1519
|
font: "tscircuit2024";
|
|
1499
1520
|
font_size: number;
|
|
1500
|
-
pcb_note_dimension_id: string;
|
|
1501
1521
|
from: {
|
|
1502
1522
|
x: number;
|
|
1503
1523
|
y: number;
|
|
@@ -1507,6 +1527,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1507
1527
|
y: number;
|
|
1508
1528
|
};
|
|
1509
1529
|
arrow_size: number;
|
|
1530
|
+
pcb_note_dimension_id: string;
|
|
1510
1531
|
pcb_component_id?: string | undefined;
|
|
1511
1532
|
subcircuit_id?: string | undefined;
|
|
1512
1533
|
pcb_group_id?: string | undefined;
|
|
@@ -3459,6 +3480,27 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3459
3480
|
has_stroke?: boolean | undefined;
|
|
3460
3481
|
is_stroke_dashed?: boolean | undefined;
|
|
3461
3482
|
color?: string | undefined;
|
|
3483
|
+
} | {
|
|
3484
|
+
type: "pcb_fabrication_note_dimension";
|
|
3485
|
+
pcb_component_id: string;
|
|
3486
|
+
layer: "top" | "bottom";
|
|
3487
|
+
font: "tscircuit2024";
|
|
3488
|
+
font_size: number;
|
|
3489
|
+
pcb_fabrication_note_dimension_id: string;
|
|
3490
|
+
from: string | {
|
|
3491
|
+
x: number;
|
|
3492
|
+
y: number;
|
|
3493
|
+
};
|
|
3494
|
+
to: string | {
|
|
3495
|
+
x: number;
|
|
3496
|
+
y: number;
|
|
3497
|
+
};
|
|
3498
|
+
arrow_size: number;
|
|
3499
|
+
subcircuit_id?: string | undefined;
|
|
3500
|
+
pcb_group_id?: string | undefined;
|
|
3501
|
+
text?: string | undefined;
|
|
3502
|
+
color?: string | undefined;
|
|
3503
|
+
offset?: number | undefined;
|
|
3462
3504
|
} | {
|
|
3463
3505
|
type: "pcb_note_text";
|
|
3464
3506
|
text: string;
|
|
@@ -3520,7 +3562,6 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3520
3562
|
type: "pcb_note_dimension";
|
|
3521
3563
|
font: "tscircuit2024";
|
|
3522
3564
|
font_size: number;
|
|
3523
|
-
pcb_note_dimension_id: string;
|
|
3524
3565
|
from: {
|
|
3525
3566
|
x: number;
|
|
3526
3567
|
y: number;
|
|
@@ -3530,6 +3571,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3530
3571
|
y: number;
|
|
3531
3572
|
};
|
|
3532
3573
|
arrow_size: number;
|
|
3574
|
+
pcb_note_dimension_id: string;
|
|
3533
3575
|
pcb_component_id?: string | undefined;
|
|
3534
3576
|
subcircuit_id?: string | undefined;
|
|
3535
3577
|
pcb_group_id?: string | undefined;
|