import { ContentReturnType, WithComments, WithContent, WithLikeable, WithTimestamps, WithViewable } from './_shared-types'; /** * Represents a published newsletter issue with a summary and topic tags. */ export type LabNewsletterIssue = WithTimestamps & WithContent & WithViewable & WithLikeable & WithComments & { /** Unique newsletter ID. */ id: string; /** Hub identifier used in URLs. */ _hid: string; /** Canonical URL to the newsletter. */ _url: string; _year: number; _month: number; _date: number; /** Title of the newsletter issue. */ title: string; /** Timestamp of publication. */ timestamp: number; /** Short summary of the newsletter's contents. */ summary: string; /** Topics covered in the newsletter. */ topics: string[]; draft: boolean; };