@tscircuit/eval 0.0.868 → 0.0.870
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 +46 -0
- package/dist/lib/index.d.ts +46 -0
- package/dist/webworker/entrypoint.js +7 -7
- package/package.json +4 -4
package/dist/eval/index.d.ts
CHANGED
|
@@ -703,6 +703,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
703
703
|
source_i2c_misconfigured_error_id: string;
|
|
704
704
|
source_port_ids: string[];
|
|
705
705
|
is_fatal?: boolean | undefined;
|
|
706
|
+
} | {
|
|
707
|
+
message: string;
|
|
708
|
+
type: "source_component_misconfigured_error";
|
|
709
|
+
error_type: "source_component_misconfigured_error";
|
|
710
|
+
source_component_misconfigured_error_id: string;
|
|
711
|
+
source_component_ids: string[];
|
|
712
|
+
is_fatal?: boolean | undefined;
|
|
713
|
+
source_port_ids?: string[] | undefined;
|
|
706
714
|
} | {
|
|
707
715
|
type: "source_net";
|
|
708
716
|
name: string;
|
|
@@ -1099,6 +1107,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1099
1107
|
source_i2c_misconfigured_error_id: string;
|
|
1100
1108
|
source_port_ids: string[];
|
|
1101
1109
|
is_fatal?: boolean | undefined;
|
|
1110
|
+
} | {
|
|
1111
|
+
message: string;
|
|
1112
|
+
type: "source_component_misconfigured_error";
|
|
1113
|
+
error_type: "source_component_misconfigured_error";
|
|
1114
|
+
source_component_misconfigured_error_id: string;
|
|
1115
|
+
source_component_ids: string[];
|
|
1116
|
+
is_fatal?: boolean | undefined;
|
|
1117
|
+
source_port_ids?: string[] | undefined;
|
|
1102
1118
|
} | {
|
|
1103
1119
|
message: string;
|
|
1104
1120
|
type: "source_ambiguous_port_reference";
|
|
@@ -1900,6 +1916,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1900
1916
|
x: number;
|
|
1901
1917
|
y: number;
|
|
1902
1918
|
}[] | undefined;
|
|
1919
|
+
solder_mask_color?: string | undefined;
|
|
1920
|
+
silkscreen_color?: string | undefined;
|
|
1903
1921
|
} | {
|
|
1904
1922
|
type: "pcb_panel";
|
|
1905
1923
|
width: number;
|
|
@@ -2239,6 +2257,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2239
2257
|
pcb_fabrication_note_text_id: string;
|
|
2240
2258
|
subcircuit_id?: string | undefined;
|
|
2241
2259
|
pcb_group_id?: string | undefined;
|
|
2260
|
+
ccw_rotation?: number | undefined;
|
|
2242
2261
|
color?: string | undefined;
|
|
2243
2262
|
} | {
|
|
2244
2263
|
type: "pcb_fabrication_note_rect";
|
|
@@ -2691,6 +2710,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2691
2710
|
stroke_width?: number | null | undefined;
|
|
2692
2711
|
schematic_component_id?: string | undefined;
|
|
2693
2712
|
schematic_symbol_id?: string | undefined;
|
|
2713
|
+
dash_length?: number | undefined;
|
|
2714
|
+
dash_gap?: number | undefined;
|
|
2694
2715
|
} | {
|
|
2695
2716
|
type: "schematic_rect";
|
|
2696
2717
|
width: number;
|
|
@@ -4213,6 +4234,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
4213
4234
|
schematic_symbol_id?: string | undefined;
|
|
4214
4235
|
fill_color?: string | undefined;
|
|
4215
4236
|
stroke_color?: string | undefined;
|
|
4237
|
+
dash_length?: number | undefined;
|
|
4238
|
+
dash_gap?: number | undefined;
|
|
4216
4239
|
} | {
|
|
4217
4240
|
message: string;
|
|
4218
4241
|
type: "schematic_error";
|
|
@@ -5065,6 +5088,14 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
5065
5088
|
source_i2c_misconfigured_error_id: string;
|
|
5066
5089
|
source_port_ids: string[];
|
|
5067
5090
|
is_fatal?: boolean | undefined;
|
|
5091
|
+
} | {
|
|
5092
|
+
message: string;
|
|
5093
|
+
type: "source_component_misconfigured_error";
|
|
5094
|
+
error_type: "source_component_misconfigured_error";
|
|
5095
|
+
source_component_misconfigured_error_id: string;
|
|
5096
|
+
source_component_ids: string[];
|
|
5097
|
+
is_fatal?: boolean | undefined;
|
|
5098
|
+
source_port_ids?: string[] | undefined;
|
|
5068
5099
|
} | {
|
|
5069
5100
|
type: "source_net";
|
|
5070
5101
|
name: string;
|
|
@@ -5461,6 +5492,14 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
5461
5492
|
source_i2c_misconfigured_error_id: string;
|
|
5462
5493
|
source_port_ids: string[];
|
|
5463
5494
|
is_fatal?: boolean | undefined;
|
|
5495
|
+
} | {
|
|
5496
|
+
message: string;
|
|
5497
|
+
type: "source_component_misconfigured_error";
|
|
5498
|
+
error_type: "source_component_misconfigured_error";
|
|
5499
|
+
source_component_misconfigured_error_id: string;
|
|
5500
|
+
source_component_ids: string[];
|
|
5501
|
+
is_fatal?: boolean | undefined;
|
|
5502
|
+
source_port_ids?: string[] | undefined;
|
|
5464
5503
|
} | {
|
|
5465
5504
|
message: string;
|
|
5466
5505
|
type: "source_ambiguous_port_reference";
|
|
@@ -6262,6 +6301,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6262
6301
|
x: number;
|
|
6263
6302
|
y: number;
|
|
6264
6303
|
}[] | undefined;
|
|
6304
|
+
solder_mask_color?: string | undefined;
|
|
6305
|
+
silkscreen_color?: string | undefined;
|
|
6265
6306
|
} | {
|
|
6266
6307
|
type: "pcb_panel";
|
|
6267
6308
|
width: number;
|
|
@@ -6601,6 +6642,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6601
6642
|
pcb_fabrication_note_text_id: string;
|
|
6602
6643
|
subcircuit_id?: string | undefined;
|
|
6603
6644
|
pcb_group_id?: string | undefined;
|
|
6645
|
+
ccw_rotation?: number | undefined;
|
|
6604
6646
|
color?: string | undefined;
|
|
6605
6647
|
} | {
|
|
6606
6648
|
type: "pcb_fabrication_note_rect";
|
|
@@ -7053,6 +7095,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
7053
7095
|
stroke_width?: number | null | undefined;
|
|
7054
7096
|
schematic_component_id?: string | undefined;
|
|
7055
7097
|
schematic_symbol_id?: string | undefined;
|
|
7098
|
+
dash_length?: number | undefined;
|
|
7099
|
+
dash_gap?: number | undefined;
|
|
7056
7100
|
} | {
|
|
7057
7101
|
type: "schematic_rect";
|
|
7058
7102
|
width: number;
|
|
@@ -8575,6 +8619,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
8575
8619
|
schematic_symbol_id?: string | undefined;
|
|
8576
8620
|
fill_color?: string | undefined;
|
|
8577
8621
|
stroke_color?: string | undefined;
|
|
8622
|
+
dash_length?: number | undefined;
|
|
8623
|
+
dash_gap?: number | undefined;
|
|
8578
8624
|
} | {
|
|
8579
8625
|
message: string;
|
|
8580
8626
|
type: "schematic_error";
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -719,6 +719,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
719
719
|
source_i2c_misconfigured_error_id: string;
|
|
720
720
|
source_port_ids: string[];
|
|
721
721
|
is_fatal?: boolean | undefined;
|
|
722
|
+
} | {
|
|
723
|
+
message: string;
|
|
724
|
+
type: "source_component_misconfigured_error";
|
|
725
|
+
error_type: "source_component_misconfigured_error";
|
|
726
|
+
source_component_misconfigured_error_id: string;
|
|
727
|
+
source_component_ids: string[];
|
|
728
|
+
is_fatal?: boolean | undefined;
|
|
729
|
+
source_port_ids?: string[] | undefined;
|
|
722
730
|
} | {
|
|
723
731
|
type: "source_net";
|
|
724
732
|
name: string;
|
|
@@ -1115,6 +1123,14 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1115
1123
|
source_i2c_misconfigured_error_id: string;
|
|
1116
1124
|
source_port_ids: string[];
|
|
1117
1125
|
is_fatal?: boolean | undefined;
|
|
1126
|
+
} | {
|
|
1127
|
+
message: string;
|
|
1128
|
+
type: "source_component_misconfigured_error";
|
|
1129
|
+
error_type: "source_component_misconfigured_error";
|
|
1130
|
+
source_component_misconfigured_error_id: string;
|
|
1131
|
+
source_component_ids: string[];
|
|
1132
|
+
is_fatal?: boolean | undefined;
|
|
1133
|
+
source_port_ids?: string[] | undefined;
|
|
1118
1134
|
} | {
|
|
1119
1135
|
message: string;
|
|
1120
1136
|
type: "source_ambiguous_port_reference";
|
|
@@ -1916,6 +1932,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1916
1932
|
x: number;
|
|
1917
1933
|
y: number;
|
|
1918
1934
|
}[] | undefined;
|
|
1935
|
+
solder_mask_color?: string | undefined;
|
|
1936
|
+
silkscreen_color?: string | undefined;
|
|
1919
1937
|
} | {
|
|
1920
1938
|
type: "pcb_panel";
|
|
1921
1939
|
width: number;
|
|
@@ -2255,6 +2273,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2255
2273
|
pcb_fabrication_note_text_id: string;
|
|
2256
2274
|
subcircuit_id?: string | undefined;
|
|
2257
2275
|
pcb_group_id?: string | undefined;
|
|
2276
|
+
ccw_rotation?: number | undefined;
|
|
2258
2277
|
color?: string | undefined;
|
|
2259
2278
|
} | {
|
|
2260
2279
|
type: "pcb_fabrication_note_rect";
|
|
@@ -2707,6 +2726,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2707
2726
|
stroke_width?: number | null | undefined;
|
|
2708
2727
|
schematic_component_id?: string | undefined;
|
|
2709
2728
|
schematic_symbol_id?: string | undefined;
|
|
2729
|
+
dash_length?: number | undefined;
|
|
2730
|
+
dash_gap?: number | undefined;
|
|
2710
2731
|
} | {
|
|
2711
2732
|
type: "schematic_rect";
|
|
2712
2733
|
width: number;
|
|
@@ -4229,6 +4250,8 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
4229
4250
|
schematic_symbol_id?: string | undefined;
|
|
4230
4251
|
fill_color?: string | undefined;
|
|
4231
4252
|
stroke_color?: string | undefined;
|
|
4253
|
+
dash_length?: number | undefined;
|
|
4254
|
+
dash_gap?: number | undefined;
|
|
4232
4255
|
} | {
|
|
4233
4256
|
message: string;
|
|
4234
4257
|
type: "schematic_error";
|
|
@@ -5081,6 +5104,14 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
5081
5104
|
source_i2c_misconfigured_error_id: string;
|
|
5082
5105
|
source_port_ids: string[];
|
|
5083
5106
|
is_fatal?: boolean | undefined;
|
|
5107
|
+
} | {
|
|
5108
|
+
message: string;
|
|
5109
|
+
type: "source_component_misconfigured_error";
|
|
5110
|
+
error_type: "source_component_misconfigured_error";
|
|
5111
|
+
source_component_misconfigured_error_id: string;
|
|
5112
|
+
source_component_ids: string[];
|
|
5113
|
+
is_fatal?: boolean | undefined;
|
|
5114
|
+
source_port_ids?: string[] | undefined;
|
|
5084
5115
|
} | {
|
|
5085
5116
|
type: "source_net";
|
|
5086
5117
|
name: string;
|
|
@@ -5477,6 +5508,14 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
5477
5508
|
source_i2c_misconfigured_error_id: string;
|
|
5478
5509
|
source_port_ids: string[];
|
|
5479
5510
|
is_fatal?: boolean | undefined;
|
|
5511
|
+
} | {
|
|
5512
|
+
message: string;
|
|
5513
|
+
type: "source_component_misconfigured_error";
|
|
5514
|
+
error_type: "source_component_misconfigured_error";
|
|
5515
|
+
source_component_misconfigured_error_id: string;
|
|
5516
|
+
source_component_ids: string[];
|
|
5517
|
+
is_fatal?: boolean | undefined;
|
|
5518
|
+
source_port_ids?: string[] | undefined;
|
|
5480
5519
|
} | {
|
|
5481
5520
|
message: string;
|
|
5482
5521
|
type: "source_ambiguous_port_reference";
|
|
@@ -6278,6 +6317,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6278
6317
|
x: number;
|
|
6279
6318
|
y: number;
|
|
6280
6319
|
}[] | undefined;
|
|
6320
|
+
solder_mask_color?: string | undefined;
|
|
6321
|
+
silkscreen_color?: string | undefined;
|
|
6281
6322
|
} | {
|
|
6282
6323
|
type: "pcb_panel";
|
|
6283
6324
|
width: number;
|
|
@@ -6617,6 +6658,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
6617
6658
|
pcb_fabrication_note_text_id: string;
|
|
6618
6659
|
subcircuit_id?: string | undefined;
|
|
6619
6660
|
pcb_group_id?: string | undefined;
|
|
6661
|
+
ccw_rotation?: number | undefined;
|
|
6620
6662
|
color?: string | undefined;
|
|
6621
6663
|
} | {
|
|
6622
6664
|
type: "pcb_fabrication_note_rect";
|
|
@@ -7069,6 +7111,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
7069
7111
|
stroke_width?: number | null | undefined;
|
|
7070
7112
|
schematic_component_id?: string | undefined;
|
|
7071
7113
|
schematic_symbol_id?: string | undefined;
|
|
7114
|
+
dash_length?: number | undefined;
|
|
7115
|
+
dash_gap?: number | undefined;
|
|
7072
7116
|
} | {
|
|
7073
7117
|
type: "schematic_rect";
|
|
7074
7118
|
width: number;
|
|
@@ -8591,6 +8635,8 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
8591
8635
|
schematic_symbol_id?: string | undefined;
|
|
8592
8636
|
fill_color?: string | undefined;
|
|
8593
8637
|
stroke_color?: string | undefined;
|
|
8638
|
+
dash_length?: number | undefined;
|
|
8639
|
+
dash_gap?: number | undefined;
|
|
8594
8640
|
} | {
|
|
8595
8641
|
message: string;
|
|
8596
8642
|
type: "schematic_error";
|