circuit-json 0.0.316 → 0.0.317

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/README.md CHANGED
@@ -1127,6 +1127,7 @@ interface PcbCutoutRect {
1127
1127
  width: Length
1128
1128
  height: Length
1129
1129
  rotation?: Rotation
1130
+ corner_radius?: Length
1130
1131
  }
1131
1132
  ```
1132
1133
 
package/dist/index.d.mts CHANGED
@@ -5326,6 +5326,7 @@ declare const pcb_cutout_rect: z.ZodObject<{
5326
5326
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5327
5327
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5328
5328
  rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5329
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5329
5330
  }, "strip", z.ZodTypeAny, {
5330
5331
  type: "pcb_cutout";
5331
5332
  width: number;
@@ -5339,6 +5340,7 @@ declare const pcb_cutout_rect: z.ZodObject<{
5339
5340
  rotation?: number | undefined;
5340
5341
  subcircuit_id?: string | undefined;
5341
5342
  pcb_group_id?: string | undefined;
5343
+ corner_radius?: number | undefined;
5342
5344
  pcb_board_id?: string | undefined;
5343
5345
  pcb_panel_id?: string | undefined;
5344
5346
  }, {
@@ -5353,6 +5355,7 @@ declare const pcb_cutout_rect: z.ZodObject<{
5353
5355
  rotation?: string | number | undefined;
5354
5356
  subcircuit_id?: string | undefined;
5355
5357
  pcb_group_id?: string | undefined;
5358
+ corner_radius?: string | number | undefined;
5356
5359
  pcb_board_id?: string | undefined;
5357
5360
  pcb_panel_id?: string | undefined;
5358
5361
  pcb_cutout_id?: string | undefined;
@@ -5373,6 +5376,7 @@ interface PcbCutoutRect {
5373
5376
  width: Length;
5374
5377
  height: Length;
5375
5378
  rotation?: Rotation;
5379
+ corner_radius?: Length;
5376
5380
  }
5377
5381
  declare const pcb_cutout_circle: z.ZodObject<{
5378
5382
  type: z.ZodLiteral<"pcb_cutout">;
@@ -5594,6 +5598,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5594
5598
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5595
5599
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
5596
5600
  rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5601
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
5597
5602
  }, "strip", z.ZodTypeAny, {
5598
5603
  type: "pcb_cutout";
5599
5604
  width: number;
@@ -5607,6 +5612,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5607
5612
  rotation?: number | undefined;
5608
5613
  subcircuit_id?: string | undefined;
5609
5614
  pcb_group_id?: string | undefined;
5615
+ corner_radius?: number | undefined;
5610
5616
  pcb_board_id?: string | undefined;
5611
5617
  pcb_panel_id?: string | undefined;
5612
5618
  }, {
@@ -5621,6 +5627,7 @@ declare const pcb_cutout: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
5621
5627
  rotation?: string | number | undefined;
5622
5628
  subcircuit_id?: string | undefined;
5623
5629
  pcb_group_id?: string | undefined;
5630
+ corner_radius?: string | number | undefined;
5624
5631
  pcb_board_id?: string | undefined;
5625
5632
  pcb_panel_id?: string | undefined;
5626
5633
  pcb_cutout_id?: string | undefined;
@@ -18098,6 +18105,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
18098
18105
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
18099
18106
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
18100
18107
  rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
18108
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
18101
18109
  }, "strip", z.ZodTypeAny, {
18102
18110
  type: "pcb_cutout";
18103
18111
  width: number;
@@ -18111,6 +18119,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
18111
18119
  rotation?: number | undefined;
18112
18120
  subcircuit_id?: string | undefined;
18113
18121
  pcb_group_id?: string | undefined;
18122
+ corner_radius?: number | undefined;
18114
18123
  pcb_board_id?: string | undefined;
18115
18124
  pcb_panel_id?: string | undefined;
18116
18125
  }, {
@@ -18125,6 +18134,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
18125
18134
  rotation?: string | number | undefined;
18126
18135
  subcircuit_id?: string | undefined;
18127
18136
  pcb_group_id?: string | undefined;
18137
+ corner_radius?: string | number | undefined;
18128
18138
  pcb_board_id?: string | undefined;
18129
18139
  pcb_panel_id?: string | undefined;
18130
18140
  pcb_cutout_id?: string | undefined;
@@ -25969,6 +25979,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25969
25979
  width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
25970
25980
  height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
25971
25981
  rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
25982
+ corner_radius: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
25972
25983
  }, "strip", z.ZodTypeAny, {
25973
25984
  type: "pcb_cutout";
25974
25985
  width: number;
@@ -25982,6 +25993,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25982
25993
  rotation?: number | undefined;
25983
25994
  subcircuit_id?: string | undefined;
25984
25995
  pcb_group_id?: string | undefined;
25996
+ corner_radius?: number | undefined;
25985
25997
  pcb_board_id?: string | undefined;
25986
25998
  pcb_panel_id?: string | undefined;
25987
25999
  }, {
@@ -25996,6 +26008,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25996
26008
  rotation?: string | number | undefined;
25997
26009
  subcircuit_id?: string | undefined;
25998
26010
  pcb_group_id?: string | undefined;
26011
+ corner_radius?: string | number | undefined;
25999
26012
  pcb_board_id?: string | undefined;
26000
26013
  pcb_panel_id?: string | undefined;
26001
26014
  pcb_cutout_id?: string | undefined;
package/dist/index.mjs CHANGED
@@ -2378,7 +2378,8 @@ var pcb_cutout_rect = pcb_cutout_base.extend({
2378
2378
  center: point,
2379
2379
  width: length,
2380
2380
  height: length,
2381
- rotation: rotation.optional()
2381
+ rotation: rotation.optional(),
2382
+ corner_radius: length.optional()
2382
2383
  });
2383
2384
  expectTypesMatch(true);
2384
2385
  var pcb_cutout_circle = pcb_cutout_base.extend({