circuit-json 0.0.499 → 0.0.500
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 +13 -0
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -37452,6 +37452,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
37452
37452
|
y: string | number;
|
|
37453
37453
|
z: string | number;
|
|
37454
37454
|
}>>;
|
|
37455
|
+
is_on_folded_board: z.ZodOptional<z.ZodBoolean>;
|
|
37455
37456
|
size: z.ZodOptional<z.ZodObject<{
|
|
37456
37457
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
37457
37458
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -37543,6 +37544,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
37543
37544
|
pcb_component_id?: string | undefined;
|
|
37544
37545
|
subcircuit_id?: string | undefined;
|
|
37545
37546
|
footprinter_string?: string | undefined;
|
|
37547
|
+
is_on_folded_board?: boolean | undefined;
|
|
37546
37548
|
model_obj_url?: string | undefined;
|
|
37547
37549
|
model_stl_url?: string | undefined;
|
|
37548
37550
|
model_3mf_url?: string | undefined;
|
|
@@ -37593,6 +37595,7 @@ declare const cad_component: z.ZodObject<{
|
|
|
37593
37595
|
subcircuit_id?: string | undefined;
|
|
37594
37596
|
anchor_alignment?: "center" | "center_of_component_on_board_surface" | undefined;
|
|
37595
37597
|
footprinter_string?: string | undefined;
|
|
37598
|
+
is_on_folded_board?: boolean | undefined;
|
|
37596
37599
|
model_obj_url?: string | undefined;
|
|
37597
37600
|
model_stl_url?: string | undefined;
|
|
37598
37601
|
model_3mf_url?: string | undefined;
|
|
@@ -37631,6 +37634,10 @@ interface CadComponent {
|
|
|
37631
37634
|
source_component_id: string;
|
|
37632
37635
|
position: Point3;
|
|
37633
37636
|
rotation?: Point3;
|
|
37637
|
+
/** True for assembled folded position/rotation; false or omitted for flat.
|
|
37638
|
+
* PCB records stay flat. pcb_component_id identifies the mount/owning board.
|
|
37639
|
+
*/
|
|
37640
|
+
is_on_folded_board?: boolean;
|
|
37634
37641
|
size?: Point3;
|
|
37635
37642
|
layer?: LayerRef;
|
|
37636
37643
|
subcircuit_id?: string;
|
|
@@ -57217,6 +57224,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
57217
57224
|
y: string | number;
|
|
57218
57225
|
z: string | number;
|
|
57219
57226
|
}>>;
|
|
57227
|
+
is_on_folded_board: z.ZodOptional<z.ZodBoolean>;
|
|
57220
57228
|
size: z.ZodOptional<z.ZodObject<{
|
|
57221
57229
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
57222
57230
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -57308,6 +57316,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
57308
57316
|
pcb_component_id?: string | undefined;
|
|
57309
57317
|
subcircuit_id?: string | undefined;
|
|
57310
57318
|
footprinter_string?: string | undefined;
|
|
57319
|
+
is_on_folded_board?: boolean | undefined;
|
|
57311
57320
|
model_obj_url?: string | undefined;
|
|
57312
57321
|
model_stl_url?: string | undefined;
|
|
57313
57322
|
model_3mf_url?: string | undefined;
|
|
@@ -57358,6 +57367,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
57358
57367
|
subcircuit_id?: string | undefined;
|
|
57359
57368
|
anchor_alignment?: "center" | "center_of_component_on_board_surface" | undefined;
|
|
57360
57369
|
footprinter_string?: string | undefined;
|
|
57370
|
+
is_on_folded_board?: boolean | undefined;
|
|
57361
57371
|
model_obj_url?: string | undefined;
|
|
57362
57372
|
model_stl_url?: string | undefined;
|
|
57363
57373
|
model_3mf_url?: string | undefined;
|
|
@@ -78300,6 +78310,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
78300
78310
|
y: string | number;
|
|
78301
78311
|
z: string | number;
|
|
78302
78312
|
}>>;
|
|
78313
|
+
is_on_folded_board: z.ZodOptional<z.ZodBoolean>;
|
|
78303
78314
|
size: z.ZodOptional<z.ZodObject<{
|
|
78304
78315
|
x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
78305
78316
|
y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -78391,6 +78402,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
78391
78402
|
pcb_component_id?: string | undefined;
|
|
78392
78403
|
subcircuit_id?: string | undefined;
|
|
78393
78404
|
footprinter_string?: string | undefined;
|
|
78405
|
+
is_on_folded_board?: boolean | undefined;
|
|
78394
78406
|
model_obj_url?: string | undefined;
|
|
78395
78407
|
model_stl_url?: string | undefined;
|
|
78396
78408
|
model_3mf_url?: string | undefined;
|
|
@@ -78441,6 +78453,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
78441
78453
|
subcircuit_id?: string | undefined;
|
|
78442
78454
|
anchor_alignment?: "center" | "center_of_component_on_board_surface" | undefined;
|
|
78443
78455
|
footprinter_string?: string | undefined;
|
|
78456
|
+
is_on_folded_board?: boolean | undefined;
|
|
78444
78457
|
model_obj_url?: string | undefined;
|
|
78445
78458
|
model_stl_url?: string | undefined;
|
|
78446
78459
|
model_3mf_url?: string | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -4061,6 +4061,9 @@ var cad_component = z187.object({
|
|
|
4061
4061
|
source_component_id: z187.string(),
|
|
4062
4062
|
position: point3,
|
|
4063
4063
|
rotation: point3.optional(),
|
|
4064
|
+
is_on_folded_board: z187.boolean().optional().describe(
|
|
4065
|
+
"True when position and rotation describe the assembled folded board pose. False or omitted means the flat board pose. PCB records remain flat; pcb_component_id identifies the flat mount and owning board for reversible transforms."
|
|
4066
|
+
),
|
|
4064
4067
|
size: point3.optional(),
|
|
4065
4068
|
layer: layer_ref.optional(),
|
|
4066
4069
|
subcircuit_id: z187.string().optional(),
|