circuit-json 0.0.281 → 0.0.282
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 +20 -0
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1548,6 +1548,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1548
1548
|
width: z.ZodNumber;
|
|
1549
1549
|
height: z.ZodNumber;
|
|
1550
1550
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
1551
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
1551
1552
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
1552
1553
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
1553
1554
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1577,6 +1578,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1577
1578
|
pcb_port_id?: string | undefined;
|
|
1578
1579
|
rect_border_radius?: number | undefined;
|
|
1579
1580
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
1581
|
+
corner_radius?: number | undefined;
|
|
1580
1582
|
}, {
|
|
1581
1583
|
x: string | number;
|
|
1582
1584
|
y: string | number;
|
|
@@ -1595,6 +1597,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1595
1597
|
rect_border_radius?: number | undefined;
|
|
1596
1598
|
pcb_smtpad_id?: string | undefined;
|
|
1597
1599
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
1600
|
+
corner_radius?: number | undefined;
|
|
1598
1601
|
}>, z.ZodObject<{
|
|
1599
1602
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1600
1603
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -1606,6 +1609,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1606
1609
|
width: z.ZodNumber;
|
|
1607
1610
|
height: z.ZodNumber;
|
|
1608
1611
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
1612
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
1609
1613
|
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
1610
1614
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
1611
1615
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
@@ -1637,6 +1641,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1637
1641
|
pcb_port_id?: string | undefined;
|
|
1638
1642
|
rect_border_radius?: number | undefined;
|
|
1639
1643
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
1644
|
+
corner_radius?: number | undefined;
|
|
1640
1645
|
}, {
|
|
1641
1646
|
x: string | number;
|
|
1642
1647
|
y: string | number;
|
|
@@ -1656,6 +1661,7 @@ declare const pcb_smtpad: z.ZodDiscriminatedUnion<"shape", [z.ZodObject<{
|
|
|
1656
1661
|
rect_border_radius?: number | undefined;
|
|
1657
1662
|
pcb_smtpad_id?: string | undefined;
|
|
1658
1663
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
1664
|
+
corner_radius?: number | undefined;
|
|
1659
1665
|
}>, z.ZodObject<{
|
|
1660
1666
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
1661
1667
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -1870,6 +1876,7 @@ interface PcbSmtPadRect {
|
|
|
1870
1876
|
width: number;
|
|
1871
1877
|
height: number;
|
|
1872
1878
|
rect_border_radius?: number;
|
|
1879
|
+
corner_radius?: number;
|
|
1873
1880
|
layer: LayerRef;
|
|
1874
1881
|
port_hints?: string[];
|
|
1875
1882
|
pcb_component_id?: string;
|
|
@@ -1890,6 +1897,7 @@ interface PcbSmtPadRotatedRect {
|
|
|
1890
1897
|
width: number;
|
|
1891
1898
|
height: number;
|
|
1892
1899
|
rect_border_radius?: number;
|
|
1900
|
+
corner_radius?: number;
|
|
1893
1901
|
ccw_rotation: Rotation;
|
|
1894
1902
|
layer: LayerRef;
|
|
1895
1903
|
port_hints?: string[];
|
|
@@ -14416,6 +14424,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14416
14424
|
width: z.ZodNumber;
|
|
14417
14425
|
height: z.ZodNumber;
|
|
14418
14426
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
14427
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
14419
14428
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
14420
14429
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
14421
14430
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -14445,6 +14454,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14445
14454
|
pcb_port_id?: string | undefined;
|
|
14446
14455
|
rect_border_radius?: number | undefined;
|
|
14447
14456
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
14457
|
+
corner_radius?: number | undefined;
|
|
14448
14458
|
}, {
|
|
14449
14459
|
x: string | number;
|
|
14450
14460
|
y: string | number;
|
|
@@ -14463,6 +14473,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14463
14473
|
rect_border_radius?: number | undefined;
|
|
14464
14474
|
pcb_smtpad_id?: string | undefined;
|
|
14465
14475
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
14476
|
+
corner_radius?: number | undefined;
|
|
14466
14477
|
}>, z.ZodObject<{
|
|
14467
14478
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
14468
14479
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -14474,6 +14485,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14474
14485
|
width: z.ZodNumber;
|
|
14475
14486
|
height: z.ZodNumber;
|
|
14476
14487
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
14488
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
14477
14489
|
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
14478
14490
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
14479
14491
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
@@ -14505,6 +14517,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14505
14517
|
pcb_port_id?: string | undefined;
|
|
14506
14518
|
rect_border_radius?: number | undefined;
|
|
14507
14519
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
14520
|
+
corner_radius?: number | undefined;
|
|
14508
14521
|
}, {
|
|
14509
14522
|
x: string | number;
|
|
14510
14523
|
y: string | number;
|
|
@@ -14524,6 +14537,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
14524
14537
|
rect_border_radius?: number | undefined;
|
|
14525
14538
|
pcb_smtpad_id?: string | undefined;
|
|
14526
14539
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
14540
|
+
corner_radius?: number | undefined;
|
|
14527
14541
|
}>, z.ZodObject<{
|
|
14528
14542
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
14529
14543
|
shape: z.ZodLiteral<"rotated_pill">;
|
|
@@ -21563,6 +21577,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21563
21577
|
width: z.ZodNumber;
|
|
21564
21578
|
height: z.ZodNumber;
|
|
21565
21579
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
21580
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
21566
21581
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
21567
21582
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
21568
21583
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21592,6 +21607,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21592
21607
|
pcb_port_id?: string | undefined;
|
|
21593
21608
|
rect_border_radius?: number | undefined;
|
|
21594
21609
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
21610
|
+
corner_radius?: number | undefined;
|
|
21595
21611
|
}, {
|
|
21596
21612
|
x: string | number;
|
|
21597
21613
|
y: string | number;
|
|
@@ -21610,6 +21626,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21610
21626
|
rect_border_radius?: number | undefined;
|
|
21611
21627
|
pcb_smtpad_id?: string | undefined;
|
|
21612
21628
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
21629
|
+
corner_radius?: number | undefined;
|
|
21613
21630
|
}>, z.ZodObject<{
|
|
21614
21631
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
21615
21632
|
shape: z.ZodLiteral<"rotated_rect">;
|
|
@@ -21621,6 +21638,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21621
21638
|
width: z.ZodNumber;
|
|
21622
21639
|
height: z.ZodNumber;
|
|
21623
21640
|
rect_border_radius: z.ZodOptional<z.ZodNumber>;
|
|
21641
|
+
corner_radius: z.ZodOptional<z.ZodNumber>;
|
|
21624
21642
|
ccw_rotation: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
21625
21643
|
layer: z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
21626
21644
|
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
@@ -21652,6 +21670,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21652
21670
|
pcb_port_id?: string | undefined;
|
|
21653
21671
|
rect_border_radius?: number | undefined;
|
|
21654
21672
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
21673
|
+
corner_radius?: number | undefined;
|
|
21655
21674
|
}, {
|
|
21656
21675
|
x: string | number;
|
|
21657
21676
|
y: string | number;
|
|
@@ -21671,6 +21690,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
21671
21690
|
rect_border_radius?: number | undefined;
|
|
21672
21691
|
pcb_smtpad_id?: string | undefined;
|
|
21673
21692
|
is_covered_with_solder_mask?: boolean | undefined;
|
|
21693
|
+
corner_radius?: number | undefined;
|
|
21674
21694
|
}>, z.ZodObject<{
|
|
21675
21695
|
type: z.ZodLiteral<"pcb_smtpad">;
|
|
21676
21696
|
shape: z.ZodLiteral<"rotated_pill">;
|
package/dist/index.mjs
CHANGED
|
@@ -1473,6 +1473,7 @@ var pcb_smtpad_rect = z71.object({
|
|
|
1473
1473
|
width: z71.number(),
|
|
1474
1474
|
height: z71.number(),
|
|
1475
1475
|
rect_border_radius: z71.number().optional(),
|
|
1476
|
+
corner_radius: z71.number().optional(),
|
|
1476
1477
|
layer: layer_ref,
|
|
1477
1478
|
port_hints: z71.array(z71.string()).optional(),
|
|
1478
1479
|
pcb_component_id: z71.string().optional(),
|
|
@@ -1490,6 +1491,7 @@ var pcb_smtpad_rotated_rect = z71.object({
|
|
|
1490
1491
|
width: z71.number(),
|
|
1491
1492
|
height: z71.number(),
|
|
1492
1493
|
rect_border_radius: z71.number().optional(),
|
|
1494
|
+
corner_radius: z71.number().optional(),
|
|
1493
1495
|
ccw_rotation: rotation,
|
|
1494
1496
|
layer: layer_ref,
|
|
1495
1497
|
port_hints: z71.array(z71.string()).optional(),
|