UNPKG

@omnia/fx

Version:

Provide Omnia Fx typings and tooling for clientside Omnia development.

13 lines (12 loc) 735 B
import { ICommentLikeService } from "../../../stores"; import { Comment, CommentLike, ReactionType } from "../../../models"; export declare class CommentLikeService implements ICommentLikeService { constructor(); getCommentLike: (topicId: string) => Promise<CommentLike>; toggleLike: (topicId: string, commentId: string, isLike: boolean) => Promise<void>; socialReacts: (topicId: string, commentId: string, isReacts: boolean, reactionType: ReactionType) => Promise<void>; addComment: (comment: Comment) => Promise<Comment>; updateComment: (comment: Comment) => Promise<Comment>; deleteComment: (comment: Comment) => Promise<void>; markBestReply: (topicId: string, commentId: string) => Promise<void>; }