@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/eval/index.d.ts
CHANGED
|
@@ -1576,9 +1576,9 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1576
1576
|
} | {
|
|
1577
1577
|
x: number;
|
|
1578
1578
|
y: number;
|
|
1579
|
-
to_layer:
|
|
1579
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1580
1580
|
route_type: "via";
|
|
1581
|
-
from_layer:
|
|
1581
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
1582
1582
|
hole_diameter?: number | undefined;
|
|
1583
1583
|
outer_diameter?: number | undefined;
|
|
1584
1584
|
copper_pour_id?: string | undefined;
|
|
@@ -1821,6 +1821,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1821
1821
|
type: "pcb_panel";
|
|
1822
1822
|
width: number;
|
|
1823
1823
|
height: number;
|
|
1824
|
+
thickness: number;
|
|
1824
1825
|
center: {
|
|
1825
1826
|
x: number;
|
|
1826
1827
|
y: number;
|
|
@@ -1993,6 +1994,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1993
1994
|
pcb_silkscreen_circle_id: string;
|
|
1994
1995
|
subcircuit_id?: string | undefined;
|
|
1995
1996
|
pcb_group_id?: string | undefined;
|
|
1997
|
+
is_filled?: boolean | undefined;
|
|
1996
1998
|
} | {
|
|
1997
1999
|
type: "pcb_silkscreen_oval";
|
|
1998
2000
|
layer: "top" | "bottom";
|
|
@@ -2160,6 +2162,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2160
2162
|
} | {
|
|
2161
2163
|
type: "pcb_note_text";
|
|
2162
2164
|
font: "tscircuit2024";
|
|
2165
|
+
layer: "top" | "bottom";
|
|
2163
2166
|
anchor_position: {
|
|
2164
2167
|
x: number;
|
|
2165
2168
|
y: number;
|
|
@@ -2177,6 +2180,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2177
2180
|
type: "pcb_note_rect";
|
|
2178
2181
|
width: number;
|
|
2179
2182
|
height: number;
|
|
2183
|
+
layer: "top" | "bottom";
|
|
2180
2184
|
center: {
|
|
2181
2185
|
x: number;
|
|
2182
2186
|
y: number;
|
|
@@ -2195,6 +2199,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2195
2199
|
color?: string | undefined;
|
|
2196
2200
|
} | {
|
|
2197
2201
|
type: "pcb_note_path";
|
|
2202
|
+
layer: "top" | "bottom";
|
|
2198
2203
|
route: {
|
|
2199
2204
|
x: number;
|
|
2200
2205
|
y: number;
|
|
@@ -2209,6 +2214,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2209
2214
|
color?: string | undefined;
|
|
2210
2215
|
} | {
|
|
2211
2216
|
type: "pcb_note_line";
|
|
2217
|
+
layer: "top" | "bottom";
|
|
2212
2218
|
stroke_width: number;
|
|
2213
2219
|
x1: number;
|
|
2214
2220
|
y1: number;
|
|
@@ -2225,6 +2231,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2225
2231
|
} | {
|
|
2226
2232
|
type: "pcb_note_dimension";
|
|
2227
2233
|
font: "tscircuit2024";
|
|
2234
|
+
layer: "top" | "bottom";
|
|
2228
2235
|
font_size: number;
|
|
2229
2236
|
from: {
|
|
2230
2237
|
x: number;
|
|
@@ -5813,9 +5820,9 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
5813
5820
|
} | {
|
|
5814
5821
|
x: number;
|
|
5815
5822
|
y: number;
|
|
5816
|
-
to_layer:
|
|
5823
|
+
to_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5817
5824
|
route_type: "via";
|
|
5818
|
-
from_layer:
|
|
5825
|
+
from_layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
5819
5826
|
hole_diameter?: number | undefined;
|
|
5820
5827
|
outer_diameter?: number | undefined;
|
|
5821
5828
|
copper_pour_id?: string | undefined;
|
|
@@ -6058,6 +6065,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6058
6065
|
type: "pcb_panel";
|
|
6059
6066
|
width: number;
|
|
6060
6067
|
height: number;
|
|
6068
|
+
thickness: number;
|
|
6061
6069
|
center: {
|
|
6062
6070
|
x: number;
|
|
6063
6071
|
y: number;
|
|
@@ -6230,6 +6238,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6230
6238
|
pcb_silkscreen_circle_id: string;
|
|
6231
6239
|
subcircuit_id?: string | undefined;
|
|
6232
6240
|
pcb_group_id?: string | undefined;
|
|
6241
|
+
is_filled?: boolean | undefined;
|
|
6233
6242
|
} | {
|
|
6234
6243
|
type: "pcb_silkscreen_oval";
|
|
6235
6244
|
layer: "top" | "bottom";
|
|
@@ -6397,6 +6406,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6397
6406
|
} | {
|
|
6398
6407
|
type: "pcb_note_text";
|
|
6399
6408
|
font: "tscircuit2024";
|
|
6409
|
+
layer: "top" | "bottom";
|
|
6400
6410
|
anchor_position: {
|
|
6401
6411
|
x: number;
|
|
6402
6412
|
y: number;
|
|
@@ -6414,6 +6424,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6414
6424
|
type: "pcb_note_rect";
|
|
6415
6425
|
width: number;
|
|
6416
6426
|
height: number;
|
|
6427
|
+
layer: "top" | "bottom";
|
|
6417
6428
|
center: {
|
|
6418
6429
|
x: number;
|
|
6419
6430
|
y: number;
|
|
@@ -6432,6 +6443,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6432
6443
|
color?: string | undefined;
|
|
6433
6444
|
} | {
|
|
6434
6445
|
type: "pcb_note_path";
|
|
6446
|
+
layer: "top" | "bottom";
|
|
6435
6447
|
route: {
|
|
6436
6448
|
x: number;
|
|
6437
6449
|
y: number;
|
|
@@ -6446,6 +6458,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6446
6458
|
color?: string | undefined;
|
|
6447
6459
|
} | {
|
|
6448
6460
|
type: "pcb_note_line";
|
|
6461
|
+
layer: "top" | "bottom";
|
|
6449
6462
|
stroke_width: number;
|
|
6450
6463
|
x1: number;
|
|
6451
6464
|
y1: number;
|
|
@@ -6462,6 +6475,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6462
6475
|
} | {
|
|
6463
6476
|
type: "pcb_note_dimension";
|
|
6464
6477
|
font: "tscircuit2024";
|
|
6478
|
+
layer: "top" | "bottom";
|
|
6465
6479
|
font_size: number;
|
|
6466
6480
|
from: {
|
|
6467
6481
|
x: number;
|