@tscircuit/props 0.0.396 → 0.0.398

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
@@ -236,6 +236,8 @@ export interface BoardProps
236
236
  bottomSilkscreenColor?: BoardColor;
237
237
  /** Whether the board should be assembled on both sides */
238
238
  doubleSidedAssembly?: boolean;
239
+ /** Whether this board should be omitted from the schematic view */
240
+ schematicDisabled?: boolean;
239
241
  }
240
242
  ```
241
243
 
package/dist/index.d.ts CHANGED
@@ -11434,6 +11434,8 @@ interface BoardProps extends Omit<SubcircuitGroupProps, "subcircuit" | "connecti
11434
11434
  bottomSilkscreenColor?: BoardColor;
11435
11435
  /** Whether the board should be assembled on both sides */
11436
11436
  doubleSidedAssembly?: boolean;
11437
+ /** Whether this board should be omitted from the schematic view */
11438
+ schematicDisabled?: boolean;
11437
11439
  }
11438
11440
  declare const boardProps: z.ZodObject<Omit<{
11439
11441
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -12161,6 +12163,7 @@ declare const boardProps: z.ZodObject<Omit<{
12161
12163
  topSilkscreenColor: z.ZodOptional<z.ZodType<BoardColor, z.ZodTypeDef, BoardColor>>;
12162
12164
  bottomSilkscreenColor: z.ZodOptional<z.ZodType<BoardColor, z.ZodTypeDef, BoardColor>>;
12163
12165
  doubleSidedAssembly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12166
+ schematicDisabled: z.ZodOptional<z.ZodBoolean>;
12164
12167
  }, "strip", z.ZodTypeAny, {
12165
12168
  material: "fr4" | "fr1";
12166
12169
  layers: 2 | 4;
@@ -12466,6 +12469,7 @@ declare const boardProps: z.ZodObject<Omit<{
12466
12469
  silkscreenColor?: BoardColor | undefined;
12467
12470
  topSilkscreenColor?: BoardColor | undefined;
12468
12471
  bottomSilkscreenColor?: BoardColor | undefined;
12472
+ schematicDisabled?: boolean | undefined;
12469
12473
  }, {
12470
12474
  symbol?: SymbolProp | undefined;
12471
12475
  key?: any;
@@ -12775,6 +12779,7 @@ declare const boardProps: z.ZodObject<Omit<{
12775
12779
  topSilkscreenColor?: BoardColor | undefined;
12776
12780
  bottomSilkscreenColor?: BoardColor | undefined;
12777
12781
  doubleSidedAssembly?: boolean | undefined;
12782
+ schematicDisabled?: boolean | undefined;
12778
12783
  }>;
12779
12784
 
12780
12785
  interface PanelProps extends BaseGroupProps {
@@ -31122,6 +31127,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
31122
31127
  topSilkscreenColor: z.ZodOptional<z.ZodType<BoardColor, z.ZodTypeDef, BoardColor>>;
31123
31128
  bottomSilkscreenColor: z.ZodOptional<z.ZodType<BoardColor, z.ZodTypeDef, BoardColor>>;
31124
31129
  doubleSidedAssembly: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
31130
+ schematicDisabled: z.ZodOptional<z.ZodBoolean>;
31125
31131
  } & {
31126
31132
  leftPinCount: z.ZodOptional<z.ZodNumber>;
31127
31133
  rightPinCount: z.ZodOptional<z.ZodNumber>;
@@ -31442,6 +31448,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
31442
31448
  silkscreenColor?: BoardColor | undefined;
31443
31449
  topSilkscreenColor?: BoardColor | undefined;
31444
31450
  bottomSilkscreenColor?: BoardColor | undefined;
31451
+ schematicDisabled?: boolean | undefined;
31445
31452
  leftPins?: string[] | undefined;
31446
31453
  rightPins?: string[] | undefined;
31447
31454
  topPins?: string[] | undefined;
@@ -31761,6 +31768,7 @@ declare const stampboardProps: z.ZodObject<Omit<{
31761
31768
  topSilkscreenColor?: BoardColor | undefined;
31762
31769
  bottomSilkscreenColor?: BoardColor | undefined;
31763
31770
  doubleSidedAssembly?: boolean | undefined;
31771
+ schematicDisabled?: boolean | undefined;
31764
31772
  leftPins?: string[] | undefined;
31765
31773
  rightPins?: string[] | undefined;
31766
31774
  topPins?: string[] | undefined;
@@ -35636,7 +35644,13 @@ interface PillHoleProps extends PcbLayoutProps {
35636
35644
  width: Distance;
35637
35645
  height: Distance;
35638
35646
  }
35639
- type HoleProps = CircleHoleProps | PillHoleProps;
35647
+ interface RectHoleProps extends PcbLayoutProps {
35648
+ name?: string;
35649
+ shape: "rect";
35650
+ width: Distance;
35651
+ height: Distance;
35652
+ }
35653
+ type HoleProps = CircleHoleProps | PillHoleProps | RectHoleProps;
35640
35654
  declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
35641
35655
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35642
35656
  pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -35933,6 +35947,124 @@ declare const holeProps: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
35933
35947
  pcbRelative?: boolean | undefined;
35934
35948
  relative?: boolean | undefined;
35935
35949
  name?: string | undefined;
35950
+ }>, z.ZodObject<{
35951
+ pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35952
+ pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35953
+ pcbOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35954
+ pcbOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35955
+ pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35956
+ pcbPositionAnchor: z.ZodOptional<z.ZodString>;
35957
+ pcbPositionMode: z.ZodOptional<z.ZodEnum<["relative_to_group_anchor", "auto", "relative_to_board_anchor", "relative_to_component_anchor"]>>;
35958
+ layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
35959
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
35960
+ }, "strip", z.ZodTypeAny, {
35961
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
35962
+ }, {
35963
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
35964
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
35965
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
35966
+ }>>;
35967
+ pcbMarginTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35968
+ pcbMarginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35969
+ pcbMarginBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35970
+ pcbMarginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35971
+ pcbMarginX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35972
+ pcbMarginY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35973
+ pcbStyle: z.ZodOptional<z.ZodObject<{
35974
+ silkscreenFontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
35975
+ silkscreenTextPosition: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["centered", "outside", "none"]>, z.ZodObject<{
35976
+ offsetX: z.ZodNumber;
35977
+ offsetY: z.ZodNumber;
35978
+ }, "strip", z.ZodTypeAny, {
35979
+ offsetX: number;
35980
+ offsetY: number;
35981
+ }, {
35982
+ offsetX: number;
35983
+ offsetY: number;
35984
+ }>]>>;
35985
+ silkscreenTextVisibility: z.ZodOptional<z.ZodEnum<["hidden", "visible", "inherit"]>>;
35986
+ }, "strip", z.ZodTypeAny, {
35987
+ silkscreenFontSize?: number | undefined;
35988
+ silkscreenTextPosition?: "centered" | "outside" | "none" | {
35989
+ offsetX: number;
35990
+ offsetY: number;
35991
+ } | undefined;
35992
+ silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
35993
+ }, {
35994
+ silkscreenFontSize?: string | number | undefined;
35995
+ silkscreenTextPosition?: "centered" | "outside" | "none" | {
35996
+ offsetX: number;
35997
+ offsetY: number;
35998
+ } | undefined;
35999
+ silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
36000
+ }>>;
36001
+ pcbRelative: z.ZodOptional<z.ZodBoolean>;
36002
+ relative: z.ZodOptional<z.ZodBoolean>;
36003
+ } & {
36004
+ name: z.ZodOptional<z.ZodString>;
36005
+ shape: z.ZodLiteral<"rect">;
36006
+ width: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
36007
+ height: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>;
36008
+ }, "strip", z.ZodTypeAny, {
36009
+ shape: "rect";
36010
+ width: number;
36011
+ height: number;
36012
+ pcbX?: number | undefined;
36013
+ pcbY?: number | undefined;
36014
+ pcbOffsetX?: number | undefined;
36015
+ pcbOffsetY?: number | undefined;
36016
+ pcbRotation?: number | undefined;
36017
+ pcbPositionAnchor?: string | undefined;
36018
+ pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
36019
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
36020
+ pcbMarginTop?: number | undefined;
36021
+ pcbMarginRight?: number | undefined;
36022
+ pcbMarginBottom?: number | undefined;
36023
+ pcbMarginLeft?: number | undefined;
36024
+ pcbMarginX?: number | undefined;
36025
+ pcbMarginY?: number | undefined;
36026
+ pcbStyle?: {
36027
+ silkscreenFontSize?: number | undefined;
36028
+ silkscreenTextPosition?: "centered" | "outside" | "none" | {
36029
+ offsetX: number;
36030
+ offsetY: number;
36031
+ } | undefined;
36032
+ silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
36033
+ } | undefined;
36034
+ pcbRelative?: boolean | undefined;
36035
+ relative?: boolean | undefined;
36036
+ name?: string | undefined;
36037
+ }, {
36038
+ shape: "rect";
36039
+ width: string | number;
36040
+ height: string | number;
36041
+ pcbX?: string | number | undefined;
36042
+ pcbY?: string | number | undefined;
36043
+ pcbOffsetX?: string | number | undefined;
36044
+ pcbOffsetY?: string | number | undefined;
36045
+ pcbRotation?: string | number | undefined;
36046
+ pcbPositionAnchor?: string | undefined;
36047
+ pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
36048
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
36049
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
36050
+ } | undefined;
36051
+ pcbMarginTop?: string | number | undefined;
36052
+ pcbMarginRight?: string | number | undefined;
36053
+ pcbMarginBottom?: string | number | undefined;
36054
+ pcbMarginLeft?: string | number | undefined;
36055
+ pcbMarginX?: string | number | undefined;
36056
+ pcbMarginY?: string | number | undefined;
36057
+ pcbStyle?: {
36058
+ silkscreenFontSize?: string | number | undefined;
36059
+ silkscreenTextPosition?: "centered" | "outside" | "none" | {
36060
+ offsetX: number;
36061
+ offsetY: number;
36062
+ } | undefined;
36063
+ silkscreenTextVisibility?: "hidden" | "visible" | "inherit" | undefined;
36064
+ } | undefined;
36065
+ pcbRelative?: boolean | undefined;
36066
+ relative?: boolean | undefined;
36067
+ name?: string | undefined;
35936
36068
  }>]>;
35937
36069
  type InferredHoleProps = z.input<typeof holeProps>;
35938
36070
 
@@ -57959,4 +58091,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
57959
58091
  }
57960
58092
  declare const projectConfig: z.ZodType<ProjectConfig>;
57961
58093
 
57962
- 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 FootprintFileParserEntry, type FootprintLibraryResult, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, 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 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 RectSmtPadProps, type RectSolderPasteProps, type ResistorPinLabels, type ResistorProps, type ResonatorPinVariant, type ResonatorProps, type RotatedRectSmtPadProps, 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 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 SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type SymbolProp, type SymbolProps, type SymbolPropsInput, type TestpointConnections, type TestpointPinLabels, type TestpointProps, 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, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, 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, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
58094
+ 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 FootprintFileParserEntry, type FootprintLibraryResult, type FootprintProp, type FootprintProps, type FootprintPropsInput, type FootprintSoupElements, type FusePinLabels, type FuseProps, type GroupProps, type HoleProps, 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 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 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 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 SupplierName, type SupplierPartNumbers, type SupplierProps, type SwitchProps, type SymbolProp, type SymbolProps, type SymbolPropsInput, type TestpointConnections, type TestpointPinLabels, type TestpointProps, 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, footprintProp, footprintProps, fusePinLabels, fuseProps, groupProps, holeProps, inductorPins, inductorProps, 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, schematicArcProps, schematicBoxProps, schematicCellProps, schematicCircleProps, schematicLineProps, schematicOrientation, schematicPathProps, schematicPinArrangement, schematicPinLabel, schematicPinStyle, schematicPortArrangement, schematicRectProps, schematicRowProps, schematicTableProps, schematicTextProps, silkscreenCircleProps, silkscreenLineProps, silkscreenPathProps, silkscreenRectProps, silkscreenTextProps, smtPadProps, solderPasteProps, solderjumperProps, stampboardProps, subcircuitGroupProps, subcircuitGroupPropsWithBool, subcircuitProps, supplierProps, switchProps, symbolProp, symbolProps, testpointPins, testpointProps, traceHintProps, traceProps, transistorPins, transistorPinsLabels, transistorProps, viaProps, voltageProbeProps, voltageSourcePinLabels, voltageSourcePins, voltageSourceProps };
package/dist/index.js CHANGED
@@ -690,7 +690,8 @@ var boardProps = subcircuitGroupProps.omit({ connections: true }).extend({
690
690
  silkscreenColor: boardColor.optional(),
691
691
  topSilkscreenColor: boardColor.optional(),
692
692
  bottomSilkscreenColor: boardColor.optional(),
693
- doubleSidedAssembly: z29.boolean().optional().default(false)
693
+ doubleSidedAssembly: z29.boolean().optional().default(false),
694
+ schematicDisabled: z29.boolean().optional()
694
695
  });
695
696
  expectTypesMatch(true);
696
697
 
@@ -1203,7 +1204,17 @@ var pillHoleProps = pcbLayoutProps.extend({
1203
1204
  width: distance,
1204
1205
  height: distance
1205
1206
  });
1206
- var holeProps = z50.union([circleHoleProps, pillHoleProps]);
1207
+ var rectHoleProps = pcbLayoutProps.extend({
1208
+ name: z50.string().optional(),
1209
+ shape: z50.literal("rect"),
1210
+ width: distance,
1211
+ height: distance
1212
+ });
1213
+ var holeProps = z50.union([
1214
+ circleHoleProps,
1215
+ pillHoleProps,
1216
+ rectHoleProps
1217
+ ]);
1207
1218
  expectTypesMatch(true);
1208
1219
 
1209
1220
  // lib/components/trace.ts