feat: graphql client with fetches for initial pages
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import type { Edges } from "./utils/edges"
|
||||
import type { ExternalLink } from "./utils/externalLink"
|
||||
import type { PageLink } from "./utils/pagelink"
|
||||
import type { Typename } from "./utils/typename"
|
||||
|
||||
export type Puff = {
|
||||
imageConnection: Edges<{
|
||||
title: string
|
||||
url: string
|
||||
}>
|
||||
is_internal: boolean
|
||||
link: {
|
||||
href: string
|
||||
title: string
|
||||
}
|
||||
link_text?: string
|
||||
pageConnection: Edges<ExternalLink | PageLink>
|
||||
text: {
|
||||
json: JSON
|
||||
embedded_itemsConnection: Edges<Typename<{
|
||||
title: string
|
||||
url: string
|
||||
}, "SysAsset">>
|
||||
}
|
||||
title: string
|
||||
}
|
||||
Reference in New Issue
Block a user