import { ContentReturnType, PopulatedUser, WithComments, WithContent, WithTimestamps, WithViewable } from './_shared-types'; /** * Represents a discussion thread or forum post in Hackschool. */ export type LabHackschoolThread = WithTimestamps & WithContent & WithViewable & WithComments & { /** Unique thread ID. */ id: string; /** Hub identifier used in URLs. */ _hid: number; /** Canonical URL to the thread. */ _url: string; /** ID of the author who created the thread. */ authorId: string; timestamp: number; /** Title of the thread. */ title: string; /** Tags used for categorization or filtering. */ tags: string[]; _closed: boolean; /** * Virtuals */ author?: PopulatedUser; };