import { User } from 'core/domain/users' import { Comment } from 'core/domain/comments' /** * Comment service interface * * @export * @interface ICommentService */ export interface ICommentService { addComment: (comment: Comment) => Promise getComments: (postId: string, callback: (resultComments: { [postId: string]: { [commentId: string]: Comment } }) => void) => void updateComment: (comment: Comment) => Promise deleteComment: (commentId: string) => Promise }