import { PopulatedUser, WithTimestamps } from './_shared-types'; export type LabComment = WithTimestamps & { id: string; _url?: string; _resource: string; _resourceId: string; _replyTo?: string; authorId: string; timestamp: number; html: string; text: string; reactions?: Record; /** * Virtuals */ resource?: { id: string; _hid: string | number; _url: string; }; author?: PopulatedUser; replies?: LabCommentReply[]; }; export type LabCommentReply = Omit & { _replyTo: string; };