circuit-json 0.0.354 → 0.0.356

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
@@ -2136,6 +2136,10 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
2136
2136
  pcb_port_id: z.ZodOptional<z.ZodString>;
2137
2137
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
2138
2138
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
2139
+ soldermask_margin_left: z.ZodOptional<z.ZodNumber>;
2140
+ soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
2141
+ soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
2142
+ soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
2139
2143
  }, "strip", z.ZodTypeAny, {
2140
2144
  x: number;
2141
2145
  y: number;
@@ -2154,6 +2158,10 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
2154
2158
  pcb_port_id?: string | undefined;
2155
2159
  rect_border_radius?: number | undefined;
2156
2160
  corner_radius?: number | undefined;
2161
+ soldermask_margin_left?: number | undefined;
2162
+ soldermask_margin_top?: number | undefined;
2163
+ soldermask_margin_right?: number | undefined;
2164
+ soldermask_margin_bottom?: number | undefined;
2157
2165
  }, {
2158
2166
  x: string | number;
2159
2167
  y: string | number;
@@ -2174,6 +2182,10 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
2174
2182
  rect_border_radius?: number | undefined;
2175
2183
  pcb_smtpad_id?: string | undefined;
2176
2184
  corner_radius?: number | undefined;
2185
+ soldermask_margin_left?: number | undefined;
2186
+ soldermask_margin_top?: number | undefined;
2187
+ soldermask_margin_right?: number | undefined;
2188
+ soldermask_margin_bottom?: number | undefined;
2177
2189
  }>, z.ZodObject<{
2178
2190
  type: z.ZodLiteral<"pcb_smtpad">;
2179
2191
  shape: z.ZodLiteral<"rotated_rect">;
@@ -2201,6 +2213,10 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
2201
2213
  pcb_port_id: z.ZodOptional<z.ZodString>;
2202
2214
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
2203
2215
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
2216
+ soldermask_margin_left: z.ZodOptional<z.ZodNumber>;
2217
+ soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
2218
+ soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
2219
+ soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
2204
2220
  }, "strip", z.ZodTypeAny, {
2205
2221
  x: number;
2206
2222
  y: number;
@@ -2220,6 +2236,10 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
2220
2236
  pcb_port_id?: string | undefined;
2221
2237
  rect_border_radius?: number | undefined;
2222
2238
  corner_radius?: number | undefined;
2239
+ soldermask_margin_left?: number | undefined;
2240
+ soldermask_margin_top?: number | undefined;
2241
+ soldermask_margin_right?: number | undefined;
2242
+ soldermask_margin_bottom?: number | undefined;
2223
2243
  }, {
2224
2244
  x: string | number;
2225
2245
  y: string | number;
@@ -2241,6 +2261,10 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
2241
2261
  rect_border_radius?: number | undefined;
2242
2262
  pcb_smtpad_id?: string | undefined;
2243
2263
  corner_radius?: number | undefined;
2264
+ soldermask_margin_left?: number | undefined;
2265
+ soldermask_margin_top?: number | undefined;
2266
+ soldermask_margin_right?: number | undefined;
2267
+ soldermask_margin_bottom?: number | undefined;
2244
2268
  }>, z.ZodObject<{
2245
2269
  type: z.ZodLiteral<"pcb_smtpad">;
2246
2270
  shape: z.ZodLiteral<"rotated_pill">;
@@ -2472,6 +2496,10 @@ interface PcbSmtPadRect {
2472
2496
  pcb_port_id?: string;
2473
2497
  is_covered_with_solder_mask?: boolean;
2474
2498
  soldermask_margin?: number;
2499
+ soldermask_margin_left?: number;
2500
+ soldermask_margin_top?: number;
2501
+ soldermask_margin_right?: number;
2502
+ soldermask_margin_bottom?: number;
2475
2503
  }
2476
2504
  /**
2477
2505
  * Defines a rotated rectangular SMT pad on the PCB
@@ -2495,6 +2523,10 @@ interface PcbSmtPadRotatedRect {
2495
2523
  pcb_port_id?: string;
2496
2524
  is_covered_with_solder_mask?: boolean;
2497
2525
  soldermask_margin?: number;
2526
+ soldermask_margin_left?: number;
2527
+ soldermask_margin_top?: number;
2528
+ soldermask_margin_right?: number;
2529
+ soldermask_margin_bottom?: number;
2498
2530
  }
2499
2531
  /**
2500
2532
  * Defines a pill-shaped SMT pad on the PCB (rounded rectangle).
@@ -17104,6 +17136,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17104
17136
  pcb_port_id: z.ZodOptional<z.ZodString>;
17105
17137
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
17106
17138
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
17139
+ soldermask_margin_left: z.ZodOptional<z.ZodNumber>;
17140
+ soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
17141
+ soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
17142
+ soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
17107
17143
  }, "strip", z.ZodTypeAny, {
17108
17144
  x: number;
17109
17145
  y: number;
@@ -17122,6 +17158,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17122
17158
  pcb_port_id?: string | undefined;
17123
17159
  rect_border_radius?: number | undefined;
17124
17160
  corner_radius?: number | undefined;
17161
+ soldermask_margin_left?: number | undefined;
17162
+ soldermask_margin_top?: number | undefined;
17163
+ soldermask_margin_right?: number | undefined;
17164
+ soldermask_margin_bottom?: number | undefined;
17125
17165
  }, {
17126
17166
  x: string | number;
17127
17167
  y: string | number;
@@ -17142,6 +17182,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17142
17182
  rect_border_radius?: number | undefined;
17143
17183
  pcb_smtpad_id?: string | undefined;
17144
17184
  corner_radius?: number | undefined;
17185
+ soldermask_margin_left?: number | undefined;
17186
+ soldermask_margin_top?: number | undefined;
17187
+ soldermask_margin_right?: number | undefined;
17188
+ soldermask_margin_bottom?: number | undefined;
17145
17189
  }>, z.ZodObject<{
17146
17190
  type: z.ZodLiteral<"pcb_smtpad">;
17147
17191
  shape: z.ZodLiteral<"rotated_rect">;
@@ -17169,6 +17213,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17169
17213
  pcb_port_id: z.ZodOptional<z.ZodString>;
17170
17214
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
17171
17215
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
17216
+ soldermask_margin_left: z.ZodOptional<z.ZodNumber>;
17217
+ soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
17218
+ soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
17219
+ soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
17172
17220
  }, "strip", z.ZodTypeAny, {
17173
17221
  x: number;
17174
17222
  y: number;
@@ -17188,6 +17236,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17188
17236
  pcb_port_id?: string | undefined;
17189
17237
  rect_border_radius?: number | undefined;
17190
17238
  corner_radius?: number | undefined;
17239
+ soldermask_margin_left?: number | undefined;
17240
+ soldermask_margin_top?: number | undefined;
17241
+ soldermask_margin_right?: number | undefined;
17242
+ soldermask_margin_bottom?: number | undefined;
17191
17243
  }, {
17192
17244
  x: string | number;
17193
17245
  y: string | number;
@@ -17209,6 +17261,10 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
17209
17261
  rect_border_radius?: number | undefined;
17210
17262
  pcb_smtpad_id?: string | undefined;
17211
17263
  corner_radius?: number | undefined;
17264
+ soldermask_margin_left?: number | undefined;
17265
+ soldermask_margin_top?: number | undefined;
17266
+ soldermask_margin_right?: number | undefined;
17267
+ soldermask_margin_bottom?: number | undefined;
17212
17268
  }>, z.ZodObject<{
17213
17269
  type: z.ZodLiteral<"pcb_smtpad">;
17214
17270
  shape: z.ZodLiteral<"rotated_pill">;
@@ -25461,6 +25517,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25461
25517
  pcb_port_id: z.ZodOptional<z.ZodString>;
25462
25518
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
25463
25519
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
25520
+ soldermask_margin_left: z.ZodOptional<z.ZodNumber>;
25521
+ soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
25522
+ soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
25523
+ soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
25464
25524
  }, "strip", z.ZodTypeAny, {
25465
25525
  x: number;
25466
25526
  y: number;
@@ -25479,6 +25539,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25479
25539
  pcb_port_id?: string | undefined;
25480
25540
  rect_border_radius?: number | undefined;
25481
25541
  corner_radius?: number | undefined;
25542
+ soldermask_margin_left?: number | undefined;
25543
+ soldermask_margin_top?: number | undefined;
25544
+ soldermask_margin_right?: number | undefined;
25545
+ soldermask_margin_bottom?: number | undefined;
25482
25546
  }, {
25483
25547
  x: string | number;
25484
25548
  y: string | number;
@@ -25499,6 +25563,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25499
25563
  rect_border_radius?: number | undefined;
25500
25564
  pcb_smtpad_id?: string | undefined;
25501
25565
  corner_radius?: number | undefined;
25566
+ soldermask_margin_left?: number | undefined;
25567
+ soldermask_margin_top?: number | undefined;
25568
+ soldermask_margin_right?: number | undefined;
25569
+ soldermask_margin_bottom?: number | undefined;
25502
25570
  }>, z.ZodObject<{
25503
25571
  type: z.ZodLiteral<"pcb_smtpad">;
25504
25572
  shape: z.ZodLiteral<"rotated_rect">;
@@ -25526,6 +25594,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25526
25594
  pcb_port_id: z.ZodOptional<z.ZodString>;
25527
25595
  is_covered_with_solder_mask: z.ZodOptional<z.ZodBoolean>;
25528
25596
  soldermask_margin: z.ZodOptional<z.ZodNumber>;
25597
+ soldermask_margin_left: z.ZodOptional<z.ZodNumber>;
25598
+ soldermask_margin_top: z.ZodOptional<z.ZodNumber>;
25599
+ soldermask_margin_right: z.ZodOptional<z.ZodNumber>;
25600
+ soldermask_margin_bottom: z.ZodOptional<z.ZodNumber>;
25529
25601
  }, "strip", z.ZodTypeAny, {
25530
25602
  x: number;
25531
25603
  y: number;
@@ -25545,6 +25617,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25545
25617
  pcb_port_id?: string | undefined;
25546
25618
  rect_border_radius?: number | undefined;
25547
25619
  corner_radius?: number | undefined;
25620
+ soldermask_margin_left?: number | undefined;
25621
+ soldermask_margin_top?: number | undefined;
25622
+ soldermask_margin_right?: number | undefined;
25623
+ soldermask_margin_bottom?: number | undefined;
25548
25624
  }, {
25549
25625
  x: string | number;
25550
25626
  y: string | number;
@@ -25566,6 +25642,10 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
25566
25642
  rect_border_radius?: number | undefined;
25567
25643
  pcb_smtpad_id?: string | undefined;
25568
25644
  corner_radius?: number | undefined;
25645
+ soldermask_margin_left?: number | undefined;
25646
+ soldermask_margin_top?: number | undefined;
25647
+ soldermask_margin_right?: number | undefined;
25648
+ soldermask_margin_bottom?: number | undefined;
25569
25649
  }>, z.ZodObject<{
25570
25650
  type: z.ZodLiteral<"pcb_smtpad">;
25571
25651
  shape: z.ZodLiteral<"rotated_pill">;
package/dist/index.mjs CHANGED
@@ -1696,7 +1696,11 @@ var pcb_smtpad_rect = z80.object({
1696
1696
  pcb_component_id: z80.string().optional(),
1697
1697
  pcb_port_id: z80.string().optional(),
1698
1698
  is_covered_with_solder_mask: z80.boolean().optional(),
1699
- soldermask_margin: z80.number().optional()
1699
+ soldermask_margin: z80.number().optional(),
1700
+ soldermask_margin_left: z80.number().optional(),
1701
+ soldermask_margin_top: z80.number().optional(),
1702
+ soldermask_margin_right: z80.number().optional(),
1703
+ soldermask_margin_bottom: z80.number().optional()
1700
1704
  });
1701
1705
  var pcb_smtpad_rotated_rect = z80.object({
1702
1706
  type: z80.literal("pcb_smtpad"),
@@ -1716,7 +1720,11 @@ var pcb_smtpad_rotated_rect = z80.object({
1716
1720
  pcb_component_id: z80.string().optional(),
1717
1721
  pcb_port_id: z80.string().optional(),
1718
1722
  is_covered_with_solder_mask: z80.boolean().optional(),
1719
- soldermask_margin: z80.number().optional()
1723
+ soldermask_margin: z80.number().optional(),
1724
+ soldermask_margin_left: z80.number().optional(),
1725
+ soldermask_margin_top: z80.number().optional(),
1726
+ soldermask_margin_right: z80.number().optional(),
1727
+ soldermask_margin_bottom: z80.number().optional()
1720
1728
  });
1721
1729
  var pcb_smtpad_pill = z80.object({
1722
1730
  type: z80.literal("pcb_smtpad"),