export interface Lesson {
  id: string
  uid: string
  title: string
  type: "READ" | "CODE" | "QUIZ"
  description: string
  duration?: number
  generated?: boolean
}

export interface ParsedLink {
  name: string
  text: string
}
export type FormState = {
  description: string
  duration: number
  hasContentIndex: boolean
  contentIndex: string
  language?: string
  technologies?: string[]
  isCompleted: boolean
  variables: string[]
  currentStep: string
  title: string
  purpose: string
}

export type Syllabus = {
  lessons: Lesson[]
  courseInfo: FormState
  // sources: ParsedLink[]
}
