feat(SW-865): link to booking without validation
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import type { BookingConfirmation } from "@/types/trpc/routers/booking/confirmation"
|
||||
|
||||
export interface ManageBookingProps
|
||||
extends Pick<BookingConfirmation["booking"], "confirmationNumber">,
|
||||
Pick<BookingConfirmation["booking"]["guest"], "lastName"> {}
|
||||
@@ -1,11 +1,7 @@
|
||||
import type { Lang } from "@/constants/languages"
|
||||
import type { RouterOutput } from "@/lib/trpc/client"
|
||||
import type { BookingConfirmation } from "@/types/trpc/routers/booking/confirmation"
|
||||
|
||||
export interface BookingConfirmationProps {
|
||||
lang: Lang
|
||||
bookingConfirmationPromise: Promise<RouterOutput["booking"]["confirmation"]>
|
||||
confirmationNumber: string
|
||||
}
|
||||
|
||||
export interface ConfirmationProps {
|
||||
bookingConfirmationPromise: Promise<RouterOutput["booking"]["confirmation"]>
|
||||
}
|
||||
export interface ConfirmationProps extends BookingConfirmation {}
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
export interface PromosProps {
|
||||
confirmationNumber: string | null
|
||||
hotelId: string
|
||||
lastName: string | null
|
||||
}
|
||||
import { BookingConfirmation } from "@/types/trpc/routers/booking/confirmation"
|
||||
|
||||
export interface PromosProps
|
||||
extends Pick<
|
||||
BookingConfirmation["booking"],
|
||||
"confirmationNumber" | "hotelId"
|
||||
>,
|
||||
Pick<BookingConfirmation["booking"]["guest"], "lastName"> {}
|
||||
|
||||
Reference in New Issue
Block a user