@tscircuit/props 0.0.435 → 0.0.437
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 +73 -7
- package/dist/index.d.ts +106 -8
- package/dist/index.js +12 -0
- package/dist/index.js.map +1 -1
- package/lib/components/group.ts +4 -0
- package/lib/components/schematic-arc.ts +17 -1
- package/lib/components/schematic-box.ts +25 -1
- package/lib/components/schematic-circle.ts +18 -1
- package/lib/components/schematic-line.ts +16 -1
- package/lib/components/schematic-path.ts +12 -1
- package/lib/components/schematic-rect.ts +19 -1
- package/lib/components/schematic-text.ts +16 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1326,7 +1326,16 @@ export interface ResonatorProps extends CommonComponentProps {
|
|
|
1326
1326
|
### SchematicArcProps `<schematicarc />`
|
|
1327
1327
|
|
|
1328
1328
|
```ts
|
|
1329
|
-
export
|
|
1329
|
+
export interface SchematicArcProps {
|
|
1330
|
+
center: Point;
|
|
1331
|
+
radius: Distance;
|
|
1332
|
+
startAngleDegrees: number | string;
|
|
1333
|
+
endAngleDegrees: number | string;
|
|
1334
|
+
direction?: "clockwise" | "counterclockwise";
|
|
1335
|
+
strokeWidth?: Distance;
|
|
1336
|
+
color?: string;
|
|
1337
|
+
isDashed?: boolean;
|
|
1338
|
+
}
|
|
1330
1339
|
```
|
|
1331
1340
|
|
|
1332
1341
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-arc.ts)
|
|
@@ -1334,7 +1343,24 @@ export type SchematicArcProps = z.input<typeof schematicArcProps>;
|
|
|
1334
1343
|
### SchematicBoxProps `<schematicbox />`
|
|
1335
1344
|
|
|
1336
1345
|
```ts
|
|
1337
|
-
export
|
|
1346
|
+
export interface SchematicBoxProps {
|
|
1347
|
+
schX?: Distance;
|
|
1348
|
+
schY?: Distance;
|
|
1349
|
+
width?: Distance;
|
|
1350
|
+
height?: Distance;
|
|
1351
|
+
overlay?: string[];
|
|
1352
|
+
padding?: Distance;
|
|
1353
|
+
paddingLeft?: Distance;
|
|
1354
|
+
paddingRight?: Distance;
|
|
1355
|
+
paddingTop?: Distance;
|
|
1356
|
+
paddingBottom?: Distance;
|
|
1357
|
+
title?: string;
|
|
1358
|
+
titleAlignment?: z.infer<typeof ninePointAnchor>;
|
|
1359
|
+
titleColor?: string;
|
|
1360
|
+
titleFontSize?: Distance;
|
|
1361
|
+
titleInside?: boolean;
|
|
1362
|
+
strokeStyle?: "solid" | "dashed";
|
|
1363
|
+
}
|
|
1338
1364
|
```
|
|
1339
1365
|
|
|
1340
1366
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-box.ts)
|
|
@@ -1359,7 +1385,15 @@ export interface SchematicCellProps {
|
|
|
1359
1385
|
### SchematicCircleProps `<schematiccircle />`
|
|
1360
1386
|
|
|
1361
1387
|
```ts
|
|
1362
|
-
export
|
|
1388
|
+
export interface SchematicCircleProps {
|
|
1389
|
+
center: Point;
|
|
1390
|
+
radius: Distance;
|
|
1391
|
+
strokeWidth?: Distance;
|
|
1392
|
+
color?: string;
|
|
1393
|
+
isFilled?: boolean;
|
|
1394
|
+
fillColor?: string;
|
|
1395
|
+
isDashed?: boolean;
|
|
1396
|
+
}
|
|
1363
1397
|
```
|
|
1364
1398
|
|
|
1365
1399
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-circle.ts)
|
|
@@ -1367,7 +1401,15 @@ export type SchematicCircleProps = z.input<typeof schematicCircleProps>;
|
|
|
1367
1401
|
### SchematicLineProps `<schematicline />`
|
|
1368
1402
|
|
|
1369
1403
|
```ts
|
|
1370
|
-
export
|
|
1404
|
+
export interface SchematicLineProps {
|
|
1405
|
+
x1: Distance;
|
|
1406
|
+
y1: Distance;
|
|
1407
|
+
x2: Distance;
|
|
1408
|
+
y2: Distance;
|
|
1409
|
+
strokeWidth?: Distance;
|
|
1410
|
+
color?: string;
|
|
1411
|
+
isDashed?: boolean;
|
|
1412
|
+
}
|
|
1371
1413
|
```
|
|
1372
1414
|
|
|
1373
1415
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-line.ts)
|
|
@@ -1375,7 +1417,11 @@ export type SchematicLineProps = z.input<typeof schematicLineProps>;
|
|
|
1375
1417
|
### SchematicPathProps `<schematicpath />`
|
|
1376
1418
|
|
|
1377
1419
|
```ts
|
|
1378
|
-
export
|
|
1420
|
+
export interface SchematicPathProps {
|
|
1421
|
+
points: Point[];
|
|
1422
|
+
isFilled?: boolean;
|
|
1423
|
+
fillColor?: "red" | "blue";
|
|
1424
|
+
}
|
|
1379
1425
|
```
|
|
1380
1426
|
|
|
1381
1427
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-path.ts)
|
|
@@ -1383,7 +1429,19 @@ export type SchematicPathProps = z.input<typeof schematicPathProps>;
|
|
|
1383
1429
|
### SchematicRectProps `<schematicrect />`
|
|
1384
1430
|
|
|
1385
1431
|
```ts
|
|
1386
|
-
export
|
|
1432
|
+
export interface SchematicRectProps {
|
|
1433
|
+
schX?: Distance;
|
|
1434
|
+
schY?: Distance;
|
|
1435
|
+
width: Distance;
|
|
1436
|
+
height: Distance;
|
|
1437
|
+
rotation?: number | string;
|
|
1438
|
+
strokeWidth?: Distance;
|
|
1439
|
+
color?: string;
|
|
1440
|
+
isFilled?: boolean;
|
|
1441
|
+
fillColor?: string;
|
|
1442
|
+
isDashed?: boolean;
|
|
1443
|
+
cornerRadius?: Distance;
|
|
1444
|
+
}
|
|
1387
1445
|
```
|
|
1388
1446
|
|
|
1389
1447
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-rect.ts)
|
|
@@ -1418,7 +1476,15 @@ export interface SchematicTableProps {
|
|
|
1418
1476
|
### SchematicTextProps `<schematictext />`
|
|
1419
1477
|
|
|
1420
1478
|
```ts
|
|
1421
|
-
export
|
|
1479
|
+
export interface SchematicTextProps {
|
|
1480
|
+
schX?: Distance;
|
|
1481
|
+
schY?: Distance;
|
|
1482
|
+
text: string;
|
|
1483
|
+
fontSize?: number;
|
|
1484
|
+
anchor?: z.infer<typeof fivePointAnchor> | z.infer<typeof ninePointAnchor>;
|
|
1485
|
+
color?: string;
|
|
1486
|
+
schRotation?: number | string;
|
|
1487
|
+
}
|
|
1422
1488
|
```
|
|
1423
1489
|
|
|
1424
1490
|
[Source](https://github.com/tscircuit/props/blob/main/lib/components/schematic-text.ts)
|
package/dist/index.d.ts
CHANGED
|
@@ -5709,6 +5709,7 @@ declare const autorouterConfig: z.ZodObject<{
|
|
|
5709
5709
|
}>;
|
|
5710
5710
|
declare const autorouterPreset: z.ZodUnion<[z.ZodLiteral<"sequential_trace">, z.ZodLiteral<"subcircuit">, z.ZodLiteral<"auto">, z.ZodLiteral<"auto_local">, z.ZodLiteral<"auto_cloud">, z.ZodLiteral<"freerouting">, z.ZodLiteral<"laser_prefab">, z.ZodLiteral<"sequential-trace">, z.ZodLiteral<"auto-local">, z.ZodLiteral<"auto-cloud">]>;
|
|
5711
5711
|
declare const autorouterProp: z.ZodType<AutorouterProp>;
|
|
5712
|
+
declare const autorouterEffortLevel: z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>;
|
|
5712
5713
|
interface SubcircuitGroupProps extends BaseGroupProps {
|
|
5713
5714
|
manualEdits?: ManualEditsFileInput;
|
|
5714
5715
|
routingDisabled?: boolean;
|
|
@@ -5717,6 +5718,7 @@ interface SubcircuitGroupProps extends BaseGroupProps {
|
|
|
5717
5718
|
minTraceWidth?: Distance;
|
|
5718
5719
|
pcbRouteCache?: PcbRouteCache;
|
|
5719
5720
|
autorouter?: AutorouterProp;
|
|
5721
|
+
autorouterEffortLevel?: "1x" | "2x" | "5x" | "10x" | "100x";
|
|
5720
5722
|
/**
|
|
5721
5723
|
* Serialized circuit JSON describing a precompiled subcircuit
|
|
5722
5724
|
*/
|
|
@@ -7504,6 +7506,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7504
7506
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
7505
7507
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
7506
7508
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
7509
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
7507
7510
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
7508
7511
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
7509
7512
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -7813,6 +7816,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
7813
7816
|
partsEngine?: PartsEngine | undefined;
|
|
7814
7817
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
7815
7818
|
autorouter?: AutorouterProp | undefined;
|
|
7819
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
7816
7820
|
square?: boolean | undefined;
|
|
7817
7821
|
emptyArea?: string | undefined;
|
|
7818
7822
|
filledArea?: string | undefined;
|
|
@@ -8118,6 +8122,7 @@ declare const subcircuitGroupProps: z.ZodObject<{
|
|
|
8118
8122
|
partsEngine?: PartsEngine | undefined;
|
|
8119
8123
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
8120
8124
|
autorouter?: AutorouterProp | undefined;
|
|
8125
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
8121
8126
|
square?: boolean | undefined;
|
|
8122
8127
|
emptyArea?: string | undefined;
|
|
8123
8128
|
filledArea?: string | undefined;
|
|
@@ -8835,6 +8840,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
8835
8840
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
8836
8841
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
8837
8842
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
8843
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
8838
8844
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
8839
8845
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
8840
8846
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -9147,6 +9153,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
9147
9153
|
partsEngine?: PartsEngine | undefined;
|
|
9148
9154
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
9149
9155
|
autorouter?: AutorouterProp | undefined;
|
|
9156
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
9150
9157
|
square?: boolean | undefined;
|
|
9151
9158
|
emptyArea?: string | undefined;
|
|
9152
9159
|
filledArea?: string | undefined;
|
|
@@ -9453,6 +9460,7 @@ declare const subcircuitGroupPropsWithBool: z.ZodObject<{
|
|
|
9453
9460
|
partsEngine?: PartsEngine | undefined;
|
|
9454
9461
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
9455
9462
|
autorouter?: AutorouterProp | undefined;
|
|
9463
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
9456
9464
|
square?: boolean | undefined;
|
|
9457
9465
|
emptyArea?: string | undefined;
|
|
9458
9466
|
filledArea?: string | undefined;
|
|
@@ -11217,6 +11225,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11217
11225
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
11218
11226
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
11219
11227
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
11228
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
11220
11229
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
11221
11230
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
11222
11231
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -11529,6 +11538,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11529
11538
|
partsEngine?: PartsEngine | undefined;
|
|
11530
11539
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
11531
11540
|
autorouter?: AutorouterProp | undefined;
|
|
11541
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
11532
11542
|
square?: boolean | undefined;
|
|
11533
11543
|
emptyArea?: string | undefined;
|
|
11534
11544
|
filledArea?: string | undefined;
|
|
@@ -11835,6 +11845,7 @@ declare const groupProps: z.ZodDiscriminatedUnion<"subcircuit", [z.ZodObject<{
|
|
|
11835
11845
|
partsEngine?: PartsEngine | undefined;
|
|
11836
11846
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
11837
11847
|
autorouter?: AutorouterProp | undefined;
|
|
11848
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
11838
11849
|
square?: boolean | undefined;
|
|
11839
11850
|
emptyArea?: string | undefined;
|
|
11840
11851
|
filledArea?: string | undefined;
|
|
@@ -12583,6 +12594,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
12583
12594
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
12584
12595
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
12585
12596
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
12597
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
12586
12598
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
12587
12599
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
12588
12600
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -12920,6 +12932,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
12920
12932
|
partsEngine?: PartsEngine | undefined;
|
|
12921
12933
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
12922
12934
|
autorouter?: AutorouterProp | undefined;
|
|
12935
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
12923
12936
|
square?: boolean | undefined;
|
|
12924
12937
|
emptyArea?: string | undefined;
|
|
12925
12938
|
filledArea?: string | undefined;
|
|
@@ -13240,6 +13253,7 @@ declare const boardProps: z.ZodObject<Omit<{
|
|
|
13240
13253
|
partsEngine?: PartsEngine | undefined;
|
|
13241
13254
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
13242
13255
|
autorouter?: AutorouterProp | undefined;
|
|
13256
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
13243
13257
|
square?: boolean | undefined;
|
|
13244
13258
|
emptyArea?: string | undefined;
|
|
13245
13259
|
filledArea?: string | undefined;
|
|
@@ -16203,6 +16217,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16203
16217
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
16204
16218
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
16205
16219
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
16220
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
16206
16221
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
16207
16222
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
16208
16223
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -16518,6 +16533,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16518
16533
|
partsEngine?: PartsEngine | undefined;
|
|
16519
16534
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
16520
16535
|
autorouter?: AutorouterProp | undefined;
|
|
16536
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
16521
16537
|
square?: boolean | undefined;
|
|
16522
16538
|
emptyArea?: string | undefined;
|
|
16523
16539
|
filledArea?: string | undefined;
|
|
@@ -16823,6 +16839,7 @@ declare const breakoutProps: z.ZodObject<{
|
|
|
16823
16839
|
partsEngine?: PartsEngine | undefined;
|
|
16824
16840
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
16825
16841
|
autorouter?: AutorouterProp | undefined;
|
|
16842
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
16826
16843
|
square?: boolean | undefined;
|
|
16827
16844
|
emptyArea?: string | undefined;
|
|
16828
16845
|
filledArea?: string | undefined;
|
|
@@ -35032,6 +35049,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35032
35049
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
35033
35050
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
35034
35051
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
35052
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
35035
35053
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
35036
35054
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
35037
35055
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -35384,6 +35402,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35384
35402
|
partsEngine?: PartsEngine | undefined;
|
|
35385
35403
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
35386
35404
|
autorouter?: AutorouterProp | undefined;
|
|
35405
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
35387
35406
|
square?: boolean | undefined;
|
|
35388
35407
|
emptyArea?: string | undefined;
|
|
35389
35408
|
filledArea?: string | undefined;
|
|
@@ -35714,6 +35733,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
|
|
|
35714
35733
|
partsEngine?: PartsEngine | undefined;
|
|
35715
35734
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
35716
35735
|
autorouter?: AutorouterProp | undefined;
|
|
35736
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
35717
35737
|
square?: boolean | undefined;
|
|
35718
35738
|
emptyArea?: string | undefined;
|
|
35719
35739
|
filledArea?: string | undefined;
|
|
@@ -47049,6 +47069,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47049
47069
|
partsEngine: z.ZodOptional<z.ZodType<PartsEngine, z.ZodTypeDef, PartsEngine>>;
|
|
47050
47070
|
pcbRouteCache: z.ZodOptional<z.ZodType<PcbRouteCache, z.ZodTypeDef, PcbRouteCache>>;
|
|
47051
47071
|
autorouter: z.ZodOptional<z.ZodType<AutorouterProp, z.ZodTypeDef, AutorouterProp>>;
|
|
47072
|
+
autorouterEffortLevel: z.ZodOptional<z.ZodEnum<["1x", "2x", "5x", "10x", "100x"]>>;
|
|
47052
47073
|
square: z.ZodOptional<z.ZodBoolean>;
|
|
47053
47074
|
emptyArea: z.ZodOptional<z.ZodString>;
|
|
47054
47075
|
filledArea: z.ZodOptional<z.ZodString>;
|
|
@@ -47358,6 +47379,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47358
47379
|
partsEngine?: PartsEngine | undefined;
|
|
47359
47380
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
47360
47381
|
autorouter?: AutorouterProp | undefined;
|
|
47382
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
47361
47383
|
square?: boolean | undefined;
|
|
47362
47384
|
emptyArea?: string | undefined;
|
|
47363
47385
|
filledArea?: string | undefined;
|
|
@@ -47663,6 +47685,7 @@ declare const subcircuitProps: z.ZodObject<{
|
|
|
47663
47685
|
partsEngine?: PartsEngine | undefined;
|
|
47664
47686
|
pcbRouteCache?: PcbRouteCache | undefined;
|
|
47665
47687
|
autorouter?: AutorouterProp | undefined;
|
|
47688
|
+
autorouterEffortLevel?: "2x" | "1x" | "5x" | "10x" | "100x" | undefined;
|
|
47666
47689
|
square?: boolean | undefined;
|
|
47667
47690
|
emptyArea?: string | undefined;
|
|
47668
47691
|
filledArea?: string | undefined;
|
|
@@ -62547,7 +62570,17 @@ declare const schematicArcProps: z.ZodObject<{
|
|
|
62547
62570
|
color?: string | undefined;
|
|
62548
62571
|
isDashed?: boolean | undefined;
|
|
62549
62572
|
}>;
|
|
62550
|
-
|
|
62573
|
+
interface SchematicArcProps {
|
|
62574
|
+
center: Point;
|
|
62575
|
+
radius: Distance;
|
|
62576
|
+
startAngleDegrees: number | string;
|
|
62577
|
+
endAngleDegrees: number | string;
|
|
62578
|
+
direction?: "clockwise" | "counterclockwise";
|
|
62579
|
+
strokeWidth?: Distance;
|
|
62580
|
+
color?: string;
|
|
62581
|
+
isDashed?: boolean;
|
|
62582
|
+
}
|
|
62583
|
+
type InferredSchematicArcProps = z.input<typeof schematicArcProps>;
|
|
62551
62584
|
|
|
62552
62585
|
interface ToolingrailProps {
|
|
62553
62586
|
children?: any;
|
|
@@ -62680,7 +62713,25 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
62680
62713
|
titleInside?: boolean | undefined;
|
|
62681
62714
|
strokeStyle?: "dashed" | "solid" | undefined;
|
|
62682
62715
|
}>;
|
|
62683
|
-
|
|
62716
|
+
interface SchematicBoxProps {
|
|
62717
|
+
schX?: Distance;
|
|
62718
|
+
schY?: Distance;
|
|
62719
|
+
width?: Distance;
|
|
62720
|
+
height?: Distance;
|
|
62721
|
+
overlay?: string[];
|
|
62722
|
+
padding?: Distance;
|
|
62723
|
+
paddingLeft?: Distance;
|
|
62724
|
+
paddingRight?: Distance;
|
|
62725
|
+
paddingTop?: Distance;
|
|
62726
|
+
paddingBottom?: Distance;
|
|
62727
|
+
title?: string;
|
|
62728
|
+
titleAlignment?: z.infer<typeof ninePointAnchor>;
|
|
62729
|
+
titleColor?: string;
|
|
62730
|
+
titleFontSize?: Distance;
|
|
62731
|
+
titleInside?: boolean;
|
|
62732
|
+
strokeStyle?: "solid" | "dashed";
|
|
62733
|
+
}
|
|
62734
|
+
type InferredSchematicBoxProps = z.input<typeof schematicBoxProps>;
|
|
62684
62735
|
|
|
62685
62736
|
declare const schematicCircleProps: z.ZodObject<{
|
|
62686
62737
|
center: z.ZodObject<{
|
|
@@ -62722,7 +62773,16 @@ declare const schematicCircleProps: z.ZodObject<{
|
|
|
62722
62773
|
isDashed?: boolean | undefined;
|
|
62723
62774
|
fillColor?: string | undefined;
|
|
62724
62775
|
}>;
|
|
62725
|
-
|
|
62776
|
+
interface SchematicCircleProps {
|
|
62777
|
+
center: Point;
|
|
62778
|
+
radius: Distance;
|
|
62779
|
+
strokeWidth?: Distance;
|
|
62780
|
+
color?: string;
|
|
62781
|
+
isFilled?: boolean;
|
|
62782
|
+
fillColor?: string;
|
|
62783
|
+
isDashed?: boolean;
|
|
62784
|
+
}
|
|
62785
|
+
type InferredSchematicCircleProps = z.input<typeof schematicCircleProps>;
|
|
62726
62786
|
|
|
62727
62787
|
declare const schematicRectProps: z.ZodObject<{
|
|
62728
62788
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -62761,7 +62821,20 @@ declare const schematicRectProps: z.ZodObject<{
|
|
|
62761
62821
|
fillColor?: string | undefined;
|
|
62762
62822
|
rotation?: string | number | undefined;
|
|
62763
62823
|
}>;
|
|
62764
|
-
|
|
62824
|
+
interface SchematicRectProps {
|
|
62825
|
+
schX?: Distance;
|
|
62826
|
+
schY?: Distance;
|
|
62827
|
+
width: Distance;
|
|
62828
|
+
height: Distance;
|
|
62829
|
+
rotation?: number | string;
|
|
62830
|
+
strokeWidth?: Distance;
|
|
62831
|
+
color?: string;
|
|
62832
|
+
isFilled?: boolean;
|
|
62833
|
+
fillColor?: string;
|
|
62834
|
+
isDashed?: boolean;
|
|
62835
|
+
cornerRadius?: Distance;
|
|
62836
|
+
}
|
|
62837
|
+
type InferredSchematicRectProps = z.input<typeof schematicRectProps>;
|
|
62765
62838
|
|
|
62766
62839
|
declare const schematicLineProps: z.ZodObject<{
|
|
62767
62840
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -62788,7 +62861,18 @@ declare const schematicLineProps: z.ZodObject<{
|
|
|
62788
62861
|
color?: string | undefined;
|
|
62789
62862
|
isDashed?: boolean | undefined;
|
|
62790
62863
|
}>;
|
|
62791
|
-
|
|
62864
|
+
interface SchematicLineProps {
|
|
62865
|
+
x1: Distance;
|
|
62866
|
+
y1: Distance;
|
|
62867
|
+
x2: Distance;
|
|
62868
|
+
y2: Distance;
|
|
62869
|
+
strokeWidth?: Distance;
|
|
62870
|
+
color?: string;
|
|
62871
|
+
isDashed?: boolean;
|
|
62872
|
+
}
|
|
62873
|
+
type InferredSchematicLineProps = z.input<typeof schematicLineProps>;
|
|
62874
|
+
|
|
62875
|
+
declare const fivePointAnchor: z.ZodEnum<["center", "left", "right", "top", "bottom"]>;
|
|
62792
62876
|
|
|
62793
62877
|
declare const schematicTextProps: z.ZodObject<{
|
|
62794
62878
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -62815,7 +62899,16 @@ declare const schematicTextProps: z.ZodObject<{
|
|
|
62815
62899
|
color?: string | undefined;
|
|
62816
62900
|
fontSize?: number | undefined;
|
|
62817
62901
|
}>;
|
|
62818
|
-
|
|
62902
|
+
interface SchematicTextProps {
|
|
62903
|
+
schX?: Distance;
|
|
62904
|
+
schY?: Distance;
|
|
62905
|
+
text: string;
|
|
62906
|
+
fontSize?: number;
|
|
62907
|
+
anchor?: z.infer<typeof fivePointAnchor> | z.infer<typeof ninePointAnchor>;
|
|
62908
|
+
color?: string;
|
|
62909
|
+
schRotation?: number | string;
|
|
62910
|
+
}
|
|
62911
|
+
type InferredSchematicTextProps = z.input<typeof schematicTextProps>;
|
|
62819
62912
|
|
|
62820
62913
|
declare const schematicPathProps: z.ZodObject<{
|
|
62821
62914
|
points: z.ZodArray<z.ZodObject<{
|
|
@@ -62845,7 +62938,12 @@ declare const schematicPathProps: z.ZodObject<{
|
|
|
62845
62938
|
isFilled?: boolean | undefined;
|
|
62846
62939
|
fillColor?: "red" | "blue" | undefined;
|
|
62847
62940
|
}>;
|
|
62848
|
-
|
|
62941
|
+
interface SchematicPathProps {
|
|
62942
|
+
points: Point[];
|
|
62943
|
+
isFilled?: boolean;
|
|
62944
|
+
fillColor?: "red" | "blue";
|
|
62945
|
+
}
|
|
62946
|
+
type InferredSchematicPathProps = z.input<typeof schematicPathProps>;
|
|
62849
62947
|
|
|
62850
62948
|
declare const schematicTableProps: z.ZodObject<{
|
|
62851
62949
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -65143,4 +65241,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
|
|
|
65143
65241
|
}
|
|
65144
65242
|
declare const projectConfig: z.ZodType<ProjectConfig>;
|
|
65145
65243
|
|
|
65146
|
-
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 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 CourtyardOutlineProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, 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 InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type JumperProps, type KicadAutocompleteStringPath, type KicadPath, 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 NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, 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 PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillHoleProps, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, 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, autorouterPreset, autorouterProp, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardProps, border, breakoutPointProps, breakoutProps, bugProps, 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, courtyardOutlineProps, courtyardRectProps, crystalPins, crystalProps, 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, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinAttributeMap, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, 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 };
|
|
65244
|
+
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 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 CourtyardOutlineProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, 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 KicadAutocompleteStringPath, type KicadPath, 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 NetAliasProps, type NetLabelProps, type NetProps, type NonSubcircuitGroupProps, 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 PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillHoleProps, type PillPlatedHoleProps, type PillSmtPadProps, type PillWithRectPadPlatedHoleProps, type PinAttributeMap, type PinCompatibleVariant, type PinHeaderProps, type PinLabelFromPinLabelMap, type PinLabelsProp, type PinSideDefinition, type PinVariant, type PinoutProps, type PlatedHoleProps, type PlatformConfig, type PolygonCutoutProps, type PolygonSmtPadProps, type PortHints, type PortProps, type PositionMode, 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, 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, courtyardOutlineProps, courtyardRectProps, crystalPins, crystalProps, 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, layoutConfig, ledPins, ledProps, lrPins, lrPolarPins, manual_edit_event, manual_edits_file, manual_pcb_placement, manual_schematic_placement, manual_trace_hint, mosfetPins, mosfetProps, netAliasProps, netLabelProps, netProps, ninePointAnchor, panelProps, partsEngine, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbStyle, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillSmtPadProps, pinAttributeMap, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, 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
|
@@ -612,6 +612,7 @@ var autorouterProp = z30.union([
|
|
|
612
612
|
autorouterPreset,
|
|
613
613
|
autorouterString
|
|
614
614
|
]);
|
|
615
|
+
var autorouterEffortLevel = z30.enum(["1x", "2x", "5x", "10x", "100x"]);
|
|
615
616
|
var baseGroupProps = commonLayoutProps.extend({
|
|
616
617
|
name: z30.string().optional(),
|
|
617
618
|
children: z30.any().optional(),
|
|
@@ -713,6 +714,7 @@ var subcircuitGroupProps = baseGroupProps.extend({
|
|
|
713
714
|
partsEngine: partsEngine.optional(),
|
|
714
715
|
pcbRouteCache: z30.custom((v) => true).optional(),
|
|
715
716
|
autorouter: autorouterProp.optional(),
|
|
717
|
+
autorouterEffortLevel: autorouterEffortLevel.optional(),
|
|
716
718
|
square: z30.boolean().optional(),
|
|
717
719
|
emptyArea: z30.string().optional(),
|
|
718
720
|
filledArea: z30.string().optional(),
|
|
@@ -2009,6 +2011,7 @@ var schematicArcProps = z88.object({
|
|
|
2009
2011
|
color: z88.string().optional(),
|
|
2010
2012
|
isDashed: z88.boolean().optional().default(false)
|
|
2011
2013
|
});
|
|
2014
|
+
expectTypesMatch(true);
|
|
2012
2015
|
|
|
2013
2016
|
// lib/components/toolingrail.ts
|
|
2014
2017
|
import { z as z89 } from "zod";
|
|
@@ -2048,6 +2051,7 @@ var schematicBoxProps = z90.object({
|
|
|
2048
2051
|
message: "Cannot provide both `width`/`height` and `overlay` at the same time."
|
|
2049
2052
|
}
|
|
2050
2053
|
);
|
|
2054
|
+
expectTypesMatch(true);
|
|
2051
2055
|
|
|
2052
2056
|
// lib/components/schematic-circle.ts
|
|
2053
2057
|
import { distance as distance27, point as point6 } from "circuit-json";
|
|
@@ -2061,6 +2065,9 @@ var schematicCircleProps = z91.object({
|
|
|
2061
2065
|
fillColor: z91.string().optional(),
|
|
2062
2066
|
isDashed: z91.boolean().optional().default(false)
|
|
2063
2067
|
});
|
|
2068
|
+
expectTypesMatch(
|
|
2069
|
+
true
|
|
2070
|
+
);
|
|
2064
2071
|
|
|
2065
2072
|
// lib/components/schematic-rect.ts
|
|
2066
2073
|
import { distance as distance28, rotation as rotation6 } from "circuit-json";
|
|
@@ -2078,6 +2085,7 @@ var schematicRectProps = z92.object({
|
|
|
2078
2085
|
isDashed: z92.boolean().optional().default(false),
|
|
2079
2086
|
cornerRadius: distance28.optional()
|
|
2080
2087
|
});
|
|
2088
|
+
expectTypesMatch(true);
|
|
2081
2089
|
|
|
2082
2090
|
// lib/components/schematic-line.ts
|
|
2083
2091
|
import { distance as distance29 } from "circuit-json";
|
|
@@ -2091,6 +2099,7 @@ var schematicLineProps = z93.object({
|
|
|
2091
2099
|
color: z93.string().optional(),
|
|
2092
2100
|
isDashed: z93.boolean().optional().default(false)
|
|
2093
2101
|
});
|
|
2102
|
+
expectTypesMatch(true);
|
|
2094
2103
|
|
|
2095
2104
|
// lib/components/schematic-text.ts
|
|
2096
2105
|
import { distance as distance30, rotation as rotation7 } from "circuit-json";
|
|
@@ -2116,6 +2125,7 @@ var schematicTextProps = z95.object({
|
|
|
2116
2125
|
color: z95.string().default("#000000"),
|
|
2117
2126
|
schRotation: rotation7.default(0)
|
|
2118
2127
|
});
|
|
2128
|
+
expectTypesMatch(true);
|
|
2119
2129
|
|
|
2120
2130
|
// lib/components/schematic-path.ts
|
|
2121
2131
|
import { point as point8 } from "circuit-json";
|
|
@@ -2125,6 +2135,7 @@ var schematicPathProps = z96.object({
|
|
|
2125
2135
|
isFilled: z96.boolean().optional().default(false),
|
|
2126
2136
|
fillColor: z96.enum(["red", "blue"]).optional()
|
|
2127
2137
|
});
|
|
2138
|
+
expectTypesMatch(true);
|
|
2128
2139
|
|
|
2129
2140
|
// lib/components/schematic-table.ts
|
|
2130
2141
|
import { distance as distance31 } from "circuit-json";
|
|
@@ -2482,6 +2493,7 @@ expectTypesMatch(true);
|
|
|
2482
2493
|
export {
|
|
2483
2494
|
analogSimulationProps,
|
|
2484
2495
|
autorouterConfig,
|
|
2496
|
+
autorouterEffortLevel,
|
|
2485
2497
|
autorouterPreset,
|
|
2486
2498
|
autorouterProp,
|
|
2487
2499
|
baseGroupProps,
|