export type MissionStatus =
  | 'queued'
  | 'assigned'
  | 'running'
  | 'paused'
  | 'completed'
  | 'cancelled'
  | 'failed'

export interface MissionStep {
  id: string
  action: string
  targetSiteId?: string
  params?: Record<string, unknown>
  status?: MissionStatus
}

export interface Mission {
  id: string
  name: string
  typeName: string
  priority: number
  status: MissionStatus
  carId?: string
  steps: MissionStep[]
  createdAt: string
  updatedAt?: string
}
