207 lines
8.1 KiB
TypeScript
207 lines
8.1 KiB
TypeScript
export const paths = {
|
|
home: '/',
|
|
checkout: '/checkout',
|
|
contact: '/contact',
|
|
pricing: '/pricing',
|
|
auth: {
|
|
custom: {
|
|
signIn: '/auth/custom/sign-in',
|
|
signUp: '/auth/custom/sign-up',
|
|
resetPassword: '/auth/custom/reset-password',
|
|
},
|
|
auth0: {
|
|
callback: '/auth/auth0/callback',
|
|
signIn: '/auth/auth0/sign-in',
|
|
signUp: '/auth/auth0/sign-up',
|
|
signOut: '/auth/auth0/sign-out',
|
|
profile: '/auth/auth0/profile',
|
|
},
|
|
cognito: {
|
|
signIn: '/auth/cognito/sign-in',
|
|
signUp: '/auth/cognito/sign-up',
|
|
signUpConfirm: '/auth/cognito/sign-up-confirm',
|
|
newPasswordRequired: '/auth/cognito/new-password-required',
|
|
resetPassword: '/auth/cognito/reset-password',
|
|
updatePassword: '/auth/cognito/update-password',
|
|
},
|
|
firebase: {
|
|
signIn: '/auth/firebase/sign-in',
|
|
signUp: '/auth/firebase/sign-up',
|
|
resetPassword: '/auth/firebase/reset-password',
|
|
recoveryLinkSent: '/auth/firebase/recovery-link-sent',
|
|
updatePassword: '/auth/firebase/update-password',
|
|
},
|
|
supabase: {
|
|
callback: { implicit: '/auth/supabase/callback/implicit', pkce: '/auth/supabase/callback/pkce' },
|
|
signIn: '/auth/supabase/sign-in',
|
|
signUp: '/auth/supabase/sign-up',
|
|
signUpConfirm: '/auth/supabase/sign-up-confirm',
|
|
resetPassword: '/auth/supabase/reset-password',
|
|
recoveryLinkSent: '/auth/supabase/recovery-link-sent',
|
|
updatePassword: '/auth/supabase/update-password',
|
|
},
|
|
samples: {
|
|
signIn: { centered: '/auth/samples/sign-in/centered', split: '/auth/samples/sign-in/split' },
|
|
signUp: { centered: '/auth/samples/sign-up/centered', split: '/auth/samples/sign-up/split' },
|
|
updatePassword: {
|
|
centered: '/auth/samples/update-password/centered',
|
|
split: '/auth/samples/update-password/split',
|
|
},
|
|
resetPassword: { centered: '/auth/samples/reset-password/centered', split: '/auth/samples/reset-password/split' },
|
|
verifyCode: { centered: '/auth/samples/verify-code/centered', split: '/auth/samples/verify-code/split' },
|
|
},
|
|
},
|
|
dashboard: {
|
|
overview: '/dashboard',
|
|
settings: {
|
|
account: '/dashboard/settings/account',
|
|
billing: '/dashboard/settings/billing',
|
|
integrations: '/dashboard/settings/integrations',
|
|
notifications: '/dashboard/settings/notifications',
|
|
security: '/dashboard/settings/security',
|
|
team: '/dashboard/settings/team',
|
|
},
|
|
academy: { browse: '/dashboard/academy', details: (courseId: string) => `/dashboard/academy/courses/${courseId}` },
|
|
analytics: '/dashboard/analytics',
|
|
blank: '/dashboard/blank',
|
|
blog: {
|
|
list: '/dashboard/blog',
|
|
details: (postId: string) => `/dashboard/blog/${postId}`,
|
|
create: '/dashboard/blog/create',
|
|
},
|
|
calendar: '/dashboard/calendar',
|
|
chat: {
|
|
base: '/dashboard/chat',
|
|
compose: '/dashboard/chat/compose',
|
|
thread: (threadType: string, threadId: string) => `/dashboard/chat/${threadType}/${threadId}`,
|
|
},
|
|
crypto: '/dashboard/crypto',
|
|
lesson_types: {
|
|
list: '/dashboard/lesson_types',
|
|
create: '/dashboard/lesson_types/create',
|
|
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: (id: string) => `/dashboard/lesson_categories/${id}`,
|
|
edit: (id: string) => `/dashboard/lesson_categories/edit/${id}`,
|
|
},
|
|
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: (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',
|
|
invoices: {
|
|
list: '/dashboard/invoices',
|
|
create: '/dashboard/invoices/create',
|
|
details: (invoiceId: string) => `/dashboard/invoices/${invoiceId}`,
|
|
},
|
|
jobs: {
|
|
browse: '/dashboard/jobs',
|
|
create: '/dashboard/jobs/create',
|
|
companies: {
|
|
overview: (companyId: string) => `/dashboard/jobs/companies/${companyId}`,
|
|
reviews: (companyId: string) => `/dashboard/jobs/companies/${companyId}/reviews`,
|
|
activity: (companyId: string) => `/dashboard/jobs/companies/${companyId}/activity`,
|
|
team: (companyId: string) => `/dashboard/jobs/companies/${companyId}/team`,
|
|
assets: (companyId: string) => `/dashboard/jobs/companies/${companyId}/assets`,
|
|
},
|
|
},
|
|
logistics: { metrics: '/dashboard/logistics', fleet: '/dashboard/logistics/fleet' },
|
|
mail: {
|
|
list: (label: string) => `/dashboard/mail/${label}`,
|
|
details: (label: string, emailId: string) => `/dashboard/mail/${label}/${emailId}`,
|
|
},
|
|
orders: {
|
|
list: '/dashboard/orders',
|
|
create: '/dashboard/orders/create',
|
|
preview: (orderId: string) => `/dashboard/orders?previewId=${orderId}`,
|
|
details: (orderId: string) => `/dashboard/orders/${orderId}`,
|
|
},
|
|
products: {
|
|
list: '/dashboard/products',
|
|
create: '/dashboard/products/create',
|
|
preview: (productId: string) => `/dashboard/products?previewId=${productId}`,
|
|
details: (productId: string) => `/dashboard/products/${productId}`,
|
|
},
|
|
social: {
|
|
profile: { timeline: '/dashboard/social/profile', connections: '/dashboard/social/profile/connections' },
|
|
feed: '/dashboard/social/feed',
|
|
},
|
|
tasks: '/dashboard/tasks',
|
|
},
|
|
pdf: { invoice: (invoiceId: string) => `/pdf/invoices/${invoiceId}` },
|
|
components: {
|
|
index: '/components',
|
|
buttons: '/components/buttons',
|
|
charts: '/components/charts',
|
|
colors: '/components/colors',
|
|
detailLists: '/components/detail-lists',
|
|
forms: '/components/forms',
|
|
gridLists: '/components/grid-lists',
|
|
groupedLists: '/components/grouped-lists',
|
|
inputs: '/components/inputs',
|
|
modals: '/components/modals',
|
|
quickStats: '/components/quick-stats',
|
|
tables: '/components/tables',
|
|
typography: '/components/typography',
|
|
},
|
|
notAuthorized: '/errors/not-authorized',
|
|
notFound: '/errors/not-found',
|
|
internalServerError: '/errors/internal-server-error',
|
|
docs: 'https://material-kit-pro-react-docs.devias.io',
|
|
purchase: 'https://mui.com/store/items/devias-kit-pro',
|
|
} as const;
|