import { z } from "zod"

import { joinLoyaltyContactSidebarSchema } from "@/server/routers/contentstack/loyaltyPage/output"
import { contactSchema } from "@/server/routers/contentstack/schemas/sidebar/joinLoyaltyContact"

export interface JoinLoyaltyContact
  extends z.output<typeof joinLoyaltyContactSidebarSchema> {}
type ContactsSchema = z.output<typeof contactSchema>
export type Contacts = ContactsSchema["contact"]
export interface Contact {
  contact: NonNullable<Contacts[number]>
}
