@tscircuit/eval 0.0.736 → 0.0.738
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 +18 -4
- package/dist/eval/index.js +10413 -13
- package/dist/lib/index.d.ts +18 -4
- package/dist/lib/index.js +10416 -16
- package/dist/platform-config/getPlatformConfig.js +10406 -6
- package/dist/webworker/entrypoint.js +6 -6
- package/package.json +4 -4
package/dist/lib/index.d.ts
CHANGED
|
@@ -1592,9 +1592,9 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1592
1592
|
} | {
|
|
1593
1593
|
x: number;
|
|
1594
1594
|
y: number;
|
|
1595
|
-
to_layer:
|
|
1595
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1596
1596
|
route_type: "via";
|
|
1597
|
-
from_layer:
|
|
1597
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1598
1598
|
hole_diameter?: number | undefined;
|
|
1599
1599
|
outer_diameter?: number | undefined;
|
|
1600
1600
|
copper_pour_id?: string | undefined;
|
|
@@ -1837,6 +1837,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1837
1837
|
type: "pcb_panel";
|
|
1838
1838
|
width: number;
|
|
1839
1839
|
height: number;
|
|
1840
|
+
thickness: number;
|
|
1840
1841
|
center: {
|
|
1841
1842
|
x: number;
|
|
1842
1843
|
y: number;
|
|
@@ -2009,6 +2010,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2009
2010
|
pcb_silkscreen_circle_id: string;
|
|
2010
2011
|
subcircuit_id?: string | undefined;
|
|
2011
2012
|
pcb_group_id?: string | undefined;
|
|
2013
|
+
is_filled?: boolean | undefined;
|
|
2012
2014
|
} | {
|
|
2013
2015
|
type: "pcb_silkscreen_oval";
|
|
2014
2016
|
layer: "top" | "bottom";
|
|
@@ -2176,6 +2178,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2176
2178
|
} | {
|
|
2177
2179
|
type: "pcb_note_text";
|
|
2178
2180
|
font: "tscircuit2024";
|
|
2181
|
+
layer: "top" | "bottom";
|
|
2179
2182
|
anchor_position: {
|
|
2180
2183
|
x: number;
|
|
2181
2184
|
y: number;
|
|
@@ -2193,6 +2196,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2193
2196
|
type: "pcb_note_rect";
|
|
2194
2197
|
width: number;
|
|
2195
2198
|
height: number;
|
|
2199
|
+
layer: "top" | "bottom";
|
|
2196
2200
|
center: {
|
|
2197
2201
|
x: number;
|
|
2198
2202
|
y: number;
|
|
@@ -2211,6 +2215,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2211
2215
|
color?: string | undefined;
|
|
2212
2216
|
} | {
|
|
2213
2217
|
type: "pcb_note_path";
|
|
2218
|
+
layer: "top" | "bottom";
|
|
2214
2219
|
route: {
|
|
2215
2220
|
x: number;
|
|
2216
2221
|
y: number;
|
|
@@ -2225,6 +2230,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2225
2230
|
color?: string | undefined;
|
|
2226
2231
|
} | {
|
|
2227
2232
|
type: "pcb_note_line";
|
|
2233
|
+
layer: "top" | "bottom";
|
|
2228
2234
|
stroke_width: number;
|
|
2229
2235
|
x1: number;
|
|
2230
2236
|
y1: number;
|
|
@@ -2241,6 +2247,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2241
2247
|
} | {
|
|
2242
2248
|
type: "pcb_note_dimension";
|
|
2243
2249
|
font: "tscircuit2024";
|
|
2250
|
+
layer: "top" | "bottom";
|
|
2244
2251
|
font_size: number;
|
|
2245
2252
|
from: {
|
|
2246
2253
|
x: number;
|
|
@@ -5829,9 +5836,9 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
5829
5836
|
} | {
|
|
5830
5837
|
x: number;
|
|
5831
5838
|
y: number;
|
|
5832
|
-
to_layer:
|
|
5839
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5833
5840
|
route_type: "via";
|
|
5834
|
-
from_layer:
|
|
5841
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5835
5842
|
hole_diameter?: number | undefined;
|
|
5836
5843
|
outer_diameter?: number | undefined;
|
|
5837
5844
|
copper_pour_id?: string | undefined;
|
|
@@ -6074,6 +6081,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6074
6081
|
type: "pcb_panel";
|
|
6075
6082
|
width: number;
|
|
6076
6083
|
height: number;
|
|
6084
|
+
thickness: number;
|
|
6077
6085
|
center: {
|
|
6078
6086
|
x: number;
|
|
6079
6087
|
y: number;
|
|
@@ -6246,6 +6254,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6246
6254
|
pcb_silkscreen_circle_id: string;
|
|
6247
6255
|
subcircuit_id?: string | undefined;
|
|
6248
6256
|
pcb_group_id?: string | undefined;
|
|
6257
|
+
is_filled?: boolean | undefined;
|
|
6249
6258
|
} | {
|
|
6250
6259
|
type: "pcb_silkscreen_oval";
|
|
6251
6260
|
layer: "top" | "bottom";
|
|
@@ -6413,6 +6422,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6413
6422
|
} | {
|
|
6414
6423
|
type: "pcb_note_text";
|
|
6415
6424
|
font: "tscircuit2024";
|
|
6425
|
+
layer: "top" | "bottom";
|
|
6416
6426
|
anchor_position: {
|
|
6417
6427
|
x: number;
|
|
6418
6428
|
y: number;
|
|
@@ -6430,6 +6440,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6430
6440
|
type: "pcb_note_rect";
|
|
6431
6441
|
width: number;
|
|
6432
6442
|
height: number;
|
|
6443
|
+
layer: "top" | "bottom";
|
|
6433
6444
|
center: {
|
|
6434
6445
|
x: number;
|
|
6435
6446
|
y: number;
|
|
@@ -6448,6 +6459,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6448
6459
|
color?: string | undefined;
|
|
6449
6460
|
} | {
|
|
6450
6461
|
type: "pcb_note_path";
|
|
6462
|
+
layer: "top" | "bottom";
|
|
6451
6463
|
route: {
|
|
6452
6464
|
x: number;
|
|
6453
6465
|
y: number;
|
|
@@ -6462,6 +6474,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6462
6474
|
color?: string | undefined;
|
|
6463
6475
|
} | {
|
|
6464
6476
|
type: "pcb_note_line";
|
|
6477
|
+
layer: "top" | "bottom";
|
|
6465
6478
|
stroke_width: number;
|
|
6466
6479
|
x1: number;
|
|
6467
6480
|
y1: number;
|
|
@@ -6478,6 +6491,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6478
6491
|
} | {
|
|
6479
6492
|
type: "pcb_note_dimension";
|
|
6480
6493
|
font: "tscircuit2024";
|
|
6494
|
+
layer: "top" | "bottom";
|
|
6481
6495
|
font_size: number;
|
|
6482
6496
|
from: {
|
|
6483
6497
|
x: number;
|