Merge branch 'develop' into feature/tracking

This commit is contained in:
Linus Flood
2024-10-09 10:23:01 +02:00
50 changed files with 891 additions and 137 deletions

View File

@@ -0,0 +1,5 @@
import type { TableData } from "@/types/trpc/routers/contentstack/blocks"
export interface TableBlockProps {
data: TableData
}

View File

@@ -1,8 +1,8 @@
import { Product, RateDefinition } from "@/server/routers/hotels/output"
export type FlexibilityOptionProps = {
product: Product | undefined
name: string
value: string
paymentTerm: string
standardPrice: number
memberPrice: number
currency: string
}

View File

@@ -1,8 +1,9 @@
import { Rate } from "@/server/routers/hotels/output"
import {
RateDefinition,
RoomConfiguration,
} from "@/server/routers/hotels/output"
export type RoomCardProps = {
room: Rate
nrOfNights: number
nrOfAdults: number
breakfastIncluded: boolean
roomConfiguration: RoomConfiguration
rateDefinitions: RateDefinition[]
}

View File

@@ -1,7 +1,5 @@
import { Rate } from "@/server/routers/hotels/output"
import { RoomsAvailability } from "@/server/routers/hotels/output"
export interface RoomSelectionProps {
rates: Rate[]
nrOfAdults: number
nrOfNights: number
roomConfigurations: RoomsAvailability
}