@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/eval/index.d.ts
CHANGED
|
@@ -984,6 +984,28 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
984
984
|
port_hints?: string[] | undefined;
|
|
985
985
|
pcb_port_id?: string | undefined;
|
|
986
986
|
rect_border_radius?: number | undefined;
|
|
987
|
+
} | {
|
|
988
|
+
x: number;
|
|
989
|
+
y: number;
|
|
990
|
+
type: "pcb_plated_hole";
|
|
991
|
+
hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
|
|
992
|
+
shape: "hole_with_polygon_pad";
|
|
993
|
+
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
994
|
+
pcb_plated_hole_id: string;
|
|
995
|
+
hole_offset_x: number;
|
|
996
|
+
hole_offset_y: number;
|
|
997
|
+
pad_outline: {
|
|
998
|
+
x: number;
|
|
999
|
+
y: number;
|
|
1000
|
+
}[];
|
|
1001
|
+
pcb_component_id?: string | undefined;
|
|
1002
|
+
subcircuit_id?: string | undefined;
|
|
1003
|
+
pcb_group_id?: string | undefined;
|
|
1004
|
+
hole_diameter?: number | undefined;
|
|
1005
|
+
hole_width?: number | undefined;
|
|
1006
|
+
hole_height?: number | undefined;
|
|
1007
|
+
port_hints?: string[] | undefined;
|
|
1008
|
+
pcb_port_id?: string | undefined;
|
|
987
1009
|
} | {
|
|
988
1010
|
type: "pcb_keepout";
|
|
989
1011
|
width: number;
|
|
@@ -3165,6 +3187,28 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3165
3187
|
port_hints?: string[] | undefined;
|
|
3166
3188
|
pcb_port_id?: string | undefined;
|
|
3167
3189
|
rect_border_radius?: number | undefined;
|
|
3190
|
+
} | {
|
|
3191
|
+
x: number;
|
|
3192
|
+
y: number;
|
|
3193
|
+
type: "pcb_plated_hole";
|
|
3194
|
+
hole_shape: "circle" | "oval" | "pill" | "rotated_pill";
|
|
3195
|
+
shape: "hole_with_polygon_pad";
|
|
3196
|
+
layers: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[];
|
|
3197
|
+
pcb_plated_hole_id: string;
|
|
3198
|
+
hole_offset_x: number;
|
|
3199
|
+
hole_offset_y: number;
|
|
3200
|
+
pad_outline: {
|
|
3201
|
+
x: number;
|
|
3202
|
+
y: number;
|
|
3203
|
+
}[];
|
|
3204
|
+
pcb_component_id?: string | undefined;
|
|
3205
|
+
subcircuit_id?: string | undefined;
|
|
3206
|
+
pcb_group_id?: string | undefined;
|
|
3207
|
+
hole_diameter?: number | undefined;
|
|
3208
|
+
hole_width?: number | undefined;
|
|
3209
|
+
hole_height?: number | undefined;
|
|
3210
|
+
port_hints?: string[] | undefined;
|
|
3211
|
+
pcb_port_id?: string | undefined;
|
|
3168
3212
|
} | {
|
|
3169
3213
|
type: "pcb_keepout";
|
|
3170
3214
|
width: number;
|