@tscircuit/props 0.0.380 → 0.0.382

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
@@ -35,6 +35,7 @@ resistorProps.parse({ resistance: "10k" } as ResistorPropsInput);
35
35
  | `<constrainedlayout />` | [`ConstrainedLayoutProps`](#constrainedlayoutprops-constrainedlayout) |
36
36
  | `<constraint />` | [`ConstraintProps`](#constraintprops-constraint) |
37
37
  | `<copperpour />` | [`CopperPourProps`](#copperpourprops-copperpour) |
38
+ | `<coppertext />` | [`CopperTextProps`](#coppertextprops-coppertext) |
38
39
  | `<courtyardoutline />` | [`CourtyardOutlineProps`](#courtyardoutlineprops-courtyardoutline) |
39
40
  | `<courtyardrect />` | [`CourtyardRectProps`](#courtyardrectprops-courtyardrect) |
40
41
  | `<crystal />` | [`CrystalProps`](#crystalprops-crystal) |
@@ -429,6 +430,14 @@ export interface CopperPourProps {
429
430
 
430
431
  [Source](https://github.com/tscircuit/props/blob/main/lib/components/copper-pour.ts)
431
432
 
433
+ ### CopperTextProps `<coppertext />`
434
+
435
+ ```ts
436
+ export type CopperTextProps = z.input<typeof copperTextProps>;
437
+ ```
438
+
439
+ [Source](https://github.com/tscircuit/props/blob/main/lib/components/copper-text.ts)
440
+
432
441
  ### CourtyardOutlineProps `<courtyardoutline />`
433
442
 
434
443
  ```ts
@@ -1590,7 +1599,7 @@ export interface PlatformConfig {
1590
1599
 
1591
1600
  footprintFileParserMap?: Record<string, FootprintFileParserEntry>;
1592
1601
 
1593
- resolveProjectStaticFileImportUrl?: (path: string) => string;
1602
+ resolveProjectStaticFileImportUrl?: (path: string) => Promise<string>;
1594
1603
  }
1595
1604
  ```
1596
1605
 
package/dist/index.d.ts CHANGED
@@ -52429,6 +52429,96 @@ interface SchematicCellProps {
52429
52429
  text?: string;
52430
52430
  }
52431
52431
 
52432
+ declare const copperTextProps: z.ZodObject<{
52433
+ pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52434
+ pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52435
+ pcbOffsetX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52436
+ pcbOffsetY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52437
+ pcbRotation: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52438
+ pcbPositionAnchor: z.ZodOptional<z.ZodString>;
52439
+ pcbPositionMode: z.ZodOptional<z.ZodEnum<["relative_to_group_anchor", "auto", "relative_to_board_anchor", "relative_to_component_anchor"]>>;
52440
+ layer: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
52441
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
52442
+ }, "strip", z.ZodTypeAny, {
52443
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
52444
+ }, {
52445
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
52446
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
52447
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
52448
+ }>>;
52449
+ pcbMarginTop: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52450
+ pcbMarginRight: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52451
+ pcbMarginBottom: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52452
+ pcbMarginLeft: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52453
+ pcbMarginX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52454
+ pcbMarginY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52455
+ pcbRelative: z.ZodOptional<z.ZodBoolean>;
52456
+ relative: z.ZodOptional<z.ZodBoolean>;
52457
+ } & {
52458
+ text: z.ZodString;
52459
+ anchorAlignment: z.ZodDefault<z.ZodEnum<["top_left", "top_center", "top_right", "center_left", "center", "center_right", "bottom_left", "bottom_center", "bottom_right"]>>;
52460
+ font: z.ZodOptional<z.ZodEnum<["tscircuit2024"]>>;
52461
+ fontSize: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52462
+ layers: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>, z.ZodObject<{
52463
+ name: z.ZodEnum<["top", "bottom", "inner1", "inner2", "inner3", "inner4", "inner5", "inner6"]>;
52464
+ }, "strip", z.ZodTypeAny, {
52465
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
52466
+ }, {
52467
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
52468
+ }>]>, "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6", "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
52469
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
52470
+ }>, "many">>;
52471
+ }, "strip", z.ZodTypeAny, {
52472
+ text: string;
52473
+ anchorAlignment: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right";
52474
+ pcbX?: number | undefined;
52475
+ pcbY?: number | undefined;
52476
+ pcbOffsetX?: number | undefined;
52477
+ pcbOffsetY?: number | undefined;
52478
+ pcbRotation?: number | undefined;
52479
+ pcbPositionAnchor?: string | undefined;
52480
+ pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
52481
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | undefined;
52482
+ pcbMarginTop?: number | undefined;
52483
+ pcbMarginRight?: number | undefined;
52484
+ pcbMarginBottom?: number | undefined;
52485
+ pcbMarginLeft?: number | undefined;
52486
+ pcbMarginX?: number | undefined;
52487
+ pcbMarginY?: number | undefined;
52488
+ pcbRelative?: boolean | undefined;
52489
+ relative?: boolean | undefined;
52490
+ layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6")[] | undefined;
52491
+ font?: "tscircuit2024" | undefined;
52492
+ fontSize?: number | undefined;
52493
+ }, {
52494
+ text: string;
52495
+ pcbX?: string | number | undefined;
52496
+ pcbY?: string | number | undefined;
52497
+ pcbOffsetX?: string | number | undefined;
52498
+ pcbOffsetY?: string | number | undefined;
52499
+ pcbRotation?: string | number | undefined;
52500
+ pcbPositionAnchor?: string | undefined;
52501
+ pcbPositionMode?: "relative_to_group_anchor" | "auto" | "relative_to_board_anchor" | "relative_to_component_anchor" | undefined;
52502
+ layer?: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
52503
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
52504
+ } | undefined;
52505
+ pcbMarginTop?: string | number | undefined;
52506
+ pcbMarginRight?: string | number | undefined;
52507
+ pcbMarginBottom?: string | number | undefined;
52508
+ pcbMarginLeft?: string | number | undefined;
52509
+ pcbMarginX?: string | number | undefined;
52510
+ pcbMarginY?: string | number | undefined;
52511
+ pcbRelative?: boolean | undefined;
52512
+ relative?: boolean | undefined;
52513
+ layers?: ("top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6" | {
52514
+ name: "top" | "bottom" | "inner1" | "inner2" | "inner3" | "inner4" | "inner5" | "inner6";
52515
+ })[] | undefined;
52516
+ anchorAlignment?: "top_left" | "top_center" | "top_right" | "center_left" | "center" | "center_right" | "bottom_left" | "bottom_center" | "bottom_right" | undefined;
52517
+ font?: "tscircuit2024" | undefined;
52518
+ fontSize?: string | number | undefined;
52519
+ }>;
52520
+ type CopperTextProps = z.input<typeof copperTextProps>;
52521
+
52432
52522
  declare const silkscreenTextProps: z.ZodObject<{
52433
52523
  pcbX: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
52434
52524
  pcbY: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, number, string | number>>;
@@ -53742,7 +53832,7 @@ interface PlatformConfig {
53742
53832
  spiceEngineMap?: Record<string, SpiceEngine>;
53743
53833
  footprintLibraryMap?: Record<string, ((path: string) => Promise<FootprintLibraryResult>) | Record<string, any[] | ((path: string) => Promise<FootprintLibraryResult>)>>;
53744
53834
  footprintFileParserMap?: Record<string, FootprintFileParserEntry>;
53745
- resolveProjectStaticFileImportUrl?: (path: string) => string;
53835
+ resolveProjectStaticFileImportUrl?: (path: string) => Promise<string>;
53746
53836
  }
53747
53837
  declare const platformConfig: z.ZodType<PlatformConfig>;
53748
53838
 
@@ -53750,4 +53840,4 @@ interface ProjectConfig extends Pick<PlatformConfig, "projectName" | "projectBas
53750
53840
  }
53751
53841
  declare const projectConfig: z.ZodType<ProjectConfig>;
53752
53842
 
53753
- 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 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 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, 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, 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 };
53843
+ 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 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, 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
@@ -1942,29 +1942,40 @@ var schematicCellProps = z92.object({
1942
1942
  });
1943
1943
  expectTypesMatch(true);
1944
1944
 
1945
- // lib/components/silkscreen-text.ts
1945
+ // lib/components/copper-text.ts
1946
1946
  import { layer_ref as layer_ref8, length as length7 } from "circuit-json";
1947
1947
  import { z as z93 } from "zod";
1948
- var silkscreenTextProps = pcbLayoutProps.extend({
1948
+ var copperTextProps = pcbLayoutProps.extend({
1949
1949
  text: z93.string(),
1950
1950
  anchorAlignment: ninePointAnchor.default("center"),
1951
1951
  font: z93.enum(["tscircuit2024"]).optional(),
1952
1952
  fontSize: length7.optional(),
1953
+ layers: z93.array(layer_ref8).optional()
1954
+ });
1955
+
1956
+ // lib/components/silkscreen-text.ts
1957
+ import { layer_ref as layer_ref9, length as length8 } from "circuit-json";
1958
+ import { z as z94 } from "zod";
1959
+ var silkscreenTextProps = pcbLayoutProps.extend({
1960
+ text: z94.string(),
1961
+ anchorAlignment: ninePointAnchor.default("center"),
1962
+ font: z94.enum(["tscircuit2024"]).optional(),
1963
+ fontSize: length8.optional(),
1953
1964
  /**
1954
1965
  * If true, text will knock out underlying silkscreen
1955
1966
  */
1956
- isKnockout: z93.boolean().optional(),
1957
- knockoutPadding: length7.optional(),
1958
- knockoutPaddingLeft: length7.optional(),
1959
- knockoutPaddingRight: length7.optional(),
1960
- knockoutPaddingTop: length7.optional(),
1961
- knockoutPaddingBottom: length7.optional(),
1962
- layers: z93.array(layer_ref8).optional()
1967
+ isKnockout: z94.boolean().optional(),
1968
+ knockoutPadding: length8.optional(),
1969
+ knockoutPaddingLeft: length8.optional(),
1970
+ knockoutPaddingRight: length8.optional(),
1971
+ knockoutPaddingTop: length8.optional(),
1972
+ knockoutPaddingBottom: length8.optional(),
1973
+ layers: z94.array(layer_ref9).optional()
1963
1974
  });
1964
1975
 
1965
1976
  // lib/components/silkscreen-path.ts
1966
- import { length as length8, route_hint_point as route_hint_point5 } from "circuit-json";
1967
- import { z as z94 } from "zod";
1977
+ import { length as length9, route_hint_point as route_hint_point5 } from "circuit-json";
1978
+ import { z as z95 } from "zod";
1968
1979
  var silkscreenPathProps = pcbLayoutProps.omit({
1969
1980
  pcbX: true,
1970
1981
  pcbY: true,
@@ -1972,8 +1983,8 @@ var silkscreenPathProps = pcbLayoutProps.omit({
1972
1983
  pcbOffsetY: true,
1973
1984
  pcbRotation: true
1974
1985
  }).extend({
1975
- route: z94.array(route_hint_point5),
1976
- strokeWidth: length8.optional()
1986
+ route: z95.array(route_hint_point5),
1987
+ strokeWidth: length9.optional()
1977
1988
  });
1978
1989
 
1979
1990
  // lib/components/silkscreen-line.ts
@@ -1994,10 +2005,10 @@ var silkscreenLineProps = pcbLayoutProps.omit({
1994
2005
 
1995
2006
  // lib/components/silkscreen-rect.ts
1996
2007
  import { distance as distance32 } from "circuit-json";
1997
- import { z as z95 } from "zod";
2008
+ import { z as z96 } from "zod";
1998
2009
  var silkscreenRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
1999
- filled: z95.boolean().default(true).optional(),
2000
- stroke: z95.enum(["dashed", "solid", "none"]).optional(),
2010
+ filled: z96.boolean().default(true).optional(),
2011
+ stroke: z96.enum(["dashed", "solid", "none"]).optional(),
2001
2012
  strokeWidth: distance32.optional(),
2002
2013
  width: distance32,
2003
2014
  height: distance32
@@ -2005,75 +2016,75 @@ var silkscreenRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
2005
2016
 
2006
2017
  // lib/components/silkscreen-circle.ts
2007
2018
  import { distance as distance33 } from "circuit-json";
2008
- import { z as z96 } from "zod";
2019
+ import { z as z97 } from "zod";
2009
2020
  var silkscreenCircleProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
2010
- isFilled: z96.boolean().optional(),
2011
- isOutline: z96.boolean().optional(),
2021
+ isFilled: z97.boolean().optional(),
2022
+ isOutline: z97.boolean().optional(),
2012
2023
  strokeWidth: distance33.optional(),
2013
2024
  radius: distance33
2014
2025
  });
2015
2026
 
2016
2027
  // lib/components/trace-hint.ts
2017
- import { distance as distance34, layer_ref as layer_ref9, route_hint_point as route_hint_point6 } from "circuit-json";
2018
- import { z as z97 } from "zod";
2019
- var routeHintPointProps = z97.object({
2028
+ import { distance as distance34, layer_ref as layer_ref10, route_hint_point as route_hint_point6 } from "circuit-json";
2029
+ import { z as z98 } from "zod";
2030
+ var routeHintPointProps = z98.object({
2020
2031
  x: distance34,
2021
2032
  y: distance34,
2022
- via: z97.boolean().optional(),
2023
- toLayer: layer_ref9.optional()
2033
+ via: z98.boolean().optional(),
2034
+ toLayer: layer_ref10.optional()
2024
2035
  });
2025
- var traceHintProps = z97.object({
2026
- for: z97.string().optional().describe(
2036
+ var traceHintProps = z98.object({
2037
+ for: z98.string().optional().describe(
2027
2038
  "Selector for the port you're targeting, not required if you're inside a trace"
2028
2039
  ),
2029
- order: z97.number().optional(),
2040
+ order: z98.number().optional(),
2030
2041
  offset: route_hint_point6.or(routeHintPointProps).optional(),
2031
- offsets: z97.array(route_hint_point6).or(z97.array(routeHintPointProps)).optional(),
2032
- traceWidth: z97.number().optional()
2042
+ offsets: z98.array(route_hint_point6).or(z98.array(routeHintPointProps)).optional(),
2043
+ traceWidth: z98.number().optional()
2033
2044
  });
2034
2045
 
2035
2046
  // lib/components/port.ts
2036
- import { z as z98 } from "zod";
2047
+ import { z as z99 } from "zod";
2037
2048
  var portProps = commonLayoutProps.extend({
2038
- name: z98.string(),
2039
- pinNumber: z98.number().optional(),
2040
- aliases: z98.array(z98.string()).optional(),
2049
+ name: z99.string(),
2050
+ pinNumber: z99.number().optional(),
2051
+ aliases: z99.array(z99.string()).optional(),
2041
2052
  direction,
2042
- connectsTo: z98.string().or(z98.array(z98.string())).optional()
2053
+ connectsTo: z99.string().or(z99.array(z99.string())).optional()
2043
2054
  });
2044
2055
 
2045
2056
  // lib/components/pcb-note-text.ts
2046
- import { length as length9 } from "circuit-json";
2047
- import { z as z99 } from "zod";
2057
+ import { length as length10 } from "circuit-json";
2058
+ import { z as z100 } from "zod";
2048
2059
  var pcbNoteTextProps = pcbLayoutProps.extend({
2049
- text: z99.string(),
2050
- anchorAlignment: z99.enum(["center", "top_left", "top_right", "bottom_left", "bottom_right"]).default("center"),
2051
- font: z99.enum(["tscircuit2024"]).optional(),
2052
- fontSize: length9.optional(),
2053
- color: z99.string().optional()
2060
+ text: z100.string(),
2061
+ anchorAlignment: z100.enum(["center", "top_left", "top_right", "bottom_left", "bottom_right"]).default("center"),
2062
+ font: z100.enum(["tscircuit2024"]).optional(),
2063
+ fontSize: length10.optional(),
2064
+ color: z100.string().optional()
2054
2065
  });
2055
2066
  expectTypesMatch(true);
2056
2067
 
2057
2068
  // lib/components/pcb-note-rect.ts
2058
2069
  import { distance as distance35 } from "circuit-json";
2059
- import { z as z100 } from "zod";
2070
+ import { z as z101 } from "zod";
2060
2071
  var pcbNoteRectProps = pcbLayoutProps.omit({ pcbRotation: true }).extend({
2061
2072
  width: distance35,
2062
2073
  height: distance35,
2063
2074
  strokeWidth: distance35.optional(),
2064
- isFilled: z100.boolean().optional(),
2065
- hasStroke: z100.boolean().optional(),
2066
- isStrokeDashed: z100.boolean().optional(),
2067
- color: z100.string().optional()
2075
+ isFilled: z101.boolean().optional(),
2076
+ hasStroke: z101.boolean().optional(),
2077
+ isStrokeDashed: z101.boolean().optional(),
2078
+ color: z101.string().optional()
2068
2079
  });
2069
2080
  expectTypesMatch(true);
2070
2081
 
2071
2082
  // lib/components/pcb-note-path.ts
2072
2083
  import {
2073
- length as length10,
2084
+ length as length11,
2074
2085
  route_hint_point as route_hint_point7
2075
2086
  } from "circuit-json";
2076
- import { z as z101 } from "zod";
2087
+ import { z as z102 } from "zod";
2077
2088
  var pcbNotePathProps = pcbLayoutProps.omit({
2078
2089
  pcbX: true,
2079
2090
  pcbY: true,
@@ -2081,15 +2092,15 @@ var pcbNotePathProps = pcbLayoutProps.omit({
2081
2092
  pcbOffsetY: true,
2082
2093
  pcbRotation: true
2083
2094
  }).extend({
2084
- route: z101.array(route_hint_point7),
2085
- strokeWidth: length10.optional(),
2086
- color: z101.string().optional()
2095
+ route: z102.array(route_hint_point7),
2096
+ strokeWidth: length11.optional(),
2097
+ color: z102.string().optional()
2087
2098
  });
2088
2099
  expectTypesMatch(true);
2089
2100
 
2090
2101
  // lib/components/pcb-note-line.ts
2091
2102
  import { distance as distance36 } from "circuit-json";
2092
- import { z as z102 } from "zod";
2103
+ import { z as z103 } from "zod";
2093
2104
  var pcbNoteLineProps = pcbLayoutProps.omit({
2094
2105
  pcbX: true,
2095
2106
  pcbY: true,
@@ -2102,15 +2113,15 @@ var pcbNoteLineProps = pcbLayoutProps.omit({
2102
2113
  x2: distance36,
2103
2114
  y2: distance36,
2104
2115
  strokeWidth: distance36.optional(),
2105
- color: z102.string().optional(),
2106
- isDashed: z102.boolean().optional()
2116
+ color: z103.string().optional(),
2117
+ isDashed: z103.boolean().optional()
2107
2118
  });
2108
2119
  expectTypesMatch(true);
2109
2120
 
2110
2121
  // lib/components/pcb-note-dimension.ts
2111
- import { distance as distance37, length as length11 } from "circuit-json";
2112
- import { z as z103 } from "zod";
2113
- var dimensionTarget2 = z103.union([z103.string(), point]);
2122
+ import { distance as distance37, length as length12 } from "circuit-json";
2123
+ import { z as z104 } from "zod";
2124
+ var dimensionTarget2 = z104.union([z104.string(), point]);
2114
2125
  var pcbNoteDimensionProps = pcbLayoutProps.omit({
2115
2126
  pcbX: true,
2116
2127
  pcbY: true,
@@ -2120,88 +2131,88 @@ var pcbNoteDimensionProps = pcbLayoutProps.omit({
2120
2131
  }).extend({
2121
2132
  from: dimensionTarget2,
2122
2133
  to: dimensionTarget2,
2123
- text: z103.string().optional(),
2134
+ text: z104.string().optional(),
2124
2135
  offset: distance37.optional(),
2125
- font: z103.enum(["tscircuit2024"]).optional(),
2126
- fontSize: length11.optional(),
2127
- color: z103.string().optional(),
2136
+ font: z104.enum(["tscircuit2024"]).optional(),
2137
+ fontSize: length12.optional(),
2138
+ color: z104.string().optional(),
2128
2139
  arrowSize: distance37.optional(),
2129
- units: z103.enum(["in", "mm"]).optional(),
2130
- outerEdgeToEdge: z103.literal(true).optional(),
2131
- centerToCenter: z103.literal(true).optional(),
2132
- innerEdgeToEdge: z103.literal(true).optional()
2140
+ units: z104.enum(["in", "mm"]).optional(),
2141
+ outerEdgeToEdge: z104.literal(true).optional(),
2142
+ centerToCenter: z104.literal(true).optional(),
2143
+ innerEdgeToEdge: z104.literal(true).optional()
2133
2144
  });
2134
2145
  expectTypesMatch(
2135
2146
  true
2136
2147
  );
2137
2148
 
2138
2149
  // lib/platformConfig.ts
2139
- import { z as z104 } from "zod";
2140
- var unvalidatedCircuitJson = z104.array(z104.any()).describe("Circuit JSON");
2141
- var footprintLibraryResult = z104.object({
2142
- footprintCircuitJson: z104.array(z104.any()),
2150
+ import { z as z105 } from "zod";
2151
+ var unvalidatedCircuitJson = z105.array(z105.any()).describe("Circuit JSON");
2152
+ var footprintLibraryResult = z105.object({
2153
+ footprintCircuitJson: z105.array(z105.any()),
2143
2154
  cadModel: cadModelProp.optional()
2144
2155
  });
2145
- var pathToCircuitJsonFn = z104.function().args(z104.string()).returns(z104.promise(footprintLibraryResult)).describe("A function that takes a path and returns Circuit JSON");
2146
- var footprintFileParserEntry = z104.object({
2147
- loadFromUrl: z104.function().args(z104.string()).returns(z104.promise(footprintLibraryResult)).describe(
2156
+ var pathToCircuitJsonFn = z105.function().args(z105.string()).returns(z105.promise(footprintLibraryResult)).describe("A function that takes a path and returns Circuit JSON");
2157
+ var footprintFileParserEntry = z105.object({
2158
+ loadFromUrl: z105.function().args(z105.string()).returns(z105.promise(footprintLibraryResult)).describe(
2148
2159
  "A function that takes a footprint file URL and returns Circuit JSON"
2149
2160
  )
2150
2161
  });
2151
- var spiceEngineSimulationResult = z104.object({
2152
- engineVersionString: z104.string().optional(),
2162
+ var spiceEngineSimulationResult = z105.object({
2163
+ engineVersionString: z105.string().optional(),
2153
2164
  simulationResultCircuitJson: unvalidatedCircuitJson
2154
2165
  });
2155
- var spiceEngineZod = z104.object({
2156
- simulate: z104.function().args(z104.string()).returns(z104.promise(spiceEngineSimulationResult)).describe(
2166
+ var spiceEngineZod = z105.object({
2167
+ simulate: z105.function().args(z105.string()).returns(z105.promise(spiceEngineSimulationResult)).describe(
2157
2168
  "A function that takes a SPICE string and returns a simulation result"
2158
2169
  )
2159
2170
  });
2160
- var defaultSpiceEngine = z104.custom(
2171
+ var defaultSpiceEngine = z105.custom(
2161
2172
  (value) => typeof value === "string"
2162
2173
  );
2163
- var autorouterInstance = z104.object({
2164
- run: z104.function().args().returns(z104.promise(z104.unknown())).describe("Run the autorouter"),
2165
- getOutputSimpleRouteJson: z104.function().args().returns(z104.promise(z104.any())).describe("Get the resulting SimpleRouteJson")
2174
+ var autorouterInstance = z105.object({
2175
+ run: z105.function().args().returns(z105.promise(z105.unknown())).describe("Run the autorouter"),
2176
+ getOutputSimpleRouteJson: z105.function().args().returns(z105.promise(z105.any())).describe("Get the resulting SimpleRouteJson")
2166
2177
  });
2167
- var autorouterDefinition = z104.object({
2168
- createAutorouter: z104.function().args(z104.any(), z104.any().optional()).returns(z104.union([autorouterInstance, z104.promise(autorouterInstance)])).describe("Create an autorouter instance")
2178
+ var autorouterDefinition = z105.object({
2179
+ createAutorouter: z105.function().args(z105.any(), z105.any().optional()).returns(z105.union([autorouterInstance, z105.promise(autorouterInstance)])).describe("Create an autorouter instance")
2169
2180
  });
2170
- var platformConfig = z104.object({
2181
+ var platformConfig = z105.object({
2171
2182
  partsEngine: partsEngine.optional(),
2172
2183
  autorouter: autorouterProp.optional(),
2173
- autorouterMap: z104.record(z104.string(), autorouterDefinition).optional(),
2174
- registryApiUrl: z104.string().optional(),
2175
- cloudAutorouterUrl: z104.string().optional(),
2176
- projectName: z104.string().optional(),
2177
- projectBaseUrl: z104.string().optional(),
2178
- version: z104.string().optional(),
2179
- url: z104.string().optional(),
2180
- printBoardInformationToSilkscreen: z104.boolean().optional(),
2181
- includeBoardFiles: z104.array(z104.string()).describe(
2184
+ autorouterMap: z105.record(z105.string(), autorouterDefinition).optional(),
2185
+ registryApiUrl: z105.string().optional(),
2186
+ cloudAutorouterUrl: z105.string().optional(),
2187
+ projectName: z105.string().optional(),
2188
+ projectBaseUrl: z105.string().optional(),
2189
+ version: z105.string().optional(),
2190
+ url: z105.string().optional(),
2191
+ printBoardInformationToSilkscreen: z105.boolean().optional(),
2192
+ includeBoardFiles: z105.array(z105.string()).describe(
2182
2193
  'The board files to automatically build with "tsci build", defaults to ["**/*.circuit.tsx"]. Can be an array of files or globs'
2183
2194
  ).optional(),
2184
- snapshotsDir: z104.string().describe(
2195
+ snapshotsDir: z105.string().describe(
2185
2196
  'The directory where snapshots are stored for "tsci snapshot", defaults to "tests/__snapshots__"'
2186
2197
  ).optional(),
2187
2198
  defaultSpiceEngine: defaultSpiceEngine.optional(),
2188
- localCacheEngine: z104.any().optional(),
2189
- pcbDisabled: z104.boolean().optional(),
2190
- schematicDisabled: z104.boolean().optional(),
2191
- partsEngineDisabled: z104.boolean().optional(),
2192
- spiceEngineMap: z104.record(z104.string(), spiceEngineZod).optional(),
2193
- footprintLibraryMap: z104.record(
2194
- z104.string(),
2195
- z104.union([
2199
+ localCacheEngine: z105.any().optional(),
2200
+ pcbDisabled: z105.boolean().optional(),
2201
+ schematicDisabled: z105.boolean().optional(),
2202
+ partsEngineDisabled: z105.boolean().optional(),
2203
+ spiceEngineMap: z105.record(z105.string(), spiceEngineZod).optional(),
2204
+ footprintLibraryMap: z105.record(
2205
+ z105.string(),
2206
+ z105.union([
2196
2207
  pathToCircuitJsonFn,
2197
- z104.record(
2198
- z104.string(),
2199
- z104.union([unvalidatedCircuitJson, pathToCircuitJsonFn])
2208
+ z105.record(
2209
+ z105.string(),
2210
+ z105.union([unvalidatedCircuitJson, pathToCircuitJsonFn])
2200
2211
  )
2201
2212
  ])
2202
2213
  ).optional(),
2203
- footprintFileParserMap: z104.record(z104.string(), footprintFileParserEntry).optional(),
2204
- resolveProjectStaticFileImportUrl: z104.function().args(z104.string()).returns(z104.string()).describe(
2214
+ footprintFileParserMap: z105.record(z105.string(), footprintFileParserEntry).optional(),
2215
+ resolveProjectStaticFileImportUrl: z105.function().args(z105.string()).returns(z105.promise(z105.string())).describe(
2205
2216
  "A function that returns a string URL for static files for the project"
2206
2217
  ).optional()
2207
2218
  });
@@ -2260,6 +2271,7 @@ export {
2260
2271
  constrainedLayoutProps,
2261
2272
  constraintProps,
2262
2273
  copperPourProps,
2274
+ copperTextProps,
2263
2275
  courtyardOutlineProps,
2264
2276
  courtyardRectProps,
2265
2277
  crystalPins,