// Goal-based workflow types for Easy mode

export interface GoalDefinition {
  id: string
  title: string
  subtitle: string
  icon: string
  category: 'commerce' | 'payments' | 'storage' | 'identity' | 'network' | 'backup' | 'community'
  requiredApps: string[]
  steps: GoalStep[]
  estimatedTime: string
  difficulty: 'beginner' | 'intermediate'
}

export interface GoalStep {
  id: string
  title: string
  description: string
  appId?: string
  action: 'install' | 'configure' | 'verify' | 'info'
  isAutomatic: boolean
}

export type GoalStatus = 'not-started' | 'in-progress' | 'completed' | 'error'

export interface GoalProgress {
  goalId: string
  status: GoalStatus
  currentStepIndex: number
  completedSteps: string[]
  startedAt?: number
}
