@tscircuit/props 0.0.436 → 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 CHANGED
@@ -1326,7 +1326,16 @@ export interface ResonatorProps extends CommonComponentProps {
1326
1326
  ### SchematicArcProps `<schematicarc />`
1327
1327
 
1328
1328
  ```ts
1329
- export type SchematicArcProps = z.input<typeof schematicArcProps>;
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 type SchematicBoxProps = z.input<typeof schematicBoxProps>;
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 type SchematicCircleProps = z.input<typeof schematicCircleProps>;
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 type SchematicLineProps = z.input<typeof schematicLineProps>;
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 type SchematicPathProps = z.input<typeof schematicPathProps>;
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 type SchematicRectProps = z.input<typeof schematicRectProps>;
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 type SchematicTextProps = z.input<typeof schematicTextProps>;
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;
@@ -65218,4 +65241,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
65218
65241
  }
65219
65242
  declare const projectConfig: z.ZodType<ProjectConfig>;
65220
65243
 
65221
- 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, 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(),
@@ -2491,6 +2493,7 @@ expectTypesMatch(true);
2491
2493
  export {
2492
2494
  analogSimulationProps,
2493
2495
  autorouterConfig,
2496
+ autorouterEffortLevel,
2494
2497
  autorouterPreset,
2495
2498
  autorouterProp,
2496
2499
  baseGroupProps,