Files
web/types/requests/puff.ts
2024-02-12 11:26:49 +01:00

25 lines
598 B
TypeScript

import type { Image } from "../image"
import type { Edges } from "./utils/edges"
import type { Embeds } from "./embeds"
import type { ExternalLink } from "./utils/externalLink"
import type { PageLink } from "./utils/pageLink"
import type { RTEDocument } from "../rte/node"
export type Puff = {
imageConnection: Edges<Image>
is_internal: boolean
link: {
href: string
title: string
}
link_text?: string
pageConnection: Edges<ExternalLink | PageLink>
system: {
uid: string
}
text: {
embedded_itemsConnection: Edges<Embeds>
json: RTEDocument
}
title: string
}