RawComment
type RawComment = {
content: string;
fileAttachment: | null
| {
fileDuration?: null | number;
fileName?: null | string;
fileSize?: null | number;
fileType?: null | string;
fileUrl?: null | string;
image?: null | string;
imageHeight?: null | number;
imageWidth?: null | number;
resourceType: string;
title?: null | string;
uploadState?: null | "pending" | "completed";
url?: null | string;
};
id: string;
isDeleted: boolean;
itemId?: string;
postedAt: string;
postedUid: string;
projectId?: string;
reactions: null | Record<string, string[]>;
uidsToNotify: null | string[];
};
Represents a raw comment response from the API.