circuit-json 0.0.353 → 0.0.354
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 +10 -0
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1454,6 +1454,7 @@ interface PcbHoleWithPolygonPad {
|
|
|
1454
1454
|
pcb_port_id?: string;
|
|
1455
1455
|
pcb_plated_hole_id: string;
|
|
1456
1456
|
soldermask_margin?: number;
|
|
1457
|
+
ccw_rotation?: Rotation;
|
|
1457
1458
|
}
|
|
1458
1459
|
declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
1459
1460
|
type: z.ZodLiteral<"pcb_plated_hole">;
|
|
@@ -1858,6 +1859,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1858
1859
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
1859
1860
|
pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1860
1861
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
1862
|
+
ccw_rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
1861
1863
|
}, "strip", z.ZodTypeAny, {
|
|
1862
1864
|
x: number;
|
|
1863
1865
|
y: number;
|
|
@@ -1880,6 +1882,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1880
1882
|
soldermask_margin?: number | undefined;
|
|
1881
1883
|
hole_width?: number | undefined;
|
|
1882
1884
|
hole_height?: number | undefined;
|
|
1885
|
+
ccw_rotation?: number | undefined;
|
|
1883
1886
|
port_hints?: string[] | undefined;
|
|
1884
1887
|
pcb_port_id?: string | undefined;
|
|
1885
1888
|
}, {
|
|
@@ -1903,6 +1906,7 @@ declare const pcb_plated_hole: z.ZodUnion<[z.ZodObject<{
|
|
|
1903
1906
|
soldermask_margin?: number | undefined;
|
|
1904
1907
|
hole_width?: number | undefined;
|
|
1905
1908
|
hole_height?: number | undefined;
|
|
1909
|
+
ccw_rotation?: string | number | undefined;
|
|
1906
1910
|
port_hints?: string[] | undefined;
|
|
1907
1911
|
pcb_port_id?: string | undefined;
|
|
1908
1912
|
pcb_plated_hole_id?: string | undefined;
|
|
@@ -16542,6 +16546,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16542
16546
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
16543
16547
|
pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
16544
16548
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
16549
|
+
ccw_rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
16545
16550
|
}, "strip", z.ZodTypeAny, {
|
|
16546
16551
|
x: number;
|
|
16547
16552
|
y: number;
|
|
@@ -16564,6 +16569,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16564
16569
|
soldermask_margin?: number | undefined;
|
|
16565
16570
|
hole_width?: number | undefined;
|
|
16566
16571
|
hole_height?: number | undefined;
|
|
16572
|
+
ccw_rotation?: number | undefined;
|
|
16567
16573
|
port_hints?: string[] | undefined;
|
|
16568
16574
|
pcb_port_id?: string | undefined;
|
|
16569
16575
|
}, {
|
|
@@ -16587,6 +16593,7 @@ declare const any_circuit_element: z.ZodUnion<[z.ZodObject<{
|
|
|
16587
16593
|
soldermask_margin?: number | undefined;
|
|
16588
16594
|
hole_width?: number | undefined;
|
|
16589
16595
|
hole_height?: number | undefined;
|
|
16596
|
+
ccw_rotation?: string | number | undefined;
|
|
16590
16597
|
port_hints?: string[] | undefined;
|
|
16591
16598
|
pcb_port_id?: string | undefined;
|
|
16592
16599
|
pcb_plated_hole_id?: string | undefined;
|
|
@@ -24896,6 +24903,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24896
24903
|
pcb_port_id: z.ZodOptional<z.ZodString>;
|
|
24897
24904
|
pcb_plated_hole_id: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
24898
24905
|
soldermask_margin: z.ZodOptional<z.ZodNumber>;
|
|
24906
|
+
ccw_rotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24899
24907
|
}, "strip", z.ZodTypeAny, {
|
|
24900
24908
|
x: number;
|
|
24901
24909
|
y: number;
|
|
@@ -24918,6 +24926,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24918
24926
|
soldermask_margin?: number | undefined;
|
|
24919
24927
|
hole_width?: number | undefined;
|
|
24920
24928
|
hole_height?: number | undefined;
|
|
24929
|
+
ccw_rotation?: number | undefined;
|
|
24921
24930
|
port_hints?: string[] | undefined;
|
|
24922
24931
|
pcb_port_id?: string | undefined;
|
|
24923
24932
|
}, {
|
|
@@ -24941,6 +24950,7 @@ declare const any_soup_element: z.ZodUnion<[z.ZodObject<{
|
|
|
24941
24950
|
soldermask_margin?: number | undefined;
|
|
24942
24951
|
hole_width?: number | undefined;
|
|
24943
24952
|
hole_height?: number | undefined;
|
|
24953
|
+
ccw_rotation?: string | number | undefined;
|
|
24944
24954
|
port_hints?: string[] | undefined;
|
|
24945
24955
|
pcb_port_id?: string | undefined;
|
|
24946
24956
|
pcb_plated_hole_id?: string | undefined;
|
package/dist/index.mjs
CHANGED
|
@@ -1625,7 +1625,8 @@ var pcb_hole_with_polygon_pad = z78.object({
|
|
|
1625
1625
|
pcb_component_id: z78.string().optional(),
|
|
1626
1626
|
pcb_port_id: z78.string().optional(),
|
|
1627
1627
|
pcb_plated_hole_id: getZodPrefixedIdWithDefault("pcb_plated_hole"),
|
|
1628
|
-
soldermask_margin: z78.number().optional()
|
|
1628
|
+
soldermask_margin: z78.number().optional(),
|
|
1629
|
+
ccw_rotation: rotation.optional()
|
|
1629
1630
|
});
|
|
1630
1631
|
var pcb_plated_hole = z78.union([
|
|
1631
1632
|
pcb_plated_hole_circle,
|