26 lines
579 B
TypeScript
26 lines
579 B
TypeScript
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
|
|
} |