@tscircuit/eval 0.0.284 → 0.0.285
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 +38 -12
- package/dist/lib/index.d.ts +38 -12
- package/dist/webworker/entrypoint.js +322 -320
- package/package.json +6 -6
package/dist/eval/index.d.ts
CHANGED
|
@@ -386,9 +386,9 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
386
386
|
} | undefined;
|
|
387
387
|
} | {
|
|
388
388
|
message: string;
|
|
389
|
-
type: "
|
|
390
|
-
error_type: "
|
|
391
|
-
|
|
389
|
+
type: "source_trace_not_connected_error";
|
|
390
|
+
error_type: "source_trace_not_connected_error";
|
|
391
|
+
source_trace_not_connected_error_id: string;
|
|
392
392
|
subcircuit_id?: string | undefined;
|
|
393
393
|
source_trace_id?: string | undefined;
|
|
394
394
|
source_group_id?: string | undefined;
|
|
@@ -647,9 +647,9 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
647
647
|
created_at?: string | undefined;
|
|
648
648
|
} | {
|
|
649
649
|
message: string;
|
|
650
|
-
type: "
|
|
651
|
-
error_type: "
|
|
652
|
-
|
|
650
|
+
type: "source_trace_not_connected_error";
|
|
651
|
+
error_type: "source_trace_not_connected_error";
|
|
652
|
+
source_trace_not_connected_error_id: string;
|
|
653
653
|
subcircuit_id?: string | undefined;
|
|
654
654
|
source_trace_id?: string | undefined;
|
|
655
655
|
source_group_id?: string | undefined;
|
|
@@ -1185,6 +1185,19 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1185
1185
|
y: number;
|
|
1186
1186
|
} | undefined;
|
|
1187
1187
|
subcircuit_id?: string | undefined;
|
|
1188
|
+
} | {
|
|
1189
|
+
message: string;
|
|
1190
|
+
type: "pcb_trace_missing_error";
|
|
1191
|
+
source_trace_id: string;
|
|
1192
|
+
error_type: "pcb_trace_missing_error";
|
|
1193
|
+
pcb_component_ids: string[];
|
|
1194
|
+
pcb_port_ids: string[];
|
|
1195
|
+
pcb_trace_missing_error_id: string;
|
|
1196
|
+
center?: {
|
|
1197
|
+
x: number;
|
|
1198
|
+
y: number;
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
subcircuit_id?: string | undefined;
|
|
1188
1201
|
} | {
|
|
1189
1202
|
message: string;
|
|
1190
1203
|
type: "pcb_placement_error";
|
|
@@ -1927,9 +1940,9 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
1927
1940
|
} | undefined;
|
|
1928
1941
|
} | {
|
|
1929
1942
|
message: string;
|
|
1930
|
-
type: "
|
|
1931
|
-
error_type: "
|
|
1932
|
-
|
|
1943
|
+
type: "source_trace_not_connected_error";
|
|
1944
|
+
error_type: "source_trace_not_connected_error";
|
|
1945
|
+
source_trace_not_connected_error_id: string;
|
|
1933
1946
|
subcircuit_id?: string | undefined;
|
|
1934
1947
|
source_trace_id?: string | undefined;
|
|
1935
1948
|
source_group_id?: string | undefined;
|
|
@@ -2188,9 +2201,9 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2188
2201
|
created_at?: string | undefined;
|
|
2189
2202
|
} | {
|
|
2190
2203
|
message: string;
|
|
2191
|
-
type: "
|
|
2192
|
-
error_type: "
|
|
2193
|
-
|
|
2204
|
+
type: "source_trace_not_connected_error";
|
|
2205
|
+
error_type: "source_trace_not_connected_error";
|
|
2206
|
+
source_trace_not_connected_error_id: string;
|
|
2194
2207
|
subcircuit_id?: string | undefined;
|
|
2195
2208
|
source_trace_id?: string | undefined;
|
|
2196
2209
|
source_group_id?: string | undefined;
|
|
@@ -2726,6 +2739,19 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2726
2739
|
y: number;
|
|
2727
2740
|
} | undefined;
|
|
2728
2741
|
subcircuit_id?: string | undefined;
|
|
2742
|
+
} | {
|
|
2743
|
+
message: string;
|
|
2744
|
+
type: "pcb_trace_missing_error";
|
|
2745
|
+
source_trace_id: string;
|
|
2746
|
+
error_type: "pcb_trace_missing_error";
|
|
2747
|
+
pcb_component_ids: string[];
|
|
2748
|
+
pcb_port_ids: string[];
|
|
2749
|
+
pcb_trace_missing_error_id: string;
|
|
2750
|
+
center?: {
|
|
2751
|
+
x: number;
|
|
2752
|
+
y: number;
|
|
2753
|
+
} | undefined;
|
|
2754
|
+
subcircuit_id?: string | undefined;
|
|
2729
2755
|
} | {
|
|
2730
2756
|
message: string;
|
|
2731
2757
|
type: "pcb_placement_error";
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -400,9 +400,9 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
400
400
|
} | undefined;
|
|
401
401
|
} | {
|
|
402
402
|
message: string;
|
|
403
|
-
type: "
|
|
404
|
-
error_type: "
|
|
405
|
-
|
|
403
|
+
type: "source_trace_not_connected_error";
|
|
404
|
+
error_type: "source_trace_not_connected_error";
|
|
405
|
+
source_trace_not_connected_error_id: string;
|
|
406
406
|
subcircuit_id?: string | undefined;
|
|
407
407
|
source_trace_id?: string | undefined;
|
|
408
408
|
source_group_id?: string | undefined;
|
|
@@ -661,9 +661,9 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
661
661
|
created_at?: string | undefined;
|
|
662
662
|
} | {
|
|
663
663
|
message: string;
|
|
664
|
-
type: "
|
|
665
|
-
error_type: "
|
|
666
|
-
|
|
664
|
+
type: "source_trace_not_connected_error";
|
|
665
|
+
error_type: "source_trace_not_connected_error";
|
|
666
|
+
source_trace_not_connected_error_id: string;
|
|
667
667
|
subcircuit_id?: string | undefined;
|
|
668
668
|
source_trace_id?: string | undefined;
|
|
669
669
|
source_group_id?: string | undefined;
|
|
@@ -1199,6 +1199,19 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1199
1199
|
y: number;
|
|
1200
1200
|
} | undefined;
|
|
1201
1201
|
subcircuit_id?: string | undefined;
|
|
1202
|
+
} | {
|
|
1203
|
+
message: string;
|
|
1204
|
+
type: "pcb_trace_missing_error";
|
|
1205
|
+
source_trace_id: string;
|
|
1206
|
+
error_type: "pcb_trace_missing_error";
|
|
1207
|
+
pcb_component_ids: string[];
|
|
1208
|
+
pcb_port_ids: string[];
|
|
1209
|
+
pcb_trace_missing_error_id: string;
|
|
1210
|
+
center?: {
|
|
1211
|
+
x: number;
|
|
1212
|
+
y: number;
|
|
1213
|
+
} | undefined;
|
|
1214
|
+
subcircuit_id?: string | undefined;
|
|
1202
1215
|
} | {
|
|
1203
1216
|
message: string;
|
|
1204
1217
|
type: "pcb_placement_error";
|
|
@@ -1941,9 +1954,9 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
1941
1954
|
} | undefined;
|
|
1942
1955
|
} | {
|
|
1943
1956
|
message: string;
|
|
1944
|
-
type: "
|
|
1945
|
-
error_type: "
|
|
1946
|
-
|
|
1957
|
+
type: "source_trace_not_connected_error";
|
|
1958
|
+
error_type: "source_trace_not_connected_error";
|
|
1959
|
+
source_trace_not_connected_error_id: string;
|
|
1947
1960
|
subcircuit_id?: string | undefined;
|
|
1948
1961
|
source_trace_id?: string | undefined;
|
|
1949
1962
|
source_group_id?: string | undefined;
|
|
@@ -2202,9 +2215,9 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2202
2215
|
created_at?: string | undefined;
|
|
2203
2216
|
} | {
|
|
2204
2217
|
message: string;
|
|
2205
|
-
type: "
|
|
2206
|
-
error_type: "
|
|
2207
|
-
|
|
2218
|
+
type: "source_trace_not_connected_error";
|
|
2219
|
+
error_type: "source_trace_not_connected_error";
|
|
2220
|
+
source_trace_not_connected_error_id: string;
|
|
2208
2221
|
subcircuit_id?: string | undefined;
|
|
2209
2222
|
source_trace_id?: string | undefined;
|
|
2210
2223
|
source_group_id?: string | undefined;
|
|
@@ -2740,6 +2753,19 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2740
2753
|
y: number;
|
|
2741
2754
|
} | undefined;
|
|
2742
2755
|
subcircuit_id?: string | undefined;
|
|
2756
|
+
} | {
|
|
2757
|
+
message: string;
|
|
2758
|
+
type: "pcb_trace_missing_error";
|
|
2759
|
+
source_trace_id: string;
|
|
2760
|
+
error_type: "pcb_trace_missing_error";
|
|
2761
|
+
pcb_component_ids: string[];
|
|
2762
|
+
pcb_port_ids: string[];
|
|
2763
|
+
pcb_trace_missing_error_id: string;
|
|
2764
|
+
center?: {
|
|
2765
|
+
x: number;
|
|
2766
|
+
y: number;
|
|
2767
|
+
} | undefined;
|
|
2768
|
+
subcircuit_id?: string | undefined;
|
|
2743
2769
|
} | {
|
|
2744
2770
|
message: string;
|
|
2745
2771
|
type: "pcb_placement_error";
|