// types.ts

export interface ImageAsset {
  _ref: string
  _type: string
}

export interface RoomImage {
  _type: string
  _key: string
  asset: ImageAsset
}

export interface RoomType {
  _id: string
  _createdAt: string
  _updatedAt: string
  _rev: string
  roomType: string
  price: number
  totalCount: number
  bookingCount: number
  description: string
  images: RoomImage[]
}
