88 lines
2.7 KiB
TypeScript
88 lines
2.7 KiB
TypeScript
export const ROUTES_ENUM = {
|
|
public: {
|
|
home: '/home',
|
|
about: '/about',
|
|
products: '/products',
|
|
checkout: '/checkout',
|
|
payment: '/payment',
|
|
success: '/success',
|
|
services: '/services',
|
|
blog: '/blog',
|
|
blogDetail: '/blog/:id',
|
|
demo: '/demo',
|
|
contact: '/contact',
|
|
accessDenied: '/access-denied',
|
|
},
|
|
authenticated: {
|
|
login: '/login',
|
|
register: '/register',
|
|
forgotPassword: '/forgot-password',
|
|
resetPassword: '/reset-password',
|
|
sendConfirmationCode: '/confirm',
|
|
sendExtendLogin: '/extend-login',
|
|
verifyConfirmationCode: '/confirm/:userId/:token',
|
|
},
|
|
protected: {
|
|
dashboard: '/admin/dashboard',
|
|
saas: {
|
|
menuManager: '/admin/menuManager',
|
|
listFormManagement: {
|
|
wizard: '/admin/listform/wizard',
|
|
edit: '/admin/listform/edit/:listFormCode',
|
|
},
|
|
chartManagement: {
|
|
edit: '/admin/chart/edit/:chartCode',
|
|
},
|
|
forumManagement: '/admin/forumManagement',
|
|
developerKit: {
|
|
dashboard: '/admin/developerkit',
|
|
entities: '/admin/developerkit/entities',
|
|
entitiesNew: '/admin/developerkit/entities/new',
|
|
entitiesEdit: '/admin/developerkit/entities/edit/:id',
|
|
migrations: '/admin/developerkit/migrations',
|
|
endpoints: '/admin/developerkit/endpoints',
|
|
endpointsNew: '/admin/developerkit/endpoints/new',
|
|
components: '/admin/developerkit/components',
|
|
componentsNew: '/admin/developerkit/components/new',
|
|
componentsView: '/admin/developerkit/components/view/:id',
|
|
componentsEdit: '/admin/developerkit/components/edit/:id',
|
|
},
|
|
reports: {
|
|
generator: '/admin/reports/generator',
|
|
view: '/admin/reports/:id',
|
|
},
|
|
},
|
|
admin: {
|
|
ai: '/admin/ai',
|
|
profile: {
|
|
general: '/admin/profile/general',
|
|
password: '/admin/profile/password',
|
|
notificationSettings: '/admin/profile/notification-settings',
|
|
},
|
|
activityLog: '/admin/activityLog',
|
|
changeLog: '/admin/changeLog',
|
|
settings: '/admin/settings',
|
|
identity: {
|
|
user: {
|
|
detail: '/admin/users/detail/:userId',
|
|
},
|
|
ous: '/admin/ous',
|
|
},
|
|
forum: '/admin/forum',
|
|
|
|
list: '/admin/list/:listFormCode',
|
|
formNew: '/admin/form/:listFormCode',
|
|
formView: '/admin/form/:listFormCode/:id',
|
|
formEdit: '/admin/form/:listFormCode/:id/edit',
|
|
chart: '/admin/chart/:chartCode',
|
|
pivot: '/admin/pivot/:listFormCode',
|
|
classroom: {
|
|
dashboard: '/admin/classroom/dashboard',
|
|
classes: '/admin/classroom/classes',
|
|
roomDetail: '/admin/classroom/room/:id',
|
|
planning: '/admin/classroom/planning/:id',
|
|
},
|
|
},
|
|
accessDenied: '/admin/access-denied',
|
|
},
|
|
}
|