@tscircuit/props 0.0.508 → 0.0.510
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 +5 -0
- package/dist/index.d.ts +111 -76
- package/dist/index.js +21 -4
- package/dist/index.js.map +1 -1
- package/lib/components/footprint.ts +37 -0
- package/lib/components/group.ts +8 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -672,6 +672,11 @@ export interface FootprintProps {
|
|
|
672
672
|
* Can be a footprint or kicad string
|
|
673
673
|
*/
|
|
674
674
|
src?: FootprintProp;
|
|
675
|
+
/**
|
|
676
|
+
* Direction a cable or mating part is inserted into this footprint in its
|
|
677
|
+
* unrotated orientation.
|
|
678
|
+
*/
|
|
679
|
+
insertionDirection?: FootprintInsertionDirection;
|
|
675
680
|
}
|
|
676
681
|
```
|
|
677
682
|
|
package/dist/index.d.ts
CHANGED
|
@@ -17830,9 +17830,10 @@ interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
17830
17830
|
bomDisabled?: boolean;
|
|
17831
17831
|
defaultTraceWidth?: Distance;
|
|
17832
17832
|
minTraceWidth?: Distance;
|
|
17833
|
-
|
|
17834
|
-
|
|
17835
|
-
|
|
17833
|
+
minViaToViaClearance?: Distance;
|
|
17834
|
+
minTraceToPadClearance?: Distance;
|
|
17835
|
+
minPadToPadClearance?: Distance;
|
|
17836
|
+
minBoardEdgeClearance?: Distance;
|
|
17836
17837
|
minViaHoleDiameter?: Distance;
|
|
17837
17838
|
minViaPadDiameter?: Distance;
|
|
17838
17839
|
nominalTraceWidth?: Distance;
|
|
@@ -19684,9 +19685,10 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
19684
19685
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
19685
19686
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
19686
19687
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
19687
|
-
|
|
19688
|
-
|
|
19689
|
-
|
|
19688
|
+
minViaToViaClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
19689
|
+
minTraceToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
19690
|
+
minPadToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
19691
|
+
minBoardEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
19690
19692
|
minViaHoleDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
19691
19693
|
minViaPadDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
19692
19694
|
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -20005,9 +20007,10 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
20005
20007
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
20006
20008
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
20007
20009
|
schMaxTraceDistance?: number | undefined;
|
|
20008
|
-
|
|
20009
|
-
|
|
20010
|
-
|
|
20010
|
+
minViaToViaClearance?: number | undefined;
|
|
20011
|
+
minTraceToPadClearance?: number | undefined;
|
|
20012
|
+
minPadToPadClearance?: number | undefined;
|
|
20013
|
+
minBoardEdgeClearance?: number | undefined;
|
|
20011
20014
|
minViaHoleDiameter?: number | undefined;
|
|
20012
20015
|
minViaPadDiameter?: number | undefined;
|
|
20013
20016
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -20321,9 +20324,10 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
20321
20324
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
20322
20325
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
20323
20326
|
schMaxTraceDistance?: string | number | undefined;
|
|
20324
|
-
|
|
20325
|
-
|
|
20326
|
-
|
|
20327
|
+
minViaToViaClearance?: string | number | undefined;
|
|
20328
|
+
minTraceToPadClearance?: string | number | undefined;
|
|
20329
|
+
minPadToPadClearance?: string | number | undefined;
|
|
20330
|
+
minBoardEdgeClearance?: string | number | undefined;
|
|
20327
20331
|
minViaHoleDiameter?: string | number | undefined;
|
|
20328
20332
|
minViaPadDiameter?: string | number | undefined;
|
|
20329
20333
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -21072,9 +21076,10 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
21072
21076
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
21073
21077
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21074
21078
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21075
|
-
|
|
21076
|
-
|
|
21077
|
-
|
|
21079
|
+
minViaToViaClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21080
|
+
minTraceToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21081
|
+
minPadToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21082
|
+
minBoardEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21078
21083
|
minViaHoleDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21079
21084
|
minViaPadDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
21080
21085
|
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -21396,9 +21401,10 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
21396
21401
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
21397
21402
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
21398
21403
|
schMaxTraceDistance?: number | undefined;
|
|
21399
|
-
|
|
21400
|
-
|
|
21401
|
-
|
|
21404
|
+
minViaToViaClearance?: number | undefined;
|
|
21405
|
+
minTraceToPadClearance?: number | undefined;
|
|
21406
|
+
minPadToPadClearance?: number | undefined;
|
|
21407
|
+
minBoardEdgeClearance?: number | undefined;
|
|
21402
21408
|
minViaHoleDiameter?: number | undefined;
|
|
21403
21409
|
minViaPadDiameter?: number | undefined;
|
|
21404
21410
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -21713,9 +21719,10 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
21713
21719
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
21714
21720
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
21715
21721
|
schMaxTraceDistance?: string | number | undefined;
|
|
21716
|
-
|
|
21717
|
-
|
|
21718
|
-
|
|
21722
|
+
minViaToViaClearance?: string | number | undefined;
|
|
21723
|
+
minTraceToPadClearance?: string | number | undefined;
|
|
21724
|
+
minPadToPadClearance?: string | number | undefined;
|
|
21725
|
+
minBoardEdgeClearance?: string | number | undefined;
|
|
21719
21726
|
minViaHoleDiameter?: string | number | undefined;
|
|
21720
21727
|
minViaPadDiameter?: string | number | undefined;
|
|
21721
21728
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -23544,9 +23551,10 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
23544
23551
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
23545
23552
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23546
23553
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23547
|
-
|
|
23548
|
-
|
|
23549
|
-
|
|
23554
|
+
minViaToViaClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23555
|
+
minTraceToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23556
|
+
minPadToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23557
|
+
minBoardEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23550
23558
|
minViaHoleDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23551
23559
|
minViaPadDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
23552
23560
|
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -23868,9 +23876,10 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
23868
23876
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
23869
23877
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
23870
23878
|
schMaxTraceDistance?: number | undefined;
|
|
23871
|
-
|
|
23872
|
-
|
|
23873
|
-
|
|
23879
|
+
minViaToViaClearance?: number | undefined;
|
|
23880
|
+
minTraceToPadClearance?: number | undefined;
|
|
23881
|
+
minPadToPadClearance?: number | undefined;
|
|
23882
|
+
minBoardEdgeClearance?: number | undefined;
|
|
23874
23883
|
minViaHoleDiameter?: number | undefined;
|
|
23875
23884
|
minViaPadDiameter?: number | undefined;
|
|
23876
23885
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -24185,9 +24194,10 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
24185
24194
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
24186
24195
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
24187
24196
|
schMaxTraceDistance?: string | number | undefined;
|
|
24188
|
-
|
|
24189
|
-
|
|
24190
|
-
|
|
24197
|
+
minViaToViaClearance?: string | number | undefined;
|
|
24198
|
+
minTraceToPadClearance?: string | number | undefined;
|
|
24199
|
+
minPadToPadClearance?: string | number | undefined;
|
|
24200
|
+
minBoardEdgeClearance?: string | number | undefined;
|
|
24191
24201
|
minViaHoleDiameter?: string | number | undefined;
|
|
24192
24202
|
minViaPadDiameter?: string | number | undefined;
|
|
24193
24203
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -24967,9 +24977,10 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
24967
24977
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
24968
24978
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24969
24979
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24970
|
-
|
|
24971
|
-
|
|
24972
|
-
|
|
24980
|
+
minViaToViaClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24981
|
+
minTraceToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24982
|
+
minPadToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24983
|
+
minBoardEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24973
24984
|
minViaHoleDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24974
24985
|
minViaPadDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
24975
24986
|
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -25317,9 +25328,10 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
25317
25328
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
25318
25329
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
25319
25330
|
schMaxTraceDistance?: number | undefined;
|
|
25320
|
-
|
|
25321
|
-
|
|
25322
|
-
|
|
25331
|
+
minViaToViaClearance?: number | undefined;
|
|
25332
|
+
minTraceToPadClearance?: number | undefined;
|
|
25333
|
+
minPadToPadClearance?: number | undefined;
|
|
25334
|
+
minBoardEdgeClearance?: number | undefined;
|
|
25323
25335
|
minViaHoleDiameter?: number | undefined;
|
|
25324
25336
|
minViaPadDiameter?: number | undefined;
|
|
25325
25337
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -25649,9 +25661,10 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
25649
25661
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
25650
25662
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
25651
25663
|
schMaxTraceDistance?: string | number | undefined;
|
|
25652
|
-
|
|
25653
|
-
|
|
25654
|
-
|
|
25664
|
+
minViaToViaClearance?: string | number | undefined;
|
|
25665
|
+
minTraceToPadClearance?: string | number | undefined;
|
|
25666
|
+
minPadToPadClearance?: string | number | undefined;
|
|
25667
|
+
minBoardEdgeClearance?: string | number | undefined;
|
|
25655
25668
|
minViaHoleDiameter?: string | number | undefined;
|
|
25656
25669
|
minViaPadDiameter?: string | number | undefined;
|
|
25657
25670
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -28717,9 +28730,10 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
28717
28730
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
28718
28731
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28719
28732
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28720
|
-
|
|
28721
|
-
|
|
28722
|
-
|
|
28733
|
+
minViaToViaClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28734
|
+
minTraceToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28735
|
+
minPadToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28736
|
+
minBoardEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28723
28737
|
minViaHoleDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28724
28738
|
minViaPadDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
28725
28739
|
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -29044,9 +29058,10 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
29044
29058
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
29045
29059
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
29046
29060
|
schMaxTraceDistance?: number | undefined;
|
|
29047
|
-
|
|
29048
|
-
|
|
29049
|
-
|
|
29061
|
+
minViaToViaClearance?: number | undefined;
|
|
29062
|
+
minTraceToPadClearance?: number | undefined;
|
|
29063
|
+
minPadToPadClearance?: number | undefined;
|
|
29064
|
+
minBoardEdgeClearance?: number | undefined;
|
|
29050
29065
|
minViaHoleDiameter?: number | undefined;
|
|
29051
29066
|
minViaPadDiameter?: number | undefined;
|
|
29052
29067
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -29360,9 +29375,10 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
29360
29375
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
29361
29376
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
29362
29377
|
schMaxTraceDistance?: string | number | undefined;
|
|
29363
|
-
|
|
29364
|
-
|
|
29365
|
-
|
|
29378
|
+
minViaToViaClearance?: string | number | undefined;
|
|
29379
|
+
minTraceToPadClearance?: string | number | undefined;
|
|
29380
|
+
minPadToPadClearance?: string | number | undefined;
|
|
29381
|
+
minBoardEdgeClearance?: string | number | undefined;
|
|
29366
29382
|
minViaHoleDiameter?: string | number | undefined;
|
|
29367
29383
|
minViaPadDiameter?: string | number | undefined;
|
|
29368
29384
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -89167,9 +89183,10 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
89167
89183
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
89168
89184
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
89169
89185
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
89170
|
-
|
|
89171
|
-
|
|
89172
|
-
|
|
89186
|
+
minViaToViaClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
89187
|
+
minTraceToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
89188
|
+
minPadToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
89189
|
+
minBoardEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
89173
89190
|
minViaHoleDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
89174
89191
|
minViaPadDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
89175
89192
|
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -89532,9 +89549,10 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
89532
89549
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
89533
89550
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
89534
89551
|
schMaxTraceDistance?: number | undefined;
|
|
89535
|
-
|
|
89536
|
-
|
|
89537
|
-
|
|
89552
|
+
minViaToViaClearance?: number | undefined;
|
|
89553
|
+
minTraceToPadClearance?: number | undefined;
|
|
89554
|
+
minPadToPadClearance?: number | undefined;
|
|
89555
|
+
minBoardEdgeClearance?: number | undefined;
|
|
89538
89556
|
minViaHoleDiameter?: number | undefined;
|
|
89539
89557
|
minViaPadDiameter?: number | undefined;
|
|
89540
89558
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -89874,9 +89892,10 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
89874
89892
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
89875
89893
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
89876
89894
|
schMaxTraceDistance?: string | number | undefined;
|
|
89877
|
-
|
|
89878
|
-
|
|
89879
|
-
|
|
89895
|
+
minViaToViaClearance?: string | number | undefined;
|
|
89896
|
+
minTraceToPadClearance?: string | number | undefined;
|
|
89897
|
+
minPadToPadClearance?: string | number | undefined;
|
|
89898
|
+
minBoardEdgeClearance?: string | number | undefined;
|
|
89880
89899
|
minViaHoleDiameter?: string | number | undefined;
|
|
89881
89900
|
minViaPadDiameter?: string | number | undefined;
|
|
89882
89901
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -103775,6 +103794,8 @@ declare const traceProps: z.ZodUnion<[z.ZodObject<{
|
|
|
103775
103794
|
}>]>;
|
|
103776
103795
|
type TraceProps = z.input<typeof traceProps>;
|
|
103777
103796
|
|
|
103797
|
+
type FootprintInsertionDirection = "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | "x+" | "x-" | "y+" | "y-";
|
|
103798
|
+
declare const footprintInsertionDirection: z.ZodEnum<["from_above", "from_left", "from_right", "from_front", "from_back", "x+", "x-", "y+", "y-"]>;
|
|
103778
103799
|
interface FootprintProps {
|
|
103779
103800
|
children?: any;
|
|
103780
103801
|
/**
|
|
@@ -103796,6 +103817,11 @@ interface FootprintProps {
|
|
|
103796
103817
|
* Can be a footprint or kicad string
|
|
103797
103818
|
*/
|
|
103798
103819
|
src?: FootprintProp;
|
|
103820
|
+
/**
|
|
103821
|
+
* Direction a cable or mating part is inserted into this footprint in its
|
|
103822
|
+
* unrotated orientation.
|
|
103823
|
+
*/
|
|
103824
|
+
insertionDirection?: FootprintInsertionDirection;
|
|
103799
103825
|
}
|
|
103800
103826
|
declare const footprintProps: z.ZodObject<{
|
|
103801
103827
|
children: z.ZodOptional<z.ZodAny>;
|
|
@@ -103810,11 +103836,13 @@ declare const footprintProps: z.ZodObject<{
|
|
|
103810
103836
|
}>>>;
|
|
103811
103837
|
circuitJson: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
103812
103838
|
src: z.ZodOptional<z.ZodType<FootprintProp, z.ZodTypeDef, FootprintProp>>;
|
|
103839
|
+
insertionDirection: z.ZodOptional<z.ZodEnum<["from_above", "from_left", "from_right", "from_front", "from_back", "x+", "x-", "y+", "y-"]>>;
|
|
103813
103840
|
}, "strip", z.ZodTypeAny, {
|
|
103814
103841
|
children?: any;
|
|
103815
103842
|
circuitJson?: any[] | undefined;
|
|
103816
103843
|
originalLayer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
|
|
103817
103844
|
src?: FootprintProp | undefined;
|
|
103845
|
+
insertionDirection?: "x+" | "x-" | "y+" | "y-" | "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | undefined;
|
|
103818
103846
|
}, {
|
|
103819
103847
|
children?: any;
|
|
103820
103848
|
circuitJson?: any[] | undefined;
|
|
@@ -103822,6 +103850,7 @@ declare const footprintProps: z.ZodObject<{
|
|
|
103822
103850
|
name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
|
|
103823
103851
|
} | undefined;
|
|
103824
103852
|
src?: FootprintProp | undefined;
|
|
103853
|
+
insertionDirection?: "x+" | "x-" | "y+" | "y-" | "from_above" | "from_left" | "from_right" | "from_front" | "from_back" | undefined;
|
|
103825
103854
|
}>;
|
|
103826
103855
|
type FootprintPropsInput = z.input<typeof footprintProps>;
|
|
103827
103856
|
|
|
@@ -109123,9 +109152,10 @@ declare const mountedboardProps: z.ZodObject<{
|
|
|
109123
109152
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
109124
109153
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
109125
109154
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
109126
|
-
|
|
109127
|
-
|
|
109128
|
-
|
|
109155
|
+
minViaToViaClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
109156
|
+
minTraceToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
109157
|
+
minPadToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
109158
|
+
minBoardEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
109129
109159
|
minViaHoleDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
109130
109160
|
minViaPadDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
109131
109161
|
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -109589,9 +109619,10 @@ declare const mountedboardProps: z.ZodObject<{
|
|
|
109589
109619
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
109590
109620
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
109591
109621
|
schMaxTraceDistance?: number | undefined;
|
|
109592
|
-
|
|
109593
|
-
|
|
109594
|
-
|
|
109622
|
+
minViaToViaClearance?: number | undefined;
|
|
109623
|
+
minTraceToPadClearance?: number | undefined;
|
|
109624
|
+
minPadToPadClearance?: number | undefined;
|
|
109625
|
+
minBoardEdgeClearance?: number | undefined;
|
|
109595
109626
|
minViaHoleDiameter?: number | undefined;
|
|
109596
109627
|
minViaPadDiameter?: number | undefined;
|
|
109597
109628
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -109944,9 +109975,10 @@ declare const mountedboardProps: z.ZodObject<{
|
|
|
109944
109975
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
109945
109976
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
109946
109977
|
schMaxTraceDistance?: string | number | undefined;
|
|
109947
|
-
|
|
109948
|
-
|
|
109949
|
-
|
|
109978
|
+
minViaToViaClearance?: string | number | undefined;
|
|
109979
|
+
minTraceToPadClearance?: string | number | undefined;
|
|
109980
|
+
minPadToPadClearance?: string | number | undefined;
|
|
109981
|
+
minBoardEdgeClearance?: string | number | undefined;
|
|
109950
109982
|
minViaHoleDiameter?: string | number | undefined;
|
|
109951
109983
|
minViaPadDiameter?: string | number | undefined;
|
|
109952
109984
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -120638,9 +120670,10 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
120638
120670
|
bomDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
120639
120671
|
defaultTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
120640
120672
|
minTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
120641
|
-
|
|
120642
|
-
|
|
120643
|
-
|
|
120673
|
+
minViaToViaClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
120674
|
+
minTraceToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
120675
|
+
minPadToPadClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
120676
|
+
minBoardEdgeClearance: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
120644
120677
|
minViaHoleDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
120645
120678
|
minViaPadDiameter: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
120646
120679
|
nominalTraceWidth: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -120959,9 +120992,10 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
120959
120992
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
120960
120993
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
120961
120994
|
schMaxTraceDistance?: number | undefined;
|
|
120962
|
-
|
|
120963
|
-
|
|
120964
|
-
|
|
120995
|
+
minViaToViaClearance?: number | undefined;
|
|
120996
|
+
minTraceToPadClearance?: number | undefined;
|
|
120997
|
+
minPadToPadClearance?: number | undefined;
|
|
120998
|
+
minBoardEdgeClearance?: number | undefined;
|
|
120965
120999
|
minViaHoleDiameter?: number | undefined;
|
|
120966
121000
|
minViaPadDiameter?: number | undefined;
|
|
120967
121001
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -121275,9 +121309,10 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
121275
121309
|
schAutoLayoutEnabled?: boolean | undefined;
|
|
121276
121310
|
schTraceAutoLabelEnabled?: boolean | undefined;
|
|
121277
121311
|
schMaxTraceDistance?: string | number | undefined;
|
|
121278
|
-
|
|
121279
|
-
|
|
121280
|
-
|
|
121312
|
+
minViaToViaClearance?: string | number | undefined;
|
|
121313
|
+
minTraceToPadClearance?: string | number | undefined;
|
|
121314
|
+
minPadToPadClearance?: string | number | undefined;
|
|
121315
|
+
minBoardEdgeClearance?: string | number | undefined;
|
|
121281
121316
|
minViaHoleDiameter?: string | number | undefined;
|
|
121282
121317
|
minViaPadDiameter?: string | number | undefined;
|
|
121283
121318
|
partsEngine?: PartsEngine | undefined;
|
|
@@ -185040,4 +185075,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
|
|
|
185040
185075
|
}
|
|
185041
185076
|
declare const projectConfig: z.ZodType<ProjectConfig>;
|
|
185042
185077
|
|
|
185043
|
-
export { type AnalogSimulationProps, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, 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 CutoutProps, type CutoutPropsInput, type DiodePinLabels, type DiodeProps, type Direction, type DirectionAlongEdge, 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 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 InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, 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 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 SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, 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, 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, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, 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, 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, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|
|
185078
|
+
export { type AnalogSimulationProps, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, 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 CutoutProps, type CutoutPropsInput, type DiodePinLabels, type DiodeProps, type Direction, type DirectionAlongEdge, 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 InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, 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 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 SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type Selectors, type SilkscreenCircleProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, 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, 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, cutoutProps, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, 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, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, 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
|
@@ -16406,9 +16406,10 @@ var subcircuitGroupProps = baseGroupProps.extend({
|
|
|
16406
16406
|
bomDisabled: z36.boolean().optional(),
|
|
16407
16407
|
defaultTraceWidth: length3.optional(),
|
|
16408
16408
|
minTraceWidth: length3.optional(),
|
|
16409
|
-
|
|
16410
|
-
|
|
16411
|
-
|
|
16409
|
+
minViaToViaClearance: length3.optional(),
|
|
16410
|
+
minTraceToPadClearance: length3.optional(),
|
|
16411
|
+
minPadToPadClearance: length3.optional(),
|
|
16412
|
+
minBoardEdgeClearance: length3.optional(),
|
|
16412
16413
|
minViaHoleDiameter: length3.optional(),
|
|
16413
16414
|
minViaPadDiameter: length3.optional(),
|
|
16414
16415
|
nominalTraceWidth: length3.optional(),
|
|
@@ -17183,11 +17184,26 @@ var traceProps = z62.union([
|
|
|
17183
17184
|
// lib/components/footprint.ts
|
|
17184
17185
|
import { layer_ref as layer_ref5 } from "circuit-json";
|
|
17185
17186
|
import { z as z63 } from "zod";
|
|
17187
|
+
var footprintInsertionDirection = z63.enum([
|
|
17188
|
+
"from_above",
|
|
17189
|
+
"from_left",
|
|
17190
|
+
"from_right",
|
|
17191
|
+
"from_front",
|
|
17192
|
+
"from_back",
|
|
17193
|
+
"x+",
|
|
17194
|
+
"x-",
|
|
17195
|
+
"y+",
|
|
17196
|
+
"y-"
|
|
17197
|
+
]);
|
|
17198
|
+
expectTypesMatch(true);
|
|
17186
17199
|
var footprintProps = z63.object({
|
|
17187
17200
|
children: z63.any().optional(),
|
|
17188
17201
|
originalLayer: layer_ref5.default("top").optional(),
|
|
17189
17202
|
circuitJson: z63.array(z63.any()).optional(),
|
|
17190
|
-
src: footprintProp.describe("Can be a footprint or kicad string").optional()
|
|
17203
|
+
src: footprintProp.describe("Can be a footprint or kicad string").optional(),
|
|
17204
|
+
insertionDirection: footprintInsertionDirection.optional().describe(
|
|
17205
|
+
"Direction a cable or mating part is inserted into this footprint in its unrotated orientation."
|
|
17206
|
+
)
|
|
17191
17207
|
});
|
|
17192
17208
|
expectTypesMatch(true);
|
|
17193
17209
|
|
|
@@ -18436,6 +18452,7 @@ export {
|
|
|
18436
18452
|
fabricationNoteRectProps,
|
|
18437
18453
|
fabricationNoteTextProps,
|
|
18438
18454
|
fiducialProps,
|
|
18455
|
+
footprintInsertionDirection,
|
|
18439
18456
|
footprintProp,
|
|
18440
18457
|
footprintProps,
|
|
18441
18458
|
footprinterStringExamples,
|