circuit-json 0.0.296 → 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 +22 -0
- package/dist/index.d.mts +769 -662
- package/dist/index.mjs +22 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1990,6 +1990,7 @@ var pcb_silkscreen_rect = z91.object({
|
|
|
1990
1990
|
height: length,
|
|
1991
1991
|
layer: layer_ref,
|
|
1992
1992
|
stroke_width: length.default("1mm"),
|
|
1993
|
+
corner_radius: length.optional(),
|
|
1993
1994
|
is_filled: z91.boolean().default(true).optional(),
|
|
1994
1995
|
has_stroke: z91.boolean().optional(),
|
|
1995
1996
|
is_stroke_dashed: z91.boolean().optional()
|
|
@@ -2083,6 +2084,7 @@ var pcb_fabrication_note_rect = z96.object({
|
|
|
2083
2084
|
height: length,
|
|
2084
2085
|
layer: visible_layer,
|
|
2085
2086
|
stroke_width: length.default("0.1mm"),
|
|
2087
|
+
corner_radius: length.optional(),
|
|
2086
2088
|
is_filled: z96.boolean().optional(),
|
|
2087
2089
|
has_stroke: z96.boolean().optional(),
|
|
2088
2090
|
is_stroke_dashed: z96.boolean().optional(),
|
|
@@ -2150,6 +2152,7 @@ var pcb_note_rect = z99.object({
|
|
|
2150
2152
|
width: length,
|
|
2151
2153
|
height: length,
|
|
2152
2154
|
stroke_width: length.default("0.1mm"),
|
|
2155
|
+
corner_radius: length.optional(),
|
|
2153
2156
|
is_filled: z99.boolean().optional(),
|
|
2154
2157
|
has_stroke: z99.boolean().optional(),
|
|
2155
2158
|
is_stroke_dashed: z99.boolean().optional(),
|
|
@@ -2761,9 +2764,23 @@ var simulation_voltage_probe = z128.object({
|
|
|
2761
2764
|
);
|
|
2762
2765
|
expectTypesMatch(true);
|
|
2763
2766
|
|
|
2764
|
-
// src/
|
|
2767
|
+
// src/simulation/simulation_unknown_experiment_error.ts
|
|
2765
2768
|
import { z as z129 } from "zod";
|
|
2766
|
-
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([
|
|
2767
2784
|
source_trace,
|
|
2768
2785
|
source_port,
|
|
2769
2786
|
any_source_component,
|
|
@@ -2872,7 +2889,8 @@ var any_circuit_element = z129.union([
|
|
|
2872
2889
|
simulation_experiment,
|
|
2873
2890
|
simulation_transient_voltage_graph,
|
|
2874
2891
|
simulation_switch,
|
|
2875
|
-
simulation_voltage_probe
|
|
2892
|
+
simulation_voltage_probe,
|
|
2893
|
+
simulation_unknown_experiment_error
|
|
2876
2894
|
]);
|
|
2877
2895
|
var any_soup_element = any_circuit_element;
|
|
2878
2896
|
expectTypesMatch(true);
|
|
@@ -3010,6 +3028,7 @@ export {
|
|
|
3010
3028
|
simulation_experiment,
|
|
3011
3029
|
simulation_switch,
|
|
3012
3030
|
simulation_transient_voltage_graph,
|
|
3031
|
+
simulation_unknown_experiment_error,
|
|
3013
3032
|
simulation_voltage_probe,
|
|
3014
3033
|
simulation_voltage_source,
|
|
3015
3034
|
size,
|