Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalysisCompleteMsg ¶
type AnalysisCompleteMsg struct {
Stats *AnalysisStats
}
AnalysisCompleteMsg sent when analysis completes
type AnalysisStats ¶
type AnalysisStats struct {
TotalMigrations int
ObjectsCreated int
TablesCreated int
FunctionsCreated int
IndexesCreated int
PotentialSavings float64
FileReduction int
LifecyclePatterns []LifecyclePattern
Dependencies []DependencyInfo
Warnings []string
Errors []string
}
AnalysisStats contains analysis results
type ConfigSavedMsg ¶
type ConfigSavedMsg struct {
Path string
}
ConfigSavedMsg sent when configuration is saved
type DependencyInfo ¶
DependencyInfo represents a dependency relationship
type LifecyclePattern ¶
type LifecyclePattern struct {
ObjectName string
ObjectType string
Operations []string
Optimizable bool
Warning string
}
LifecyclePattern represents an object's lifecycle
type SquashCompleteMsg ¶
type SquashCompleteMsg struct {
OutputPath string
Stats *SquashStats
}
SquashCompleteMsg sent when squashing completes
type SquashStats ¶
type SquashStats struct {
OriginalFiles int
SquashedFiles int
BytesSaved int64
ObjectsOptimized int
Duration float64
}
SquashStats contains squashing operation statistics
type ValidationResultMsg ¶
type ValidationResultMsg struct {
Result any // Use interface{} to avoid circular dependency with pkg/validation
Success bool
Errors []string
Warnings []string
}
ValidationResultMsg contains validation results
type View ¶
type View interface {
// Init initializes the view
Init() tea.Cmd
// Update handles messages and updates view state
Update(msg tea.Msg) (View, tea.Cmd)
// View renders the view
View() string
// Type returns the view type
Type() ViewType
// SetSize sets the view dimensions
SetSize(width, height int)
// OnEnter is called when the view becomes active
OnEnter() tea.Cmd
// OnExit is called when leaving the view
OnExit() tea.Cmd
}
View interface that all views must implement
Click to show internal directories.
Click to hide internal directories.