@tscircuit/props 0.0.435 → 0.0.436
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +83 -8
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- 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/dist/index.d.ts
CHANGED
|
@@ -62547,7 +62547,17 @@ declare const schematicArcProps: z.ZodObject<{
|
|
|
62547
62547
|
color?: string | undefined;
|
|
62548
62548
|
isDashed?: boolean | undefined;
|
|
62549
62549
|
}>;
|
|
62550
|
-
|
|
62550
|
+
interface SchematicArcProps {
|
|
62551
|
+
center: Point;
|
|
62552
|
+
radius: Distance;
|
|
62553
|
+
startAngleDegrees: number | string;
|
|
62554
|
+
endAngleDegrees: number | string;
|
|
62555
|
+
direction?: "clockwise" | "counterclockwise";
|
|
62556
|
+
strokeWidth?: Distance;
|
|
62557
|
+
color?: string;
|
|
62558
|
+
isDashed?: boolean;
|
|
62559
|
+
}
|
|
62560
|
+
type InferredSchematicArcProps = z.input<typeof schematicArcProps>;
|
|
62551
62561
|
|
|
62552
62562
|
interface ToolingrailProps {
|
|
62553
62563
|
children?: any;
|
|
@@ -62680,7 +62690,25 @@ declare const schematicBoxProps: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
62680
62690
|
titleInside?: boolean | undefined;
|
|
62681
62691
|
strokeStyle?: "dashed" | "solid" | undefined;
|
|
62682
62692
|
}>;
|
|
62683
|
-
|
|
62693
|
+
interface SchematicBoxProps {
|
|
62694
|
+
schX?: Distance;
|
|
62695
|
+
schY?: Distance;
|
|
62696
|
+
width?: Distance;
|
|
62697
|
+
height?: Distance;
|
|
62698
|
+
overlay?: string[];
|
|
62699
|
+
padding?: Distance;
|
|
62700
|
+
paddingLeft?: Distance;
|
|
62701
|
+
paddingRight?: Distance;
|
|
62702
|
+
paddingTop?: Distance;
|
|
62703
|
+
paddingBottom?: Distance;
|
|
62704
|
+
title?: string;
|
|
62705
|
+
titleAlignment?: z.infer<typeof ninePointAnchor>;
|
|
62706
|
+
titleColor?: string;
|
|
62707
|
+
titleFontSize?: Distance;
|
|
62708
|
+
titleInside?: boolean;
|
|
62709
|
+
strokeStyle?: "solid" | "dashed";
|
|
62710
|
+
}
|
|
62711
|
+
type InferredSchematicBoxProps = z.input<typeof schematicBoxProps>;
|
|
62684
62712
|
|
|
62685
62713
|
declare const schematicCircleProps: z.ZodObject<{
|
|
62686
62714
|
center: z.ZodObject<{
|
|
@@ -62722,7 +62750,16 @@ declare const schematicCircleProps: z.ZodObject<{
|
|
|
62722
62750
|
isDashed?: boolean | undefined;
|
|
62723
62751
|
fillColor?: string | undefined;
|
|
62724
62752
|
}>;
|
|
62725
|
-
|
|
62753
|
+
interface SchematicCircleProps {
|
|
62754
|
+
center: Point;
|
|
62755
|
+
radius: Distance;
|
|
62756
|
+
strokeWidth?: Distance;
|
|
62757
|
+
color?: string;
|
|
62758
|
+
isFilled?: boolean;
|
|
62759
|
+
fillColor?: string;
|
|
62760
|
+
isDashed?: boolean;
|
|
62761
|
+
}
|
|
62762
|
+
type InferredSchematicCircleProps = z.input<typeof schematicCircleProps>;
|
|
62726
62763
|
|
|
62727
62764
|
declare const schematicRectProps: z.ZodObject<{
|
|
62728
62765
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -62761,7 +62798,20 @@ declare const schematicRectProps: z.ZodObject<{
|
|
|
62761
62798
|
fillColor?: string | undefined;
|
|
62762
62799
|
rotation?: string | number | undefined;
|
|
62763
62800
|
}>;
|
|
62764
|
-
|
|
62801
|
+
interface SchematicRectProps {
|
|
62802
|
+
schX?: Distance;
|
|
62803
|
+
schY?: Distance;
|
|
62804
|
+
width: Distance;
|
|
62805
|
+
height: Distance;
|
|
62806
|
+
rotation?: number | string;
|
|
62807
|
+
strokeWidth?: Distance;
|
|
62808
|
+
color?: string;
|
|
62809
|
+
isFilled?: boolean;
|
|
62810
|
+
fillColor?: string;
|
|
62811
|
+
isDashed?: boolean;
|
|
62812
|
+
cornerRadius?: Distance;
|
|
62813
|
+
}
|
|
62814
|
+
type InferredSchematicRectProps = z.input<typeof schematicRectProps>;
|
|
62765
62815
|
|
|
62766
62816
|
declare const schematicLineProps: z.ZodObject<{
|
|
62767
62817
|
x1: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
|
|
@@ -62788,7 +62838,18 @@ declare const schematicLineProps: z.ZodObject<{
|
|
|
62788
62838
|
color?: string | undefined;
|
|
62789
62839
|
isDashed?: boolean | undefined;
|
|
62790
62840
|
}>;
|
|
62791
|
-
|
|
62841
|
+
interface SchematicLineProps {
|
|
62842
|
+
x1: Distance;
|
|
62843
|
+
y1: Distance;
|
|
62844
|
+
x2: Distance;
|
|
62845
|
+
y2: Distance;
|
|
62846
|
+
strokeWidth?: Distance;
|
|
62847
|
+
color?: string;
|
|
62848
|
+
isDashed?: boolean;
|
|
62849
|
+
}
|
|
62850
|
+
type InferredSchematicLineProps = z.input<typeof schematicLineProps>;
|
|
62851
|
+
|
|
62852
|
+
declare const fivePointAnchor: z.ZodEnum<["center", "left", "right", "top", "bottom"]>;
|
|
62792
62853
|
|
|
62793
62854
|
declare const schematicTextProps: z.ZodObject<{
|
|
62794
62855
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -62815,7 +62876,16 @@ declare const schematicTextProps: z.ZodObject<{
|
|
|
62815
62876
|
color?: string | undefined;
|
|
62816
62877
|
fontSize?: number | undefined;
|
|
62817
62878
|
}>;
|
|
62818
|
-
|
|
62879
|
+
interface SchematicTextProps {
|
|
62880
|
+
schX?: Distance;
|
|
62881
|
+
schY?: Distance;
|
|
62882
|
+
text: string;
|
|
62883
|
+
fontSize?: number;
|
|
62884
|
+
anchor?: z.infer<typeof fivePointAnchor> | z.infer<typeof ninePointAnchor>;
|
|
62885
|
+
color?: string;
|
|
62886
|
+
schRotation?: number | string;
|
|
62887
|
+
}
|
|
62888
|
+
type InferredSchematicTextProps = z.input<typeof schematicTextProps>;
|
|
62819
62889
|
|
|
62820
62890
|
declare const schematicPathProps: z.ZodObject<{
|
|
62821
62891
|
points: z.ZodArray<z.ZodObject<{
|
|
@@ -62845,7 +62915,12 @@ declare const schematicPathProps: z.ZodObject<{
|
|
|
62845
62915
|
isFilled?: boolean | undefined;
|
|
62846
62916
|
fillColor?: "red" | "blue" | undefined;
|
|
62847
62917
|
}>;
|
|
62848
|
-
|
|
62918
|
+
interface SchematicPathProps {
|
|
62919
|
+
points: Point[];
|
|
62920
|
+
isFilled?: boolean;
|
|
62921
|
+
fillColor?: "red" | "blue";
|
|
62922
|
+
}
|
|
62923
|
+
type InferredSchematicPathProps = z.input<typeof schematicPathProps>;
|
|
62849
62924
|
|
|
62850
62925
|
declare const schematicTableProps: z.ZodObject<{
|
|
62851
62926
|
schX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
|
|
@@ -65143,4 +65218,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
|
|
|
65143
65218
|
}
|
|
65144
65219
|
declare const projectConfig: z.ZodType<ProjectConfig>;
|
|
65145
65220
|
|
|
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 };
|
|
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 };
|
package/dist/index.js
CHANGED
|
@@ -2009,6 +2009,7 @@ var schematicArcProps = z88.object({
|
|
|
2009
2009
|
color: z88.string().optional(),
|
|
2010
2010
|
isDashed: z88.boolean().optional().default(false)
|
|
2011
2011
|
});
|
|
2012
|
+
expectTypesMatch(true);
|
|
2012
2013
|
|
|
2013
2014
|
// lib/components/toolingrail.ts
|
|
2014
2015
|
import { z as z89 } from "zod";
|
|
@@ -2048,6 +2049,7 @@ var schematicBoxProps = z90.object({
|
|
|
2048
2049
|
message: "Cannot provide both `width`/`height` and `overlay` at the same time."
|
|
2049
2050
|
}
|
|
2050
2051
|
);
|
|
2052
|
+
expectTypesMatch(true);
|
|
2051
2053
|
|
|
2052
2054
|
// lib/components/schematic-circle.ts
|
|
2053
2055
|
import { distance as distance27, point as point6 } from "circuit-json";
|
|
@@ -2061,6 +2063,9 @@ var schematicCircleProps = z91.object({
|
|
|
2061
2063
|
fillColor: z91.string().optional(),
|
|
2062
2064
|
isDashed: z91.boolean().optional().default(false)
|
|
2063
2065
|
});
|
|
2066
|
+
expectTypesMatch(
|
|
2067
|
+
true
|
|
2068
|
+
);
|
|
2064
2069
|
|
|
2065
2070
|
// lib/components/schematic-rect.ts
|
|
2066
2071
|
import { distance as distance28, rotation as rotation6 } from "circuit-json";
|
|
@@ -2078,6 +2083,7 @@ var schematicRectProps = z92.object({
|
|
|
2078
2083
|
isDashed: z92.boolean().optional().default(false),
|
|
2079
2084
|
cornerRadius: distance28.optional()
|
|
2080
2085
|
});
|
|
2086
|
+
expectTypesMatch(true);
|
|
2081
2087
|
|
|
2082
2088
|
// lib/components/schematic-line.ts
|
|
2083
2089
|
import { distance as distance29 } from "circuit-json";
|
|
@@ -2091,6 +2097,7 @@ var schematicLineProps = z93.object({
|
|
|
2091
2097
|
color: z93.string().optional(),
|
|
2092
2098
|
isDashed: z93.boolean().optional().default(false)
|
|
2093
2099
|
});
|
|
2100
|
+
expectTypesMatch(true);
|
|
2094
2101
|
|
|
2095
2102
|
// lib/components/schematic-text.ts
|
|
2096
2103
|
import { distance as distance30, rotation as rotation7 } from "circuit-json";
|
|
@@ -2116,6 +2123,7 @@ var schematicTextProps = z95.object({
|
|
|
2116
2123
|
color: z95.string().default("#000000"),
|
|
2117
2124
|
schRotation: rotation7.default(0)
|
|
2118
2125
|
});
|
|
2126
|
+
expectTypesMatch(true);
|
|
2119
2127
|
|
|
2120
2128
|
// lib/components/schematic-path.ts
|
|
2121
2129
|
import { point as point8 } from "circuit-json";
|
|
@@ -2125,6 +2133,7 @@ var schematicPathProps = z96.object({
|
|
|
2125
2133
|
isFilled: z96.boolean().optional().default(false),
|
|
2126
2134
|
fillColor: z96.enum(["red", "blue"]).optional()
|
|
2127
2135
|
});
|
|
2136
|
+
expectTypesMatch(true);
|
|
2128
2137
|
|
|
2129
2138
|
// lib/components/schematic-table.ts
|
|
2130
2139
|
import { distance as distance31 } from "circuit-json";
|