import { ContentReturnType, PopulatedUser, WithComments, WithContent, WithLikeable, WithTimestamps, WithViewable } from './_shared-types'; /** * Represents a single documentation article or learning material in Hackschool. */ export type LabHackschoolDoc = WithTimestamps & WithContent & WithViewable & WithLikeable & WithComments & { /** Unique document ID. */ id: string; /** Hub identifier used in URLs. */ _hid: string; /** Canonical URL to the document resource. */ _url: string; /** ID of the author or contributor. */ authorId: string; /** Title of the document. */ title: string; /** Short summary of the document. */ summary: string; /** Associated topics for categorization. */ topics: string[]; /** * Virtuals */ author?: PopulatedUser; };