circuit-json 0.0.164 → 0.0.165

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
@@ -3831,6 +3831,10 @@ declare const schematic_trace: z.ZodObject<{
3831
3831
  }>;
3832
3832
  type SchematicTraceInput = z.input<typeof schematic_trace>;
3833
3833
 
3834
+ type NinePointAnchor = "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
3835
+
3836
+ type FivePointAnchor = "center" | "left" | "right" | "top" | "bottom";
3837
+
3834
3838
  interface SchematicText {
3835
3839
  type: "schematic_text";
3836
3840
  schematic_component_id: string;
@@ -3841,7 +3845,7 @@ interface SchematicText {
3841
3845
  y: number;
3842
3846
  };
3843
3847
  rotation: number;
3844
- anchor: "center" | "left" | "right" | "top" | "bottom";
3848
+ anchor: NinePointAnchor | FivePointAnchor;
3845
3849
  color: string;
3846
3850
  }
3847
3851
  declare const schematic_text: z.ZodObject<{
@@ -3860,10 +3864,10 @@ declare const schematic_text: z.ZodObject<{
3860
3864
  y: string | number;
3861
3865
  }>;
3862
3866
  rotation: z.ZodDefault<z.ZodNumber>;
3863
- anchor: z.ZodDefault<z.ZodEnum<["center", "left", "right", "top", "bottom"]>>;
3867
+ anchor: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["center", "left", "right", "top", "bottom"]>, z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>]>>;
3864
3868
  color: z.ZodDefault<z.ZodString>;
3865
3869
  }, "strip", z.ZodTypeAny, {
3866
- anchor: "top" | "bottom" | "center" | "left" | "right";
3870
+ anchor: "top" | "bottom" | "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | "left" | "right";
3867
3871
  type: "schematic_text";
3868
3872
  rotation: number;
3869
3873
  text: string;
@@ -3883,7 +3887,7 @@ declare const schematic_text: z.ZodObject<{
3883
3887
  x: string | number;
3884
3888
  y: string | number;
3885
3889
  };
3886
- anchor?: "top" | "bottom" | "center" | "left" | "right" | undefined;
3890
+ anchor?: "top" | "bottom" | "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | "left" | "right" | undefined;
3887
3891
  rotation?: number | undefined;
3888
3892
  color?: string | undefined;
3889
3893
  }>;
@@ -9298,10 +9302,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9298
9302
  y: string | number;
9299
9303
  }>;
9300
9304
  rotation: z.ZodDefault<z.ZodNumber>;
9301
- anchor: z.ZodDefault<z.ZodEnum<["center", "left", "right", "top", "bottom"]>>;
9305
+ anchor: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["center", "left", "right", "top", "bottom"]>, z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>]>>;
9302
9306
  color: z.ZodDefault<z.ZodString>;
9303
9307
  }, "strip", z.ZodTypeAny, {
9304
- anchor: "top" | "bottom" | "center" | "left" | "right";
9308
+ anchor: "top" | "bottom" | "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | "left" | "right";
9305
9309
  type: "schematic_text";
9306
9310
  rotation: number;
9307
9311
  text: string;
@@ -9321,7 +9325,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
9321
9325
  x: string | number;
9322
9326
  y: string | number;
9323
9327
  };
9324
- anchor?: "top" | "bottom" | "center" | "left" | "right" | undefined;
9328
+ anchor?: "top" | "bottom" | "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | "left" | "right" | undefined;
9325
9329
  rotation?: number | undefined;
9326
9330
  color?: string | undefined;
9327
9331
  }>, z.ZodObject<{
@@ -13274,10 +13278,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13274
13278
  y: string | number;
13275
13279
  }>;
13276
13280
  rotation: z.ZodDefault<z.ZodNumber>;
13277
- anchor: z.ZodDefault<z.ZodEnum<["center", "left", "right", "top", "bottom"]>>;
13281
+ anchor: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["center", "left", "right", "top", "bottom"]>, z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>]>>;
13278
13282
  color: z.ZodDefault<z.ZodString>;
13279
13283
  }, "strip", z.ZodTypeAny, {
13280
- anchor: "top" | "bottom" | "center" | "left" | "right";
13284
+ anchor: "top" | "bottom" | "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | "left" | "right";
13281
13285
  type: "schematic_text";
13282
13286
  rotation: number;
13283
13287
  text: string;
@@ -13297,7 +13301,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
13297
13301
  x: string | number;
13298
13302
  y: string | number;
13299
13303
  };
13300
- anchor?: "top" | "bottom" | "center" | "left" | "right" | undefined;
13304
+ anchor?: "top" | "bottom" | "center" | "top_left" | "top_right" | "bottom_left" | "bottom_right" | "top_center" | "center_left" | "center_right" | "bottom_center" | "left" | "right" | undefined;
13301
13305
  rotation?: number | undefined;
13302
13306
  color?: string | undefined;
13303
13307
  }>, z.ZodObject<{