@tscircuit/props 0.0.710 → 0.0.712
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 +8 -0
- package/dist/index.d.ts +96 -1
- package/dist/index.js +21 -3
- package/dist/index.js.map +1 -1
- package/lib/assembly/drawing/dimension.ts +33 -1
- package/lib/components/transistor.ts +9 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -375,6 +375,7 @@ export interface AnalogTransientSimulationProps extends AnalogAnalysisSimulation
|
|
|
375
375
|
timePerStep?: number | string;
|
|
376
376
|
/** Physical pin selectors and per-experiment direction/enable states. Requires spiceEngine="pcb_spice"; rendering only declares the experiment. */
|
|
377
377
|
ibisPinStates?: Record<string, IbisPinRunState>;
|
|
378
|
+
pcbSpiceChannel?: PcbSpiceChannelProps;
|
|
378
379
|
}
|
|
379
380
|
```
|
|
380
381
|
|
|
@@ -2625,6 +2626,13 @@ export interface TransistorProps<
|
|
|
2625
2626
|
PinLabel extends string = string,
|
|
2626
2627
|
> extends CommonComponentProps<PinLabel> {
|
|
2627
2628
|
type: "npn" | "pnp" | "bjt" | "jfet" | "mosfet" | "igbt";
|
|
2629
|
+
/**
|
|
2630
|
+
* Physical package pins mapped to semantic terminal names (and optional aliases).
|
|
2631
|
+
* For MMBT3904 SOT-23: { pin1: "base", pin2: "emitter", pin3: "collector" }.
|
|
2632
|
+
* Use full terminal names to retain schematic and simulation semantics.
|
|
2633
|
+
* Omit to retain the symbol's default pin order; no package pinout is inferred.
|
|
2634
|
+
*/
|
|
2635
|
+
pinLabels?: PinLabelsProp<string, PinLabel>;
|
|
2628
2636
|
connections?: Connections<transistorPinsLabels>;
|
|
2629
2637
|
}
|
|
2630
2638
|
```
|
package/dist/index.d.ts
CHANGED
|
@@ -477,6 +477,8 @@ declare const assemblyDrawingPartViewProps: z.ZodEffects<z.ZodEffects<z.ZodObjec
|
|
|
477
477
|
}>;
|
|
478
478
|
type InferredAssemblyDrawingPartViewProps = z.input<typeof assemblyDrawingPartViewProps>;
|
|
479
479
|
|
|
480
|
+
declare const dimensionAnchor: z.ZodEnum<["center", "left", "right", "top", "bottom"]>;
|
|
481
|
+
type AssemblyDrawingDimensionAnchor = z.infer<typeof dimensionAnchor>;
|
|
480
482
|
/** Authoring intent for a dimension of model geometry or a part view's extent.
|
|
481
483
|
* Core resolves geometry, measurement text and paper placement in a follow-up.
|
|
482
484
|
*/
|
|
@@ -489,32 +491,65 @@ interface AssemblyDrawingDimensionProps {
|
|
|
489
491
|
widthOfView?: boolean;
|
|
490
492
|
/** Request the selected geometry's height in the view. Conflicts with edgeRef and widthOfView=true. */
|
|
491
493
|
heightOfView?: boolean;
|
|
494
|
+
/** Paired selectors for holes, boards or named model outlines. Both are required; conflicts with edgeRef and true view targets. */
|
|
495
|
+
fromRef?: string;
|
|
496
|
+
toRef?: string;
|
|
497
|
+
/** Anchor on the reference's projected bounds. Defaults to center; directions are relative to the drawing view, not CAD world axes. */
|
|
498
|
+
fromAnchor?: AssemblyDrawingDimensionAnchor;
|
|
499
|
+
toAnchor?: AssemblyDrawingDimensionAnchor;
|
|
500
|
+
/** Measure separation on the view's horizontal (x) or vertical (y) axis. Omitted chooses the larger separation, x on ties. Requires paired references. */
|
|
501
|
+
axis?: "x" | "y";
|
|
492
502
|
}
|
|
493
503
|
declare const assemblyDrawingDimensionProps: z.ZodEffects<z.ZodObject<{
|
|
494
504
|
name: z.ZodOptional<z.ZodString>;
|
|
495
505
|
edgeRef: z.ZodOptional<z.ZodString>;
|
|
496
506
|
widthOfView: z.ZodOptional<z.ZodBoolean>;
|
|
497
507
|
heightOfView: z.ZodOptional<z.ZodBoolean>;
|
|
508
|
+
fromRef: z.ZodOptional<z.ZodString>;
|
|
509
|
+
toRef: z.ZodOptional<z.ZodString>;
|
|
510
|
+
fromAnchor: z.ZodOptional<z.ZodEnum<["center", "left", "right", "top", "bottom"]>>;
|
|
511
|
+
toAnchor: z.ZodOptional<z.ZodEnum<["center", "left", "right", "top", "bottom"]>>;
|
|
512
|
+
axis: z.ZodOptional<z.ZodEnum<["x", "y"]>>;
|
|
498
513
|
}, "strip", z.ZodTypeAny, {
|
|
499
514
|
name?: string | undefined;
|
|
515
|
+
axis?: "x" | "y" | undefined;
|
|
500
516
|
edgeRef?: string | undefined;
|
|
501
517
|
widthOfView?: boolean | undefined;
|
|
502
518
|
heightOfView?: boolean | undefined;
|
|
519
|
+
fromRef?: string | undefined;
|
|
520
|
+
toRef?: string | undefined;
|
|
521
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
522
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
503
523
|
}, {
|
|
504
524
|
name?: string | undefined;
|
|
525
|
+
axis?: "x" | "y" | undefined;
|
|
505
526
|
edgeRef?: string | undefined;
|
|
506
527
|
widthOfView?: boolean | undefined;
|
|
507
528
|
heightOfView?: boolean | undefined;
|
|
529
|
+
fromRef?: string | undefined;
|
|
530
|
+
toRef?: string | undefined;
|
|
531
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
532
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
508
533
|
}>, {
|
|
509
534
|
name?: string | undefined;
|
|
535
|
+
axis?: "x" | "y" | undefined;
|
|
510
536
|
edgeRef?: string | undefined;
|
|
511
537
|
widthOfView?: boolean | undefined;
|
|
512
538
|
heightOfView?: boolean | undefined;
|
|
539
|
+
fromRef?: string | undefined;
|
|
540
|
+
toRef?: string | undefined;
|
|
541
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
542
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
513
543
|
}, {
|
|
514
544
|
name?: string | undefined;
|
|
545
|
+
axis?: "x" | "y" | undefined;
|
|
515
546
|
edgeRef?: string | undefined;
|
|
516
547
|
widthOfView?: boolean | undefined;
|
|
517
548
|
heightOfView?: boolean | undefined;
|
|
549
|
+
fromRef?: string | undefined;
|
|
550
|
+
toRef?: string | undefined;
|
|
551
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
552
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
518
553
|
}>;
|
|
519
554
|
type InferredAssemblyDrawingDimensionProps = z.input<typeof assemblyDrawingDimensionProps>;
|
|
520
555
|
|
|
@@ -796,26 +831,51 @@ declare const assemblyDrawingProps: {
|
|
|
796
831
|
edgeRef: zod.ZodOptional<zod.ZodString>;
|
|
797
832
|
widthOfView: zod.ZodOptional<zod.ZodBoolean>;
|
|
798
833
|
heightOfView: zod.ZodOptional<zod.ZodBoolean>;
|
|
834
|
+
fromRef: zod.ZodOptional<zod.ZodString>;
|
|
835
|
+
toRef: zod.ZodOptional<zod.ZodString>;
|
|
836
|
+
fromAnchor: zod.ZodOptional<zod.ZodEnum<["center", "left", "right", "top", "bottom"]>>;
|
|
837
|
+
toAnchor: zod.ZodOptional<zod.ZodEnum<["center", "left", "right", "top", "bottom"]>>;
|
|
838
|
+
axis: zod.ZodOptional<zod.ZodEnum<["x", "y"]>>;
|
|
799
839
|
}, "strip", zod.ZodTypeAny, {
|
|
800
840
|
name?: string | undefined;
|
|
841
|
+
axis?: "x" | "y" | undefined;
|
|
801
842
|
edgeRef?: string | undefined;
|
|
802
843
|
widthOfView?: boolean | undefined;
|
|
803
844
|
heightOfView?: boolean | undefined;
|
|
845
|
+
fromRef?: string | undefined;
|
|
846
|
+
toRef?: string | undefined;
|
|
847
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
848
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
804
849
|
}, {
|
|
805
850
|
name?: string | undefined;
|
|
851
|
+
axis?: "x" | "y" | undefined;
|
|
806
852
|
edgeRef?: string | undefined;
|
|
807
853
|
widthOfView?: boolean | undefined;
|
|
808
854
|
heightOfView?: boolean | undefined;
|
|
855
|
+
fromRef?: string | undefined;
|
|
856
|
+
toRef?: string | undefined;
|
|
857
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
858
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
809
859
|
}>, {
|
|
810
860
|
name?: string | undefined;
|
|
861
|
+
axis?: "x" | "y" | undefined;
|
|
811
862
|
edgeRef?: string | undefined;
|
|
812
863
|
widthOfView?: boolean | undefined;
|
|
813
864
|
heightOfView?: boolean | undefined;
|
|
865
|
+
fromRef?: string | undefined;
|
|
866
|
+
toRef?: string | undefined;
|
|
867
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
868
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
814
869
|
}, {
|
|
815
870
|
name?: string | undefined;
|
|
871
|
+
axis?: "x" | "y" | undefined;
|
|
816
872
|
edgeRef?: string | undefined;
|
|
817
873
|
widthOfView?: boolean | undefined;
|
|
818
874
|
heightOfView?: boolean | undefined;
|
|
875
|
+
fromRef?: string | undefined;
|
|
876
|
+
toRef?: string | undefined;
|
|
877
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
878
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
819
879
|
}>;
|
|
820
880
|
};
|
|
821
881
|
|
|
@@ -24424,26 +24484,51 @@ declare const assemblyProps: {
|
|
|
24424
24484
|
edgeRef: zod.ZodOptional<zod.ZodString>;
|
|
24425
24485
|
widthOfView: zod.ZodOptional<zod.ZodBoolean>;
|
|
24426
24486
|
heightOfView: zod.ZodOptional<zod.ZodBoolean>;
|
|
24487
|
+
fromRef: zod.ZodOptional<zod.ZodString>;
|
|
24488
|
+
toRef: zod.ZodOptional<zod.ZodString>;
|
|
24489
|
+
fromAnchor: zod.ZodOptional<zod.ZodEnum<["center", "left", "right", "top", "bottom"]>>;
|
|
24490
|
+
toAnchor: zod.ZodOptional<zod.ZodEnum<["center", "left", "right", "top", "bottom"]>>;
|
|
24491
|
+
axis: zod.ZodOptional<zod.ZodEnum<["x", "y"]>>;
|
|
24427
24492
|
}, "strip", zod.ZodTypeAny, {
|
|
24428
24493
|
name?: string | undefined;
|
|
24494
|
+
axis?: "x" | "y" | undefined;
|
|
24429
24495
|
edgeRef?: string | undefined;
|
|
24430
24496
|
widthOfView?: boolean | undefined;
|
|
24431
24497
|
heightOfView?: boolean | undefined;
|
|
24498
|
+
fromRef?: string | undefined;
|
|
24499
|
+
toRef?: string | undefined;
|
|
24500
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
24501
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
24432
24502
|
}, {
|
|
24433
24503
|
name?: string | undefined;
|
|
24504
|
+
axis?: "x" | "y" | undefined;
|
|
24434
24505
|
edgeRef?: string | undefined;
|
|
24435
24506
|
widthOfView?: boolean | undefined;
|
|
24436
24507
|
heightOfView?: boolean | undefined;
|
|
24508
|
+
fromRef?: string | undefined;
|
|
24509
|
+
toRef?: string | undefined;
|
|
24510
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
24511
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
24437
24512
|
}>, {
|
|
24438
24513
|
name?: string | undefined;
|
|
24514
|
+
axis?: "x" | "y" | undefined;
|
|
24439
24515
|
edgeRef?: string | undefined;
|
|
24440
24516
|
widthOfView?: boolean | undefined;
|
|
24441
24517
|
heightOfView?: boolean | undefined;
|
|
24518
|
+
fromRef?: string | undefined;
|
|
24519
|
+
toRef?: string | undefined;
|
|
24520
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
24521
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
24442
24522
|
}, {
|
|
24443
24523
|
name?: string | undefined;
|
|
24524
|
+
axis?: "x" | "y" | undefined;
|
|
24444
24525
|
edgeRef?: string | undefined;
|
|
24445
24526
|
widthOfView?: boolean | undefined;
|
|
24446
24527
|
heightOfView?: boolean | undefined;
|
|
24528
|
+
fromRef?: string | undefined;
|
|
24529
|
+
toRef?: string | undefined;
|
|
24530
|
+
fromAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
24531
|
+
toAnchor?: "left" | "right" | "center" | "top" | "bottom" | undefined;
|
|
24447
24532
|
}>;
|
|
24448
24533
|
};
|
|
24449
24534
|
readonly explosion: {
|
|
@@ -193548,6 +193633,13 @@ declare const transistorPinsLabels: readonly ["pin1", "pin2", "pin3", "emitter",
|
|
|
193548
193633
|
type transistorPinsLabels = (typeof transistorPinsLabels)[number];
|
|
193549
193634
|
interface TransistorProps<PinLabel extends string = string> extends CommonComponentProps<PinLabel> {
|
|
193550
193635
|
type: "npn" | "pnp" | "bjt" | "jfet" | "mosfet" | "igbt";
|
|
193636
|
+
/**
|
|
193637
|
+
* Physical package pins mapped to semantic terminal names (and optional aliases).
|
|
193638
|
+
* For MMBT3904 SOT-23: { pin1: "base", pin2: "emitter", pin3: "collector" }.
|
|
193639
|
+
* Use full terminal names to retain schematic and simulation semantics.
|
|
193640
|
+
* Omit to retain the symbol's default pin order; no package pinout is inferred.
|
|
193641
|
+
*/
|
|
193642
|
+
pinLabels?: PinLabelsProp<string, PinLabel>;
|
|
193551
193643
|
connections?: Connections<transistorPinsLabels>;
|
|
193552
193644
|
}
|
|
193553
193645
|
declare const transistorProps: z.ZodObject<{
|
|
@@ -197464,6 +197556,7 @@ declare const transistorProps: z.ZodObject<{
|
|
|
197464
197556
|
manufacturerPartNumber: z.ZodOptional<z.ZodString>;
|
|
197465
197557
|
} & {
|
|
197466
197558
|
type: z.ZodEnum<["npn", "pnp", "bjt", "jfet", "mosfet", "igbt"]>;
|
|
197559
|
+
pinLabels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
197467
197560
|
connections: z.ZodOptional<z.ZodRecord<z.ZodEnum<["pin1", "pin2", "pin3", "emitter", "collector", "base", "gate", "source", "drain"]>, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodReadonly<z.ZodArray<z.ZodString, "many">>]>, z.ZodArray<z.ZodString, "many">]>>>;
|
|
197468
197561
|
}, "strip", z.ZodTypeAny, {
|
|
197469
197562
|
type: "npn" | "pnp" | "bjt" | "jfet" | "mosfet" | "igbt";
|
|
@@ -198142,6 +198235,7 @@ declare const transistorProps: z.ZodObject<{
|
|
|
198142
198235
|
schSectionName?: string | undefined;
|
|
198143
198236
|
schSheetName?: string | undefined;
|
|
198144
198237
|
connections?: Partial<Record<"pin1" | "pin2" | "source" | "pin3" | "emitter" | "collector" | "base" | "gate" | "drain", string | readonly string[] | string[]>> | undefined;
|
|
198238
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
198145
198239
|
}, {
|
|
198146
198240
|
type: "npn" | "pnp" | "bjt" | "jfet" | "mosfet" | "igbt";
|
|
198147
198241
|
name: string;
|
|
@@ -198821,6 +198915,7 @@ declare const transistorProps: z.ZodObject<{
|
|
|
198821
198915
|
schSectionName?: string | undefined;
|
|
198822
198916
|
schSheetName?: string | undefined;
|
|
198823
198917
|
connections?: Partial<Record<"pin1" | "pin2" | "source" | "pin3" | "emitter" | "collector" | "base" | "gate" | "drain", string | readonly string[] | string[]>> | undefined;
|
|
198918
|
+
pinLabels?: Record<string, string | readonly string[] | string[]> | undefined;
|
|
198824
198919
|
}>;
|
|
198825
198920
|
declare const transistorPins: readonly ["pin1", "collector", "pin2", "base", "pin3", "emitter"];
|
|
198826
198921
|
type TransistorPinLabels = (typeof transistorPins)[number];
|
|
@@ -273944,4 +274039,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
|
|
|
273944
274039
|
}
|
|
273945
274040
|
declare const projectConfig: z.ZodType<ProjectConfig>;
|
|
273946
274041
|
|
|
273947
|
-
export { type AmmeterPinLabels, type AmmeterProps, type AnalogAcSweepSimulationProps, type AnalogAnalysisSimulationBaseProps, type AnalogCapacitanceSweepParameterProps, type AnalogCurrentSweepParameterProps, type AnalogDcOperatingPointSimulationProps, type AnalogDcSweepSimulationProps, type AnalogDigitalStimulusProps, type AnalogEyeDiagramProps, type AnalogInductanceSweepParameterProps, type AnalogResistanceSweepParameterProps, type AnalogSimulationProps, type AnalogSweepParameterProps, type AnalogTransientSimulationProps, type AnalogVoltageSweepParameterProps, type AntennaFrequencyBand, type AntennaProps, type AntennaShape, type AssemblyBoltHeadType, type AssemblyBoltProps, type AssemblyBoltPropsInput, type AssemblyCableProps, type AssemblyCablePropsInput, type AssemblyCableStandard, type AssemblySubassemblyProps as AssemblyCadAssemblyProps, type AssemblySubassemblyPropsInput as AssemblyCadAssemblyPropsInput, type AssemblyDeviceProps, type AssemblyDevicePropsInput, type AssemblyDrawingDimensionProps, type AssemblyDrawingPageProps, type AssemblyDrawingPageSize, type AssemblyDrawingPartViewDirection, type AssemblyDrawingPartViewProps, type AssemblyDrawingSectionPlane, type AssemblyDrawingTitleBlockProps, type AssemblyExplosionMoveProps, type AssemblyExplosionMovePropsInput, type AssemblyExplosionStageProps, type AssemblyExplosionStagePropsInput, type AssemblyFastenerProps, type AssemblyFastenerPropsInput, type AssemblyMotorProps, type AssemblyMotorPropsInput, type AssemblyMotorStandard, type AssemblyPartProps, type AssemblyPartPropsInput, type AssemblyPrintedPartProps, type AssemblyPrintedPartPropsInput, type AssemblyReferenceSurfaceProps, type AssemblyReferenceSurfacePropsInput, type AssemblyScreenProps, type AssemblyScreenPropsInput, type AssemblySubassemblyProps, type AssemblySubassemblyPropsInput, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type AutorouterVersion, type AutoroutingPhaseProps, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardColor, type BoardColorPreset, type BoardMountOrientation, type BoardMountRotationAnchor, type BoardOutlinePoint, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type BusFanoutDirection, type BusFanoutDirectionLiteral, type BusName, type BusProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelAxisDirection, type CadModelBase, type CadModelFootprinterString, type CadModelGlb, type CadModelGltf, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelProps, type CadModelPropsInput, type CadModelStep, type CadModelStl, type CadModelWrl, type CanonicalBusFanoutDirection, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CircleEnclosureCutoutApertureProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleShapeProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type CommonShapeProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConnectorStandard, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardCircleProps, type CourtyardOutlineProps, type CourtyardPillProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CustomDrcCheckContext, type CustomDrcCheckFn, type CustomDrcCheckInput, type CustomDrcConnectable, type CustomDrcSelect, type CustomDrcSelectAll, type CutoutApertureProps, type CutoutProps, type CutoutPropsInput, type DifferentialPairProps, type DiodePinLabels, type DiodePinLabelsProp, type DiodeProps, type Direction, type DirectionAlongEdge, type DirectionalFanoutBoundaryPadding, type DrcCheckProps, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type EnclosureCutoutApertureProps, type EnclosureCutoutApertureShape, type EnclosureFdmBoxProps, type EnclosureFdmBoxPropsInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FabricatorDrcCheckParams, type FabricatorEngine, type FanoutBoundaryPadding, type FanoutPourNetMap, type FanoutProps, type FanoutTracePath, type FetchPartAvailabilityParams, 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 IbisModelDefinition, type IbisModelProps, type IbisPinReferences, type IbisPinRunState, type ImpedanceTarget, type ImplicitBreakoutBounds, type ImplicitBreakoutBus, type ImplicitBreakoutConnection, type ImplicitBreakoutConnectionEndpoint, type ImplicitBreakoutConnectionOrDifferentialPair, type ImplicitBreakoutDifferentialPair, type ImplicitBreakoutEdge, type ImplicitBreakoutPoint, type ImplicitBreakoutPointSolverFn, type ImplicitBreakoutPointSolverInput, type ImplicitBreakoutPointSolverOutput, type ImplicitBreakoutRegion, type ImplicitBreakoutSolverPoint, type InductorPinLabels, type InductorProps, type InferredAssemblyDrawingDimensionProps, type InferredAssemblyDrawingPageProps, type InferredAssemblyDrawingPartViewProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSchematicArcProps, type InferredSchematicBoxProps, type InferredSchematicCircleProps, type InferredSchematicGraphicProps, type InferredSchematicLineProps, type InferredSchematicPathProps, type InferredSchematicRectProps, type InferredSchematicSectionProps, type InferredSchematicSheetProps, type InferredSchematicSymbolProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type InternalCircuitElement, type InternalCircuitProps, type JlcpcbAutocompleteStringPath, type JlcpcbKnownPartNumber, type JumperProps, type KicadAt, type KicadAutocompleteStringPath, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadPath, type KicadPinElectricalType, type KicadPinGraphicStyle, type KicadPinMetadata, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayoutConfig, type LedPinLabels, type LedProps, type LegacyBusFanoutDirection, type LocalCacheEngine, 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 NinePointAnchor, type NonSubcircuitGroupProps, type OpAmpPinLabels, type OpAmpProps, type OvalHoleProps, type OvalPlatedHoleProps, type PanelProps, type ParsedEnclosureCutoutApertureProps, type PartAvailability, type PartAvailabilityPlatformFetch, type PartsEngine, type PcbBendProps, type PcbBendPropsInput, 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 PcbPath, type PcbPathPoint, type PcbPositionMode, type PcbReturnCurrentExcitationProps, type PcbReturnCurrentSimulationProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbSoldermaskOpeningProps, type PcbSoldermaskOpeningPropsInput, type PcbSpiceChannelProps, type PcbStiffenerProps, type PcbStiffenerPropsInput, type PcbStyle, type PcbSx, type PcbSxSelector, type PcbSxValue, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillEnclosureCutoutApertureProps, type PillHoleProps, type PillPlatedHoleProps, type PillShapeProps, 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 PreflightRoutingCheckPolicy, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectEnclosureCutoutApertureProps, type RectHoleProps, type RectShapeProps, type RectSmtPadProps, type RectSolderPasteProps, type RelativeRouteLength, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedPillSmtPadProps, type RotatedRectSmtPadProps, type RouteLength, type RoutingTolerances, type SchStyle, type SchematicArcProps, type SchematicBoxProps, type SchematicCellProps, type SchematicCircleProps, type SchematicGraphicProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinLabel, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicRectProps, type SchematicRowProps, type SchematicSectionProps, type SchematicSheetProps, type SchematicSheetSize, type SchematicSymbolProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type SelectionResult, type SelectionResultComponent, type SelectionResultNet, type SelectionResultPort, type Selectors, type SilkscreenCircleProps, type SilkscreenGraphicProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type SpiceModelElement, type SpiceModelProps, type SpiceOptions, 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 TraceSpacing, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageProbeProps, type VoltageSourcePinLabels, type VoltageSourceProps, type WaveShape, ammeterPinLabels, ammeterPins, ammeterProps, analogAcSweepSimulationProps, analogAnalysisSimulationBaseProps, analogCapacitanceSweepParameterProps, analogCurrentSweepParameterProps, analogDcOperatingPointSimulationProps, analogDcSweepSimulationProps, analogDigitalStimulusProps, analogEyeDiagramProps, analogInductanceSweepParameterProps, analogResistanceSweepParameterProps, analogSimulationProps, analogSweepParameterProps, analogTransientSimulationProps, analogVoltageSweepParameterProps, antennaFrequencyBand, antennaFrequencyBands, antennaProps, antennaShape, antennaShapes, assemblyBoltProps, assemblyCableProps, assemblyCadAssemblyProps, assemblyDeviceProps, assemblyDrawingDimensionProps, assemblyDrawingPageProps, assemblyDrawingPageSize, assemblyDrawingPageSizes, assemblyDrawingPartViewProps, assemblyDrawingProps, assemblyDrawingSectionPlane, assemblyDrawingTitleBlockProps, assemblyExplosionMoveProps, assemblyExplosionProps, assemblyExplosionStageProps, assemblyFastenerProps, assemblyMotorProps, assemblyPartProps, assemblyPrintedPartProps, assemblyProps, assemblyReferenceSurfaceProps, assemblyScreenProps, assemblySubassemblyProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, autoroutingPhaseProps, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardMountOrientation, boardMountRotation, boardMountRotationAnchor, boardOutlinePoint, boardProps, border, breakoutPointProps, breakoutProps, bugProps, busFanoutDirection, busProps, cadModelAxisDirection, cadModelAxisDirections, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, canonicalBusFanoutDirection, canonicalBusFanoutDirectionValues, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleShapeProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, commonShapeProps, componentProps, connectorProps, connectorStandard, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardCircleProps, courtyardOutlineProps, courtyardPillProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, customDrcCheckFn, cutoutApertureBaseProps, cutoutProps, differentialPairProps, diodePinLabelsProp, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, drcCheckProps, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, enclosureCutoutApertureProps, enclosureCutoutApertureShapes, enclosureFdmBoxProps, enclosureProps, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fabricatorEngine, fanoutBoundaryPadding, fanoutProps, fanoutTracePath, fiducialProps, footprintInsertionDirection, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, getAssemblyDrawingPageDimensions, groupProps, holeProps, ibisModelAsset, ibisModelDefinition, ibisModelProps, ibisPinReferences, ibisPinRunState, impedanceTarget, inductorPins, inductorProps, interconnectProps, internalCircuitProps, 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, noConnectProp, opampPinLabels, opampPins, opampProps, panelProps, partsEngine, pcbBendProps, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbPath, pcbPathPoint, pcbReturnCurrentExcitationProps, pcbReturnCurrentSimulationProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbSoldermaskOpeningProps, pcbSpiceChannelProps, pcbStiffenerProps, pcbStyle, pcbSx, pcbSxValue, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillShapeProps, pillSmtPadProps, pinAttributeMap, pinCapability, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerPinLabels, potentiometerProps, powerSourceProps, preflightRoutingCheckPolicy, projectConfig, pushButtonProps, rectCutoutProps, rectShapeProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resolveManufacturerPartNumber, resonatorProps, rotatedPillSmtPadProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, routeLength, routingTolerances, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicGraphicProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSectionProps, schematicSheetProps, schematicSymbolProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenGraphicProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, simulationProps, smtPadProps, solderPasteProps, solderjumperProps, spicemodelProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, traceSpacing, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|
|
274042
|
+
export { type AmmeterPinLabels, type AmmeterProps, type AnalogAcSweepSimulationProps, type AnalogAnalysisSimulationBaseProps, type AnalogCapacitanceSweepParameterProps, type AnalogCurrentSweepParameterProps, type AnalogDcOperatingPointSimulationProps, type AnalogDcSweepSimulationProps, type AnalogDigitalStimulusProps, type AnalogEyeDiagramProps, type AnalogInductanceSweepParameterProps, type AnalogResistanceSweepParameterProps, type AnalogSimulationProps, type AnalogSweepParameterProps, type AnalogTransientSimulationProps, type AnalogVoltageSweepParameterProps, type AntennaFrequencyBand, type AntennaProps, type AntennaShape, type AssemblyBoltHeadType, type AssemblyBoltProps, type AssemblyBoltPropsInput, type AssemblyCableProps, type AssemblyCablePropsInput, type AssemblyCableStandard, type AssemblySubassemblyProps as AssemblyCadAssemblyProps, type AssemblySubassemblyPropsInput as AssemblyCadAssemblyPropsInput, type AssemblyDeviceProps, type AssemblyDevicePropsInput, type AssemblyDrawingDimensionAnchor, type AssemblyDrawingDimensionProps, type AssemblyDrawingPageProps, type AssemblyDrawingPageSize, type AssemblyDrawingPartViewDirection, type AssemblyDrawingPartViewProps, type AssemblyDrawingSectionPlane, type AssemblyDrawingTitleBlockProps, type AssemblyExplosionMoveProps, type AssemblyExplosionMovePropsInput, type AssemblyExplosionStageProps, type AssemblyExplosionStagePropsInput, type AssemblyFastenerProps, type AssemblyFastenerPropsInput, type AssemblyMotorProps, type AssemblyMotorPropsInput, type AssemblyMotorStandard, type AssemblyPartProps, type AssemblyPartPropsInput, type AssemblyPrintedPartProps, type AssemblyPrintedPartPropsInput, type AssemblyReferenceSurfaceProps, type AssemblyReferenceSurfacePropsInput, type AssemblyScreenProps, type AssemblyScreenPropsInput, type AssemblySubassemblyProps, type AssemblySubassemblyPropsInput, type AutocompleteString, type AutorouterConfig, type AutorouterDefinition, type AutorouterInstance, type AutorouterPreset, type AutorouterProp, type AutorouterVersion, type AutoroutingPhaseProps, type BaseGroupProps, type BaseManualEditEvent, type BaseManualEditEventInput, type BasicFootprint, type BatteryPinLabels, type BatteryProps, type BoardColor, type BoardColorPreset, type BoardMountOrientation, type BoardMountRotationAnchor, type BoardOutlinePoint, type BoardProps, type Border, type BreakoutPointProps, type BreakoutProps, type BusFanoutDirection, type BusFanoutDirectionLiteral, type BusName, type BusProps, type CadAssemblyProps, type CadAssemblyPropsInput, type CadModelAxisDirection, type CadModelBase, type CadModelFootprinterString, type CadModelGlb, type CadModelGltf, type CadModelJscad, type CadModelObj, type CadModelProp, type CadModelProps, type CadModelPropsInput, type CadModelStep, type CadModelStl, type CadModelWrl, type CanonicalBusFanoutDirection, type CapacitorPinLabels, type CapacitorProps, type ChipConnections, type ChipPinLabels, type ChipProps, type ChipPropsSU, type CircleCutoutProps, type CircleEnclosureCutoutApertureProps, type CircleHoleProps, type CirclePlatedHoleProps, type CircleShapeProps, type CircleSmtPadProps, type CircleSolderPasteProps, type CircuitJson, type CircularHoleWithRectPlatedProps, type CommonComponentProps, type CommonLayoutProps, type CommonShapeProps, type ComponentProps, type ConnectionTarget, type Connections, type ConnectorProps, type ConnectorStandard, type ConstrainedLayoutProps, type ConstraintProps, type CopperPourProps, type CopperPourPropsInput, type CopperTextProps, type CourtyardCircleProps, type CourtyardOutlineProps, type CourtyardPillProps, type CourtyardRectProps, type CrystalPinLabels, type CrystalProps, type CurrentSourcePinLabels, type CurrentSourceProps, type CustomDrcCheckContext, type CustomDrcCheckFn, type CustomDrcCheckInput, type CustomDrcConnectable, type CustomDrcSelect, type CustomDrcSelectAll, type CutoutApertureProps, type CutoutProps, type CutoutPropsInput, type DifferentialPairProps, type DiodePinLabels, type DiodePinLabelsProp, type DiodeProps, type Direction, type DirectionAlongEdge, type DirectionalFanoutBoundaryPadding, type DrcCheckProps, type EditPcbComponentLocationEvent, type EditPcbComponentLocationEventInput, type EditPcbGroupLocationEvent, type EditPcbGroupLocationEventInput, type EditSchematicComponentLocationEvent, type EditSchematicComponentLocationEventInput, type EditSchematicGroupLocationEvent, type EditSchematicGroupLocationEventInput, type EditTraceHintEvent, type EditTraceHintEventInput, type EnclosureCutoutApertureProps, type EnclosureCutoutApertureShape, type EnclosureFdmBoxProps, type EnclosureFdmBoxPropsInput, type FabricationNoteDimensionProps, type FabricationNoteDimensionPropsInput, type FabricationNotePathProps, type FabricationNoteRectProps, type FabricationNoteTextProps, type FabricationNoteTextPropsInput, type FabricatorDrcCheckParams, type FabricatorEngine, type FanoutBoundaryPadding, type FanoutPourNetMap, type FanoutProps, type FanoutTracePath, type FetchPartAvailabilityParams, 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 IbisModelDefinition, type IbisModelProps, type IbisPinReferences, type IbisPinRunState, type ImpedanceTarget, type ImplicitBreakoutBounds, type ImplicitBreakoutBus, type ImplicitBreakoutConnection, type ImplicitBreakoutConnectionEndpoint, type ImplicitBreakoutConnectionOrDifferentialPair, type ImplicitBreakoutDifferentialPair, type ImplicitBreakoutEdge, type ImplicitBreakoutPoint, type ImplicitBreakoutPointSolverFn, type ImplicitBreakoutPointSolverInput, type ImplicitBreakoutPointSolverOutput, type ImplicitBreakoutRegion, type ImplicitBreakoutSolverPoint, type InductorPinLabels, type InductorProps, type InferredAssemblyDrawingDimensionProps, type InferredAssemblyDrawingPageProps, type InferredAssemblyDrawingPartViewProps, type InferredChipProps, type InferredConstrainedLayoutProps, type InferredDiodeProps, type InferredFuseProps, type InferredHoleProps, type InferredSchematicArcProps, type InferredSchematicBoxProps, type InferredSchematicCircleProps, type InferredSchematicGraphicProps, type InferredSchematicLineProps, type InferredSchematicPathProps, type InferredSchematicRectProps, type InferredSchematicSectionProps, type InferredSchematicSheetProps, type InferredSchematicSymbolProps, type InferredSchematicTextProps, type InferredSmtPadProps, type InferredSolderPasteProps, type InferredSwitchProps, type InferredTestpointProps, type InferredViaProps, type InterconnectProps, type InternalCircuitElement, type InternalCircuitProps, type JlcpcbAutocompleteStringPath, type JlcpcbKnownPartNumber, type JumperProps, type KicadAt, type KicadAutocompleteStringPath, type KicadEffects, type KicadFont, type KicadFootprintAttributes, type KicadFootprintMetadata, type KicadFootprintModel, type KicadFootprintPad, type KicadFootprintProperties, type KicadPath, type KicadPinElectricalType, type KicadPinGraphicStyle, type KicadPinMetadata, type KicadProperty, type KicadSymbolEffects, type KicadSymbolMetadata, type KicadSymbolPinNames, type KicadSymbolPinNumbers, type KicadSymbolProperties, type KicadSymbolProperty, type LayoutConfig, type LedPinLabels, type LedProps, type LegacyBusFanoutDirection, type LocalCacheEngine, 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 NinePointAnchor, type NonSubcircuitGroupProps, type OpAmpPinLabels, type OpAmpProps, type OvalHoleProps, type OvalPlatedHoleProps, type PanelProps, type ParsedEnclosureCutoutApertureProps, type PartAvailability, type PartAvailabilityPlatformFetch, type PartsEngine, type PcbBendProps, type PcbBendPropsInput, 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 PcbPath, type PcbPathPoint, type PcbPositionMode, type PcbReturnCurrentExcitationProps, type PcbReturnCurrentSimulationProps, type PcbRouteCache, type PcbSameXConstraint, type PcbSameYConstraint, type PcbSoldermaskOpeningProps, type PcbSoldermaskOpeningPropsInput, type PcbSpiceChannelProps, type PcbStiffenerProps, type PcbStiffenerPropsInput, type PcbStyle, type PcbSx, type PcbSxSelector, type PcbSxValue, type PcbTraceProps, type PcbXDistConstraint, type PcbYDistConstraint, type PillEnclosureCutoutApertureProps, type PillHoleProps, type PillPlatedHoleProps, type PillShapeProps, 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 PreflightRoutingCheckPolicy, type ProjectConfig, type PushButtonProps, type RectCutoutProps, type RectEnclosureCutoutApertureProps, type RectHoleProps, type RectShapeProps, type RectSmtPadProps, type RectSolderPasteProps, type RelativeRouteLength, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedPillSmtPadProps, type RotatedRectSmtPadProps, type RouteLength, type RoutingTolerances, type SchStyle, type SchematicArcProps, type SchematicBoxProps, type SchematicCellProps, type SchematicCircleProps, type SchematicGraphicProps, type SchematicLineProps, type SchematicOrientation, type SchematicPathProps, type SchematicPinArrangement, type SchematicPinArrangementWithPinCounts, type SchematicPinArrangementWithSides, type SchematicPinArrangementWithSizes, type SchematicPinLabel, type SchematicPinStyle, type SchematicPortArrangement, type SchematicPortArrangementWithPinCounts, type SchematicPortArrangementWithSides, type SchematicPortArrangementWithSizes, type SchematicRectProps, type SchematicRowProps, type SchematicSectionProps, type SchematicSheetProps, type SchematicSheetSize, type SchematicSymbolProps, type SchematicSymbolSize, type SchematicTableProps, type SchematicTextProps, type SelectionResult, type SelectionResultComponent, type SelectionResultNet, type SelectionResultPort, type Selectors, type SilkscreenCircleProps, type SilkscreenGraphicProps, type SilkscreenLineProps, type SilkscreenPathProps, type SilkscreenRectProps, type SilkscreenTextProps, type SimpleRouteJson, type SmtPadProps, type SolderJumperProps, type SolderPasteProps, type SpiceEngine, type SpiceEngineSimulationResult, type SpiceModelElement, type SpiceModelProps, type SpiceOptions, 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 TraceSpacing, type TransistorPinLabels, type TransistorProps, type ViaProps, type VoltageProbeProps, type VoltageSourcePinLabels, type VoltageSourceProps, type WaveShape, ammeterPinLabels, ammeterPins, ammeterProps, analogAcSweepSimulationProps, analogAnalysisSimulationBaseProps, analogCapacitanceSweepParameterProps, analogCurrentSweepParameterProps, analogDcOperatingPointSimulationProps, analogDcSweepSimulationProps, analogDigitalStimulusProps, analogEyeDiagramProps, analogInductanceSweepParameterProps, analogResistanceSweepParameterProps, analogSimulationProps, analogSweepParameterProps, analogTransientSimulationProps, analogVoltageSweepParameterProps, antennaFrequencyBand, antennaFrequencyBands, antennaProps, antennaShape, antennaShapes, assemblyBoltProps, assemblyCableProps, assemblyCadAssemblyProps, assemblyDeviceProps, assemblyDrawingDimensionProps, assemblyDrawingPageProps, assemblyDrawingPageSize, assemblyDrawingPageSizes, assemblyDrawingPartViewProps, assemblyDrawingProps, assemblyDrawingSectionPlane, assemblyDrawingTitleBlockProps, assemblyExplosionMoveProps, assemblyExplosionProps, assemblyExplosionStageProps, assemblyFastenerProps, assemblyMotorProps, assemblyPartProps, assemblyPrintedPartProps, assemblyProps, assemblyReferenceSurfaceProps, assemblyScreenProps, assemblySubassemblyProps, autorouterConfig, autorouterEffortLevel, autorouterPreset, autorouterProp, autoroutingPhaseProps, baseGroupProps, base_manual_edit_event, batteryPins, batteryProps, boardMountOrientation, boardMountRotation, boardMountRotationAnchor, boardOutlinePoint, boardProps, border, breakoutPointProps, breakoutProps, bugProps, busFanoutDirection, busProps, cadModelAxisDirection, cadModelAxisDirections, cadModelBase, cadModelGlb, cadModelGltf, cadModelJscad, cadModelObj, cadModelProp, cadModelStep, cadModelStl, cadModelWrl, cadassemblyProps, cadmodelProps, canonicalBusFanoutDirection, canonicalBusFanoutDirectionValues, capacitorPinLabels, capacitorPins, capacitorProps, chipProps, circleCutoutProps, circleShapeProps, circleSmtPadProps, circleSolderPasteProps, commonComponentProps, commonLayoutProps, commonShapeProps, componentProps, connectorProps, connectorStandard, constrainedLayoutProps, constraintProps, copperPourProps, copperTextProps, courtyardCircleProps, courtyardOutlineProps, courtyardPillProps, courtyardRectProps, crystalPins, crystalProps, currentSourcePinLabels, currentSourcePins, currentSourceProps, customDrcCheckFn, cutoutApertureBaseProps, cutoutProps, differentialPairProps, diodePinLabelsProp, diodePins, diodeProps, direction, directionAlongEdge, distanceOrMultiplier, drcCheckProps, edit_component_location_event, edit_pcb_component_location_event, edit_pcb_group_location_event, edit_schematic_component_location_event, edit_schematic_group_location_event, edit_trace_hint_event, enclosureCutoutApertureProps, enclosureCutoutApertureShapes, enclosureFdmBoxProps, enclosureProps, explicitPinSideDefinition, fabricationNoteDimensionProps, fabricationNotePathProps, fabricationNoteRectProps, fabricationNoteTextProps, fabricatorEngine, fanoutBoundaryPadding, fanoutProps, fanoutTracePath, fiducialProps, footprintInsertionDirection, footprintProp, footprintProps, footprinterStringExamples, fusePinLabels, fuseProps, getAssemblyDrawingPageDimensions, groupProps, holeProps, ibisModelAsset, ibisModelDefinition, ibisModelProps, ibisPinReferences, ibisPinRunState, impedanceTarget, inductorPins, inductorProps, interconnectProps, internalCircuitProps, 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, noConnectProp, opampPinLabels, opampPins, opampProps, panelProps, partsEngine, pcbBendProps, pcbKeepoutProps, pcbLayoutProps, pcbNoteDimensionProps, pcbNoteLineProps, pcbNotePathProps, pcbNoteRectProps, pcbNoteTextProps, pcbPath, pcbPathPoint, pcbReturnCurrentExcitationProps, pcbReturnCurrentSimulationProps, pcbSameXConstraintProps, pcbSameYConstraintProps, pcbSoldermaskOpeningProps, pcbSpiceChannelProps, pcbStiffenerProps, pcbStyle, pcbSx, pcbSxValue, pcbTraceProps, pcbXDistConstraintProps, pcbYDistConstraintProps, pillShapeProps, pillSmtPadProps, pinAttributeMap, pinCapability, pinCompatibleVariant, pinHeaderProps, pinLabelsProp, pinoutProps, platedHoleProps, platformConfig, point3, polygonCutoutProps, polygonSmtPadProps, portHints, portProps, portRef, potentiometerPinLabels, potentiometerProps, powerSourceProps, preflightRoutingCheckPolicy, projectConfig, pushButtonProps, rectCutoutProps, rectShapeProps, rectSmtPadProps, rectSolderPasteProps, resistorPinLabels, resistorPins, resistorProps, resolveManufacturerPartNumber, resonatorProps, rotatedPillSmtPadProps, rotatedRectSmtPadProps, rotationPoint3, routeHintPointProps, routeLength, routingTolerances, schStyle, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicGraphicProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicSectionProps, schematicSheetProps, schematicSymbolProps, schematicSymbolSize, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenGraphicProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, simulationProps, smtPadProps, solderPasteProps, solderjumperProps, spicemodelProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, subpanelProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, toolingrailProps, traceHintProps, traceProps, traceSpacing, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
|
package/dist/index.js
CHANGED
|
@@ -185,21 +185,38 @@ expectTypesMatch(true);
|
|
|
185
185
|
|
|
186
186
|
// lib/assembly/drawing/dimension.ts
|
|
187
187
|
import { z as z8 } from "zod";
|
|
188
|
+
var dimensionAnchor = z8.enum(["center", "left", "right", "top", "bottom"]);
|
|
188
189
|
var assemblyDrawingDimensionProps = z8.object({
|
|
189
190
|
name: z8.string().optional(),
|
|
190
191
|
edgeRef: z8.string().trim().min(1).optional(),
|
|
191
192
|
widthOfView: z8.boolean().optional(),
|
|
192
|
-
heightOfView: z8.boolean().optional()
|
|
193
|
+
heightOfView: z8.boolean().optional(),
|
|
194
|
+
fromRef: z8.string().trim().min(1).optional(),
|
|
195
|
+
toRef: z8.string().trim().min(1).optional(),
|
|
196
|
+
fromAnchor: dimensionAnchor.optional(),
|
|
197
|
+
toAnchor: dimensionAnchor.optional(),
|
|
198
|
+
axis: z8.enum(["x", "y"]).optional()
|
|
193
199
|
}).superRefine((dimension, ctx) => {
|
|
194
200
|
const targets = [
|
|
195
201
|
dimension.edgeRef !== void 0,
|
|
196
202
|
dimension.widthOfView === true,
|
|
197
|
-
dimension.heightOfView === true
|
|
203
|
+
dimension.heightOfView === true,
|
|
204
|
+
dimension.fromRef !== void 0 || dimension.toRef !== void 0
|
|
198
205
|
].filter(Boolean).length;
|
|
199
206
|
if (targets !== 1)
|
|
200
207
|
ctx.addIssue({
|
|
201
208
|
code: "custom",
|
|
202
|
-
message: "Specify exactly one of edgeRef, widthOfView=true,
|
|
209
|
+
message: "Specify exactly one of edgeRef, widthOfView=true, heightOfView=true, or paired fromRef/toRef"
|
|
210
|
+
});
|
|
211
|
+
if (dimension.fromRef === void 0 !== (dimension.toRef === void 0))
|
|
212
|
+
ctx.addIssue({
|
|
213
|
+
code: "custom",
|
|
214
|
+
message: "fromRef and toRef must be specified together"
|
|
215
|
+
});
|
|
216
|
+
if ((dimension.axis !== void 0 || dimension.fromAnchor !== void 0 || dimension.toAnchor !== void 0) && (dimension.fromRef === void 0 || dimension.toRef === void 0))
|
|
217
|
+
ctx.addIssue({
|
|
218
|
+
code: "custom",
|
|
219
|
+
message: "axis, fromAnchor and toAnchor require paired fromRef/toRef"
|
|
203
220
|
});
|
|
204
221
|
});
|
|
205
222
|
expectTypesMatch(true);
|
|
@@ -19395,6 +19412,7 @@ var transistorPinsLabels = [
|
|
|
19395
19412
|
];
|
|
19396
19413
|
var transistorProps = commonComponentProps.extend({
|
|
19397
19414
|
type: z122.enum(["npn", "pnp", "bjt", "jfet", "mosfet", "igbt"]),
|
|
19415
|
+
pinLabels: pinLabelsProp.optional(),
|
|
19398
19416
|
connections: createConnectionsProp(transistorPinsLabels).optional()
|
|
19399
19417
|
});
|
|
19400
19418
|
var transistorPins = [
|