@tscircuit/eval 0.0.460 → 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/lib/index.d.ts +40 -0
- 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?: {
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -849,6 +849,25 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
849
849
|
ccw_rotation: number;
|
|
850
850
|
subcircuit_id?: string | undefined;
|
|
851
851
|
pcb_group_id?: string | undefined;
|
|
852
|
+
} | {
|
|
853
|
+
x: number;
|
|
854
|
+
y: number;
|
|
855
|
+
type: "pcb_hole";
|
|
856
|
+
pcb_hole_id: string;
|
|
857
|
+
hole_shape: "circle";
|
|
858
|
+
hole_diameter: number;
|
|
859
|
+
subcircuit_id?: string | undefined;
|
|
860
|
+
pcb_group_id?: string | undefined;
|
|
861
|
+
} | {
|
|
862
|
+
x: number;
|
|
863
|
+
y: number;
|
|
864
|
+
type: "pcb_hole";
|
|
865
|
+
pcb_hole_id: string;
|
|
866
|
+
hole_shape: "rect";
|
|
867
|
+
hole_width: number;
|
|
868
|
+
hole_height: number;
|
|
869
|
+
subcircuit_id?: string | undefined;
|
|
870
|
+
pcb_group_id?: string | undefined;
|
|
852
871
|
} | {
|
|
853
872
|
message: string;
|
|
854
873
|
type: "pcb_missing_footprint_error";
|
|
@@ -1259,6 +1278,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1259
1278
|
width?: number | undefined;
|
|
1260
1279
|
height?: number | undefined;
|
|
1261
1280
|
subcircuit_id?: string | undefined;
|
|
1281
|
+
shape?: "rect" | "polygon" | undefined;
|
|
1262
1282
|
pcb_panel_id?: string | undefined;
|
|
1263
1283
|
is_subcircuit?: boolean | undefined;
|
|
1264
1284
|
outline?: {
|
|
@@ -3005,6 +3025,25 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3005
3025
|
ccw_rotation: number;
|
|
3006
3026
|
subcircuit_id?: string | undefined;
|
|
3007
3027
|
pcb_group_id?: string | undefined;
|
|
3028
|
+
} | {
|
|
3029
|
+
x: number;
|
|
3030
|
+
y: number;
|
|
3031
|
+
type: "pcb_hole";
|
|
3032
|
+
pcb_hole_id: string;
|
|
3033
|
+
hole_shape: "circle";
|
|
3034
|
+
hole_diameter: number;
|
|
3035
|
+
subcircuit_id?: string | undefined;
|
|
3036
|
+
pcb_group_id?: string | undefined;
|
|
3037
|
+
} | {
|
|
3038
|
+
x: number;
|
|
3039
|
+
y: number;
|
|
3040
|
+
type: "pcb_hole";
|
|
3041
|
+
pcb_hole_id: string;
|
|
3042
|
+
hole_shape: "rect";
|
|
3043
|
+
hole_width: number;
|
|
3044
|
+
hole_height: number;
|
|
3045
|
+
subcircuit_id?: string | undefined;
|
|
3046
|
+
pcb_group_id?: string | undefined;
|
|
3008
3047
|
} | {
|
|
3009
3048
|
message: string;
|
|
3010
3049
|
type: "pcb_missing_footprint_error";
|
|
@@ -3415,6 +3454,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3415
3454
|
width?: number | undefined;
|
|
3416
3455
|
height?: number | undefined;
|
|
3417
3456
|
subcircuit_id?: string | undefined;
|
|
3457
|
+
shape?: "rect" | "polygon" | undefined;
|
|
3418
3458
|
pcb_panel_id?: string | undefined;
|
|
3419
3459
|
is_subcircuit?: boolean | undefined;
|
|
3420
3460
|
outline?: {
|