circuit-json 0.0.378 → 0.0.379
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
|
@@ -406,6 +406,7 @@ declare const pcb_component: z.ZodObject<{
|
|
|
406
406
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
407
407
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
408
408
|
do_not_place: z.ZodOptional<z.ZodBoolean>;
|
|
409
|
+
is_allowed_to_be_off_board: z.ZodOptional<z.ZodBoolean>;
|
|
409
410
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
410
411
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
411
412
|
position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "none"]>>;
|
|
@@ -428,6 +429,7 @@ declare const pcb_component: z.ZodObject<{
|
|
|
428
429
|
display_offset_x?: string | undefined;
|
|
429
430
|
display_offset_y?: string | undefined;
|
|
430
431
|
do_not_place?: boolean | undefined;
|
|
432
|
+
is_allowed_to_be_off_board?: boolean | undefined;
|
|
431
433
|
subcircuit_id?: string | undefined;
|
|
432
434
|
pcb_group_id?: string | undefined;
|
|
433
435
|
position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
|
|
@@ -450,6 +452,7 @@ declare const pcb_component: z.ZodObject<{
|
|
|
450
452
|
display_offset_x?: string | undefined;
|
|
451
453
|
display_offset_y?: string | undefined;
|
|
452
454
|
do_not_place?: boolean | undefined;
|
|
455
|
+
is_allowed_to_be_off_board?: boolean | undefined;
|
|
453
456
|
subcircuit_id?: string | undefined;
|
|
454
457
|
pcb_group_id?: string | undefined;
|
|
455
458
|
position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
|
|
@@ -474,6 +477,7 @@ interface PcbComponent {
|
|
|
474
477
|
width: Length;
|
|
475
478
|
height: Length;
|
|
476
479
|
do_not_place?: boolean;
|
|
480
|
+
is_allowed_to_be_off_board?: boolean;
|
|
477
481
|
pcb_group_id?: string;
|
|
478
482
|
position_mode?: "packed" | "relative_to_group_anchor" | "none";
|
|
479
483
|
positioned_relative_to_pcb_group_id?: string;
|
|
@@ -16748,6 +16752,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16748
16752
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16749
16753
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
16750
16754
|
do_not_place: z.ZodOptional<z.ZodBoolean>;
|
|
16755
|
+
is_allowed_to_be_off_board: z.ZodOptional<z.ZodBoolean>;
|
|
16751
16756
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
16752
16757
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
16753
16758
|
position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "none"]>>;
|
|
@@ -16770,6 +16775,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16770
16775
|
display_offset_x?: string | undefined;
|
|
16771
16776
|
display_offset_y?: string | undefined;
|
|
16772
16777
|
do_not_place?: boolean | undefined;
|
|
16778
|
+
is_allowed_to_be_off_board?: boolean | undefined;
|
|
16773
16779
|
subcircuit_id?: string | undefined;
|
|
16774
16780
|
pcb_group_id?: string | undefined;
|
|
16775
16781
|
position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
|
|
@@ -16792,6 +16798,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16792
16798
|
display_offset_x?: string | undefined;
|
|
16793
16799
|
display_offset_y?: string | undefined;
|
|
16794
16800
|
do_not_place?: boolean | undefined;
|
|
16801
|
+
is_allowed_to_be_off_board?: boolean | undefined;
|
|
16795
16802
|
subcircuit_id?: string | undefined;
|
|
16796
16803
|
pcb_group_id?: string | undefined;
|
|
16797
16804
|
position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
|
|
@@ -25586,6 +25593,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25586
25593
|
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25587
25594
|
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
25588
25595
|
do_not_place: z.ZodOptional<z.ZodBoolean>;
|
|
25596
|
+
is_allowed_to_be_off_board: z.ZodOptional<z.ZodBoolean>;
|
|
25589
25597
|
subcircuit_id: z.ZodOptional<z.ZodString>;
|
|
25590
25598
|
pcb_group_id: z.ZodOptional<z.ZodString>;
|
|
25591
25599
|
position_mode: z.ZodOptional<z.ZodEnum<["packed", "relative_to_group_anchor", "none"]>>;
|
|
@@ -25608,6 +25616,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25608
25616
|
display_offset_x?: string | undefined;
|
|
25609
25617
|
display_offset_y?: string | undefined;
|
|
25610
25618
|
do_not_place?: boolean | undefined;
|
|
25619
|
+
is_allowed_to_be_off_board?: boolean | undefined;
|
|
25611
25620
|
subcircuit_id?: string | undefined;
|
|
25612
25621
|
pcb_group_id?: string | undefined;
|
|
25613
25622
|
position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
|
|
@@ -25630,6 +25639,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
25630
25639
|
display_offset_x?: string | undefined;
|
|
25631
25640
|
display_offset_y?: string | undefined;
|
|
25632
25641
|
do_not_place?: boolean | undefined;
|
|
25642
|
+
is_allowed_to_be_off_board?: boolean | undefined;
|
|
25633
25643
|
subcircuit_id?: string | undefined;
|
|
25634
25644
|
pcb_group_id?: string | undefined;
|
|
25635
25645
|
position_mode?: "packed" | "relative_to_group_anchor" | "none" | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -1428,6 +1428,7 @@ var pcb_component = z80.object({
|
|
|
1428
1428
|
width: length,
|
|
1429
1429
|
height: length,
|
|
1430
1430
|
do_not_place: z80.boolean().optional(),
|
|
1431
|
+
is_allowed_to_be_off_board: z80.boolean().optional(),
|
|
1431
1432
|
subcircuit_id: z80.string().optional(),
|
|
1432
1433
|
pcb_group_id: z80.string().optional(),
|
|
1433
1434
|
position_mode: z80.enum(["packed", "relative_to_group_anchor", "none"]).optional(),
|