@tscircuit/eval 0.0.351 → 0.0.352
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 +36 -0
- package/dist/lib/index.d.ts +36 -0
- package/dist/webworker/entrypoint.js +103 -103
- package/package.json +4 -4
package/dist/eval/index.d.ts
CHANGED
|
@@ -744,6 +744,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
744
744
|
};
|
|
745
745
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
746
746
|
rotation: number;
|
|
747
|
+
obstructs_within_bounds: boolean;
|
|
747
748
|
do_not_place?: boolean | undefined;
|
|
748
749
|
subcircuit_id?: string | undefined;
|
|
749
750
|
pcb_group_id?: string | undefined;
|
|
@@ -1912,6 +1913,23 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1912
1913
|
wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
1913
1914
|
phase?: number | undefined;
|
|
1914
1915
|
duty_cycle?: number | undefined;
|
|
1916
|
+
} | {
|
|
1917
|
+
type: "simulation_experiment";
|
|
1918
|
+
name: string;
|
|
1919
|
+
simulation_experiment_id: string;
|
|
1920
|
+
experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
|
|
1921
|
+
} | {
|
|
1922
|
+
type: "simulation_transient_voltage_graph";
|
|
1923
|
+
simulation_experiment_id: string;
|
|
1924
|
+
simulation_transient_voltage_graph_id: string;
|
|
1925
|
+
voltage_levels: number[];
|
|
1926
|
+
time_per_step: number;
|
|
1927
|
+
start_time_ms: number;
|
|
1928
|
+
end_time_ms: number;
|
|
1929
|
+
name?: string | undefined;
|
|
1930
|
+
schematic_voltage_probe_id?: string | undefined;
|
|
1931
|
+
timestamps_ms?: number[] | undefined;
|
|
1932
|
+
subcircuit_connecivity_map_key?: string | undefined;
|
|
1915
1933
|
})[]>;
|
|
1916
1934
|
|
|
1917
1935
|
declare const runTscircuitModule: (module: string, opts?: {
|
|
@@ -2565,6 +2583,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2565
2583
|
};
|
|
2566
2584
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2567
2585
|
rotation: number;
|
|
2586
|
+
obstructs_within_bounds: boolean;
|
|
2568
2587
|
do_not_place?: boolean | undefined;
|
|
2569
2588
|
subcircuit_id?: string | undefined;
|
|
2570
2589
|
pcb_group_id?: string | undefined;
|
|
@@ -3733,6 +3752,23 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3733
3752
|
wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
3734
3753
|
phase?: number | undefined;
|
|
3735
3754
|
duty_cycle?: number | undefined;
|
|
3755
|
+
} | {
|
|
3756
|
+
type: "simulation_experiment";
|
|
3757
|
+
name: string;
|
|
3758
|
+
simulation_experiment_id: string;
|
|
3759
|
+
experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
|
|
3760
|
+
} | {
|
|
3761
|
+
type: "simulation_transient_voltage_graph";
|
|
3762
|
+
simulation_experiment_id: string;
|
|
3763
|
+
simulation_transient_voltage_graph_id: string;
|
|
3764
|
+
voltage_levels: number[];
|
|
3765
|
+
time_per_step: number;
|
|
3766
|
+
start_time_ms: number;
|
|
3767
|
+
end_time_ms: number;
|
|
3768
|
+
name?: string | undefined;
|
|
3769
|
+
schematic_voltage_probe_id?: string | undefined;
|
|
3770
|
+
timestamps_ms?: number[] | undefined;
|
|
3771
|
+
subcircuit_connecivity_map_key?: string | undefined;
|
|
3736
3772
|
})[]>;
|
|
3737
3773
|
|
|
3738
3774
|
declare const STATIC_ASSET_EXTENSIONS: string[];
|
package/dist/lib/index.d.ts
CHANGED
|
@@ -760,6 +760,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
760
760
|
};
|
|
761
761
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
762
762
|
rotation: number;
|
|
763
|
+
obstructs_within_bounds: boolean;
|
|
763
764
|
do_not_place?: boolean | undefined;
|
|
764
765
|
subcircuit_id?: string | undefined;
|
|
765
766
|
pcb_group_id?: string | undefined;
|
|
@@ -1928,6 +1929,23 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
|
|
|
1928
1929
|
wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
1929
1930
|
phase?: number | undefined;
|
|
1930
1931
|
duty_cycle?: number | undefined;
|
|
1932
|
+
} | {
|
|
1933
|
+
type: "simulation_experiment";
|
|
1934
|
+
name: string;
|
|
1935
|
+
simulation_experiment_id: string;
|
|
1936
|
+
experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
|
|
1937
|
+
} | {
|
|
1938
|
+
type: "simulation_transient_voltage_graph";
|
|
1939
|
+
simulation_experiment_id: string;
|
|
1940
|
+
simulation_transient_voltage_graph_id: string;
|
|
1941
|
+
voltage_levels: number[];
|
|
1942
|
+
time_per_step: number;
|
|
1943
|
+
start_time_ms: number;
|
|
1944
|
+
end_time_ms: number;
|
|
1945
|
+
name?: string | undefined;
|
|
1946
|
+
schematic_voltage_probe_id?: string | undefined;
|
|
1947
|
+
timestamps_ms?: number[] | undefined;
|
|
1948
|
+
subcircuit_connecivity_map_key?: string | undefined;
|
|
1931
1949
|
})[]>;
|
|
1932
1950
|
|
|
1933
1951
|
declare const runTscircuitModule: (module: string, opts?: {
|
|
@@ -2581,6 +2599,7 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
2581
2599
|
};
|
|
2582
2600
|
layer: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
2583
2601
|
rotation: number;
|
|
2602
|
+
obstructs_within_bounds: boolean;
|
|
2584
2603
|
do_not_place?: boolean | undefined;
|
|
2585
2604
|
subcircuit_id?: string | undefined;
|
|
2586
2605
|
pcb_group_id?: string | undefined;
|
|
@@ -3749,6 +3768,23 @@ declare const runTscircuitModule: (module: string, opts?: {
|
|
|
3749
3768
|
wave_shape?: "square" | "sinewave" | "triangle" | "sawtooth" | undefined;
|
|
3750
3769
|
phase?: number | undefined;
|
|
3751
3770
|
duty_cycle?: number | undefined;
|
|
3771
|
+
} | {
|
|
3772
|
+
type: "simulation_experiment";
|
|
3773
|
+
name: string;
|
|
3774
|
+
simulation_experiment_id: string;
|
|
3775
|
+
experiment_type: "spice_dc_sweep" | "spice_dc_operating_point" | "spice_transient_analysis" | "spice_ac_analysis";
|
|
3776
|
+
} | {
|
|
3777
|
+
type: "simulation_transient_voltage_graph";
|
|
3778
|
+
simulation_experiment_id: string;
|
|
3779
|
+
simulation_transient_voltage_graph_id: string;
|
|
3780
|
+
voltage_levels: number[];
|
|
3781
|
+
time_per_step: number;
|
|
3782
|
+
start_time_ms: number;
|
|
3783
|
+
end_time_ms: number;
|
|
3784
|
+
name?: string | undefined;
|
|
3785
|
+
schematic_voltage_probe_id?: string | undefined;
|
|
3786
|
+
timestamps_ms?: number[] | undefined;
|
|
3787
|
+
subcircuit_connecivity_map_key?: string | undefined;
|
|
3752
3788
|
})[]>;
|
|
3753
3789
|
|
|
3754
3790
|
declare const STATIC_ASSET_EXTENSIONS: string[];
|