Merged in chore/cleanup-booking-flow (pull request #2824)
chore: Cleanup booking-flow after migration * Remove unused types * Clean up exports, types, unused files etc in booking-flow Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
import type { BookingSearchType } from "@scandic-hotels/booking-flow/searchType"
|
||||
import type { Child } from "@scandic-hotels/trpc/types/child"
|
||||
import type { PackageEnum } from "@scandic-hotels/trpc/types/packages"
|
||||
import type { Product } from "@scandic-hotels/trpc/types/roomAvailability"
|
||||
|
||||
import type { Price } from "../price"
|
||||
@@ -11,21 +8,3 @@ export interface RoomPrice {
|
||||
}
|
||||
|
||||
export type RoomRate = Product
|
||||
|
||||
export type DetailsBooking = {
|
||||
hotelId: string
|
||||
fromDate: string
|
||||
toDate: string
|
||||
city?: string
|
||||
bookingCode?: string
|
||||
searchType?: BookingSearchType
|
||||
rooms: {
|
||||
adults: number
|
||||
rateCode: string
|
||||
roomTypeCode: string
|
||||
bookingCode?: string
|
||||
childrenInRoom?: Child[]
|
||||
counterRateCode?: string
|
||||
packages?: PackageEnum[]
|
||||
}[]
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
import type { createRatesStore } from "@/stores/select-rate"
|
||||
|
||||
export type RatesStore = ReturnType<typeof createRatesStore>
|
||||
@@ -1,7 +0,0 @@
|
||||
import type { Lang } from "@scandic-hotels/common/constants/language"
|
||||
import type { BreakfastPackages } from "@scandic-hotels/trpc/routers/hotels/output"
|
||||
import type { RoomCategories } from "@scandic-hotels/trpc/types/hotel"
|
||||
import type { Room } from "@scandic-hotels/trpc/types/room"
|
||||
|
||||
import type { SafeUser } from "@/types/user"
|
||||
import type { DetailsBooking } from "../components/hotelReservation/enterDetails/details"
|
||||
Reference in New Issue
Block a user