@tscircuit/eval 0.0.459 → 0.0.461

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.
@@ -849,6 +849,25 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
849
849
  ccw_rotation: number;
850
850
  subcircuit_id?: string | undefined;
851
851
  pcb_group_id?: string | undefined;
852
+ } | {
853
+ x: number;
854
+ y: number;
855
+ type: "pcb_hole";
856
+ pcb_hole_id: string;
857
+ hole_shape: "circle";
858
+ hole_diameter: number;
859
+ subcircuit_id?: string | undefined;
860
+ pcb_group_id?: string | undefined;
861
+ } | {
862
+ x: number;
863
+ y: number;
864
+ type: "pcb_hole";
865
+ pcb_hole_id: string;
866
+ hole_shape: "rect";
867
+ hole_width: number;
868
+ hole_height: number;
869
+ subcircuit_id?: string | undefined;
870
+ pcb_group_id?: string | undefined;
852
871
  } | {
853
872
  message: string;
854
873
  type: "pcb_missing_footprint_error";
@@ -1259,6 +1278,7 @@ declare function runTscircuitCode(filesystemOrCodeString: Record<string, string>
1259
1278
  width?: number | undefined;
1260
1279
  height?: number | undefined;
1261
1280
  subcircuit_id?: string | undefined;
1281
+ shape?: "rect" | "polygon" | undefined;
1262
1282
  pcb_panel_id?: string | undefined;
1263
1283
  is_subcircuit?: boolean | undefined;
1264
1284
  outline?: {
@@ -3005,6 +3025,25 @@ declare const runTscircuitModule: (module: string, opts?: {
3005
3025
  ccw_rotation: number;
3006
3026
  subcircuit_id?: string | undefined;
3007
3027
  pcb_group_id?: string | undefined;
3028
+ } | {
3029
+ x: number;
3030
+ y: number;
3031
+ type: "pcb_hole";
3032
+ pcb_hole_id: string;
3033
+ hole_shape: "circle";
3034
+ hole_diameter: number;
3035
+ subcircuit_id?: string | undefined;
3036
+ pcb_group_id?: string | undefined;
3037
+ } | {
3038
+ x: number;
3039
+ y: number;
3040
+ type: "pcb_hole";
3041
+ pcb_hole_id: string;
3042
+ hole_shape: "rect";
3043
+ hole_width: number;
3044
+ hole_height: number;
3045
+ subcircuit_id?: string | undefined;
3046
+ pcb_group_id?: string | undefined;
3008
3047
  } | {
3009
3048
  message: string;
3010
3049
  type: "pcb_missing_footprint_error";
@@ -3415,6 +3454,7 @@ declare const runTscircuitModule: (module: string, opts?: {
3415
3454
  width?: number | undefined;
3416
3455
  height?: number | undefined;
3417
3456
  subcircuit_id?: string | undefined;
3457
+ shape?: "rect" | "polygon" | undefined;
3418
3458
  pcb_panel_id?: string | undefined;
3419
3459
  is_subcircuit?: boolean | undefined;
3420
3460
  outline?: {