circuit-json 0.0.400 → 0.0.401
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 -10
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -32049,7 +32049,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
32049
32049
|
y: string | number;
|
|
32050
32050
|
z: string | number;
|
|
32051
32051
|
}>>;
|
|
32052
|
-
model_origin_alignment: z.ZodOptional<z.ZodEnum<["unknown", "center", "center_of_component_on_board_surface"]>>;
|
|
32052
|
+
model_origin_alignment: z.ZodOptional<z.ZodEnum<["unknown", "center", "center_of_component_on_board_surface", "bottom_center_of_component"]>>;
|
|
32053
32053
|
model_object_fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<["contain_within_bounds", "fill_bounds"]>>>;
|
|
32054
32054
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
32055
32055
|
show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -32098,7 +32098,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
32098
32098
|
y: number;
|
|
32099
32099
|
z: number;
|
|
32100
32100
|
} | undefined;
|
|
32101
|
-
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | undefined;
|
|
32101
|
+
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
|
|
32102
32102
|
model_jscad?: any;
|
|
32103
32103
|
show_as_translucent_model?: boolean | undefined;
|
|
32104
32104
|
}, {
|
|
@@ -32146,7 +32146,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
32146
32146
|
y: string | number;
|
|
32147
32147
|
z: string | number;
|
|
32148
32148
|
} | undefined;
|
|
32149
|
-
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | undefined;
|
|
32149
|
+
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
|
|
32150
32150
|
model_object_fit?: "contain_within_bounds" | "fill_bounds" | undefined;
|
|
32151
32151
|
model_jscad?: any;
|
|
32152
32152
|
show_as_translucent_model?: boolean | undefined;
|
|
@@ -32176,7 +32176,7 @@ interface CadComponent {
|
|
|
32176
32176
|
model_unit_to_mm_scale_factor?: number;
|
|
32177
32177
|
model_board_normal_direction?: CadModelAxisDirection;
|
|
32178
32178
|
model_origin_position?: Point3;
|
|
32179
|
-
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface";
|
|
32179
|
+
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component";
|
|
32180
32180
|
model_object_fit: "contain_within_bounds" | "fill_bounds";
|
|
32181
32181
|
model_jscad?: any;
|
|
32182
32182
|
show_as_translucent_model?: boolean;
|
|
@@ -49496,7 +49496,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
49496
49496
|
y: string | number;
|
|
49497
49497
|
z: string | number;
|
|
49498
49498
|
}>>;
|
|
49499
|
-
model_origin_alignment: z.ZodOptional<z.ZodEnum<["unknown", "center", "center_of_component_on_board_surface"]>>;
|
|
49499
|
+
model_origin_alignment: z.ZodOptional<z.ZodEnum<["unknown", "center", "center_of_component_on_board_surface", "bottom_center_of_component"]>>;
|
|
49500
49500
|
model_object_fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<["contain_within_bounds", "fill_bounds"]>>>;
|
|
49501
49501
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
49502
49502
|
show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -49545,7 +49545,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
49545
49545
|
y: number;
|
|
49546
49546
|
z: number;
|
|
49547
49547
|
} | undefined;
|
|
49548
|
-
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | undefined;
|
|
49548
|
+
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
|
|
49549
49549
|
model_jscad?: any;
|
|
49550
49550
|
show_as_translucent_model?: boolean | undefined;
|
|
49551
49551
|
}, {
|
|
@@ -49593,7 +49593,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
49593
49593
|
y: string | number;
|
|
49594
49594
|
z: string | number;
|
|
49595
49595
|
} | undefined;
|
|
49596
|
-
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | undefined;
|
|
49596
|
+
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
|
|
49597
49597
|
model_object_fit?: "contain_within_bounds" | "fill_bounds" | undefined;
|
|
49598
49598
|
model_jscad?: any;
|
|
49599
49599
|
show_as_translucent_model?: boolean | undefined;
|
|
@@ -67246,7 +67246,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
67246
67246
|
y: string | number;
|
|
67247
67247
|
z: string | number;
|
|
67248
67248
|
}>>;
|
|
67249
|
-
model_origin_alignment: z.ZodOptional<z.ZodEnum<["unknown", "center", "center_of_component_on_board_surface"]>>;
|
|
67249
|
+
model_origin_alignment: z.ZodOptional<z.ZodEnum<["unknown", "center", "center_of_component_on_board_surface", "bottom_center_of_component"]>>;
|
|
67250
67250
|
model_object_fit: z.ZodDefault<z.ZodOptional<z.ZodEnum<["contain_within_bounds", "fill_bounds"]>>>;
|
|
67251
67251
|
model_jscad: z.ZodOptional<z.ZodAny>;
|
|
67252
67252
|
show_as_translucent_model: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -67295,7 +67295,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
67295
67295
|
y: number;
|
|
67296
67296
|
z: number;
|
|
67297
67297
|
} | undefined;
|
|
67298
|
-
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | undefined;
|
|
67298
|
+
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
|
|
67299
67299
|
model_jscad?: any;
|
|
67300
67300
|
show_as_translucent_model?: boolean | undefined;
|
|
67301
67301
|
}, {
|
|
@@ -67343,7 +67343,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
67343
67343
|
y: string | number;
|
|
67344
67344
|
z: string | number;
|
|
67345
67345
|
} | undefined;
|
|
67346
|
-
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | undefined;
|
|
67346
|
+
model_origin_alignment?: "unknown" | "center" | "center_of_component_on_board_surface" | "bottom_center_of_component" | undefined;
|
|
67347
67347
|
model_object_fit?: "contain_within_bounds" | "fill_bounds" | undefined;
|
|
67348
67348
|
model_jscad?: any;
|
|
67349
67349
|
show_as_translucent_model?: boolean | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -3367,7 +3367,8 @@ var cad_component = z151.object({
|
|
|
3367
3367
|
model_origin_alignment: z151.enum([
|
|
3368
3368
|
"unknown",
|
|
3369
3369
|
"center",
|
|
3370
|
-
"center_of_component_on_board_surface"
|
|
3370
|
+
"center_of_component_on_board_surface",
|
|
3371
|
+
"bottom_center_of_component"
|
|
3371
3372
|
]).optional(),
|
|
3372
3373
|
model_object_fit: z151.enum(["contain_within_bounds", "fill_bounds"]).optional().default("contain_within_bounds"),
|
|
3373
3374
|
model_jscad: z151.any().optional(),
|