Files
web/types/requests/puff.ts
2024-02-07 11:58:54 +01:00

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
}