- fix(learn): Modify learn path flow according to the new hierarchy. - add(learn): Add additionl screens for the new hierarchy levels.
56 lines
1.1 KiB
Dart
56 lines
1.1 KiB
Dart
// Response status
|
|
enum ResponseStatus { success, failure }
|
|
|
|
// Login method
|
|
enum LoginMethod { phone, email, google }
|
|
|
|
// Sign-up method
|
|
enum SignUpMethod { phone, email, google }
|
|
|
|
// Voice recording state
|
|
enum VoiceRecordingState { pending, recording }
|
|
|
|
// Levels
|
|
enum ProficiencyLevels { a1, a2, b1, b2, none }
|
|
|
|
// Progress status
|
|
enum ProgressStatuses { pending, started, completed }
|
|
|
|
// Duolingo assessment types
|
|
enum DuolingoAssessmentType { speaking, reading, writing, listening }
|
|
|
|
// State object
|
|
enum StateObjects {
|
|
none,
|
|
courses,
|
|
homeView,
|
|
register,
|
|
verifyOtp,
|
|
resendOtp,
|
|
learnLevels,
|
|
learnModules,
|
|
learnCourses,
|
|
profileImage,
|
|
courseLessons,
|
|
profileUpdate,
|
|
resetPassword,
|
|
subcategories,
|
|
loginWithEmail,
|
|
coursePractice,
|
|
loginWithGoogle,
|
|
loadLessonVideo,
|
|
loadCourseVideo,
|
|
requestResetCode,
|
|
courseCategories,
|
|
profileCompletion,
|
|
registerWithGoogle,
|
|
learnSubcategories,
|
|
learnPracticeSample,
|
|
learnPracticeAnswer,
|
|
loginWithPhoneNumber,
|
|
learnPracticeQuestion,
|
|
coursePracticeQuestion,
|
|
coursePracticeQuestions,
|
|
recordLearnPracticeAnswer,
|
|
}
|