import type { AllRequestResponse } from "./utils/all" import type { Edges } from "./utils/edges" import type { Image } from "../image" import type { PageLink } from "./utils/pageLink" type AppDownload = { href: string imageConnection: Edges } export type InternalLink = { __typename: "FooterNavigationLinksInternalLink" internal_link: { link_text: string pageConnection: Edges } } export type ExternalLink = { __typename: "FooterNavigationLinksExternalLink" external_link: { link: { href: string title: string } } } export type NavigationItem = { links: (ExternalLink | InternalLink)[] title: string } type SocialMedium = { href: string title: string } export type Footer = { title: string about: { title: string text: string } app_downloads: { title: string app_store: AppDownload google_play: AppDownload } logoConnection: Edges navigation: NavigationItem[] social_media: { title: string facebook: SocialMedium instagram: SocialMedium twitter: SocialMedium } trip_advisor: { title: string logoConnection: Edges } } export type GetFooterData = { all_footer: AllRequestResponse