/**
 * @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 scandicFriends = {
  da: "/da/scandic-friends",
  de: "/de/scandic-friends",
  en: "/en/scandic-friends",
  fi: "/fi/scandic-friends",
  no: "/no/scandic-friends",
  sv: "/sv/scandic-friends",
}

/** @type {import('@/types/routes').LangRoute} */
export const myPages = {
  da: `${scandicFriends.da}/mine-sider`,
  de: `${scandicFriends.de}/mein-bereich`,
  en: `${scandicFriends.en}/my-pages`,
  fi: `${scandicFriends.fi}/omat-sivut`,
  no: `${scandicFriends.no}/mine-sider`,
  sv: `${scandicFriends.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}/yleista`,
  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 points = {
  da: `${myPages.da}/point`,
  de: `${myPages.de}/punkte`,
  en: `${myPages.en}/points`,
  fi: `${myPages.fi}/pisteet`,
  no: `${myPages.no}/poeng`,
  sv: `${myPages.sv}/poang`,
}

/** @type {import('@/types/routes').LangRoute} */
export const benefits = {
  da: `${myPages.da}/fordele`,
  de: `${myPages.de}/vorteile`,
  en: `${myPages.en}/benefits`,
  fi: `${myPages.fi}/edut`,
  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}/varaukset`,
  no: `${myPages.no}/opphold`,
  sv: `${myPages.sv}/vistelser`,
}

/** @type {import('@/types/routes').LangRoute} */
export const partnerSas = {
  da: `${myPages.da}/sas-eurobonus`,
  de: `${myPages.de}/sas-eurobonus`,
  en: `${myPages.en}/sas-eurobonus`,
  fi: `${myPages.fi}/sas-eurobonus`,
  no: `${myPages.no}/sas-eurobonus`,
  sv: `${myPages.sv}/sas-eurobonus`,
}
