circuit-json 0.0.409 → 0.0.410
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 +7 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2426,6 +2426,7 @@ declare const pcb_component: z.ZodObject<{
|
|
|
2426
2426
|
x: string | number;
|
|
2427
2427
|
y: string | number;
|
|
2428
2428
|
}>>;
|
|
2429
|
+
insertion_direction: z.ZodOptional<z.ZodEnum<["from_above", "from_left", "from_right", "from_front", "from_back"]>>;
|
|
2429
2430
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
2430
2431
|
kicad_footprint: z.ZodOptional<z.ZodObject<{
|
|
2431
2432
|
footprintName: z.ZodOptional<z.ZodString>;
|
|
@@ -3723,6 +3724,7 @@ declare const pcb_component: z.ZodObject<{
|
|
|
3723
3724
|
x: number;
|
|
3724
3725
|
y: number;
|
|
3725
3726
|
} | undefined;
|
|
3727
|
+
insertion_direction?: "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | undefined;
|
|
3726
3728
|
metadata?: {
|
|
3727
3729
|
kicad_footprint?: {
|
|
3728
3730
|
layer?: string | undefined;
|
|
@@ -3889,6 +3891,7 @@ declare const pcb_component: z.ZodObject<{
|
|
|
3889
3891
|
x: string | number;
|
|
3890
3892
|
y: string | number;
|
|
3891
3893
|
} | undefined;
|
|
3894
|
+
insertion_direction?: "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | undefined;
|
|
3892
3895
|
metadata?: {
|
|
3893
3896
|
kicad_footprint?: {
|
|
3894
3897
|
layer?: string | undefined;
|
|
@@ -4050,6 +4053,7 @@ interface PcbComponent {
|
|
|
4050
4053
|
positioned_relative_to_pcb_group_id?: string;
|
|
4051
4054
|
positioned_relative_to_pcb_board_id?: string;
|
|
4052
4055
|
cable_insertion_center?: Point;
|
|
4056
|
+
insertion_direction?: "from_above" | "from_left" | "from_right" | "from_front" | "from_back";
|
|
4053
4057
|
metadata?: PcbComponentMetadata;
|
|
4054
4058
|
obstructs_within_bounds: boolean;
|
|
4055
4059
|
}
|
|
@@ -35380,6 +35384,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
35380
35384
|
x: string | number;
|
|
35381
35385
|
y: string | number;
|
|
35382
35386
|
}>>;
|
|
35387
|
+
insertion_direction: z.ZodOptional<z.ZodEnum<["from_above", "from_left", "from_right", "from_front", "from_back"]>>;
|
|
35383
35388
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
35384
35389
|
kicad_footprint: z.ZodOptional<z.ZodObject<{
|
|
35385
35390
|
footprintName: z.ZodOptional<z.ZodString>;
|
|
@@ -36677,6 +36682,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
36677
36682
|
x: number;
|
|
36678
36683
|
y: number;
|
|
36679
36684
|
} | undefined;
|
|
36685
|
+
insertion_direction?: "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | undefined;
|
|
36680
36686
|
metadata?: {
|
|
36681
36687
|
kicad_footprint?: {
|
|
36682
36688
|
layer?: string | undefined;
|
|
@@ -36843,6 +36849,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
36843
36849
|
x: string | number;
|
|
36844
36850
|
y: string | number;
|
|
36845
36851
|
} | undefined;
|
|
36852
|
+
insertion_direction?: "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | undefined;
|
|
36846
36853
|
metadata?: {
|
|
36847
36854
|
kicad_footprint?: {
|
|
36848
36855
|
layer?: string | undefined;
|
|
@@ -53274,6 +53281,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
53274
53281
|
x: string | number;
|
|
53275
53282
|
y: string | number;
|
|
53276
53283
|
}>>;
|
|
53284
|
+
insertion_direction: z.ZodOptional<z.ZodEnum<["from_above", "from_left", "from_right", "from_front", "from_back"]>>;
|
|
53277
53285
|
metadata: z.ZodOptional<z.ZodObject<{
|
|
53278
53286
|
kicad_footprint: z.ZodOptional<z.ZodObject<{
|
|
53279
53287
|
footprintName: z.ZodOptional<z.ZodString>;
|
|
@@ -54571,6 +54579,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
54571
54579
|
x: number;
|
|
54572
54580
|
y: number;
|
|
54573
54581
|
} | undefined;
|
|
54582
|
+
insertion_direction?: "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | undefined;
|
|
54574
54583
|
metadata?: {
|
|
54575
54584
|
kicad_footprint?: {
|
|
54576
54585
|
layer?: string | undefined;
|
|
@@ -54737,6 +54746,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
54737
54746
|
x: string | number;
|
|
54738
54747
|
y: string | number;
|
|
54739
54748
|
} | undefined;
|
|
54749
|
+
insertion_direction?: "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | undefined;
|
|
54740
54750
|
metadata?: {
|
|
54741
54751
|
kicad_footprint?: {
|
|
54742
54752
|
layer?: string | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -1745,6 +1745,13 @@ var pcb_component = z92.object({
|
|
|
1745
1745
|
positioned_relative_to_pcb_group_id: z92.string().optional(),
|
|
1746
1746
|
positioned_relative_to_pcb_board_id: z92.string().optional(),
|
|
1747
1747
|
cable_insertion_center: point.optional(),
|
|
1748
|
+
insertion_direction: z92.enum([
|
|
1749
|
+
"from_above",
|
|
1750
|
+
"from_left",
|
|
1751
|
+
"from_right",
|
|
1752
|
+
"from_front",
|
|
1753
|
+
"from_back"
|
|
1754
|
+
]).optional(),
|
|
1748
1755
|
metadata: z92.object({
|
|
1749
1756
|
kicad_footprint: kicadFootprintMetadata.optional()
|
|
1750
1757
|
}).optional(),
|