All files / client/src/app routes.ts

100% Statements 26/26
100% Branches 0/0
100% Functions 4/4
100% Lines 26/26

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        520x 520x 520x 520x 520x 520x 520x 520x 520x 520x 520x 520x 520x 520x 520x 520x     520x 520x 520x     520x 520x 520x 520x     520x 520x 520x    
// The app's URL paths. Kept apart from the component that renders the router
// so the many views and components that only need to link somewhere don't
// depend on the routing tree itself
 
export enum AppRoute {
  ROOT = "/",
  PROGRAM = "/program",
  PROGRAM_ITEM = "/program/item",
  HELPER = "/helper",
  ADMIN = "/admin",
  ADMIN_LOGIN = "/admin/login",
  PROFILE = "/profile",
  REGISTRATION = "/registration",
  LOGIN = "/login",
  LOGOUT = "/logout",
  ABOUT = "/about",
  DASHBOARD = "/dashboard",
  NOTIFICATIONS = "/notifications",
  KOMPASSI_LOGOUT_CALLBACK = "/kompassi-logout-callback",
  ANY = "/*",
}
 
export enum ProgramTab {
  MY_PROGRAM = "/program/myprogram",
  PROGRAM_LIST = "/program/list",
}
 
export enum AboutTab {
  HELP = "/about/help",
  FAQ = "/about/faq",
  ABOUT = "/about/about",
}
 
export enum ProfileTab {
  PROFILE = "/profile/profile",
  GROUP = "/profile/group",
}