Files
web/types/requests/footer.ts
2024-02-22 16:33:00 +01:00

53 lines
902 B
TypeScript

import type { AllRequestResponse } from "./utils/all"
import type { Edges } from "./utils/edges"
import type { Image } from "../image"
type AppDownload = {
href: string
imageConnection: Edges<Image>
}
export type Link = {
href: string
title: string
}
export type NavigationItem = {
links: Link[]
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<Image>
navigation: NavigationItem[]
social_media: {
title: string
facebook: SocialMedium
instagram: SocialMedium
twitter: SocialMedium
}
trip_advisor: {
title: string
logoConnection: Edges<Image>
}
}
export type GetFooterData = {
all_footer: AllRequestResponse<Footer>
}