/**
 * @file Due to these records being used in next.config.js, and that is required
 * to be a js file, we use jsdoc to type these.
 */

/**
 * These are routes that define code entries for My pages
 */

/** @type {import('@/types/routes').LangRoute} */
export const myPages = {
  da: "/da/mine-sider",
  de: "/de/mein-profil",
  en: "/en/my-pages",
  fi: "/fi/minun-sivujani",
  no: "/no/mine-sider",
  sv: "/sv/mina-sidor",
}

/** @type {import('@/types/routes').LangRoute} */
export const overview = {
  da: `${myPages.da}/oversigt`,
  de: `${myPages.de}/uberblick`,
  en: `${myPages.en}/overview`,
  fi: `${myPages.fi}/yleiskatsaus`,
  no: `${myPages.no}/oversikt`,
  sv: `${myPages.sv}/oversikt`,
}

/** TODO: Update to relevant paths */
/** @type {import('@/types/routes').LangRoute} */
export const profile = {
  da: `${myPages.da}/profil`,
  de: `${myPages.de}/profil`,
  en: `${myPages.en}/profile`,
  fi: `${myPages.fi}/profiili`,
  no: `${myPages.no}/profil`,
  sv: `${myPages.sv}/profil`,
}

/** @type {import('@/types/routes').LangRoute} */
export const profileEdit = {
  da: `${profile.da}/rediger`,
  de: `${profile.de}/bearbeiten`,
  en: `${profile.en}/edit`,
  fi: `${profile.fi}/muokkaa`,
  no: `${profile.no}/rediger`,
  sv: `${profile.sv}/redigera`,
}

/** @type {import('@/types/routes').LangRoute} */
export const benefits = {
  da: `${myPages.da}/fordele`,
  de: `${myPages.de}/vorteile`,
  en: `${myPages.en}/benefits`,
  fi: `${myPages.fi}/etuja`,
  no: `${myPages.no}/fordeler`,
  sv: `${myPages.sv}/formaner`,
}

/** @type {import('@/types/routes').LangRoute} */
export const stays = {
  da: `${myPages.da}/ophold`,
  de: `${myPages.de}/aufenthalte`,
  en: `${myPages.en}/stays`,
  fi: `${myPages.fi}/oleskeluni`,
  no: `${myPages.no}/opphold`,
  sv: `${myPages.sv}/vistelser`,
}
