import { PopulatedUser, WithComments, WithLikeable, WithTimestamps, WithViewable } from './_shared-types'; import { LabThumbnail } from './lab-thumbnail.type'; /** * Represents a podcast episode with metadata, cover art, and stats. */ export type LabPodcastsEpisode = WithTimestamps & WithViewable & WithLikeable & WithComments & { /** Unique podcast ID. */ id: string; /** Hub identifier used in URLs. */ _hid: string; /** Canonical URL to the podcast episode. */ _url: string; /** Direct link to the audio file. */ audio: string; /** List of user IDs for the podcasters. */ podcasterIds: string[]; /** Unix timestamp of the episode release. */ timestamp: number; /** Title of the episode. */ title: string; /** Short summary or episode description. */ summary: string; /** Topics or themes discussed. */ topics: string[]; /** Cover image with styling metadata. */ cover: LabThumbnail; draft: boolean; /** * Playable */ playedAt?: string; _playedBy?: string[]; plays?: number; playedBy?: PopulatedUser[]; /** * Virtuals */ podcasters?: PopulatedUser[]; };