import type { z } from "zod"

import type { joinLoyaltyContactSidebarSchema } from "@/server/routers/contentstack/loyaltyPage/output"
import type { 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]>
}
