UNPKG

@replyke/core

Version:

Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.

13 lines (12 loc) 480 B
import { CommentsSortByOptions } from "../../interfaces/CommentsSortByOptions"; import { Comment } from "../../interfaces/models/Comment"; declare function useFetchManyComments(): (props: { entityId?: string | null | undefined; userId?: string | null | undefined; parentId?: string | null | undefined; sortBy?: CommentsSortByOptions; page: number; limit?: number; includeEntity?: boolean; }) => Promise<Comment[]>; export default useFetchManyComments;