circuit-json 0.0.297 → 0.0.299

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/index.mjs CHANGED
@@ -1828,7 +1828,9 @@ var pcb_via = z82.object({
1828
1828
  /** @deprecated */
1829
1829
  to_layer: layer_ref.optional(),
1830
1830
  layers: z82.array(layer_ref),
1831
- pcb_trace_id: z82.string().optional()
1831
+ pcb_trace_id: z82.string().optional(),
1832
+ net_is_assignable: z82.boolean().optional(),
1833
+ net_assigned: z82.boolean().optional()
1832
1834
  }).describe("Defines a via on the PCB");
1833
1835
  expectTypesMatch(true);
1834
1836
 
@@ -2764,9 +2766,23 @@ var simulation_voltage_probe = z128.object({
2764
2766
  );
2765
2767
  expectTypesMatch(true);
2766
2768
 
2767
- // src/any_circuit_element.ts
2769
+ // src/simulation/simulation_unknown_experiment_error.ts
2768
2770
  import { z as z129 } from "zod";
2769
- var any_circuit_element = z129.union([
2771
+ var simulation_unknown_experiment_error = z129.object({
2772
+ type: z129.literal("simulation_unknown_experiment_error"),
2773
+ simulation_unknown_experiment_error_id: getZodPrefixedIdWithDefault(
2774
+ "simulation_unknown_experiment_error"
2775
+ ),
2776
+ error_type: z129.literal("simulation_unknown_experiment_error").default("simulation_unknown_experiment_error"),
2777
+ message: z129.string(),
2778
+ simulation_experiment_id: z129.string().optional(),
2779
+ subcircuit_id: z129.string().optional()
2780
+ }).describe("An unknown error occurred during the simulation experiment.");
2781
+ expectTypesMatch(true);
2782
+
2783
+ // src/any_circuit_element.ts
2784
+ import { z as z130 } from "zod";
2785
+ var any_circuit_element = z130.union([
2770
2786
  source_trace,
2771
2787
  source_port,
2772
2788
  any_source_component,
@@ -2875,7 +2891,8 @@ var any_circuit_element = z129.union([
2875
2891
  simulation_experiment,
2876
2892
  simulation_transient_voltage_graph,
2877
2893
  simulation_switch,
2878
- simulation_voltage_probe
2894
+ simulation_voltage_probe,
2895
+ simulation_unknown_experiment_error
2879
2896
  ]);
2880
2897
  var any_soup_element = any_circuit_element;
2881
2898
  expectTypesMatch(true);
@@ -3013,6 +3030,7 @@ export {
3013
3030
  simulation_experiment,
3014
3031
  simulation_switch,
3015
3032
  simulation_transient_voltage_graph,
3033
+ simulation_unknown_experiment_error,
3016
3034
  simulation_voltage_probe,
3017
3035
  simulation_voltage_source,
3018
3036
  size,