···11+import type { ReactionGroup } from "$lib/components/reaction/reactions";
22+13export interface CommentView {
24 uri: string;
35 cid?: string;
···79 createdAt: string;
810 body: string;
911 bodyHtml: string | null;
1010- // the record is gone but we keep it to anchor its replies
1212+ reactions?: ReactionGroup[];
1113 deleted?: boolean;
1214}
1315···1618 replies: CommentView[];
1719}
18201919-// pairs a rendered view with the parent uri it replies to
2021export interface ThreadInput {
2122 comment: CommentView;
2223 replyTo: string | null;