import type { BobbinContext } from "$lib/api/client"; import type { CommentListPage, CommentRecord } from "$lib/api/comment"; import type * as ShTangledEmbedCommit from "$lib/api/lexicons/types/sh/tangled/embed/commit"; import { COMMENT_AUTHOR_DOCS } from "$lib/api/descriptors"; import { authorOf, enrich, target, type Sidecar } from "$lib/api/enrich"; import { INVALID_HANDLE } from "$lib/api/identity"; import { orNull } from "$lib/api/load"; import { rkeyFromUri } from "$lib/api/uri"; import { renderMarkup, type MarkupContext } from "$lib/markup"; import type { CommitSummary } from "$lib/api/repo"; import type { ReactionGroup } from "$lib/components/reaction/reactions"; export interface CommentView { uri: string; cid?: string; rkey: string; authorDid: string; authorHandle: string; createdAt: string; // the appview's comment header shows "Edited