circuit-json 0.0.323 → 0.0.324
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 +1 -0
- package/dist/index.d.mts +10 -0
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -12669,6 +12669,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
12669
12669
|
model_wrl_url: z.ZodOptional<z.ZodString>;
|
|
12670
12670
|
model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
|
|
12671
12671
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
12672
|
+
show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
|
|
12672
12673
|
}, "strip", z.ZodTypeAny, {
|
|
12673
12674
|
type: "cad_component";
|
|
12674
12675
|
pcb_component_id: string;
|
|
@@ -12701,6 +12702,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
12701
12702
|
model_wrl_url?: string | undefined;
|
|
12702
12703
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
12703
12704
|
model_jscad?: any;
|
|
12705
|
+
show_as_translucent_model?: boolean | undefined;
|
|
12704
12706
|
}, {
|
|
12705
12707
|
type: "cad_component";
|
|
12706
12708
|
pcb_component_id: string;
|
|
@@ -12735,6 +12737,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
12735
12737
|
model_wrl_url?: string | undefined;
|
|
12736
12738
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
12737
12739
|
model_jscad?: any;
|
|
12740
|
+
show_as_translucent_model?: boolean | undefined;
|
|
12738
12741
|
}>;
|
|
12739
12742
|
type CadComponentInput = z.input<typeof cad_component>;
|
|
12740
12743
|
interface CadComponent {
|
|
@@ -12757,6 +12760,7 @@ interface CadComponent {
|
|
|
12757
12760
|
model_wrl_url?: string;
|
|
12758
12761
|
model_unit_to_mm_scale_factor?: number;
|
|
12759
12762
|
model_jscad?: any;
|
|
12763
|
+
show_as_translucent_model?: boolean;
|
|
12760
12764
|
}
|
|
12761
12765
|
|
|
12762
12766
|
declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
@@ -20401,6 +20405,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20401
20405
|
model_wrl_url: z.ZodOptional<z.ZodString>;
|
|
20402
20406
|
model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
|
|
20403
20407
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
20408
|
+
show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
|
|
20404
20409
|
}, "strip", z.ZodTypeAny, {
|
|
20405
20410
|
type: "cad_component";
|
|
20406
20411
|
pcb_component_id: string;
|
|
@@ -20433,6 +20438,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20433
20438
|
model_wrl_url?: string | undefined;
|
|
20434
20439
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
20435
20440
|
model_jscad?: any;
|
|
20441
|
+
show_as_translucent_model?: boolean | undefined;
|
|
20436
20442
|
}, {
|
|
20437
20443
|
type: "cad_component";
|
|
20438
20444
|
pcb_component_id: string;
|
|
@@ -20467,6 +20473,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
20467
20473
|
model_wrl_url?: string | undefined;
|
|
20468
20474
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
20469
20475
|
model_jscad?: any;
|
|
20476
|
+
show_as_translucent_model?: boolean | undefined;
|
|
20470
20477
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
20471
20478
|
type: z.ZodLiteral<"simulation_voltage_source">;
|
|
20472
20479
|
simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
@@ -28345,6 +28352,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
28345
28352
|
model_wrl_url: z.ZodOptional<z.ZodString>;
|
|
28346
28353
|
model_unit_to_mm_scale_factor: z.ZodOptional<z.ZodNumber>;
|
|
28347
28354
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
28355
|
+
show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
|
|
28348
28356
|
}, "strip", z.ZodTypeAny, {
|
|
28349
28357
|
type: "cad_component";
|
|
28350
28358
|
pcb_component_id: string;
|
|
@@ -28377,6 +28385,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
28377
28385
|
model_wrl_url?: string | undefined;
|
|
28378
28386
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
28379
28387
|
model_jscad?: any;
|
|
28388
|
+
show_as_translucent_model?: boolean | undefined;
|
|
28380
28389
|
}, {
|
|
28381
28390
|
type: "cad_component";
|
|
28382
28391
|
pcb_component_id: string;
|
|
@@ -28411,6 +28420,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
28411
28420
|
model_wrl_url?: string | undefined;
|
|
28412
28421
|
model_unit_to_mm_scale_factor?: number | undefined;
|
|
28413
28422
|
model_jscad?: any;
|
|
28423
|
+
show_as_translucent_model?: boolean | undefined;
|
|
28414
28424
|
}>, z.ZodUnion<[z.ZodObject<{
|
|
28415
28425
|
type: z.ZodLiteral<"simulation_voltage_source">;
|
|
28416
28426
|
simulation_voltage_source_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
package/dist/index.mjs
CHANGED
|
@@ -2775,7 +2775,8 @@ var cad_component = z125.object({
|
|
|
2775
2775
|
model_step_url: z125.string().optional(),
|
|
2776
2776
|
model_wrl_url: z125.string().optional(),
|
|
2777
2777
|
model_unit_to_mm_scale_factor: z125.number().optional(),
|
|
2778
|
-
model_jscad: z125.any().optional()
|
|
2778
|
+
model_jscad: z125.any().optional(),
|
|
2779
|
+
show_as_translucent_model: z125.boolean().optional()
|
|
2779
2780
|
}).describe("Defines a component on the PCB");
|
|
2780
2781
|
expectTypesMatch(true);
|
|
2781
2782
|
|