Similar to courses, the lesson curriculum is more like a list of different of entities sectioned off
The list of entities supported under curriculum include
classes -> schedules
study -> quiz (with mode specified)
study file
We need hooks to be able to play with all schedules, quizzes and files under a lesson. There is a useQuizzesInList hook, we need something similar for schedules and files
Once all hooks are ready(useQuizzesInList, useFilesInList, useSchedulesInList), we need a hook to combine all of them, something like useLessonCurriculum which takes in the lesson as a param, calculates the total list of quizzes Ids..., and returns the quizzes, files and schedules
Similar to courses, the lesson curriculum is more like a list of different of entities sectioned off
The list of entities supported under curriculum include
We need hooks to be able to play with all schedules, quizzes and files under a lesson. There is a
useQuizzesInList
hook, we need something similar for schedules and files Once all hooks are ready(useQuizzesInList
,useFilesInList
,useSchedulesInList
), we need a hook to combine all of them, something likeuseLessonCurriculum
which takes in the lesson as a param, calculates the total list of quizzes Ids..., and returns the quizzes, files and schedules