interface LikeResult

Returned to the WebSocket route by castCommentLike and removeCommentLike. The route acks the liker with likeCount, then broadcasts it to every client, or to the liker's alone when the comment's dump isPrivate.

Properties

likeCount: number
isPrivate: boolean

Usage

import { type LikeResult } from "api/services/comment-like-service.ts";