refactor(SW-1273): move find my booking routes in order to import them directly into next config
This commit is contained in:
14
apps/scandic-web/constants/routes/findMyBooking.js
Normal file
14
apps/scandic-web/constants/routes/findMyBooking.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* @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.
|
||||
*/
|
||||
|
||||
/** @type {import('@/types/routes').LangRoute} */
|
||||
export const findMyBooking = {
|
||||
da: "/da/hotelreservation/hent-booking",
|
||||
de: "/de/hotelreservation/mein-bereich",
|
||||
en: "/en/hotelreservation/get-booking",
|
||||
fi: "/fi/hotelreservation/hae-varaus",
|
||||
no: "/no/hotelreservation/get-booking",
|
||||
sv: "/sv/hotelreservation/hitta-bokning",
|
||||
}
|
||||
Reference in New Issue
Block a user