circuit-json 0.0.241 → 0.0.242
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
|
@@ -8936,6 +8936,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
8936
8936
|
model_obj_url: z.ZodOptional<z.ZodString>;
|
|
8937
8937
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
8938
8938
|
model_3mf_url: z.ZodOptional<z.ZodString>;
|
|
8939
|
+
model_gltf_url: z.ZodOptional<z.ZodString>;
|
|
8939
8940
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
8940
8941
|
}, "strip", z.ZodTypeAny, {
|
|
8941
8942
|
type: "cad_component";
|
|
@@ -8963,6 +8964,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
8963
8964
|
model_obj_url?: string | undefined;
|
|
8964
8965
|
model_stl_url?: string | undefined;
|
|
8965
8966
|
model_3mf_url?: string | undefined;
|
|
8967
|
+
model_gltf_url?: string | undefined;
|
|
8966
8968
|
model_jscad?: any;
|
|
8967
8969
|
}, {
|
|
8968
8970
|
type: "cad_component";
|
|
@@ -8992,6 +8994,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
8992
8994
|
model_obj_url?: string | undefined;
|
|
8993
8995
|
model_stl_url?: string | undefined;
|
|
8994
8996
|
model_3mf_url?: string | undefined;
|
|
8997
|
+
model_gltf_url?: string | undefined;
|
|
8995
8998
|
model_jscad?: any;
|
|
8996
8999
|
}>;
|
|
8997
9000
|
type CadComponentInput = z.input<typeof cad_component>;
|
|
@@ -9009,6 +9012,7 @@ interface CadComponent {
|
|
|
9009
9012
|
model_obj_url?: string;
|
|
9010
9013
|
model_stl_url?: string;
|
|
9011
9014
|
model_3mf_url?: string;
|
|
9015
|
+
model_gltf_url?: string;
|
|
9012
9016
|
model_jscad?: any;
|
|
9013
9017
|
}
|
|
9014
9018
|
|
|
@@ -14911,6 +14915,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14911
14915
|
model_obj_url: z.ZodOptional<z.ZodString>;
|
|
14912
14916
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
14913
14917
|
model_3mf_url: z.ZodOptional<z.ZodString>;
|
|
14918
|
+
model_gltf_url: z.ZodOptional<z.ZodString>;
|
|
14914
14919
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
14915
14920
|
}, "strip", z.ZodTypeAny, {
|
|
14916
14921
|
type: "cad_component";
|
|
@@ -14938,6 +14943,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14938
14943
|
model_obj_url?: string | undefined;
|
|
14939
14944
|
model_stl_url?: string | undefined;
|
|
14940
14945
|
model_3mf_url?: string | undefined;
|
|
14946
|
+
model_gltf_url?: string | undefined;
|
|
14941
14947
|
model_jscad?: any;
|
|
14942
14948
|
}, {
|
|
14943
14949
|
type: "cad_component";
|
|
@@ -14967,6 +14973,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14967
14973
|
model_obj_url?: string | undefined;
|
|
14968
14974
|
model_stl_url?: string | undefined;
|
|
14969
14975
|
model_3mf_url?: string | undefined;
|
|
14976
|
+
model_gltf_url?: string | undefined;
|
|
14970
14977
|
model_jscad?: any;
|
|
14971
14978
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
14972
14979
|
type: z.ZodLiteral<"simulation_voltage_source">;
|
|
@@ -20761,6 +20768,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20761
20768
|
model_obj_url: z.ZodOptional<z.ZodString>;
|
|
20762
20769
|
model_stl_url: z.ZodOptional<z.ZodString>;
|
|
20763
20770
|
model_3mf_url: z.ZodOptional<z.ZodString>;
|
|
20771
|
+
model_gltf_url: z.ZodOptional<z.ZodString>;
|
|
20764
20772
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
20765
20773
|
}, "strip", z.ZodTypeAny, {
|
|
20766
20774
|
type: "cad_component";
|
|
@@ -20788,6 +20796,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20788
20796
|
model_obj_url?: string | undefined;
|
|
20789
20797
|
model_stl_url?: string | undefined;
|
|
20790
20798
|
model_3mf_url?: string | undefined;
|
|
20799
|
+
model_gltf_url?: string | undefined;
|
|
20791
20800
|
model_jscad?: any;
|
|
20792
20801
|
}, {
|
|
20793
20802
|
type: "cad_component";
|
|
@@ -20817,6 +20826,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20817
20826
|
model_obj_url?: string | undefined;
|
|
20818
20827
|
model_stl_url?: string | undefined;
|
|
20819
20828
|
model_3mf_url?: string | undefined;
|
|
20829
|
+
model_gltf_url?: string | undefined;
|
|
20820
20830
|
model_jscad?: any;
|
|
20821
20831
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
20822
20832
|
type: z.ZodLiteral<"simulation_voltage_source">;
|
package/dist/index.mjs
CHANGED
|
@@ -2077,6 +2077,7 @@ var cad_component = z98.object({
|
|
|
2077
2077
|
model_obj_url: z98.string().optional(),
|
|
2078
2078
|
model_stl_url: z98.string().optional(),
|
|
2079
2079
|
model_3mf_url: z98.string().optional(),
|
|
2080
|
+
model_gltf_url: z98.string().optional(),
|
|
2080
2081
|
model_jscad: z98.any().optional()
|
|
2081
2082
|
}).describe("Defines a component on the PCB");
|
|
2082
2083
|
expectTypesMatch(true);
|