@tscircuit/eval 0.0.563 → 0.0.565
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 +72 -0
- package/dist/lib/index.d.ts +72 -0
- package/dist/webworker/entrypoint.js +10 -10
- package/package.json +5 -5
package/dist/eval/index.d.ts
CHANGED
|
@@ -440,6 +440,18 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
440
440
|
display_value?: string | undefined;
|
|
441
441
|
are_pins_interchangeable?: boolean | undefined;
|
|
442
442
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
443
|
+
} | {
|
|
444
|
+
type: "source_component";
|
|
445
|
+
name: string;
|
|
446
|
+
source_component_id: string;
|
|
447
|
+
ftype: "simple_op_amp";
|
|
448
|
+
subcircuit_id?: string | undefined;
|
|
449
|
+
source_group_id?: string | undefined;
|
|
450
|
+
manufacturer_part_number?: string | undefined;
|
|
451
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
452
|
+
display_value?: string | undefined;
|
|
453
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
454
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
443
455
|
} | {
|
|
444
456
|
type: "source_component";
|
|
445
457
|
name: string;
|
|
@@ -763,6 +775,18 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
763
775
|
display_value?: string | undefined;
|
|
764
776
|
are_pins_interchangeable?: boolean | undefined;
|
|
765
777
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
778
|
+
} | {
|
|
779
|
+
type: "source_component";
|
|
780
|
+
name: string;
|
|
781
|
+
source_component_id: string;
|
|
782
|
+
ftype: "simple_op_amp";
|
|
783
|
+
subcircuit_id?: string | undefined;
|
|
784
|
+
source_group_id?: string | undefined;
|
|
785
|
+
manufacturer_part_number?: string | undefined;
|
|
786
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
787
|
+
display_value?: string | undefined;
|
|
788
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
789
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
766
790
|
} | {
|
|
767
791
|
type: "source_component";
|
|
768
792
|
name: string;
|
|
@@ -1529,6 +1553,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1529
1553
|
pcb_silkscreen_pill_id: string;
|
|
1530
1554
|
subcircuit_id?: string | undefined;
|
|
1531
1555
|
pcb_group_id?: string | undefined;
|
|
1556
|
+
ccw_rotation?: number | undefined;
|
|
1532
1557
|
} | {
|
|
1533
1558
|
type: "pcb_copper_text";
|
|
1534
1559
|
pcb_component_id: string;
|
|
@@ -1567,6 +1592,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1567
1592
|
pcb_silkscreen_rect_id: string;
|
|
1568
1593
|
subcircuit_id?: string | undefined;
|
|
1569
1594
|
pcb_group_id?: string | undefined;
|
|
1595
|
+
ccw_rotation?: number | undefined;
|
|
1570
1596
|
corner_radius?: number | undefined;
|
|
1571
1597
|
is_filled?: boolean | undefined;
|
|
1572
1598
|
has_stroke?: boolean | undefined;
|
|
@@ -1597,6 +1623,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1597
1623
|
radius_y: number;
|
|
1598
1624
|
subcircuit_id?: string | undefined;
|
|
1599
1625
|
pcb_group_id?: string | undefined;
|
|
1626
|
+
ccw_rotation?: number | undefined;
|
|
1600
1627
|
} | {
|
|
1601
1628
|
message: string;
|
|
1602
1629
|
type: "pcb_trace_error";
|
|
@@ -2514,6 +2541,15 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2514
2541
|
simulation_unknown_experiment_error_id: string;
|
|
2515
2542
|
subcircuit_id?: string | undefined;
|
|
2516
2543
|
simulation_experiment_id?: string | undefined;
|
|
2544
|
+
} | {
|
|
2545
|
+
type: "simulation_op_amp";
|
|
2546
|
+
simulation_op_amp_id: string;
|
|
2547
|
+
inverting_input_source_port_id: string;
|
|
2548
|
+
non_inverting_input_source_port_id: string;
|
|
2549
|
+
output_source_port_id: string;
|
|
2550
|
+
positive_supply_source_port_id: string;
|
|
2551
|
+
negative_supply_source_port_id: string;
|
|
2552
|
+
source_component_id?: string | undefined;
|
|
2517
2553
|
})[]>;
|
|
2518
2554
|
|
|
2519
2555
|
declare const runTscircuitModule: (module: string, opts?: {
|
|
@@ -2817,6 +2853,18 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2817
2853
|
display_value?: string | undefined;
|
|
2818
2854
|
are_pins_interchangeable?: boolean | undefined;
|
|
2819
2855
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2856
|
+
} | {
|
|
2857
|
+
type: "source_component";
|
|
2858
|
+
name: string;
|
|
2859
|
+
source_component_id: string;
|
|
2860
|
+
ftype: "simple_op_amp";
|
|
2861
|
+
subcircuit_id?: string | undefined;
|
|
2862
|
+
source_group_id?: string | undefined;
|
|
2863
|
+
manufacturer_part_number?: string | undefined;
|
|
2864
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2865
|
+
display_value?: string | undefined;
|
|
2866
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
2867
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2820
2868
|
} | {
|
|
2821
2869
|
type: "source_component";
|
|
2822
2870
|
name: string;
|
|
@@ -3140,6 +3188,18 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3140
3188
|
display_value?: string | undefined;
|
|
3141
3189
|
are_pins_interchangeable?: boolean | undefined;
|
|
3142
3190
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
3191
|
+
} | {
|
|
3192
|
+
type: "source_component";
|
|
3193
|
+
name: string;
|
|
3194
|
+
source_component_id: string;
|
|
3195
|
+
ftype: "simple_op_amp";
|
|
3196
|
+
subcircuit_id?: string | undefined;
|
|
3197
|
+
source_group_id?: string | undefined;
|
|
3198
|
+
manufacturer_part_number?: string | undefined;
|
|
3199
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3200
|
+
display_value?: string | undefined;
|
|
3201
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
3202
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
3143
3203
|
} | {
|
|
3144
3204
|
type: "source_component";
|
|
3145
3205
|
name: string;
|
|
@@ -3906,6 +3966,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3906
3966
|
pcb_silkscreen_pill_id: string;
|
|
3907
3967
|
subcircuit_id?: string | undefined;
|
|
3908
3968
|
pcb_group_id?: string | undefined;
|
|
3969
|
+
ccw_rotation?: number | undefined;
|
|
3909
3970
|
} | {
|
|
3910
3971
|
type: "pcb_copper_text";
|
|
3911
3972
|
pcb_component_id: string;
|
|
@@ -3944,6 +4005,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3944
4005
|
pcb_silkscreen_rect_id: string;
|
|
3945
4006
|
subcircuit_id?: string | undefined;
|
|
3946
4007
|
pcb_group_id?: string | undefined;
|
|
4008
|
+
ccw_rotation?: number | undefined;
|
|
3947
4009
|
corner_radius?: number | undefined;
|
|
3948
4010
|
is_filled?: boolean | undefined;
|
|
3949
4011
|
has_stroke?: boolean | undefined;
|
|
@@ -3974,6 +4036,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3974
4036
|
radius_y: number;
|
|
3975
4037
|
subcircuit_id?: string | undefined;
|
|
3976
4038
|
pcb_group_id?: string | undefined;
|
|
4039
|
+
ccw_rotation?: number | undefined;
|
|
3977
4040
|
} | {
|
|
3978
4041
|
message: string;
|
|
3979
4042
|
type: "pcb_trace_error";
|
|
@@ -4891,6 +4954,15 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4891
4954
|
simulation_unknown_experiment_error_id: string;
|
|
4892
4955
|
subcircuit_id?: string | undefined;
|
|
4893
4956
|
simulation_experiment_id?: string | undefined;
|
|
4957
|
+
} | {
|
|
4958
|
+
type: "simulation_op_amp";
|
|
4959
|
+
simulation_op_amp_id: string;
|
|
4960
|
+
inverting_input_source_port_id: string;
|
|
4961
|
+
non_inverting_input_source_port_id: string;
|
|
4962
|
+
output_source_port_id: string;
|
|
4963
|
+
positive_supply_source_port_id: string;
|
|
4964
|
+
negative_supply_source_port_id: string;
|
|
4965
|
+
source_component_id?: string | undefined;
|
|
4894
4966
|
})[]>;
|
|
4895
4967
|
|
|
4896
4968
|
declare const STATIC_ASSET_EXTENSIONS: string[];
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -456,6 +456,18 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
456
456
|
display_value?: string | undefined;
|
|
457
457
|
are_pins_interchangeable?: boolean | undefined;
|
|
458
458
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
459
|
+
} | {
|
|
460
|
+
type: "source_component";
|
|
461
|
+
name: string;
|
|
462
|
+
source_component_id: string;
|
|
463
|
+
ftype: "simple_op_amp";
|
|
464
|
+
subcircuit_id?: string | undefined;
|
|
465
|
+
source_group_id?: string | undefined;
|
|
466
|
+
manufacturer_part_number?: string | undefined;
|
|
467
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
468
|
+
display_value?: string | undefined;
|
|
469
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
470
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
459
471
|
} | {
|
|
460
472
|
type: "source_component";
|
|
461
473
|
name: string;
|
|
@@ -779,6 +791,18 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
779
791
|
display_value?: string | undefined;
|
|
780
792
|
are_pins_interchangeable?: boolean | undefined;
|
|
781
793
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
794
|
+
} | {
|
|
795
|
+
type: "source_component";
|
|
796
|
+
name: string;
|
|
797
|
+
source_component_id: string;
|
|
798
|
+
ftype: "simple_op_amp";
|
|
799
|
+
subcircuit_id?: string | undefined;
|
|
800
|
+
source_group_id?: string | undefined;
|
|
801
|
+
manufacturer_part_number?: string | undefined;
|
|
802
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
803
|
+
display_value?: string | undefined;
|
|
804
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
805
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
782
806
|
} | {
|
|
783
807
|
type: "source_component";
|
|
784
808
|
name: string;
|
|
@@ -1545,6 +1569,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1545
1569
|
pcb_silkscreen_pill_id: string;
|
|
1546
1570
|
subcircuit_id?: string | undefined;
|
|
1547
1571
|
pcb_group_id?: string | undefined;
|
|
1572
|
+
ccw_rotation?: number | undefined;
|
|
1548
1573
|
} | {
|
|
1549
1574
|
type: "pcb_copper_text";
|
|
1550
1575
|
pcb_component_id: string;
|
|
@@ -1583,6 +1608,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1583
1608
|
pcb_silkscreen_rect_id: string;
|
|
1584
1609
|
subcircuit_id?: string | undefined;
|
|
1585
1610
|
pcb_group_id?: string | undefined;
|
|
1611
|
+
ccw_rotation?: number | undefined;
|
|
1586
1612
|
corner_radius?: number | undefined;
|
|
1587
1613
|
is_filled?: boolean | undefined;
|
|
1588
1614
|
has_stroke?: boolean | undefined;
|
|
@@ -1613,6 +1639,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1613
1639
|
radius_y: number;
|
|
1614
1640
|
subcircuit_id?: string | undefined;
|
|
1615
1641
|
pcb_group_id?: string | undefined;
|
|
1642
|
+
ccw_rotation?: number | undefined;
|
|
1616
1643
|
} | {
|
|
1617
1644
|
message: string;
|
|
1618
1645
|
type: "pcb_trace_error";
|
|
@@ -2530,6 +2557,15 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
2530
2557
|
simulation_unknown_experiment_error_id: string;
|
|
2531
2558
|
subcircuit_id?: string | undefined;
|
|
2532
2559
|
simulation_experiment_id?: string | undefined;
|
|
2560
|
+
} | {
|
|
2561
|
+
type: "simulation_op_amp";
|
|
2562
|
+
simulation_op_amp_id: string;
|
|
2563
|
+
inverting_input_source_port_id: string;
|
|
2564
|
+
non_inverting_input_source_port_id: string;
|
|
2565
|
+
output_source_port_id: string;
|
|
2566
|
+
positive_supply_source_port_id: string;
|
|
2567
|
+
negative_supply_source_port_id: string;
|
|
2568
|
+
source_component_id?: string | undefined;
|
|
2533
2569
|
})[]>;
|
|
2534
2570
|
|
|
2535
2571
|
declare const runTscircuitModule: (module: string, opts?: {
|
|
@@ -2833,6 +2869,18 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2833
2869
|
display_value?: string | undefined;
|
|
2834
2870
|
are_pins_interchangeable?: boolean | undefined;
|
|
2835
2871
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2872
|
+
} | {
|
|
2873
|
+
type: "source_component";
|
|
2874
|
+
name: string;
|
|
2875
|
+
source_component_id: string;
|
|
2876
|
+
ftype: "simple_op_amp";
|
|
2877
|
+
subcircuit_id?: string | undefined;
|
|
2878
|
+
source_group_id?: string | undefined;
|
|
2879
|
+
manufacturer_part_number?: string | undefined;
|
|
2880
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
2881
|
+
display_value?: string | undefined;
|
|
2882
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
2883
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
2836
2884
|
} | {
|
|
2837
2885
|
type: "source_component";
|
|
2838
2886
|
name: string;
|
|
@@ -3156,6 +3204,18 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3156
3204
|
display_value?: string | undefined;
|
|
3157
3205
|
are_pins_interchangeable?: boolean | undefined;
|
|
3158
3206
|
internally_connected_source_port_ids?: string[][] | undefined;
|
|
3207
|
+
} | {
|
|
3208
|
+
type: "source_component";
|
|
3209
|
+
name: string;
|
|
3210
|
+
source_component_id: string;
|
|
3211
|
+
ftype: "simple_op_amp";
|
|
3212
|
+
subcircuit_id?: string | undefined;
|
|
3213
|
+
source_group_id?: string | undefined;
|
|
3214
|
+
manufacturer_part_number?: string | undefined;
|
|
3215
|
+
supplier_part_numbers?: Partial<Record<"jlcpcb" | "macrofab" | "pcbway" | "digikey" | "mouser" | "lcsc", string[]>> | undefined;
|
|
3216
|
+
display_value?: string | undefined;
|
|
3217
|
+
are_pins_interchangeable?: boolean | undefined;
|
|
3218
|
+
internally_connected_source_port_ids?: string[][] | undefined;
|
|
3159
3219
|
} | {
|
|
3160
3220
|
type: "source_component";
|
|
3161
3221
|
name: string;
|
|
@@ -3922,6 +3982,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3922
3982
|
pcb_silkscreen_pill_id: string;
|
|
3923
3983
|
subcircuit_id?: string | undefined;
|
|
3924
3984
|
pcb_group_id?: string | undefined;
|
|
3985
|
+
ccw_rotation?: number | undefined;
|
|
3925
3986
|
} | {
|
|
3926
3987
|
type: "pcb_copper_text";
|
|
3927
3988
|
pcb_component_id: string;
|
|
@@ -3960,6 +4021,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3960
4021
|
pcb_silkscreen_rect_id: string;
|
|
3961
4022
|
subcircuit_id?: string | undefined;
|
|
3962
4023
|
pcb_group_id?: string | undefined;
|
|
4024
|
+
ccw_rotation?: number | undefined;
|
|
3963
4025
|
corner_radius?: number | undefined;
|
|
3964
4026
|
is_filled?: boolean | undefined;
|
|
3965
4027
|
has_stroke?: boolean | undefined;
|
|
@@ -3990,6 +4052,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3990
4052
|
radius_y: number;
|
|
3991
4053
|
subcircuit_id?: string | undefined;
|
|
3992
4054
|
pcb_group_id?: string | undefined;
|
|
4055
|
+
ccw_rotation?: number | undefined;
|
|
3993
4056
|
} | {
|
|
3994
4057
|
message: string;
|
|
3995
4058
|
type: "pcb_trace_error";
|
|
@@ -4907,6 +4970,15 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
4907
4970
|
simulation_unknown_experiment_error_id: string;
|
|
4908
4971
|
subcircuit_id?: string | undefined;
|
|
4909
4972
|
simulation_experiment_id?: string | undefined;
|
|
4973
|
+
} | {
|
|
4974
|
+
type: "simulation_op_amp";
|
|
4975
|
+
simulation_op_amp_id: string;
|
|
4976
|
+
inverting_input_source_port_id: string;
|
|
4977
|
+
non_inverting_input_source_port_id: string;
|
|
4978
|
+
output_source_port_id: string;
|
|
4979
|
+
positive_supply_source_port_id: string;
|
|
4980
|
+
negative_supply_source_port_id: string;
|
|
4981
|
+
source_component_id?: string | undefined;
|
|
4910
4982
|
})[]>;
|
|
4911
4983
|
|
|
4912
4984
|
declare const STATIC_ASSET_EXTENSIONS: string[];
|