feat(WEB-209): revalidate my pages navigation on demand

This commit is contained in:
Simon Emanuelsson
2024-04-16 12:42:44 +02:00
committed by Michael Zetterberg
parent 16634abbbf
commit 1bffbc837e
40 changed files with 600 additions and 144 deletions

View File

@@ -1,10 +1,10 @@
import type { AllRequestResponse } from "./utils/all"
import type { Edges } from "./utils/edges"
import type { Image } from "../image"
import type { AllRequestResponse } from "./utils/all"
import type { EdgesWithTotalCount } from "./utils/edges"
type AppDownload = {
href: string
imageConnection: Edges<Image>
imageConnection: EdgesWithTotalCount<Image>
}
export type Link = {
@@ -33,7 +33,7 @@ export type Footer = {
app_store: AppDownload
google_play: AppDownload
}
logoConnection: Edges<Image>
logoConnection: EdgesWithTotalCount<Image>
navigation: NavigationItem[]
social_media: {
title: string
@@ -43,7 +43,7 @@ export type Footer = {
}
trip_advisor: {
title: string
logoConnection: Edges<Image>
logoConnection: EdgesWithTotalCount<Image>
}
}