@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
14 lines (13 loc) • 522 B
TypeScript
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;
sourceId?: string | null | undefined;
}) => Promise<Comment[]>;
export default useFetchManyComments;