@tscircuit/eval 0.0.735 → 0.0.737
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/lib/index.d.ts +18 -4
- package/dist/webworker/entrypoint.js +8 -8
- 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;
|
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;
|