1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 22:42:50 -05:00
Files
DankMaterialShell/backend/internal/tui/messages.go
2025-11-12 17:18:45 -05:00

40 lines
657 B
Go

package tui
import (
"github.com/AvengeMedia/DankMaterialShell/backend/internal/deps"
"github.com/AvengeMedia/DankMaterialShell/backend/internal/distros"
)
type logMsg struct {
message string
}
type osInfoCompleteMsg struct {
info *distros.OSInfo
err error
}
type depsDetectedMsg struct {
deps []deps.Dependency
err error
}
type packageInstallProgressMsg struct {
progress float64
step string
isComplete bool
needsSudo bool
commandInfo string
logOutput string
error error
}
type packageProgressCompletedMsg struct{}
type passwordValidMsg struct {
password string
valid bool
}
type delayCompleteMsg struct{}