Skip to content
Snippets Groups Projects
routes.ts 393 B
/**
 * Allowed routes for authenticated users.
 * Routes must be defined there and then reused across components
 * importing AuthRoutes and NonAuthRoutes
 */
export enum AuthRoutes {
  dashboard = '/dashboard',
  profile = '/profile',
}

/**
 * Allowed routes for non authenticated users
 */
export enum NonAuthRoutes {
  home = '/',
  signIn = '/signIn',
  unauthorized = '/unauthorized',
}