circuit-json 0.0.361 → 0.0.362
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.d.mts +10 -0
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -7729,6 +7729,7 @@ interface SchematicPath {
|
|
|
7729
7729
|
schematic_component_id: string;
|
|
7730
7730
|
fill_color?: "red" | "blue";
|
|
7731
7731
|
is_filled?: boolean;
|
|
7732
|
+
stroke_width?: number | null;
|
|
7732
7733
|
points: Point[];
|
|
7733
7734
|
subcircuit_id?: string;
|
|
7734
7735
|
}
|
|
@@ -7737,6 +7738,7 @@ declare const schematic_path: z.ZodObject<{
|
|
|
7737
7738
|
schematic_component_id: z.ZodString;
|
|
7738
7739
|
fill_color: z.ZodOptional<z.ZodEnum<["red", "blue"]>>;
|
|
7739
7740
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
7741
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
7740
7742
|
points: z.ZodArray<z.ZodObject<{
|
|
7741
7743
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
7742
7744
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -7756,6 +7758,7 @@ declare const schematic_path: z.ZodObject<{
|
|
|
7756
7758
|
}[];
|
|
7757
7759
|
schematic_component_id: string;
|
|
7758
7760
|
subcircuit_id?: string | undefined;
|
|
7761
|
+
stroke_width?: number | null | undefined;
|
|
7759
7762
|
is_filled?: boolean | undefined;
|
|
7760
7763
|
fill_color?: "red" | "blue" | undefined;
|
|
7761
7764
|
}, {
|
|
@@ -7766,6 +7769,7 @@ declare const schematic_path: z.ZodObject<{
|
|
|
7766
7769
|
}[];
|
|
7767
7770
|
schematic_component_id: string;
|
|
7768
7771
|
subcircuit_id?: string | undefined;
|
|
7772
|
+
stroke_width?: string | number | null | undefined;
|
|
7769
7773
|
is_filled?: boolean | undefined;
|
|
7770
7774
|
fill_color?: "red" | "blue" | undefined;
|
|
7771
7775
|
}>;
|
|
@@ -21383,6 +21387,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21383
21387
|
schematic_component_id: z.ZodString;
|
|
21384
21388
|
fill_color: z.ZodOptional<z.ZodEnum<["red", "blue"]>>;
|
|
21385
21389
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
21390
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
21386
21391
|
points: z.ZodArray<z.ZodObject<{
|
|
21387
21392
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21388
21393
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -21402,6 +21407,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21402
21407
|
}[];
|
|
21403
21408
|
schematic_component_id: string;
|
|
21404
21409
|
subcircuit_id?: string | undefined;
|
|
21410
|
+
stroke_width?: number | null | undefined;
|
|
21405
21411
|
is_filled?: boolean | undefined;
|
|
21406
21412
|
fill_color?: "red" | "blue" | undefined;
|
|
21407
21413
|
}, {
|
|
@@ -21412,6 +21418,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21412
21418
|
}[];
|
|
21413
21419
|
schematic_component_id: string;
|
|
21414
21420
|
subcircuit_id?: string | undefined;
|
|
21421
|
+
stroke_width?: string | number | null | undefined;
|
|
21415
21422
|
is_filled?: boolean | undefined;
|
|
21416
21423
|
fill_color?: "red" | "blue" | undefined;
|
|
21417
21424
|
}>, z.ZodObject<{
|
|
@@ -29954,6 +29961,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29954
29961
|
schematic_component_id: z.ZodString;
|
|
29955
29962
|
fill_color: z.ZodOptional<z.ZodEnum<["red", "blue"]>>;
|
|
29956
29963
|
is_filled: z.ZodOptional<z.ZodBoolean>;
|
|
29964
|
+
stroke_width: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>>;
|
|
29957
29965
|
points: z.ZodArray<z.ZodObject<{
|
|
29958
29966
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
29959
29967
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -29973,6 +29981,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29973
29981
|
}[];
|
|
29974
29982
|
schematic_component_id: string;
|
|
29975
29983
|
subcircuit_id?: string | undefined;
|
|
29984
|
+
stroke_width?: number | null | undefined;
|
|
29976
29985
|
is_filled?: boolean | undefined;
|
|
29977
29986
|
fill_color?: "red" | "blue" | undefined;
|
|
29978
29987
|
}, {
|
|
@@ -29983,6 +29992,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
29983
29992
|
}[];
|
|
29984
29993
|
schematic_component_id: string;
|
|
29985
29994
|
subcircuit_id?: string | undefined;
|
|
29995
|
+
stroke_width?: string | number | null | undefined;
|
|
29986
29996
|
is_filled?: boolean | undefined;
|
|
29987
29997
|
fill_color?: "red" | "blue" | undefined;
|
|
29988
29998
|
}>, z.ZodObject<{
|
package/dist/index.mjs
CHANGED
|
@@ -922,6 +922,7 @@ var schematic_path = z54.object({
|
|
|
922
922
|
schematic_component_id: z54.string(),
|
|
923
923
|
fill_color: z54.enum(["red", "blue"]).optional(),
|
|
924
924
|
is_filled: z54.boolean().optional(),
|
|
925
|
+
stroke_width: distance.nullable().optional(),
|
|
925
926
|
points: z54.array(point),
|
|
926
927
|
subcircuit_id: z54.string().optional()
|
|
927
928
|
});
|