Merge remote-tracking branch 'origin' into feature/tracking
This commit is contained in:
@@ -5,7 +5,7 @@ import type {
|
||||
DetailsSchema,
|
||||
SignedInDetailsSchema,
|
||||
} from "@/types/components/hotelReservation/enterDetails/details"
|
||||
import { StepEnum } from "@/types/enums/step"
|
||||
import type { StepEnum } from "@/types/enums/step"
|
||||
import type { DetailsProviderProps } from "../providers/enter-details"
|
||||
import type { Packages } from "../requests/packages"
|
||||
|
||||
@@ -61,3 +61,14 @@ export type InitialState = Pick<DetailsState, "booking" | "packages"> &
|
||||
}
|
||||
|
||||
export type RoomRate = DetailsProviderProps["roomRate"]
|
||||
|
||||
export type PersistedState = Pick<
|
||||
DetailsState,
|
||||
"bedType" | "booking" | "breakfast" | "guest"
|
||||
>
|
||||
|
||||
export type PersistedStatePart =
|
||||
| Pick<DetailsState, "bedType">
|
||||
| Pick<DetailsState, "booking">
|
||||
| Pick<DetailsState, "breakfast">
|
||||
| Pick<DetailsState, "guest">
|
||||
|
||||
Reference in New Issue
Block a user