circuit-json 0.0.297 → 0.0.298
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/README.md +19 -0
- package/dist/index.d.mts +2101 -2024
- package/dist/index.mjs +19 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2764,9 +2764,23 @@ var simulation_voltage_probe = z128.object({
|
|
|
2764
2764
|
);
|
|
2765
2765
|
expectTypesMatch(true);
|
|
2766
2766
|
|
|
2767
|
-
// src/
|
|
2767
|
+
// src/simulation/simulation_unknown_experiment_error.ts
|
|
2768
2768
|
import { z as z129 } from "zod";
|
|
2769
|
-
var
|
|
2769
|
+
var simulation_unknown_experiment_error = z129.object({
|
|
2770
|
+
type: z129.literal("simulation_unknown_experiment_error"),
|
|
2771
|
+
simulation_unknown_experiment_error_id: getZodPrefixedIdWithDefault(
|
|
2772
|
+
"simulation_unknown_experiment_error"
|
|
2773
|
+
),
|
|
2774
|
+
error_type: z129.literal("simulation_unknown_experiment_error").default("simulation_unknown_experiment_error"),
|
|
2775
|
+
message: z129.string(),
|
|
2776
|
+
simulation_experiment_id: z129.string().optional(),
|
|
2777
|
+
subcircuit_id: z129.string().optional()
|
|
2778
|
+
}).describe("An unknown error occurred during the simulation experiment.");
|
|
2779
|
+
expectTypesMatch(true);
|
|
2780
|
+
|
|
2781
|
+
// src/any_circuit_element.ts
|
|
2782
|
+
import { z as z130 } from "zod";
|
|
2783
|
+
var any_circuit_element = z130.union([
|
|
2770
2784
|
source_trace,
|
|
2771
2785
|
source_port,
|
|
2772
2786
|
any_source_component,
|
|
@@ -2875,7 +2889,8 @@ var any_circuit_element = z129.union([
|
|
|
2875
2889
|
simulation_experiment,
|
|
2876
2890
|
simulation_transient_voltage_graph,
|
|
2877
2891
|
simulation_switch,
|
|
2878
|
-
simulation_voltage_probe
|
|
2892
|
+
simulation_voltage_probe,
|
|
2893
|
+
simulation_unknown_experiment_error
|
|
2879
2894
|
]);
|
|
2880
2895
|
var any_soup_element = any_circuit_element;
|
|
2881
2896
|
expectTypesMatch(true);
|
|
@@ -3013,6 +3028,7 @@ export {
|
|
|
3013
3028
|
simulation_experiment,
|
|
3014
3029
|
simulation_switch,
|
|
3015
3030
|
simulation_transient_voltage_graph,
|
|
3031
|
+
simulation_unknown_experiment_error,
|
|
3016
3032
|
simulation_voltage_probe,
|
|
3017
3033
|
simulation_voltage_source,
|
|
3018
3034
|
size,
|