import { UUID, Markup, Connection } from "../common"; import { TextByline, AuthorByline } from "./bylines"; export type LiveBlogStatus = "PENDING" | "LIVE" | "COMPLETED"; export type LiveBlog = { id: UUID; status: LiveBlogStatus; coverageStartTime: Date | null; coverageEndTime: Date | null; flashlinesEnabled: boolean; activeFlashline: string | null; completedFlashline: string | null; viewMoreEnabled: boolean; viewMoreLimit: number | null; pinnedEntries: LiveBlogEntry[]; entries: LiveBlogEntryConnection; }; export type LiveBlogEntry = { id: UUID; title: string | null; /** @deprecated Use bylines instead */ byline: Markup | null; bylines: Array | null; publishedTime: Date; updatedTime: Date; isPinned: boolean; isKeyEvent: boolean; shouldShowBylinesImages: boolean | null; content: Markup; }; export type LiveBlogEntryConnection = Connection;