@tscircuit/eval 0.0.459 → 0.0.461
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 +40 -0
- package/dist/eval/index.js +4 -1
- package/dist/lib/index.d.ts +40 -0
- package/dist/lib/index.js +4 -1
- package/dist/webworker/entrypoint.js +136 -136
- package/package.json +6 -6
package/dist/eval/index.d.ts
CHANGED
|
@@ -833,6 +833,25 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
833
833
|
ccw_rotation: number;
|
|
834
834
|
subcircuit_id?: string | undefined;
|
|
835
835
|
pcb_group_id?: string | undefined;
|
|
836
|
+
} | {
|
|
837
|
+
x: number;
|
|
838
|
+
y: number;
|
|
839
|
+
type: "pcb_hole";
|
|
840
|
+
pcb_hole_id: string;
|
|
841
|
+
hole_shape: "circle";
|
|
842
|
+
hole_diameter: number;
|
|
843
|
+
subcircuit_id?: string | undefined;
|
|
844
|
+
pcb_group_id?: string | undefined;
|
|
845
|
+
} | {
|
|
846
|
+
x: number;
|
|
847
|
+
y: number;
|
|
848
|
+
type: "pcb_hole";
|
|
849
|
+
pcb_hole_id: string;
|
|
850
|
+
hole_shape: "rect";
|
|
851
|
+
hole_width: number;
|
|
852
|
+
hole_height: number;
|
|
853
|
+
subcircuit_id?: string | undefined;
|
|
854
|
+
pcb_group_id?: string | undefined;
|
|
836
855
|
} | {
|
|
837
856
|
message: string;
|
|
838
857
|
type: "pcb_missing_footprint_error";
|
|
@@ -1243,6 +1262,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1243
1262
|
width?: number | undefined;
|
|
1244
1263
|
height?: number | undefined;
|
|
1245
1264
|
subcircuit_id?: string | undefined;
|
|
1265
|
+
shape?: "rect" | "polygon" | undefined;
|
|
1246
1266
|
pcb_panel_id?: string | undefined;
|
|
1247
1267
|
is_subcircuit?: boolean | undefined;
|
|
1248
1268
|
outline?: {
|
|
@@ -2989,6 +3009,25 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2989
3009
|
ccw_rotation: number;
|
|
2990
3010
|
subcircuit_id?: string | undefined;
|
|
2991
3011
|
pcb_group_id?: string | undefined;
|
|
3012
|
+
} | {
|
|
3013
|
+
x: number;
|
|
3014
|
+
y: number;
|
|
3015
|
+
type: "pcb_hole";
|
|
3016
|
+
pcb_hole_id: string;
|
|
3017
|
+
hole_shape: "circle";
|
|
3018
|
+
hole_diameter: number;
|
|
3019
|
+
subcircuit_id?: string | undefined;
|
|
3020
|
+
pcb_group_id?: string | undefined;
|
|
3021
|
+
} | {
|
|
3022
|
+
x: number;
|
|
3023
|
+
y: number;
|
|
3024
|
+
type: "pcb_hole";
|
|
3025
|
+
pcb_hole_id: string;
|
|
3026
|
+
hole_shape: "rect";
|
|
3027
|
+
hole_width: number;
|
|
3028
|
+
hole_height: number;
|
|
3029
|
+
subcircuit_id?: string | undefined;
|
|
3030
|
+
pcb_group_id?: string | undefined;
|
|
2992
3031
|
} | {
|
|
2993
3032
|
message: string;
|
|
2994
3033
|
type: "pcb_missing_footprint_error";
|
|
@@ -3399,6 +3438,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3399
3438
|
width?: number | undefined;
|
|
3400
3439
|
height?: number | undefined;
|
|
3401
3440
|
subcircuit_id?: string | undefined;
|
|
3441
|
+
shape?: "rect" | "polygon" | undefined;
|
|
3402
3442
|
pcb_panel_id?: string | undefined;
|
|
3403
3443
|
is_subcircuit?: boolean | undefined;
|
|
3404
3444
|
outline?: {
|