This commit is contained in:
@@ -30,6 +30,14 @@ export const endpoints = {
|
||||
// dedicated student route (returns the membership row with the nested term).
|
||||
getStudentDashboard: '/student/dashboard',
|
||||
getStudentTerms: '/student/my-terms',
|
||||
|
||||
// Missionary — passed (completed) education. List-only; same shapes as
|
||||
// /student/my-terms, /courses, /sessions. Detail views reuse the shared
|
||||
// /sessions/:id and the already-fetched list data (via query cache).
|
||||
getMissionaryPassedTerms: '/missionary/passed-terms',
|
||||
getMissionaryPassedCourses: '/missionary/passed-courses',
|
||||
getMissionaryPassedSessions: '/missionary/passed-sessions',
|
||||
|
||||
showStudentTerm: '/student/my-terms/:id',
|
||||
getStudentExamResults: '/student/exam-results',
|
||||
getStudentHomeworks: '/student/homeworks',
|
||||
|
||||
Reference in New Issue
Block a user