UNPKG

@bonniernews/abbe-api-utils

Version:

Utilities for converting to Abbe article format

20 lines (19 loc) 465 B
import { UUID } from "./Article"; export default class Puff { private headLine; private subheading; private image; static initialize(): Puff; finalize(): { image?: { uuid: string; }; headLine: string; subheading: string; hasActiveImage: boolean; }; setHeadLine(headLine: string): this; setSubheading(subheading: string): this; setImage(image: UUID): this; build(): Puff; }