feat(SW-885): ancillary and book next stay

This commit is contained in:
Simon Emanuelsson
2024-12-12 13:39:49 +01:00
parent f531350e2e
commit 9d4998c9c5
12 changed files with 114 additions and 51 deletions

View File

@@ -44,10 +44,10 @@ interface SetItemAction {
type: ActionType.SELECT_ITEM
}
interface SetStorageData {
export interface SetStorageData {
payload: {
searchData: Location
searchHistory: Locations
searchData?: Location
searchHistory?: Locations
}
type: ActionType.SET_STORAGE_DATA
}
@@ -67,4 +67,6 @@ export interface State {
searchHistory: Locations | null
}
export interface InitState extends Pick<State, "defaultLocations"> {}
export interface InitState extends Pick<State, "defaultLocations"> {
initialValue?: string
}

View File

@@ -1,5 +1,6 @@
export interface PromoProps {
buttonText: string
href: string
text: string
title: string
}

View File

@@ -0,0 +1,5 @@
export interface PromosProps {
confirmationNumber: string | null
hotelId: string
lastName: string | null
}