circuit-json 0.0.389 → 0.0.390

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 CHANGED
@@ -2416,6 +2416,16 @@ declare const pcb_component: z.ZodObject<{
2416
2416
  anchor_alignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
2417
2417
  positioned_relative_to_pcb_group_id: z.ZodOptional<z.ZodString>;
2418
2418
  positioned_relative_to_pcb_board_id: z.ZodOptional<z.ZodString>;
2419
+ cable_insertion_center: z.ZodOptional<z.ZodObject<{
2420
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
2421
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
2422
+ }, "strip", z.ZodTypeAny, {
2423
+ x: number;
2424
+ y: number;
2425
+ }, {
2426
+ x: string | number;
2427
+ y: string | number;
2428
+ }>>;
2419
2429
  metadata: z.ZodOptional<z.ZodObject<{
2420
2430
  kicad_footprint: z.ZodOptional<z.ZodObject<{
2421
2431
  footprintName: z.ZodOptional<z.ZodString>;
@@ -3709,6 +3719,10 @@ declare const pcb_component: z.ZodObject<{
3709
3719
  anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
3710
3720
  positioned_relative_to_pcb_group_id?: string | undefined;
3711
3721
  positioned_relative_to_pcb_board_id?: string | undefined;
3722
+ cable_insertion_center?: {
3723
+ x: number;
3724
+ y: number;
3725
+ } | undefined;
3712
3726
  metadata?: {
3713
3727
  kicad_footprint?: {
3714
3728
  layer?: string | undefined;
@@ -3871,6 +3885,10 @@ declare const pcb_component: z.ZodObject<{
3871
3885
  anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
3872
3886
  positioned_relative_to_pcb_group_id?: string | undefined;
3873
3887
  positioned_relative_to_pcb_board_id?: string | undefined;
3888
+ cable_insertion_center?: {
3889
+ x: string | number;
3890
+ y: string | number;
3891
+ } | undefined;
3874
3892
  metadata?: {
3875
3893
  kicad_footprint?: {
3876
3894
  layer?: string | undefined;
@@ -4031,6 +4049,7 @@ interface PcbComponent {
4031
4049
  anchor_alignment?: NinePointAnchor;
4032
4050
  positioned_relative_to_pcb_group_id?: string;
4033
4051
  positioned_relative_to_pcb_board_id?: string;
4052
+ cable_insertion_center?: Point;
4034
4053
  metadata?: PcbComponentMetadata;
4035
4054
  obstructs_within_bounds: boolean;
4036
4055
  }
@@ -34232,6 +34251,16 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
34232
34251
  anchor_alignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
34233
34252
  positioned_relative_to_pcb_group_id: z.ZodOptional<z.ZodString>;
34234
34253
  positioned_relative_to_pcb_board_id: z.ZodOptional<z.ZodString>;
34254
+ cable_insertion_center: z.ZodOptional<z.ZodObject<{
34255
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
34256
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
34257
+ }, "strip", z.ZodTypeAny, {
34258
+ x: number;
34259
+ y: number;
34260
+ }, {
34261
+ x: string | number;
34262
+ y: string | number;
34263
+ }>>;
34235
34264
  metadata: z.ZodOptional<z.ZodObject<{
34236
34265
  kicad_footprint: z.ZodOptional<z.ZodObject<{
34237
34266
  footprintName: z.ZodOptional<z.ZodString>;
@@ -35525,6 +35554,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
35525
35554
  anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
35526
35555
  positioned_relative_to_pcb_group_id?: string | undefined;
35527
35556
  positioned_relative_to_pcb_board_id?: string | undefined;
35557
+ cable_insertion_center?: {
35558
+ x: number;
35559
+ y: number;
35560
+ } | undefined;
35528
35561
  metadata?: {
35529
35562
  kicad_footprint?: {
35530
35563
  layer?: string | undefined;
@@ -35687,6 +35720,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
35687
35720
  anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
35688
35721
  positioned_relative_to_pcb_group_id?: string | undefined;
35689
35722
  positioned_relative_to_pcb_board_id?: string | undefined;
35723
+ cable_insertion_center?: {
35724
+ x: string | number;
35725
+ y: string | number;
35726
+ } | undefined;
35690
35727
  metadata?: {
35691
35728
  kicad_footprint?: {
35692
35729
  layer?: string | undefined;
@@ -51631,6 +51668,16 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
51631
51668
  anchor_alignment: z.ZodOptional<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
51632
51669
  positioned_relative_to_pcb_group_id: z.ZodOptional<z.ZodString>;
51633
51670
  positioned_relative_to_pcb_board_id: z.ZodOptional<z.ZodString>;
51671
+ cable_insertion_center: z.ZodOptional<z.ZodObject<{
51672
+ x: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
51673
+ y: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
51674
+ }, "strip", z.ZodTypeAny, {
51675
+ x: number;
51676
+ y: number;
51677
+ }, {
51678
+ x: string | number;
51679
+ y: string | number;
51680
+ }>>;
51634
51681
  metadata: z.ZodOptional<z.ZodObject<{
51635
51682
  kicad_footprint: z.ZodOptional<z.ZodObject<{
51636
51683
  footprintName: z.ZodOptional<z.ZodString>;
@@ -52924,6 +52971,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
52924
52971
  anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
52925
52972
  positioned_relative_to_pcb_group_id?: string | undefined;
52926
52973
  positioned_relative_to_pcb_board_id?: string | undefined;
52974
+ cable_insertion_center?: {
52975
+ x: number;
52976
+ y: number;
52977
+ } | undefined;
52927
52978
  metadata?: {
52928
52979
  kicad_footprint?: {
52929
52980
  layer?: string | undefined;
@@ -53086,6 +53137,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
53086
53137
  anchor_alignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
53087
53138
  positioned_relative_to_pcb_group_id?: string | undefined;
53088
53139
  positioned_relative_to_pcb_board_id?: string | undefined;
53140
+ cable_insertion_center?: {
53141
+ x: string | number;
53142
+ y: string | number;
53143
+ } | undefined;
53089
53144
  metadata?: {
53090
53145
  kicad_footprint?: {
53091
53146
  layer?: string | undefined;
package/dist/index.mjs CHANGED
@@ -1617,6 +1617,7 @@ var pcb_component = z85.object({
1617
1617
  anchor_alignment: ninePointAnchor.optional(),
1618
1618
  positioned_relative_to_pcb_group_id: z85.string().optional(),
1619
1619
  positioned_relative_to_pcb_board_id: z85.string().optional(),
1620
+ cable_insertion_center: point.optional(),
1620
1621
  metadata: z85.object({
1621
1622
  kicad_footprint: kicadFootprintMetadata.optional()
1622
1623
  }).optional(),