Merged in feat/SW-2220-destination-list (pull request #1851)
Feat/SW-2220 destination list * fix(SW-2220): remove old hotels * fix(SW-2220): add filtering of cities without urls * fix(SW-2220): destinations English * fix(SW-2220): update all country files * refactor(SW-2220): cleanup Approved-by: Michael Zetterberg Approved-by: Erik Tiekstra
This commit is contained in:
+2
-4
@@ -3,7 +3,7 @@ export type City = {
|
||||
name: string
|
||||
hotelIds: string[]
|
||||
hotelCount: number
|
||||
url?: string
|
||||
url: string
|
||||
}
|
||||
|
||||
export type DestinationCountry = {
|
||||
@@ -15,8 +15,6 @@ export type DestinationCountry = {
|
||||
|
||||
export type DestinationsData = DestinationCountry[]
|
||||
|
||||
export type Cities = DestinationCountry["cities"]
|
||||
|
||||
export type DestinationsListProps = {
|
||||
destinations: DestinationsData
|
||||
}
|
||||
@@ -25,5 +23,5 @@ export type DestinationProps = {
|
||||
country: string
|
||||
countryUrl: string | undefined
|
||||
numberOfHotels: number
|
||||
cities: Cities
|
||||
cities: DestinationCountry["cities"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user