@replyke/core
Version:
Replyke: Build interactive apps with social features like comments, votes, feeds, user lists, notifications, and more.
10 lines (9 loc) • 355 B
TypeScript
import { Comment, CommentIncludeParam } from "../../interfaces/models/Comment";
export interface FetchCommentByForeignIdProps {
foreignId: string;
include?: CommentIncludeParam;
}
declare function useFetchCommentByForeignId(): (props: FetchCommentByForeignIdProps) => Promise<{
comment: Comment;
}>;
export default useFetchCommentByForeignId;