{"version":3,"sources":["../src/types/lessonAvailability.ts"],"sourcesContent":["/**\n * Lesson Availability Types\n * Types and constants for recommended lesson availability based on dates\n */\n\n/**\n * Lesson availability status enum\n * Used to determine if a recommended lesson is available based on start/end dates\n */\nexport const LESSON_AVAILABILITY = {\n  /** Lesson is available for access */\n  DISPONIVEL: 'DISPONIVEL',\n  /** Lesson has not started yet (current date < startDate) */\n  NAO_INICIADA: 'NAO_INICIADA',\n  /** Lesson has expired (current date > finalDate) */\n  EXPIRADA: 'EXPIRADA',\n} as const;\n\nexport type LessonAvailability =\n  (typeof LESSON_AVAILABILITY)[keyof typeof LESSON_AVAILABILITY];\n\n/**\n * Result interface for lesson availability check\n */\nexport interface LessonAvailabilityResult {\n  /** Current availability status */\n  status: LessonAvailability;\n  /** Parsed start date object */\n  startDate: Date | null;\n  /** Parsed end date object */\n  endDate: Date | null;\n  /** Formatted start date string for display (DD/MM/YYYY) */\n  formattedStartDate: string | null;\n  /** Formatted end date string for display (DD/MM/YYYY) */\n  formattedEndDate: string | null;\n}\n"],"mappings":";AASO,IAAM,sBAAsB;AAAA;AAAA,EAEjC,YAAY;AAAA;AAAA,EAEZ,cAAc;AAAA;AAAA,EAEd,UAAU;AACZ;","names":[]}