@tscircuit/eval 0.0.836 → 0.0.838
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 +32 -0
- package/dist/lib/index.d.ts +32 -0
- package/dist/webworker/entrypoint.js +77 -76
- package/package.json +9 -8
package/dist/eval/index.d.ts
CHANGED
|
@@ -1626,6 +1626,21 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1626
1626
|
outer_diameter?: number | undefined;
|
|
1627
1627
|
copper_pour_id?: string | undefined;
|
|
1628
1628
|
is_inside_copper_pour?: boolean | undefined;
|
|
1629
|
+
} | {
|
|
1630
|
+
width: number;
|
|
1631
|
+
route_type: "through_pad";
|
|
1632
|
+
start: {
|
|
1633
|
+
x: number;
|
|
1634
|
+
y: number;
|
|
1635
|
+
};
|
|
1636
|
+
end: {
|
|
1637
|
+
x: number;
|
|
1638
|
+
y: number;
|
|
1639
|
+
};
|
|
1640
|
+
start_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1641
|
+
end_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1642
|
+
pcb_plated_hole_id?: string | undefined;
|
|
1643
|
+
pcb_smtpad_id?: string | undefined;
|
|
1629
1644
|
})[];
|
|
1630
1645
|
pcb_component_id?: string | undefined;
|
|
1631
1646
|
subcircuit_id?: string | undefined;
|
|
@@ -4392,6 +4407,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
4392
4407
|
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
|
|
4393
4408
|
model_jscad?: any;
|
|
4394
4409
|
show_as_translucent_model?: boolean | undefined;
|
|
4410
|
+
show_as_bounding_box?: boolean | undefined;
|
|
4395
4411
|
} | {
|
|
4396
4412
|
type: "simulation_voltage_source";
|
|
4397
4413
|
voltage: number;
|
|
@@ -5972,6 +5988,21 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
5972
5988
|
outer_diameter?: number | undefined;
|
|
5973
5989
|
copper_pour_id?: string | undefined;
|
|
5974
5990
|
is_inside_copper_pour?: boolean | undefined;
|
|
5991
|
+
} | {
|
|
5992
|
+
width: number;
|
|
5993
|
+
route_type: "through_pad";
|
|
5994
|
+
start: {
|
|
5995
|
+
x: number;
|
|
5996
|
+
y: number;
|
|
5997
|
+
};
|
|
5998
|
+
end: {
|
|
5999
|
+
x: number;
|
|
6000
|
+
y: number;
|
|
6001
|
+
};
|
|
6002
|
+
start_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6003
|
+
end_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6004
|
+
pcb_plated_hole_id?: string | undefined;
|
|
6005
|
+
pcb_smtpad_id?: string | undefined;
|
|
5975
6006
|
})[];
|
|
5976
6007
|
pcb_component_id?: string | undefined;
|
|
5977
6008
|
subcircuit_id?: string | undefined;
|
|
@@ -8738,6 +8769,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
8738
8769
|
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
|
|
8739
8770
|
model_jscad?: any;
|
|
8740
8771
|
show_as_translucent_model?: boolean | undefined;
|
|
8772
|
+
show_as_bounding_box?: boolean | undefined;
|
|
8741
8773
|
} | {
|
|
8742
8774
|
type: "simulation_voltage_source";
|
|
8743
8775
|
voltage: number;
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -1642,6 +1642,21 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1642
1642
|
outer_diameter?: number | undefined;
|
|
1643
1643
|
copper_pour_id?: string | undefined;
|
|
1644
1644
|
is_inside_copper_pour?: boolean | undefined;
|
|
1645
|
+
} | {
|
|
1646
|
+
width: number;
|
|
1647
|
+
route_type: "through_pad";
|
|
1648
|
+
start: {
|
|
1649
|
+
x: number;
|
|
1650
|
+
y: number;
|
|
1651
|
+
};
|
|
1652
|
+
end: {
|
|
1653
|
+
x: number;
|
|
1654
|
+
y: number;
|
|
1655
|
+
};
|
|
1656
|
+
start_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1657
|
+
end_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1658
|
+
pcb_plated_hole_id?: string | undefined;
|
|
1659
|
+
pcb_smtpad_id?: string | undefined;
|
|
1645
1660
|
})[];
|
|
1646
1661
|
pcb_component_id?: string | undefined;
|
|
1647
1662
|
subcircuit_id?: string | undefined;
|
|
@@ -4408,6 +4423,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
4408
4423
|
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
|
|
4409
4424
|
model_jscad?: any;
|
|
4410
4425
|
show_as_translucent_model?: boolean | undefined;
|
|
4426
|
+
show_as_bounding_box?: boolean | undefined;
|
|
4411
4427
|
} | {
|
|
4412
4428
|
type: "simulation_voltage_source";
|
|
4413
4429
|
voltage: number;
|
|
@@ -5988,6 +6004,21 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
5988
6004
|
outer_diameter?: number | undefined;
|
|
5989
6005
|
copper_pour_id?: string | undefined;
|
|
5990
6006
|
is_inside_copper_pour?: boolean | undefined;
|
|
6007
|
+
} | {
|
|
6008
|
+
width: number;
|
|
6009
|
+
route_type: "through_pad";
|
|
6010
|
+
start: {
|
|
6011
|
+
x: number;
|
|
6012
|
+
y: number;
|
|
6013
|
+
};
|
|
6014
|
+
end: {
|
|
6015
|
+
x: number;
|
|
6016
|
+
y: number;
|
|
6017
|
+
};
|
|
6018
|
+
start_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6019
|
+
end_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
6020
|
+
pcb_plated_hole_id?: string | undefined;
|
|
6021
|
+
pcb_smtpad_id?: string | undefined;
|
|
5991
6022
|
})[];
|
|
5992
6023
|
pcb_component_id?: string | undefined;
|
|
5993
6024
|
subcircuit_id?: string | undefined;
|
|
@@ -8754,6 +8785,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
8754
8785
|
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
|
|
8755
8786
|
model_jscad?: any;
|
|
8756
8787
|
show_as_translucent_model?: boolean | undefined;
|
|
8788
|
+
show_as_bounding_box?: boolean | undefined;
|
|
8757
8789
|
} | {
|
|
8758
8790
|
type: "simulation_voltage_source";
|
|
8759
8791
|
voltage: number;
|