@tscircuit/props 0.0.544 → 0.0.546
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.ts +187 -27
- package/dist/index.js +10 -1
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +2 -2
- package/lib/components/hole.ts +24 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -17938,7 +17938,7 @@ interface SubcircuitGroupProps extends BaseGroupProps, RoutingTolerances {
|
|
|
17938
17938
|
pcbRouteCache?: PcbRouteCache;
|
|
17939
17939
|
autorouter?: AutorouterProp;
|
|
17940
17940
|
autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x";
|
|
17941
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest";
|
|
17941
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest";
|
|
17942
17942
|
/**
|
|
17943
17943
|
* Serialized circuit JSON describing a precompiled subcircuit
|
|
17944
17944
|
*/
|
|
@@ -19616,7 +19616,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
19616
19616
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
19617
19617
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
19618
19618
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
19619
|
-
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
|
|
19619
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
19620
19620
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
19621
19621
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
19622
19622
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -20077,7 +20077,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
20077
20077
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
20078
20078
|
autorouter?: AutorouterProp | undefined;
|
|
20079
20079
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
20080
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
20080
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
20081
20081
|
circuitJson?: any[] | undefined;
|
|
20082
20082
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
20083
20083
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -20396,7 +20396,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
20396
20396
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
20397
20397
|
autorouter?: AutorouterProp | undefined;
|
|
20398
20398
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
20399
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
20399
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
20400
20400
|
circuitJson?: any[] | undefined;
|
|
20401
20401
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
20402
20402
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -21013,7 +21013,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
21013
21013
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
21014
21014
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
21015
21015
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
21016
|
-
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
|
|
21016
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
21017
21017
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
21018
21018
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
21019
21019
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -21477,7 +21477,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
21477
21477
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
21478
21478
|
autorouter?: AutorouterProp | undefined;
|
|
21479
21479
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
21480
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
21480
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
21481
21481
|
circuitJson?: any[] | undefined;
|
|
21482
21482
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
21483
21483
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -21797,7 +21797,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
21797
21797
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
21798
21798
|
autorouter?: AutorouterProp | undefined;
|
|
21799
21799
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
21800
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
21800
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
21801
21801
|
circuitJson?: any[] | undefined;
|
|
21802
21802
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
21803
21803
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -23494,7 +23494,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
23494
23494
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
23495
23495
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
23496
23496
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
23497
|
-
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
|
|
23497
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
23498
23498
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
23499
23499
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
23500
23500
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -23958,7 +23958,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
23958
23958
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
23959
23959
|
autorouter?: AutorouterProp | undefined;
|
|
23960
23960
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
23961
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
23961
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
23962
23962
|
circuitJson?: any[] | undefined;
|
|
23963
23963
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
23964
23964
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -24278,7 +24278,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
24278
24278
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
24279
24279
|
autorouter?: AutorouterProp | undefined;
|
|
24280
24280
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
24281
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
24281
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
24282
24282
|
circuitJson?: any[] | undefined;
|
|
24283
24283
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
24284
24284
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -24926,7 +24926,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
24926
24926
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
24927
24927
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
24928
24928
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
24929
|
-
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
|
|
24929
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
24930
24930
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
24931
24931
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
24932
24932
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -25416,7 +25416,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
25416
25416
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
25417
25417
|
autorouter?: AutorouterProp | undefined;
|
|
25418
25418
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
25419
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
25419
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
25420
25420
|
circuitJson?: any[] | undefined;
|
|
25421
25421
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
25422
25422
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -25751,7 +25751,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
25751
25751
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
25752
25752
|
autorouter?: AutorouterProp | undefined;
|
|
25753
25753
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
25754
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
25754
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
25755
25755
|
circuitJson?: any[] | undefined;
|
|
25756
25756
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
25757
25757
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -28685,7 +28685,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
28685
28685
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
28686
28686
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
28687
28687
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
28688
|
-
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
|
|
28688
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
28689
28689
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
28690
28690
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
28691
28691
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -29152,7 +29152,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
29152
29152
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
29153
29153
|
autorouter?: AutorouterProp | undefined;
|
|
29154
29154
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
29155
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
29155
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
29156
29156
|
circuitJson?: any[] | undefined;
|
|
29157
29157
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
29158
29158
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -29471,7 +29471,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
29471
29471
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
29472
29472
|
autorouter?: AutorouterProp | undefined;
|
|
29473
29473
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
29474
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
29474
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
29475
29475
|
circuitJson?: any[] | undefined;
|
|
29476
29476
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
29477
29477
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -89216,7 +89216,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
89216
89216
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
89217
89217
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
89218
89218
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
89219
|
-
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
|
|
89219
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
89220
89220
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
89221
89221
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
89222
89222
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -89721,7 +89721,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
89721
89721
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
89722
89722
|
autorouter?: AutorouterProp | undefined;
|
|
89723
89723
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
89724
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
89724
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
89725
89725
|
circuitJson?: any[] | undefined;
|
|
89726
89726
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
89727
89727
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -90066,7 +90066,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
90066
90066
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
90067
90067
|
autorouter?: AutorouterProp | undefined;
|
|
90068
90068
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
90069
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
90069
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
90070
90070
|
circuitJson?: any[] | undefined;
|
|
90071
90071
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
90072
90072
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -102670,6 +102670,14 @@ interface PillHoleProps extends PcbLayoutProps {
|
|
|
102670
102670
|
solderMaskMargin?: Distance;
|
|
102671
102671
|
coveredWithSolderMask?: boolean;
|
|
102672
102672
|
}
|
|
102673
|
+
interface OvalHoleProps extends PcbLayoutProps {
|
|
102674
|
+
name?: string;
|
|
102675
|
+
shape: "oval";
|
|
102676
|
+
width: Distance;
|
|
102677
|
+
height: Distance;
|
|
102678
|
+
solderMaskMargin?: Distance;
|
|
102679
|
+
coveredWithSolderMask?: boolean;
|
|
102680
|
+
}
|
|
102673
102681
|
interface RectHoleProps extends PcbLayoutProps {
|
|
102674
102682
|
name?: string;
|
|
102675
102683
|
shape: "rect";
|
|
@@ -102678,7 +102686,7 @@ interface RectHoleProps extends PcbLayoutProps {
|
|
|
102678
102686
|
solderMaskMargin?: Distance;
|
|
102679
102687
|
coveredWithSolderMask?: boolean;
|
|
102680
102688
|
}
|
|
102681
|
-
type HoleProps = CircleHoleProps | PillHoleProps | RectHoleProps;
|
|
102689
|
+
type HoleProps = CircleHoleProps | PillHoleProps | OvalHoleProps | RectHoleProps;
|
|
102682
102690
|
declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
102683
102691
|
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
102684
102692
|
pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
@@ -103128,6 +103136,158 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
103128
103136
|
pcbSx: z.ZodOptional<z.ZodType<PcbSx, z.ZodTypeDef, PcbSx>>;
|
|
103129
103137
|
pcbRelative: z.ZodOptional<z.ZodBoolean>;
|
|
103130
103138
|
relative: z.ZodOptional<z.ZodBoolean>;
|
|
103139
|
+
} & {
|
|
103140
|
+
name: z.ZodOptional<z.ZodString>;
|
|
103141
|
+
shape: z.ZodLiteral<"oval">;
|
|
103142
|
+
width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
103143
|
+
height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
103144
|
+
solderMaskMargin: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103145
|
+
coveredWithSolderMask: z.ZodOptional<z.ZodBoolean>;
|
|
103146
|
+
}, "strip", z.ZodTypeAny, {
|
|
103147
|
+
shape: "oval";
|
|
103148
|
+
width: number;
|
|
103149
|
+
height: number;
|
|
103150
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
103151
|
+
name?: string | undefined;
|
|
103152
|
+
pcbX?: string | number | undefined;
|
|
103153
|
+
pcbY?: string | number | undefined;
|
|
103154
|
+
pcbLeftEdgeX?: string | number | undefined;
|
|
103155
|
+
pcbRightEdgeX?: string | number | undefined;
|
|
103156
|
+
pcbTopEdgeY?: string | number | undefined;
|
|
103157
|
+
pcbBottomEdgeY?: string | number | undefined;
|
|
103158
|
+
pcbOffsetX?: number | undefined;
|
|
103159
|
+
pcbOffsetY?: number | undefined;
|
|
103160
|
+
pcbRotation?: number | undefined;
|
|
103161
|
+
pcbPositionAnchor?: string | undefined;
|
|
103162
|
+
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
103163
|
+
shouldBeOnEdgeOfBoard?: boolean | undefined;
|
|
103164
|
+
pcbMarginTop?: number | undefined;
|
|
103165
|
+
pcbMarginRight?: number | undefined;
|
|
103166
|
+
pcbMarginBottom?: number | undefined;
|
|
103167
|
+
pcbMarginLeft?: number | undefined;
|
|
103168
|
+
pcbMarginX?: number | undefined;
|
|
103169
|
+
pcbMarginY?: number | undefined;
|
|
103170
|
+
pcbStyle?: {
|
|
103171
|
+
silkscreenFontSize?: number | undefined;
|
|
103172
|
+
viaPadDiameter?: number | undefined;
|
|
103173
|
+
viaHoleDiameter?: number | undefined;
|
|
103174
|
+
silkscreenTextPosition?: "centered" | "outside" | "none" | {
|
|
103175
|
+
offsetX: number;
|
|
103176
|
+
offsetY: number;
|
|
103177
|
+
} | undefined;
|
|
103178
|
+
silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
103179
|
+
} | undefined;
|
|
103180
|
+
pcbSx?: PcbSx | undefined;
|
|
103181
|
+
pcbRelative?: boolean | undefined;
|
|
103182
|
+
relative?: boolean | undefined;
|
|
103183
|
+
solderMaskMargin?: number | undefined;
|
|
103184
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
103185
|
+
}, {
|
|
103186
|
+
shape: "oval";
|
|
103187
|
+
width: string | number;
|
|
103188
|
+
height: string | number;
|
|
103189
|
+
layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
103190
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
103191
|
+
} | undefined;
|
|
103192
|
+
name?: string | undefined;
|
|
103193
|
+
pcbX?: string | number | undefined;
|
|
103194
|
+
pcbY?: string | number | undefined;
|
|
103195
|
+
pcbLeftEdgeX?: string | number | undefined;
|
|
103196
|
+
pcbRightEdgeX?: string | number | undefined;
|
|
103197
|
+
pcbTopEdgeY?: string | number | undefined;
|
|
103198
|
+
pcbBottomEdgeY?: string | number | undefined;
|
|
103199
|
+
pcbOffsetX?: string | number | undefined;
|
|
103200
|
+
pcbOffsetY?: string | number | undefined;
|
|
103201
|
+
pcbRotation?: string | number | undefined;
|
|
103202
|
+
pcbPositionAnchor?: string | undefined;
|
|
103203
|
+
pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
|
|
103204
|
+
shouldBeOnEdgeOfBoard?: boolean | undefined;
|
|
103205
|
+
pcbMarginTop?: string | number | undefined;
|
|
103206
|
+
pcbMarginRight?: string | number | undefined;
|
|
103207
|
+
pcbMarginBottom?: string | number | undefined;
|
|
103208
|
+
pcbMarginLeft?: string | number | undefined;
|
|
103209
|
+
pcbMarginX?: string | number | undefined;
|
|
103210
|
+
pcbMarginY?: string | number | undefined;
|
|
103211
|
+
pcbStyle?: {
|
|
103212
|
+
silkscreenFontSize?: string | number | undefined;
|
|
103213
|
+
viaPadDiameter?: string | number | undefined;
|
|
103214
|
+
viaHoleDiameter?: string | number | undefined;
|
|
103215
|
+
silkscreenTextPosition?: "centered" | "outside" | "none" | {
|
|
103216
|
+
offsetX: number;
|
|
103217
|
+
offsetY: number;
|
|
103218
|
+
} | undefined;
|
|
103219
|
+
silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
103220
|
+
} | undefined;
|
|
103221
|
+
pcbSx?: PcbSx | undefined;
|
|
103222
|
+
pcbRelative?: boolean | undefined;
|
|
103223
|
+
relative?: boolean | undefined;
|
|
103224
|
+
solderMaskMargin?: string | number | undefined;
|
|
103225
|
+
coveredWithSolderMask?: boolean | undefined;
|
|
103226
|
+
}>, z.ZodObject<{
|
|
103227
|
+
pcbX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
103228
|
+
pcbY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
103229
|
+
pcbLeftEdgeX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
103230
|
+
pcbRightEdgeX: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
103231
|
+
pcbTopEdgeY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
103232
|
+
pcbBottomEdgeY: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>]>>;
|
|
103233
|
+
pcbOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103234
|
+
pcbOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103235
|
+
pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103236
|
+
pcbPositionAnchor: z.ZodOptional<z.ZodString>;
|
|
103237
|
+
pcbPositionMode: z.ZodOptional<z.ZodEnum<["relative_to_group_anchor", "auto", "relative_to_board_anchor", "relative_to_component_anchor"]>>;
|
|
103238
|
+
shouldBeOnEdgeOfBoard: z.ZodOptional<z.ZodBoolean>;
|
|
103239
|
+
layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
|
|
103240
|
+
name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
|
|
103241
|
+
}, "strip", z.ZodTypeAny, {
|
|
103242
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
103243
|
+
}, {
|
|
103244
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
103245
|
+
}>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
|
|
103246
|
+
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
103247
|
+
}>>;
|
|
103248
|
+
pcbMarginTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103249
|
+
pcbMarginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103250
|
+
pcbMarginBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103251
|
+
pcbMarginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103252
|
+
pcbMarginX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103253
|
+
pcbMarginY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103254
|
+
pcbStyle: z.ZodOptional<z.ZodObject<{
|
|
103255
|
+
silkscreenFontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103256
|
+
viaPadDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103257
|
+
viaHoleDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
103258
|
+
silkscreenTextPosition: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["centered", "outside", "none"]>, z.ZodObject<{
|
|
103259
|
+
offsetX: z.ZodNumber;
|
|
103260
|
+
offsetY: z.ZodNumber;
|
|
103261
|
+
}, "strip", z.ZodTypeAny, {
|
|
103262
|
+
offsetX: number;
|
|
103263
|
+
offsetY: number;
|
|
103264
|
+
}, {
|
|
103265
|
+
offsetX: number;
|
|
103266
|
+
offsetY: number;
|
|
103267
|
+
}>]>>;
|
|
103268
|
+
silkscreenTextVisibility: z.ZodOptional<z.ZodEnum<["hidden", "visible", "inherit"]>>;
|
|
103269
|
+
}, "strip", z.ZodTypeAny, {
|
|
103270
|
+
silkscreenFontSize?: number | undefined;
|
|
103271
|
+
viaPadDiameter?: number | undefined;
|
|
103272
|
+
viaHoleDiameter?: number | undefined;
|
|
103273
|
+
silkscreenTextPosition?: "centered" | "outside" | "none" | {
|
|
103274
|
+
offsetX: number;
|
|
103275
|
+
offsetY: number;
|
|
103276
|
+
} | undefined;
|
|
103277
|
+
silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
103278
|
+
}, {
|
|
103279
|
+
silkscreenFontSize?: string | number | undefined;
|
|
103280
|
+
viaPadDiameter?: string | number | undefined;
|
|
103281
|
+
viaHoleDiameter?: string | number | undefined;
|
|
103282
|
+
silkscreenTextPosition?: "centered" | "outside" | "none" | {
|
|
103283
|
+
offsetX: number;
|
|
103284
|
+
offsetY: number;
|
|
103285
|
+
} | undefined;
|
|
103286
|
+
silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
|
|
103287
|
+
}>>;
|
|
103288
|
+
pcbSx: z.ZodOptional<z.ZodType<PcbSx, z.ZodTypeDef, PcbSx>>;
|
|
103289
|
+
pcbRelative: z.ZodOptional<z.ZodBoolean>;
|
|
103290
|
+
relative: z.ZodOptional<z.ZodBoolean>;
|
|
103131
103291
|
} & {
|
|
103132
103292
|
name: z.ZodOptional<z.ZodString>;
|
|
103133
103293
|
shape: z.ZodLiteral<"rect">;
|
|
@@ -109219,7 +109379,7 @@ declare const mountedboardProps: z.ZodObject<{
|
|
|
109219
109379
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
109220
109380
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
109221
109381
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
109222
|
-
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
|
|
109382
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
109223
109383
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
109224
109384
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
109225
109385
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -109825,7 +109985,7 @@ declare const mountedboardProps: z.ZodObject<{
|
|
|
109825
109985
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
109826
109986
|
autorouter?: AutorouterProp | undefined;
|
|
109827
109987
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
109828
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
109988
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
109829
109989
|
circuitJson?: any[] | undefined;
|
|
109830
109990
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
109831
109991
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -110183,7 +110343,7 @@ declare const mountedboardProps: z.ZodObject<{
|
|
|
110183
110343
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
110184
110344
|
autorouter?: AutorouterProp | undefined;
|
|
110185
110345
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
110186
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
110346
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
110187
110347
|
circuitJson?: any[] | undefined;
|
|
110188
110348
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
110189
110349
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -120753,7 +120913,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
120753
120913
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
120754
120914
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
120755
120915
|
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
120756
|
-
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "latest"]>>;
|
|
120916
|
+
autorouterVersion: z.ZodOptional<z.ZodEnum<["v1", "v2", "v3", "v4", "v5", "v6", "latest"]>>;
|
|
120757
120917
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
120758
120918
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
120759
120919
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -121214,7 +121374,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
121214
121374
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
121215
121375
|
autorouter?: AutorouterProp | undefined;
|
|
121216
121376
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
121217
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
121377
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
121218
121378
|
circuitJson?: any[] | undefined;
|
|
121219
121379
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
121220
121380
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -121533,7 +121693,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
121533
121693
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
121534
121694
|
autorouter?: AutorouterProp | undefined;
|
|
121535
121695
|
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
121536
|
-
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "latest" | undefined;
|
|
121696
|
+
autorouterVersion?: "v1" | "v2" | "v3" | "v4" | "v5" | "v6" | "latest" | undefined;
|
|
121537
121697
|
circuitJson?: any[] | undefined;
|
|
121538
121698
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
121539
121699
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
@@ -185755,4 +185915,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
|
|
|
185755
185915
|
}
|
|
185756
185916
|
declare const projectConfig: z.ZodType<ProjectConfig>;
|
|
185757
185917
|
|
|
185758
|
-
export { type AnalogSimulationProps, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type AutoroutingPhaseProps, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardColor, type BoardColorPreset, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelAxisDirection, type CadModelBase, type CadModelGlb, type CadModelGltf, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelProps, type CadModelPropsInput, type CadModelStep, type CadModelStl, type CadModelWrl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardCircleProps, type CourtyardOutlineProps, type CourtyardPillProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CustomDrcCheckContext, type CustomDrcCheckFn, type CustomDrcCheckInput, type CustomDrcConnectable, type CustomDrcSelect, type CustomDrcSelectAll, type CutoutProps, type CutoutPropsInput, type DiodePinLabels, type DiodeProps, type Direction, type DirectionAlongEdge, type DrcCheckProps, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FiducialProps, type FootprintFileParserEntry, type FootprintInsertionDirection, type FootprintLibraryResult, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FootprinterAutocompleteString, type FootprinterStringExample, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type HoleWithPolygonPadPlatedHoleProps, type InductorPinLabels, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSchematicArcProps, type InferredSchematicBoxProps, type InferredSchematicCircleProps, type InferredSchematicLineProps, type InferredSchematicPathProps, type InferredSchematicRectProps, type InferredSchematicSectionProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type JlcpcbAutocompleteStringPath, type JlcpcbKnownPartNumber, type JumperProps, type KicadAt, type KicadAutocompleteStringPath, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadPath, type KicadPinElectricalType, type KicadPinGraphicStyle, type KicadPinMetadata, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayoutConfig, type LedPinLabels, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetPinLabels, type MosfetProps, type MountedBoardProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OpAmpPinLabels, type OpAmpProps, type OvalPlatedHoleProps, type PanelProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbNoteDimensionProps, type PcbNoteDimensionPropsInput, type PcbNoteLineProps, type PcbNoteLinePropsInput, type PcbNotePathProps, type PcbNotePathPropsInput, type PcbNoteRectProps, type PcbNoteRectPropsInput, type PcbNoteTextProps, type PcbNoteTextPropsInput, type PcbPositionMode, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbStyle, type PcbSx, type PcbSxSelector, type PcbSxValue, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillHoleProps, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCapability, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinSideDefinitionInput, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, type PotentiometerPinLabels, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectHoleProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type RoutingTolerances, type SchStyle, type SchematicArcProps, type SchematicBoxProps, type SchematicCellProps, type SchematicCircleProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinLabel, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicRectProps, type SchematicRowProps, type SchematicSectionProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type SelectionResult, type SelectionResultComponent, type SelectionResultNet, type SelectionResultPort, type Selectors, type SilkscreenCircleProps, type SilkscreenGraphicProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type SpiceModelElement, type SpiceModelProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SubpanelProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type SymbolProp, type SymbolProps, type SymbolPropsInput, type TestpointConnections, type TestpointPinLabels, type TestpointProps, type ToolingrailProps, type TraceHintProps, type TraceProps, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageProbeProps, type VoltageSourcePinLabels, type VoltageSourceProps, type WaveShape, analogSimulationProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, autoroutingPhaseProps, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelAxisDirection, cadModelAxisDirections, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardCircleProps, courtyardOutlineProps, courtyardPillProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, customDrcCheckFn, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, drcCheckProps, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fiducialProps, footprintInsertionDirection, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, interconnectProps, jumperProps, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintKeys, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadFootprintStrings, kicadPinElectricalType, kicadPinGraphicStyle, kicadPinMetadata, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, mountedboardProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, opampPinLabels, opampPins, opampProps, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbSx, pcbSxValue, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinAttributeMap, pinCapability, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerPinLabels, potentiometerProps, powerSourceProps, projectConfig, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, routingTolerances, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSectionProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenGraphicProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, spicemodelProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|
|
185918
|
+
export { type AnalogSimulationProps, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type AutoroutingPhaseProps, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardColor, type BoardColorPreset, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelAxisDirection, type CadModelBase, type CadModelGlb, type CadModelGltf, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelProps, type CadModelPropsInput, type CadModelStep, type CadModelStl, type CadModelWrl, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardCircleProps, type CourtyardOutlineProps, type CourtyardPillProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CustomDrcCheckContext, type CustomDrcCheckFn, type CustomDrcCheckInput, type CustomDrcConnectable, type CustomDrcSelect, type CustomDrcSelectAll, type CutoutProps, type CutoutPropsInput, type DiodePinLabels, type DiodeProps, type Direction, type DirectionAlongEdge, type DrcCheckProps, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FiducialProps, type FootprintFileParserEntry, type FootprintInsertionDirection, type FootprintLibraryResult, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FootprinterAutocompleteString, type FootprinterStringExample, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, type HoleWithPolygonPadPlatedHoleProps, type InductorPinLabels, type InductorProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSchematicArcProps, type InferredSchematicBoxProps, type InferredSchematicCircleProps, type InferredSchematicLineProps, type InferredSchematicPathProps, type InferredSchematicRectProps, type InferredSchematicSectionProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type JlcpcbAutocompleteStringPath, type JlcpcbKnownPartNumber, type JumperProps, type KicadAt, type KicadAutocompleteStringPath, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadPath, type KicadPinElectricalType, type KicadPinGraphicStyle, type KicadPinMetadata, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayoutConfig, type LedPinLabels, type LedProps, type ManualEditEvent, type ManualEditEventInput, type ManualEditsFile, type ManualEditsFileInput, type ManualPcbPlacement, type ManualPcbPlacementInput, type ManualSchematicPlacement, type ManualSchematicPlacementInput, type ManualTraceHint, type ManualTraceHintInput, type MosfetPinLabels, type MosfetProps, type MountedBoardProps, type NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, type OpAmpPinLabels, type OpAmpProps, type OvalHoleProps, type OvalPlatedHoleProps, type PanelProps, type PartsEngine, type PcbKeepoutProps, type PcbLayoutProps, type PcbNoteDimensionProps, type PcbNoteDimensionPropsInput, type PcbNoteLineProps, type PcbNoteLinePropsInput, type PcbNotePathProps, type PcbNotePathPropsInput, type PcbNoteRectProps, type PcbNoteRectPropsInput, type PcbNoteTextProps, type PcbNoteTextPropsInput, type PcbPositionMode, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbStyle, type PcbSx, type PcbSxSelector, type PcbSxValue, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillHoleProps, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCapability, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinSideDefinitionInput, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, type PotentiometerPinLabels, type PotentiometerPinVariant, type PotentiometerProps, type PowerSourceProps, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectHoleProps, type RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, type RoutingTolerances, type SchStyle, type SchematicArcProps, type SchematicBoxProps, type SchematicCellProps, type SchematicCircleProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinLabel, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicRectProps, type SchematicRowProps, type SchematicSectionProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type SelectionResult, type SelectionResultComponent, type SelectionResultNet, type SelectionResultPort, type Selectors, type SilkscreenCircleProps, type SilkscreenGraphicProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type SpiceModelElement, type SpiceModelProps, type StampboardProps, type SubcircuitGroupProps, type SubcircuitGroupPropsWithBool, type SubcircuitProps, type SubpanelProps, type SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type SymbolProp, type SymbolProps, type SymbolPropsInput, type TestpointConnections, type TestpointPinLabels, type TestpointProps, type ToolingrailProps, type TraceHintProps, type TraceProps, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageProbeProps, type VoltageSourcePinLabels, type VoltageSourceProps, type WaveShape, analogSimulationProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, autoroutingPhaseProps, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, cadModelAxisDirection, cadModelAxisDirections, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, componentProps, connectorProps, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardCircleProps, courtyardOutlineProps, courtyardPillProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, customDrcCheckFn, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, drcCheckProps, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fiducialProps, footprintInsertionDirection, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, interconnectProps, jumperProps, kicadAt, kicadEffects, kicadFont, kicadFootprintAttributes, kicadFootprintKeys, kicadFootprintMetadata, kicadFootprintModel, kicadFootprintPad, kicadFootprintProperties, kicadFootprintStrings, kicadPinElectricalType, kicadPinGraphicStyle, kicadPinMetadata, kicadProperty, kicadSymbolEffects, kicadSymbolMetadata, kicadSymbolPinNames, kicadSymbolPinNumbers, kicadSymbolProperties, kicadSymbolProperty, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, mountedboardProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, opampPinLabels, opampPins, opampProps, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbSx, pcbSxValue, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinAttributeMap, pinCapability, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerPinLabels, potentiometerProps, powerSourceProps, projectConfig, pushButtonProps, rectCutoutProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resonatorProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, routingTolerances, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSectionProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenGraphicProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, spicemodelProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|
package/dist/index.js
CHANGED
|
@@ -16434,7 +16434,7 @@ var subcircuitGroupProps = baseGroupProps.extend({
|
|
|
16434
16434
|
pcbRouteCache: z37.custom((v) => true).optional(),
|
|
16435
16435
|
autorouter: autorouterProp.optional(),
|
|
16436
16436
|
autorouterEffortLevel: autorouterEffortLevel.optional(),
|
|
16437
|
-
autorouterVersion: z37.enum(["v1", "v2", "v3", "v4", "v5", "latest"]).optional(),
|
|
16437
|
+
autorouterVersion: z37.enum(["v1", "v2", "v3", "v4", "v5", "v6", "latest"]).optional(),
|
|
16438
16438
|
square: z37.boolean().optional(),
|
|
16439
16439
|
emptyArea: z37.string().optional(),
|
|
16440
16440
|
filledArea: z37.string().optional(),
|
|
@@ -17156,6 +17156,14 @@ var pillHoleProps = pcbLayoutProps.extend({
|
|
|
17156
17156
|
solderMaskMargin: distance.optional(),
|
|
17157
17157
|
coveredWithSolderMask: z63.boolean().optional()
|
|
17158
17158
|
});
|
|
17159
|
+
var ovalHoleProps = pcbLayoutProps.extend({
|
|
17160
|
+
name: z63.string().optional(),
|
|
17161
|
+
shape: z63.literal("oval"),
|
|
17162
|
+
width: distance,
|
|
17163
|
+
height: distance,
|
|
17164
|
+
solderMaskMargin: distance.optional(),
|
|
17165
|
+
coveredWithSolderMask: z63.boolean().optional()
|
|
17166
|
+
});
|
|
17159
17167
|
var rectHoleProps = pcbLayoutProps.extend({
|
|
17160
17168
|
name: z63.string().optional(),
|
|
17161
17169
|
shape: z63.literal("rect"),
|
|
@@ -17167,6 +17175,7 @@ var rectHoleProps = pcbLayoutProps.extend({
|
|
|
17167
17175
|
var holeProps = z63.union([
|
|
17168
17176
|
circleHoleProps,
|
|
17169
17177
|
pillHoleProps,
|
|
17178
|
+
ovalHoleProps,
|
|
17170
17179
|
rectHoleProps
|
|
17171
17180
|
]);
|
|
17172
17181
|
expectTypesMatch(true);
|