import { Colour } from "./colour"; import { ArticleLink, Link, Anchor } from "./link"; import { Image } from "./media"; type PuffMainLinkRef = ArticleLink | Link; type PuffSecondaryLinkRef = ArticleLink | Link | Anchor; type PuffSecondaryLink = { label: string | null; link: PuffSecondaryLinkRef | null; }; export type Puff = { title: string; colour: Colour; mainLink: PuffMainLinkRef; secondaryLink: PuffSecondaryLink; major: boolean; strapline: string | null; leadImage: Image | null; }; export type PuffLite = { title: string; strapline: string; mainLink: PuffMainLinkRef; leadImage: Image; }; export {};