Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | 14x 14x 14x 14x 14x 14x 14x 14x | // Authentication related routes
export const AUTH_ROUTES = {
AUTH: '/auth',
LOGIN: '/login',
SIGNUP: '/signup',
FORGOT_PASSWORD: '/forgot-password',
RESET_PASSWORD: '/reset-password',
};
// Main dashboard and overview routes
export const DASHBOARD_ROUTES = {
HOME: '/',
OVERVIEW: '/overview',
DASHBOARD: '/dashboard',
ANALYTICS: '/dashboard/analytics',
PERFORMANCE: '/dashboard/performance',
SUMMARY: '/dashboard/summary',
};
// User profile related routes
export const PROFILE_ROUTES = {
PROFILE: '/profile',
SETTINGS: '/profile/settings',
SECURITY: '/profile/security',
};
// Wallet and transaction related routes
export const WALLET_ROUTES = {
WALLET: '/wallet',
TRANSACTIONS: '/transactions',
TRANSACTION_DETAIL: '/transactions/:id',
};
// Posts and content related routes
export const CONTENT_ROUTES = {
POSTS: '/posts',
POST_DETAIL: '/posts/:id',
};
// Statistics and analytics routes
export const STATS_ROUTES = {
STATISTICS: '/statistics',
ANALYTICS: '/analytics',
};
// Notification related routes
export const NOTIFICATION_ROUTES = {
NOTIFICATIONS: '/notifications',
NOTIFICATION_SETTINGS: '/notifications/settings',
};
// Helper function to generate dynamic routes
export const generateRoute = {
walletDetail: (id: string | number) => `/wallets/${id}`,
transactionDetail: (id: string | number) => `/transactions/${id}`,
postDetail: (id: string | number) => `/posts/${id}`,
};
|