circuit-json 0.0.248 → 0.0.249
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
|
@@ -9397,6 +9397,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
9397
9397
|
model_glb_url: z.ZodOptional<z.ZodString>;
|
|
9398
9398
|
model_step_url: z.ZodOptional<z.ZodString>;
|
|
9399
9399
|
model_wrl_url: z.ZodOptional<z.ZodString>;
|
|
9400
|
+
model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
|
|
9400
9401
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
9401
9402
|
}, "strip", z.ZodTypeAny, {
|
|
9402
9403
|
type: "cad_component";
|
|
@@ -9428,6 +9429,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
9428
9429
|
model_glb_url?: string | undefined;
|
|
9429
9430
|
model_step_url?: string | undefined;
|
|
9430
9431
|
model_wrl_url?: string | undefined;
|
|
9432
|
+
model_unit_to_mm_scale_factor?: number | undefined;
|
|
9431
9433
|
model_jscad?: any;
|
|
9432
9434
|
}, {
|
|
9433
9435
|
type: "cad_component";
|
|
@@ -9461,6 +9463,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
9461
9463
|
model_glb_url?: string | undefined;
|
|
9462
9464
|
model_step_url?: string | undefined;
|
|
9463
9465
|
model_wrl_url?: string | undefined;
|
|
9466
|
+
model_unit_to_mm_scale_factor?: number | undefined;
|
|
9464
9467
|
model_jscad?: any;
|
|
9465
9468
|
}>;
|
|
9466
9469
|
type CadComponentInput = z.input<typeof cad_component>;
|
|
@@ -9482,6 +9485,7 @@ interface CadComponent {
|
|
|
9482
9485
|
model_glb_url?: string;
|
|
9483
9486
|
model_step_url?: string;
|
|
9484
9487
|
model_wrl_url?: string;
|
|
9488
|
+
model_unit_to_mm_scale_factor?: number;
|
|
9485
9489
|
model_jscad?: any;
|
|
9486
9490
|
}
|
|
9487
9491
|
|
|
@@ -15569,6 +15573,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15569
15573
|
model_glb_url: z.ZodOptional<z.ZodString>;
|
|
15570
15574
|
model_step_url: z.ZodOptional<z.ZodString>;
|
|
15571
15575
|
model_wrl_url: z.ZodOptional<z.ZodString>;
|
|
15576
|
+
model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
|
|
15572
15577
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
15573
15578
|
}, "strip", z.ZodTypeAny, {
|
|
15574
15579
|
type: "cad_component";
|
|
@@ -15600,6 +15605,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15600
15605
|
model_glb_url?: string | undefined;
|
|
15601
15606
|
model_step_url?: string | undefined;
|
|
15602
15607
|
model_wrl_url?: string | undefined;
|
|
15608
|
+
model_unit_to_mm_scale_factor?: number | undefined;
|
|
15603
15609
|
model_jscad?: any;
|
|
15604
15610
|
}, {
|
|
15605
15611
|
type: "cad_component";
|
|
@@ -15633,6 +15639,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
15633
15639
|
model_glb_url?: string | undefined;
|
|
15634
15640
|
model_step_url?: string | undefined;
|
|
15635
15641
|
model_wrl_url?: string | undefined;
|
|
15642
|
+
model_unit_to_mm_scale_factor?: number | undefined;
|
|
15636
15643
|
model_jscad?: any;
|
|
15637
15644
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
15638
15645
|
type: z.ZodLiteral<"simulation_voltage_source">;
|
|
@@ -21612,6 +21619,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21612
21619
|
model_glb_url: z.ZodOptional<z.ZodString>;
|
|
21613
21620
|
model_step_url: z.ZodOptional<z.ZodString>;
|
|
21614
21621
|
model_wrl_url: z.ZodOptional<z.ZodString>;
|
|
21622
|
+
model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
|
|
21615
21623
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
21616
21624
|
}, "strip", z.ZodTypeAny, {
|
|
21617
21625
|
type: "cad_component";
|
|
@@ -21643,6 +21651,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21643
21651
|
model_glb_url?: string | undefined;
|
|
21644
21652
|
model_step_url?: string | undefined;
|
|
21645
21653
|
model_wrl_url?: string | undefined;
|
|
21654
|
+
model_unit_to_mm_scale_factor?: number | undefined;
|
|
21646
21655
|
model_jscad?: any;
|
|
21647
21656
|
}, {
|
|
21648
21657
|
type: "cad_component";
|
|
@@ -21676,6 +21685,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21676
21685
|
model_glb_url?: string | undefined;
|
|
21677
21686
|
model_step_url?: string | undefined;
|
|
21678
21687
|
model_wrl_url?: string | undefined;
|
|
21688
|
+
model_unit_to_mm_scale_factor?: number | undefined;
|
|
21679
21689
|
model_jscad?: any;
|
|
21680
21690
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
21681
21691
|
type: z.ZodLiteral<"simulation_voltage_source">;
|
package/dist/index.mjs
CHANGED
|
@@ -2137,6 +2137,7 @@ var cad_component = z101.object({
|
|
|
2137
2137
|
model_glb_url: z101.string().optional(),
|
|
2138
2138
|
model_step_url: z101.string().optional(),
|
|
2139
2139
|
model_wrl_url: z101.string().optional(),
|
|
2140
|
+
model_unit_to_mm_scale_factor: z101.number().optional(),
|
|
2140
2141
|
model_jscad: z101.any().optional()
|
|
2141
2142
|
}).describe("Defines a component on the PCB");
|
|
2142
2143
|
expectTypesMatch(true);
|