import { ContactFields } from "@/server/routers/contentstack/base/output"
import {
  JoinLoyaltyContact,
  Sidebar,
} from "@/server/routers/contentstack/loyaltyPage/output"

import { LangParams } from "@/types/params"

export type SidebarProps = LangParams & {
  blocks: Sidebar[]
}

export type JoinLoyaltyContactProps = LangParams & {
  block: JoinLoyaltyContact["join_loyalty_contact"]
}

export type ContactProps = {
  contactBlock: JoinLoyaltyContact["join_loyalty_contact"]["contact"]
}

export type ContactRowProps = {
  contact: ContactFields
}
