@tscircuit/eval 0.0.473 → 0.0.475
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 -0
- package/dist/eval/index.js +55 -17
- package/dist/lib/index.d.ts +44 -0
- package/dist/lib/index.js +55 -17
- package/dist/webworker/entrypoint.js +191 -191
- package/package.json +5 -5
package/dist/lib/index.d.ts
CHANGED
|
@@ -1000,6 +1000,28 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1000
1000
|
port_hints?: string[] | undefined;
|
|
1001
1001
|
pcb_port_id?: string | undefined;
|
|
1002
1002
|
rect_border_radius?: number | undefined;
|
|
1003
|
+
} | {
|
|
1004
|
+
x: number;
|
|
1005
|
+
y: number;
|
|
1006
|
+
type: "pcb_plated_hole";
|
|
1007
|
+
hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
|
|
1008
|
+
shape: "hole_with_polygon_pad";
|
|
1009
|
+
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
1010
|
+
pcb_plated_hole_id: string;
|
|
1011
|
+
hole_offset_x: number;
|
|
1012
|
+
hole_offset_y: number;
|
|
1013
|
+
pad_outline: {
|
|
1014
|
+
x: number;
|
|
1015
|
+
y: number;
|
|
1016
|
+
}[];
|
|
1017
|
+
pcb_component_id?: string | undefined;
|
|
1018
|
+
subcircuit_id?: string | undefined;
|
|
1019
|
+
pcb_group_id?: string | undefined;
|
|
1020
|
+
hole_diameter?: number | undefined;
|
|
1021
|
+
hole_width?: number | undefined;
|
|
1022
|
+
hole_height?: number | undefined;
|
|
1023
|
+
port_hints?: string[] | undefined;
|
|
1024
|
+
pcb_port_id?: string | undefined;
|
|
1003
1025
|
} | {
|
|
1004
1026
|
type: "pcb_keepout";
|
|
1005
1027
|
width: number;
|
|
@@ -3181,6 +3203,28 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3181
3203
|
port_hints?: string[] | undefined;
|
|
3182
3204
|
pcb_port_id?: string | undefined;
|
|
3183
3205
|
rect_border_radius?: number | undefined;
|
|
3206
|
+
} | {
|
|
3207
|
+
x: number;
|
|
3208
|
+
y: number;
|
|
3209
|
+
type: "pcb_plated_hole";
|
|
3210
|
+
hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
|
|
3211
|
+
shape: "hole_with_polygon_pad";
|
|
3212
|
+
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
3213
|
+
pcb_plated_hole_id: string;
|
|
3214
|
+
hole_offset_x: number;
|
|
3215
|
+
hole_offset_y: number;
|
|
3216
|
+
pad_outline: {
|
|
3217
|
+
x: number;
|
|
3218
|
+
y: number;
|
|
3219
|
+
}[];
|
|
3220
|
+
pcb_component_id?: string | undefined;
|
|
3221
|
+
subcircuit_id?: string | undefined;
|
|
3222
|
+
pcb_group_id?: string | undefined;
|
|
3223
|
+
hole_diameter?: number | undefined;
|
|
3224
|
+
hole_width?: number | undefined;
|
|
3225
|
+
hole_height?: number | undefined;
|
|
3226
|
+
port_hints?: string[] | undefined;
|
|
3227
|
+
pcb_port_id?: string | undefined;
|
|
3184
3228
|
} | {
|
|
3185
3229
|
type: "pcb_keepout";
|
|
3186
3230
|
width: number;
|