import type { Facility } from "@/types/hotel"
import type { ActivityCard } from "@/types/trpc/routers/contentstack/hotelPage"
import type { CardProps } from "@/components/TempDesignSystem/Card/card"

export type FacilitiesProps = {
  facilities: Facility[]
  activitiesCard?: ActivityCard
}

export type FacilityImage = {
  backgroundImage: CardProps["backgroundImage"]
  theme: CardProps["theme"]
  id: string
}

export type FacilityCard = {
  secondaryButton: {
    href: string
    title: string
    openInNewTab?: boolean
    isExternal: boolean
  }
  heading: string
  scriptedTopTitle: string
  theme: CardProps["theme"]
  id: string
}

export type FacilityCardType = FacilityImage | FacilityCard
export type FacilityGrid = FacilityCardType[]
export type Facilities = FacilityGrid[]

export type CardGridProps = {
  facilitiesCardGrid: FacilityGrid
}

export enum FacilityCardTypeEnum {
  wellness = "wellness-and-exercise",
  conference = "meetings-and-conferences",
  restaurant = "restaurant-and-bar",
}

export enum RestaurantHeadings {
  restaurantAndBar = "Restaurant & Bar",
  bar = "Bar",
  restaurant = "Restaurant",
  breakfastRestaurant = "Breakfast restaurant",
}
