This commit is contained in:
louiscklaw
2025-04-19 03:25:12 +08:00
parent fe3835e7d3
commit ba2138275b
38 changed files with 7510 additions and 73 deletions

View File

@@ -79,25 +79,67 @@ export const paths = {
lesson_types: {
list: '/dashboard/lesson_types',
create: '/dashboard/lesson_types/create',
details: (typeId: string) => `/dashboard/lesson_types/${typeId}`,
edit: (typeId: string) => `/dashboard/lesson_types/edit/${typeId}`,
details: (id: string) => `/dashboard/lesson_types/${id}`,
edit: (id: string) => `/dashboard/lesson_types/edit/${id}`,
},
lesson_categories: {
list: '/dashboard/lesson_categories',
create: '/dashboard/lesson_categories/create',
details: (catId: string) => `/dashboard/lesson_categories/${catId}`,
edit: (catId: string) => `/dashboard/lesson_categories/edit/${catId}`,
details: (id: string) => `/dashboard/lesson_categories/${id}`,
edit: (id: string) => `/dashboard/lesson_categories/edit/${id}`,
},
customers: {
list: '/dashboard/customers',
create: '/dashboard/customers/create',
details: (customerId: string) => `/dashboard/customers/${customerId}`,
lp_categories: {
list: '/dashboard/lp_categories',
create: '/dashboard/lp_categories/create',
details: (id: string) => `/dashboard/lp_categories/${id}`,
edit: (id: string) => `/dashboard/lp_categories/edit/${id}`,
},
lp_questions: {
list: '/dashboard/lp_questions',
create: '/dashboard/lp_questions/create',
details: (id: string) => `/dashboard/lp_questions/${id}`,
edit: (id: string) => `/dashboard/lp_questions/edit/${id}`,
},
mf_categories: {
list: '/dashboard/mf_categories',
create: '/dashboard/mf_categories/create',
details: (id: string) => `/dashboard/mf_categories/${id}`,
edit: (id: string) => `/dashboard/mf_categories/edit/${id}`,
},
mf_questions: {
list: '/dashboard/mf_questions',
create: '/dashboard/mf_questions/create',
details: (id: string) => `/dashboard/mf_questions/${id}`,
edit: (id: string) => `/dashboard/mf_questions/edit/${id}`,
},
cr_categories: {
list: '/dashboard/cr_categories',
create: '/dashboard/cr_categories/create',
details: (id: string) => `/dashboard/cr_categories/${id}`,
edit: (id: string) => `/dashboard/cr_categories/edit/${id}`,
},
cr_questions: {
list: '/dashboard/cr_questions',
create: '/dashboard/cr_questions/create',
details: (id: string) => `/dashboard/cr_questions/${id}`,
edit: (id: string) => `/dashboard/cr_questions/edit/${id}`,
},
teachers: {
list: '/dashboard/teachers',
create: '/dashboard/teachers/create',
details: (id: string) => `/dashboard/teachers/${id}`,
edit: (id: string) => `/dashboard/teachers/edit/${id}`,
},
students: {
list: '/dashboard/students',
create: '/dashboard/students/create',
details: (studentId: string) => `/dashboard/students/${studentId}`,
edit: (studentId: string) => `/dashboard/students/edit/${studentId}`,
details: (id: string) => `/dashboard/students/${id}`,
edit: (id: string) => `/dashboard/students/edit/${id}`,
},
customers: {
list: '/dashboard/customers',
create: '/dashboard/customers/create',
details: (id: string) => `/dashboard/customers/${id}`,
},
eCommerce: '/dashboard/e-commerce',
fileStorage: '/dashboard/file-storage',